summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2011-02-12 16:48:33 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2011-02-12 16:48:33 +0000
commit481f2637ee4791a866b403cf3826092ff0620bb9 (patch)
tree2df6b8a21f7ba77a8d8372af8373a632b0ea6ba2 /media-gfx/jhead
parentstable x86, bug 354237 (diff)
downloadhistorical-481f2637ee4791a866b403cf3826092ff0620bb9.tar.gz
historical-481f2637ee4791a866b403cf3826092ff0620bb9.tar.bz2
historical-481f2637ee4791a866b403cf3826092ff0620bb9.zip
2.90 version bump.
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'media-gfx/jhead')
-rw-r--r--media-gfx/jhead/ChangeLog10
-rw-r--r--media-gfx/jhead/Manifest15
-rw-r--r--media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch26
-rw-r--r--media-gfx/jhead/jhead-2.90.ebuild33
4 files changed, 71 insertions, 13 deletions
diff --git a/media-gfx/jhead/ChangeLog b/media-gfx/jhead/ChangeLog
index c427067427be..6f0a3d77d63e 100644
--- a/media-gfx/jhead/ChangeLog
+++ b/media-gfx/jhead/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/jhead
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/ChangeLog,v 1.110 2010/01/07 22:10:36 fauli Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/ChangeLog,v 1.111 2011/02/12 16:48:33 vanquirius Exp $
+
+*jhead-2.90 (12 Feb 2011)
+
+ 12 Feb 2011; Marcelo Goes <vanquirius@gentoo.org> +jhead-2.90.ebuild,
+ +files/jhead-2.90-mkstemp_respect_flags.patch:
+ 2.90 version bump.
07 Jan 2010; Christian Faulhammer <fauli@gentoo.org> jhead-2.87.ebuild:
Transfer Prefix keywords
diff --git a/media-gfx/jhead/Manifest b/media-gfx/jhead/Manifest
index 23e4b920a8fe..e6e5c72ee909 100644
--- a/media-gfx/jhead/Manifest
+++ b/media-gfx/jhead/Manifest
@@ -1,18 +1,11 @@
------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
+AUX jhead-2.90-mkstemp_respect_flags.patch 892 RMD160 58d2ed1537c14951a4b29be7d4d7e93c92473422 SHA1 c81ca81da5d5885f87ef20f39ed4d1281fc8f746 SHA256 ee4648d28e15e254a1de55341948084de0ca89aa95e59c1d466afdfe19eeead5
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
+DIST jhead-2.90.tar.gz 64390 RMD160 87e0480582377cccbd46f12626402d46136ac51b SHA1 f24a611d5c359b6c0a24184718ec983b9d0eb449 SHA256 d18f862349f6d65560de12510f5cc9068b65dda7394b13fdeb6155a4933e0de8
EBUILD jhead-2.86.ebuild 673 RMD160 9f8d7141413311a2eff6fc8a31986eca0c8b47e7 SHA1 ae99fb8f335a40854e68fe5ee3342bc5f38d4f87 SHA256 61da73eed65dcc2e8d5b6c925b1cb4baac98a8a30d6c4cceb251ae3761cf2efe
EBUILD jhead-2.87.ebuild 940 RMD160 5dd5efa14bf2420406945963bf21574c94ec3d3a SHA1 b56e51488ab5f1d0c5a0441b6631d6ebd42ba196 SHA256 229629a2afb6832523d7533744328d1a61f10cb794e7288dccc7fe6a091576ca
-MISC ChangeLog 12231 RMD160 5b32259b85a961031fc931c1dd9536503b207c86 SHA1 4b36b2c1cdb6be67f018cf9c492c908ccda90067 SHA256 48a9bc4037a1bcf244be0c85cc7e03040a076af8e6075960833e03d09a28d9f3
+EBUILD jhead-2.90.ebuild 905 RMD160 466de4d66d935b6961f9b48e361ee59f4c268fd4 SHA1 f9b81178c89876fe057ef41a2b9786e44939d00a SHA256 82d1a47c98f4539978907b5fe973ce54db711355aedb32fbeede8df7eb205a8b
+MISC ChangeLog 12406 RMD160 d42c14c53cffd0f8d31de7681fb05381a5839b0e SHA1 145be0fce23e1b27f0453cb0892e1113e1fc7de9 SHA256 0d552ff2d6efb6c06f8282ccb9dbc935b45fc1aaaa20b57ac35695dde60939af
MISC metadata.xml 227 RMD160 e1ab24e5aae2199305750580205194b20071be60 SHA1 95d0602c6bd3ca036ca5c87a48130a7c6bda9dcb SHA256 98c6fc5ae01a9eb624c22cd78347eeb8cf84db19737690c37f232b0b7000930c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAktGW+EACgkQNQqtfCuFnePWFgCfTPtWi2tDhqZRUSBKpoDiQezK
-UmEAnR8z5MVCkqkp5xs4GP48/AjL01cl
-=QZz7
------END PGP SIGNATURE-----
diff --git a/media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch b/media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch
new file mode 100644
index 000000000000..f09214b9f3d6
--- /dev/null
+++ b/media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch
@@ -0,0 +1,26 @@
+diff --exclude='*~' -Naur -Naur jhead-2.90.orig/jhead.c jhead-2.90/jhead.c
+--- jhead-2.90.orig/jhead.c 2011-02-12 14:36:47.000000000 -0200
++++ jhead-2.90/jhead.c 2011-02-12 14:39:28.000000000 -0200
+@@ -358,7 +358,7 @@
+ // as mktemp - that is, that between getting the random name, and making the file
+ // some other program could snatch that exact same name!
+ // also, not all pltforms support mkstemp.
+- mktemp(TempName);
++ mkstemp(TempName);
+
+
+ if(!TempName[0]) {
+diff --exclude='*~' -Naur -Naur jhead-2.90.orig/makefile jhead-2.90/makefile
+--- jhead-2.90.orig/makefile 2011-02-12 14:36:47.000000000 -0200
++++ jhead-2.90/makefile 2011-02-12 14:40:50.000000000 -0200
+@@ -13,8 +13,9 @@
+ $(OBJ)/%.o:$(SRC)/%.c
+ ${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.90.ebuild b/media-gfx/jhead/jhead-2.90.ebuild
new file mode 100644
index 000000000000..e84930092a95
--- /dev/null
+++ b/media-gfx/jhead/jhead-2.90.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/jhead-2.90.ebuild,v 1.1 2011/02/12 16:48:33 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 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+src_unpack() {
+ # bug 275200 - respect flags and use mktemp instead of mkstemp
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-${PV}-mkstemp_respect_flags.patch
+}
+
+src_compile() {
+ emake || die "emake failed."
+}
+
+src_install() {
+ dobin ${PN} || die "dobin failed."
+ dodoc *.txt
+ dohtml *.html
+ doman ${PN}.1
+}