mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 3/7] poppler-data: new package: optional encoding data for poppler
Date: Mon, 28 Aug 2017 11:54:51 +0200	[thread overview]
Message-ID: <20170828095451.xrxnbjynsvixtbbb@pengutronix.de> (raw)
In-Reply-To: <20170823223911.13784-4-r.hieber@pengutronix.de>

On Thu, Aug 24, 2017 at 12:39:07AM +0200, Roland Hieber wrote:
> Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
> ---
>  rules/poppler-data.in   | 10 +++++++
>  rules/poppler-data.make | 79 +++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 89 insertions(+)
>  create mode 100644 rules/poppler-data.in
>  create mode 100644 rules/poppler-data.make
> 
> diff --git a/rules/poppler-data.in b/rules/poppler-data.in
> new file mode 100644
> index 000000000..61796949e
> --- /dev/null
> +++ b/rules/poppler-data.in
> @@ -0,0 +1,10 @@
> +## SECTION=multimedia_gtk
> +
> +config POPPLER_DATA
> +	tristate
> +	prompt "poppler-data"
> +	help
> +	  Encoding data which enables poppler to correctly render CJK and
> +	  Cyrillic languages.
> +
> +# vim: ft=kconfig ts=8 noet tw=80
> diff --git a/rules/poppler-data.make b/rules/poppler-data.make
> new file mode 100644
> index 000000000..2b51a61a9
> --- /dev/null
> +++ b/rules/poppler-data.make
> @@ -0,0 +1,79 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2017 by Roland Hieber <r.hieber@pengutronix.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_POPPLER_DATA) += poppler-data
> +
> +#
> +# Paths and names
> +#
> +POPPLER_DATA_VERSION	:= 0.4.7
> +POPPLER_DATA_MD5	:= 636a8f2b9f6df9e7ced8ec0946961eaf
> +POPPLER_DATA		:= poppler-data-$(POPPLER_DATA_VERSION)
> +POPPLER_DATA_SUFFIX	:= tar.gz
> +POPPLER_DATA_URL	:= https://poppler.freedesktop.org/$(POPPLER_DATA).$(POPPLER_DATA_SUFFIX)
> +POPPLER_DATA_SOURCE	:= $(SRCDIR)/$(POPPLER_DATA).$(POPPLER_DATA_SUFFIX)
> +POPPLER_DATA_DIR	:= $(BUILDDIR)/$(POPPLER_DATA)
> +POPPLER_DATA_LICENSE	:= GPL-2.0 AND MIT AND BSD-3-Clause
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +POPPLER_DATA_CONF_TOOL	:= NO
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/poppler-data.compile:
> +	@$(call targetinfo)
> +	@$(call touch)

What's the default make target? If it's not harmful then just use the
default compile stage.

> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +POPPLER_DATA_INSTALL_OPT := prefix=/usr install
> +
> +$(STATEDIR)/poppler-data.install:
> +	@$(call targetinfo)
> +	@$(call world/install, POPPLER_DATA)
> +	@$(call touch)

I think, this can be removed, right? Just setting the opts should be enough.

> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/poppler-data.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, poppler-data)
> +	@$(call install_fixup, poppler-data,PRIORITY,optional)
> +	@$(call install_fixup, poppler-data,SECTION,base)
> +	@$(call install_fixup, poppler-data,AUTHOR,"Roland Hieber <r.hieber@pengutronix.de>")
> +	@$(call install_fixup, poppler-data,DESCRIPTION,missing)
> +
> +	@$(call install_tree, poppler-data, 0, 0, -, /usr/share/poppler)
> +
> +	@$(call install_finish, poppler-data)
> +
> +	@$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Clean
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/poppler-data.clean:
> +#	@$(call targetinfo)
> +#	@$(call clean_pkg, POPPLER_DATA)

remove.

Michael

> +
> +# vim: ft=make ts=8 tw=80
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-08-28  9:54 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-23 22:39 [ptxdist] [PATCH 0/7] package (some of) the CUPS ecosystem Roland Hieber
2017-08-23 22:39 ` [ptxdist] [PATCH 1/7] libpaper: new package: system-wide papersize configuration Roland Hieber
2017-08-24  7:32   ` Juergen Borleis
2017-08-28  8:20     ` Roland Hieber
2017-08-28  9:47   ` Michael Olbrich
2017-08-23 22:39 ` [ptxdist] [PATCH 2/7] qpdf: new package: PDF inspection library and tools Roland Hieber
2017-08-28  9:52   ` Michael Olbrich
2017-09-11 10:11   ` Juergen Borleis
2017-09-22 10:00     ` Roland Hieber
2017-08-23 22:39 ` [ptxdist] [PATCH 3/7] poppler-data: new package: optional encoding data for poppler Roland Hieber
2017-08-28  9:54   ` Michael Olbrich [this message]
2017-08-23 22:39 ` [ptxdist] [PATCH 4/7] poppler: version bump 0.18.0 -> 0.57.0 Roland Hieber
2017-08-28 10:18   ` Michael Olbrich
2017-08-28 14:11     ` Roland Hieber
2017-08-29  8:43       ` Michael Olbrich
2017-08-23 22:39 ` [ptxdist] [PATCH 5/7] cups: new package: Common Unix Printing System Roland Hieber
2017-08-28 12:44   ` Juergen Borleis
2017-08-28 12:51   ` Michael Olbrich
2017-08-28 14:03     ` Roland Hieber
2017-08-29  8:40       ` Michael Olbrich
2017-09-27  8:16     ` Roland Hieber
2017-08-30  8:42   ` Juergen Borleis
2017-08-23 22:39 ` [ptxdist] [PATCH 6/7] host-cups: new package: CUPS PPD compiler Roland Hieber
2017-08-28 12:57   ` Michael Olbrich
2017-09-22 12:06   ` Juergen Borleis
2017-09-22 14:04     ` Michael Olbrich
2017-09-22 14:37       ` Roland Hieber
2017-08-23 22:39 ` [ptxdist] [PATCH 7/7] cups-filters: new package: additional filters and backends for CUPS Roland Hieber
2017-08-28 13:03   ` Michael Olbrich
2017-08-28 13:56     ` Roland Hieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170828095451.xrxnbjynsvixtbbb@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox