mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Pargmann <mpa@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Pargmann <mpa@pengutronix.de>
Subject: [ptxdist] [PATCH v2 8/8] libjpeg: version bump 8a -> 9a, add binaries
Date: Thu,  8 May 2014 10:00:38 +0200	[thread overview]
Message-ID: <1399536038-23355-9-git-send-email-mpa@pengutronix.de> (raw)
In-Reply-To: <1399536038-23355-1-git-send-email-mpa@pengutronix.de>

cjpeg and djpeg are simple programs that use libjpeg to
compress/decompress jpeg images.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/libjpeg.in   | 15 +++++++++++++--
 rules/libjpeg.make |  8 ++++++--
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/rules/libjpeg.in b/rules/libjpeg.in
index 30cea58..e9f1b66 100644
--- a/rules/libjpeg.in
+++ b/rules/libjpeg.in
@@ -1,7 +1,18 @@
 ## SECTION=system_libraries
 
-config LIBJPEG
+menuconfig LIBJPEG
 	tristate
-	prompt "libjpeg"
+	prompt "libjpeg                       "
 	help
 	  libjpeg is a library for handling the JPEG (JFIF) image format.
+
+if LIBJPEG
+
+config LIBJPEG_BIN
+	bool
+	prompt "Install libjpeg binaries cjpeg and djpeg"
+	help
+	  cjpeg and djpeg are simple bineries to convert some basic image
+	  formats to jpeg (cjpeg) or convert them back from jpeg (djpeg)
+
+endif
diff --git a/rules/libjpeg.make b/rules/libjpeg.make
index c86d408..3ca715e 100644
--- a/rules/libjpeg.make
+++ b/rules/libjpeg.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBJPEG) += libjpeg
 #
 # Paths and names
 #
-LIBJPEG_VERSION	:= 8a
-LIBJPEG_MD5	:= 5146e68be3633c597b0d14d3ed8fa2ea
+LIBJPEG_VERSION	:= 9a
+LIBJPEG_MD5	:= 3353992aecaee1805ef4109aadd433e7
 LIBJPEG_SUFFIX	:= tar.gz
 LIBJPEG		:= jpeg-$(LIBJPEG_VERSION)
 LIBJPEG_TARBALL	:= jpegsrc.v$(LIBJPEG_VERSION).$(LIBJPEG_SUFFIX)
@@ -47,6 +47,10 @@ $(STATEDIR)/libjpeg.targetinstall:
 	@$(call install_fixup, libjpeg,DESCRIPTION,missing)
 
 	@$(call install_lib, libjpeg, 0, 0, 0644, libjpeg)
+ifdef PTXCONF_LIBJPEG_BIN
+	@$(call install_copy, libjpeg, 0, 0, 0755, -, /usr/bin/cjpeg)
+	@$(call install_copy, libjpeg, 0, 0, 0755, -, /usr/bin/djpeg)
+endif
 
 	@$(call install_finish, libjpeg)
 
-- 
2.0.0.rc0


-- 
ptxdist mailing list
ptxdist@pengutronix.de

      parent reply	other threads:[~2014-05-08  8:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08  8:00 [ptxdist] [PATCH v2 0/8] network packages updates Markus Pargmann
2014-05-08  8:00 ` [ptxdist] [PATCH v2 1/8] iproute2: version bump 3.9.0 -> 3.14.0 Markus Pargmann
2014-05-08  8:00 ` [ptxdist] [PATCH v2 2/8] iw: version bump 3.3 -> 3.14 Markus Pargmann
2014-05-08  8:00 ` [ptxdist] [PATCH v2 3/8] network: Add batctl Markus Pargmann
2014-05-08  8:00 ` [ptxdist] [PATCH v2 4/8] crda: version bump 1.1.3 -> 3.13 Markus Pargmann
2014-05-08  8:00 ` [ptxdist] [PATCH v2 5/8] dnsmasq: version bump 2.47 -> 2.70 Markus Pargmann
2014-05-08  8:00 ` [ptxdist] [PATCH v2 6/8] iperf: version bump 2.0.4 -> 2.0.5 Markus Pargmann
2014-05-08  8:00 ` [ptxdist] [PATCH v2 7/8] wireshark: version bump 1.10.5 -> 1.10.6 Markus Pargmann
2014-05-08  8:00 ` Markus Pargmann [this message]

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=1399536038-23355-9-git-send-email-mpa@pengutronix.de \
    --to=mpa@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