diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2009-06-28 17:35:31 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2009-06-28 17:35:31 +0000 |
commit | ceb81fdd253b4b68afd2a585bfe31075f3056e7d (patch) | |
tree | 276fc710c0c3bee30b2272f54bbc5a2e674c2a69 /media-gfx | |
parent | x11-base/xorg-server: backport some more patches from upstream's 1.6 nominati... (diff) | |
download | historical-ceb81fdd253b4b68afd2a585bfe31075f3056e7d.tar.gz historical-ceb81fdd253b4b68afd2a585bfe31075f3056e7d.tar.bz2 historical-ceb81fdd253b4b68afd2a585bfe31075f3056e7d.zip |
2.87 version bump, patch to respect flags and change mktemp to mkstemp for bug 275200. Thanks to Zeev
Tarantov <zeev dot tarantov at gmail dot com>.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/jhead/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/jhead/Manifest | 16 | ||||
-rw-r--r-- | media-gfx/jhead/files/jhead-2.87-mkstemp.patch | 11 | ||||
-rw-r--r-- | media-gfx/jhead/files/jhead-2.87-respect_flags.patch | 23 | ||||
-rw-r--r-- | media-gfx/jhead/jhead-2.87.ebuild | 34 |
5 files changed, 82 insertions, 12 deletions
diff --git a/media-gfx/jhead/ChangeLog b/media-gfx/jhead/ChangeLog index 68039089a4f5..6514808dee96 100644 --- a/media-gfx/jhead/ChangeLog +++ b/media-gfx/jhead/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-gfx/jhead # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/ChangeLog,v 1.108 2009/05/21 08:59:12 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/ChangeLog,v 1.109 2009/06/28 17:35:31 vanquirius Exp $ + +*jhead-2.87 (28 Jun 2009) + + 28 Jun 2009; Marcelo Goes <vanquirius@gentoo.org> + +files/jhead-2.87-mkstemp.patch, +files/jhead-2.87-respect_flags.patch, + +jhead-2.87.ebuild: + 2.87 version bump, patch to respect flags and change mktemp to mkstemp for + bug 275200. Thanks to Zeev Tarantov <zeev dot tarantov at gmail dot com>. 21 May 2009; Markus Meier <maekke@gentoo.org> -jhead-2.84-r1.ebuild, -files/jhead-2.84-bug243238.patch: diff --git a/media-gfx/jhead/Manifest b/media-gfx/jhead/Manifest index 8461e3d68c60..546803e32f8a 100644 --- a/media-gfx/jhead/Manifest +++ b/media-gfx/jhead/Manifest @@ -1,14 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX jhead-2.87-mkstemp.patch 383 RMD160 df943d4766a18646fd0b2a038a740aeab4b79703 SHA1 b9f876e753918ab9013143c557c5797ff822773d SHA256 9473640a2d86f08081b4e79d6862fd65990258d01b41ac5ad7914b60a4fdd749 +AUX jhead-2.87-respect_flags.patch 502 RMD160 4f4b6bb651d25ddbc9b1c20b4627d40c3d4c72cc SHA1 f0bbc65c0c97fb13055aa02979fd4765487116df SHA256 46f56fd4d8536f8909d87e60169daffed640e4a83da429f1a917c200e2cd757e DIST jhead-2.86.tar.gz 62325 RMD160 9755dcc0c74a068b6cf09f542f8a858087eced81 SHA1 fed6d7645b817b310892eaa5563ae30b428d174f SHA256 f4b369adb7d2032eeb0ac9cf2b212af070cb3bb72bdab82e88bece72d4c8bd2e +DIST jhead-2.87.tar.gz 62358 RMD160 2d19eb52817d03a7d7afbad2ac402b236c23a7bf SHA1 c903837adc3ecd8cfe8bdcf7a8660d18754f4800 SHA256 544bb938367c22ec45c01a29e4a50129bbe3dcca94ee81bffcb8f044be2cf76e EBUILD jhead-2.86.ebuild 673 RMD160 9f8d7141413311a2eff6fc8a31986eca0c8b47e7 SHA1 ae99fb8f335a40854e68fe5ee3342bc5f38d4f87 SHA256 61da73eed65dcc2e8d5b6c925b1cb4baac98a8a30d6c4cceb251ae3761cf2efe -MISC ChangeLog 11801 RMD160 fde5b5733a4b94751b8059f63316ed7366ee1de2 SHA1 f37b49615d21cb065c3183b6b6bc3b64c30298f4 SHA256 9b0798d8ba0b724d44509476ac7f0fef109498b384394e16a2e3e6c63e437c62 +EBUILD jhead-2.87.ebuild 899 RMD160 eb1ec41d44070be4b8161691decb8af9e6b6707d SHA1 62025a21e1829a49fa57959dac7b89adc6b329a6 SHA256 a78ce670f207738d7fa76fdfc9ef522df5466a289dce03a64059f611ae03f68e +MISC ChangeLog 12134 RMD160 87a568db5e207f2b80724f05e51029f96af7873b SHA1 c9dab570693973c7dfbcfbef23a34048c68aed2d SHA256 bdfb73d58cd212844ff3e3f5267c2e9901c5b3947055a51d9e2fd8717929ecb3 MISC metadata.xml 227 RMD160 e1ab24e5aae2199305750580205194b20071be60 SHA1 95d0602c6bd3ca036ca5c87a48130a7c6bda9dcb SHA256 98c6fc5ae01a9eb624c22cd78347eeb8cf84db19737690c37f232b0b7000930c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkoVGEYACgkQkKaRLQcq0GLcSACgjGsxZ0iK7aTQ8BqFHaLH6diR -t0UAnAgZ03eEg8caXA4ZXplomu300NdD -=+p2U ------END PGP SIGNATURE----- diff --git a/media-gfx/jhead/files/jhead-2.87-mkstemp.patch b/media-gfx/jhead/files/jhead-2.87-mkstemp.patch new file mode 100644 index 000000000000..c08bf06f7713 --- /dev/null +++ b/media-gfx/jhead/files/jhead-2.87-mkstemp.patch @@ -0,0 +1,11 @@ +--- jhead.c.orig 2009-06-23 17:25:41.545847706 +0300 ++++ jhead.c 2009-06-23 17:27:36.621854286 +0300 +@@ -351,7 +351,7 @@ + while(a > 0 && FileName[a-1] != SLASH) a--; + memcpy(TempName, FileName, a); + strcpy(TempName+a, "XXXXXX"); +- mktemp(TempName); ++ mkstemp(TempName); + if(!TempName[0]) { + ErrFatal("Cannot find available temporary file name"); + } diff --git a/media-gfx/jhead/files/jhead-2.87-respect_flags.patch b/media-gfx/jhead/files/jhead-2.87-respect_flags.patch new file mode 100644 index 000000000000..202b6ce8b622 --- /dev/null +++ b/media-gfx/jhead/files/jhead-2.87-respect_flags.patch @@ -0,0 +1,23 @@ +--- makefile.orig 2009-06-23 17:08:18.017847256 +0300 ++++ makefile 2009-06-23 17:10:32.682853270 +0300 +@@ -3,7 +3,6 @@ + #-------------------------------- + OBJ=. + SRC=. +-CFLAGS= -O3 -Wall + + all: jhead + +@@ -11,10 +10,10 @@ + $(OBJ)/exif.o $(OBJ)/iptc.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o + + $(OBJ)/%.o:$(SRC)/%.c +- ${CC} $(CFLAGS) -c $< -o $@ ++ ${CC} ${CFLAGS} -c $< -o $@ + + jhead: $(objs) jhead.h +- ${CC} -o jhead $(objs) -lm ++ ${CC} ${LDFLAGS} -o jhead $(objs) -lm + + clean: + rm -f $(objs) jhead diff --git a/media-gfx/jhead/jhead-2.87.ebuild b/media-gfx/jhead/jhead-2.87.ebuild new file mode 100644 index 000000000000..a10905258841 --- /dev/null +++ b/media-gfx/jhead/jhead-2.87.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/jhead-2.87.ebuild,v 1.1 2009/06/28 17:35:31 vanquirius Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Exif Jpeg camera setting parser and thumbnail remover" +HOMEPAGE="http://www.sentex.net/~mwandel/jhead" +SRC_URI="http://www.sentex.net/~mwandel/${PN}/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +src_unpack() { + # bug 275200 - respect flags and use mktemp instead of mkstemp + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${PN}-${PV}-respect_flags.patch + epatch "${FILESDIR}"/${PN}-${PV}-mkstemp.patch +} + +src_compile() { + emake || die "emake failed." +} + +src_install() { + dobin ${PN} || die "dobin failed." + dodoc *.txt + dohtml *.html + doman ${PN}.1 +} |