summaryrefslogtreecommitdiff
path: root/media-gfx/jhead
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/jhead
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/jhead')
-rw-r--r--media-gfx/jhead/Manifest8
-rw-r--r--media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch26
-rw-r--r--media-gfx/jhead/jhead-2.97.ebuild31
-rw-r--r--media-gfx/jhead/jhead-3.00.ebuild32
-rw-r--r--media-gfx/jhead/metadata.xml8
5 files changed, 105 insertions, 0 deletions
diff --git a/media-gfx/jhead/Manifest b/media-gfx/jhead/Manifest
new file mode 100644
index 000000000000..088efcbce965
--- /dev/null
+++ b/media-gfx/jhead/Manifest
@@ -0,0 +1,8 @@
+AUX jhead-2.90-mkstemp_respect_flags.patch 892 SHA256 ee4648d28e15e254a1de55341948084de0ca89aa95e59c1d466afdfe19eeead5 SHA512 14051d7088685dd957d0bdaace752167ebcdac7eb3b01b033918897e8c349e417e662688d7737f916f59d4f1dd7ad9752172791699da0565dd2d5b4f908a4ed8 WHIRLPOOL 624a2c21337ecb9f37589ae873b8ace1920022d42494f562e79f7b178bf4a01c81b3308d8e7aad5bf6d4ec2143574218d52e85d42e73ab81b3d5db76fcc08f34
+DIST jhead-2.97.tar.gz 68361 SHA256 04b55c5cd27882f631c2b25316803d8ac81c6d2408e6129ca47019c018324f17 SHA512 9b33451546e5ad3b82fe6001515fd572925a1e2c11af763ae32d71ad2cb056ffa8d97abe14bd48ae5f6144da9d8322965387537d61e22d22b02624ebf351c230 WHIRLPOOL 094f6ef96332c0b207f270295a2ef5595644a1dd305dc940920c868719d73f10efdf08a34a141838f61bb70cb7bed94b5d5e0ab302dee2546e2252aefffa8b85
+DIST jhead-3.00.tar.gz 69151 SHA256 88cc01da018e242fe2e05db73f91b6288106858dd70f27506c4989a575d2895e SHA512 daedfe7ea6be051f769e9a1e0946ea0fa741f387bbc5ba55eec394fb3f37b18a66aa8826190c790eb50a5b9d445ee0d5a28a08d181db3be469686b0675540fbe WHIRLPOOL 7c17ab30dc379a9642f55f1b05e0ad83b77ac967cc8c1f0994e204e5701d56c803ee7dd154866cb8398106bf514c87ed351f97cd01914015bbc6e1e21a4ad975
+EBUILD jhead-2.97.ebuild 745 SHA256 ef88c39d745938224153ec2c9468bee9c3395ad1c4835147d5e1284ff58b8119 SHA512 690547b5b0b4eb36153ff782f6e55e8b67155e677cba2ace3a0ec6cdd0f3d1eda313dcaea5e33a417e98c1c113cfb22de011a88117f31dcea7ab7858e229bb67 WHIRLPOOL a9a4746e125d4b298ee2df45e98cb8b6d6928a77f1344b3f4413e15caa43b7454206cda48023ad0bed6f2140d99e735d1c48d1a12f871edcd89919c2987d1397
+EBUILD jhead-3.00.ebuild 746 SHA256 395b85b64173e1f3908a165a7d0d68bb1126d10f67fc72511bea0652cb4fcdca SHA512 2f711c62175a02cc968fc698fffff784743a8befe3c315d294e78978357de5df3ee0c665ae70baf64091db4c3744f1c2aa3853fcae87754eb8a67d0a08ebe4a5 WHIRLPOOL 70cd7a9ff5d372883d2b7d67025637514e2777b3ccd4921d65ff4ce0629a62ee845b6f77ba4cad8f90f48f8edf28a433c3199126997f5aab37997403297ba8e0
+MISC ChangeLog 2561 SHA256 c6e576a9300fb75e4b2e7d080fb86ab53e288f58fdc142e39248badd8662ae4f SHA512 bc02728e403a0def6ad3e645250a0ce92cfa717f42198f10bf5b76c815dd1d57f6fdc896f424e56df0117399619af4422257f354acce29243394f8ac3123296f WHIRLPOOL ca17965c5a611b0d5ae0f115ef954d0b35e5d9dde90c128eac0fdd16745b0529acd39ac2ce21f1cc0d76f6db2607eec3b0c2bd2d248be87f7cec868abf3b328f
+MISC ChangeLog-2015 16764 SHA256 9e8e0286e6cd138c86d3746a1b38f79d628ebdc99d67dafdaf63dc43981f59ee SHA512 8119070aa3e0cb17c001a9b86943dce98ba260d9b904b92284726e4aa2a56cbb74f17a602cb80af3eba53fb01883c1c44442dd4c569e7a3f7e516a891b07dd70 WHIRLPOOL 81ec285b3ece3fcf810aaf90eea2b5a010365e2a83b70d7beb35e1ac5473b333ac2f7fad60a65a6b7792b277208a349244d97899acbc358d9f1d57ad43add8c0
+MISC metadata.xml 255 SHA256 3e7137870fc49956d79719e3dfe029775cbaaa097e85748c139713c46fcd1798 SHA512 b7bc93530a1726c2d4dfbc71ae29cfbb57712fd9fdd2e76fd52f35ab4368cba0497b50145d1527a3b79e465d459a380821bb1371a01c2e915dc9adc6c7fafd5f WHIRLPOOL 392188d7e069f1720be9329edfb31b11b176bf0c411023b2ceeaeabef1cacf842d70657a2a14ac2ddabbdad70a304275f3b587e9bcdfe77be63a0092e370252c
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.97.ebuild b/media-gfx/jhead/jhead-2.97.ebuild
new file mode 100644
index 000000000000..21e355e2ae1e
--- /dev/null
+++ b/media-gfx/jhead/jhead-2.97.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils 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_prepare() {
+ # bug 275200 - respect flags and use mktemp instead of mkstemp
+ epatch "${FILESDIR}"/${PN}-2.90-mkstemp_respect_flags.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc *.txt
+ dohtml *.html
+ doman ${PN}.1
+}
diff --git a/media-gfx/jhead/jhead-3.00.ebuild b/media-gfx/jhead/jhead-3.00.ebuild
new file mode 100644
index 000000000000..a2d8d93f35bf
--- /dev/null
+++ b/media-gfx/jhead/jhead-3.00.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit 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=""
+
+PATCHES=(
+ # bug 275200 - respect flags and use mktemp instead of mkstemp
+ "${FILESDIR}"/${PN}-2.90-mkstemp_respect_flags.patch
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc *.txt
+ docinto html
+ dodoc *.html
+ doman ${PN}.1
+}
diff --git a/media-gfx/jhead/metadata.xml b/media-gfx/jhead/metadata.xml
new file mode 100644
index 000000000000..19bf1be2581e
--- /dev/null
+++ b/media-gfx/jhead/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+</maintainer>
+</pkgmetadata>