summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-06-11 08:56:10 +0000
committerMichael Weber <xmw@gentoo.org>2012-06-11 08:56:10 +0000
commit316f1266f6fe17a3f402457c5849b1f115f9629f (patch)
tree710ec6f3bd8466d41ff17483cc958b53fc905b34 /media-gfx
parentThe patch is actually no longer required. I should rather cp from overlay whe... (diff)
downloadhistorical-316f1266f6fe17a3f402457c5849b1f115f9629f.tar.gz
historical-316f1266f6fe17a3f402457c5849b1f115f9629f.tar.bz2
historical-316f1266f6fe17a3f402457c5849b1f115f9629f.zip
Version bump (bug 398085 by Gian), non-maint commit.
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/dcraw/ChangeLog7
-rw-r--r--media-gfx/dcraw/Manifest14
-rw-r--r--media-gfx/dcraw/dcraw-9.12.ebuild125
3 files changed, 144 insertions, 2 deletions
diff --git a/media-gfx/dcraw/ChangeLog b/media-gfx/dcraw/ChangeLog
index 2bde5b5aad35..9b896ca5bb95 100644
--- a/media-gfx/dcraw/ChangeLog
+++ b/media-gfx/dcraw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/dcraw
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v 1.83 2012/05/05 07:00:19 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v 1.84 2012/06/11 08:56:10 xmw Exp $
+
+*dcraw-9.12 (11 Jun 2012)
+
+ 11 Jun 2012; Michael Weber <xmw@gentoo.org> +dcraw-9.12.ebuild:
+ Version bump (bug 398085 by Gian), non-maint commit.
05 May 2012; Jeff Horelick <jdhore@gentoo.org> dcraw-9.05.ebuild,
dcraw-9.10.ebuild:
diff --git a/media-gfx/dcraw/Manifest b/media-gfx/dcraw/Manifest
index 2a0dff8a33b2..488caea98b85 100644
--- a/media-gfx/dcraw/Manifest
+++ b/media-gfx/dcraw/Manifest
@@ -1,11 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX conversion-examples.txt 545 RMD160 f03310a2adee83df1b883f64c122d2d72c493d6f SHA1 159c57f2feba36029c97baa182670ffb0c05c0ce SHA256 b6a5a658c550ffbd26bbc1b6e7723bced7461af234062af7d77e53441429d218
AUX dcwrap 437 RMD160 c72cc183f18df5878c84a988d0746089baae0f10 SHA1 fe7f75f15f7e0dd2cdde5f96d2a0185213974066 SHA256 fd113fe5c1005116f8e03db59fb1f505667883f237abe0c799cd5a45d6ceb0bd
DIST dcraw-9.05.tar.gz 161390 RMD160 5301db44b1d5905d8cf1dd3bb4d76877b626ee17 SHA1 ff797acb2a93761d158f547c733968938b31f865 SHA256 f3ab302255662f30bc2c75f16a5c37a28f404358e9e94a197addc42ae2e3f469
DIST dcraw-9.10.tar.gz 163860 RMD160 8784cfb0046d8509adddf9dbd35c88bcd3254f21 SHA1 c43f8f760845a70f2ddb85979574c0705dbcb319 SHA256 4ff3c0bb59593a29d5846e5e6f2fd979588382255fe38d11537c9e63143759ca
+DIST dcraw-9.12.tar.gz 164386 RMD160 2e9a42ce7ddb5a62c551f2b49f61c33e34970e9e SHA1 b0110f83692b14940a8e43759d7ccefa77103cc6 SHA256 9892b013d2190b858dea380a94e7f5c30318a068237e7bef8eb6a8aefc6bd691
DIST parse-1.71.tar.bz2 8129 RMD160 bc7732b2b52cdda69b9a39d7e30cc02aff371a6b SHA1 96e74cb9e366ae17897852e231e1c764fd36d96f SHA256 58d91d4ce8533b84e6933d9cfa505b7a1b3c228e34b7e3aeae438948a42a454a
DIST parse-1.73.tar.bz2 8186 RMD160 134e3bf152d145fedd1f137f82b3f8791804310c SHA1 efdc722f858d730cf45af1417d2f6ed8ae3fe281 SHA256 51f75837b7fa7f6389f43c875ad8320c41a44c4213922dc767e16dc424462c3c
DIST rawphoto-1.32.tar.bz2 3841 RMD160 11c6c0fd621170ec5657c8803300ade7c3c21f99 SHA1 6952d39556c3b83e1c790c6ccd34f8233cf2dd53 SHA256 3348a83a44fa941924a4e743f88d993b71d28ba995f80e6765d6c19b6eeaea4c
EBUILD dcraw-9.05.ebuild 3310 RMD160 ecc4331275f85786d07a0fa922e712f2ace9567b SHA1 4ec2457c1a42cedf9d4575bb36907f4198f888a0 SHA256 fe530b191e144a90f72707d8d18a61816b0871bbec8458c559a28c12849dd7f1
EBUILD dcraw-9.10.ebuild 3420 RMD160 6c34a4f57638078c9c1983800019975d0573fc9c SHA1 fe55e1574577d4e4b51019588b128befb4f28909 SHA256 867473a0fe9d1aaa07c1e18ea31412530c911e9103ae368000046728a144fb95
-MISC ChangeLog 10168 RMD160 1a0ecfbb7a3eeb8921cb430e2525529e0113f423 SHA1 255e826b6b2e3e6e8f4fec74ae6c5e94fe3773e4 SHA256 1b931c852416d4b67a64552ac6b21d8b4542d1d93ad4778a9e9d6331882c8073
+EBUILD dcraw-9.12.ebuild 3426 RMD160 cdca9ba4d1a6961fddc678bcae497ee817ef7b31 SHA1 bc256d935e2a97d3cefe6e3e75d9803c0b28c9d3 SHA256 82d016ebe83f003e2a5cb2f89a38021b710e1f63b168b78f9ed8353fdb5b8f05
+MISC ChangeLog 10314 RMD160 b41188b231764c760436d56d2572f7bad46502d3 SHA1 bd475ffdafeb5edf2160d1b6f156723ec3521103 SHA256 fba0843c66a6b9f85812a7d9877211cc4210806baa204843c716a3fce707b1e8
MISC metadata.xml 792 RMD160 73bb1a1e3121fd87da886506af1a7785d3def72f SHA1 9dc189c861c8135a70dfedde66db17038c18853e SHA256 090d3f04638d3826134d433f415cccda37cd31b3cbdd6169112215a3f0182e8c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk/VsosACgkQknrdDGLu8JBJQwD/f+ZKPfVCBa7/KvezC88ICgIj
+/WsCG9143TK3yJT6GskA/jQmm5fVz5qEQaaiayB74hVII4pDCKmrmuRGNen6OZix
+=fkDB
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/dcraw/dcraw-9.12.ebuild b/media-gfx/dcraw/dcraw-9.12.ebuild
new file mode 100644
index 000000000000..463f4408c2ea
--- /dev/null
+++ b/media-gfx/dcraw/dcraw-9.12.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/dcraw-9.12.ebuild,v 1.1 2012/06/11 08:56:10 xmw Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Converts the native (RAW) format of various digital cameras into netpbm portable pixmap (.ppm) image"
+HOMEPAGE="http://www.cybercom.net/~dcoffin/dcraw/"
+SRC_URI="http://www.cybercom.net/~dcoffin/dcraw/archive/${P}.tar.gz
+ mirror://gentoo/parse-1.73.tar.bz2
+ gimp? ( mirror://gentoo/rawphoto-1.32.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="nls gimp jpeg jpeg2k lcms"
+
+COMMON_DEPEND="jpeg? ( virtual/jpeg )
+ lcms? ( =media-libs/lcms-1* )
+ jpeg2k? ( media-libs/jasper )
+ gimp? ( media-gfx/gimp )"
+DEPEND="${COMMON_DEPEND}
+ nls? ( sys-devel/gettext )
+ gimp? ( virtual/pkgconfig )"
+RDEPEND="${COMMON_DEPEND}
+ media-libs/netpbm"
+
+S=${WORKDIR}/dcraw
+
+LANGS="ca cs de da eo es fr hu it nl pl pt ru sv zh_CN zh_TW"
+
+for lng in ${LANGS}; do
+ IUSE+=" linguas_${lng}"
+done
+
+# Helper function to list only langs listed in LANGS or
+linguas_list() {
+ local nolangs=true
+ for lng in ${LANGS}; do
+ if use linguas_${lng}; then
+ nolangs=false
+ echo " ${lng}"
+ fi
+ done
+ if ${nolangs}; then
+ echo ${LANGS}
+ fi
+}
+
+run_build() {
+ einfo "${@}"
+ ${@} || die
+}
+
+src_prepare() {
+ rename dcraw_ dcraw. dcraw_*.1 || die "Failed to rename"
+}
+
+src_compile() {
+ local ECFLAGS="-O2" # Without optimisation build fails
+ local ELIBS="-lm"
+
+ use lcms && ELIBS="-llcms ${ELIBS}" || ECFLAGS+=" -DNO_LCMS=yes"
+ use jpeg && ELIBS="-ljpeg ${ELIBS}" || ECFLAGS+=" -DNO_JPEG=yes"
+ use jpeg2k && ELIBS="-ljasper ${ELIBS}" || ECFLAGS+=" -DNO_JASPER=yes"
+ use nls && ECFLAGS+=" -DLOCALEDIR=\"/usr/share/locale/\""
+
+ run_build $(tc-getCC) ${ECFLAGS} ${CFLAGS} ${LDFLAGS} \
+ -o dcraw dcraw.c ${ELIBS}
+
+ run_build $(tc-getCC) -O2 ${CFLAGS} ${LDFLAGS} \
+ -o dcparse parse.c
+
+ # rawphoto gimp plugin
+ if use gimp; then
+ run_build $(tc-getCC) ${CFLAGS} ${LDFLAGS} \
+ $(pkg-config --cflags gimpui-2.0) rawphoto.c -o rawphoto \
+ $(pkg-config --libs gimpui-2.0)
+ fi
+
+ if use nls; then
+ for lng in $(linguas_list); do
+ run_build msgfmt -c -o dcraw_${lng}.mo dcraw_${lng}.po
+ done
+ fi
+}
+
+src_install() {
+ dobin dcraw dcparse || die
+ dodoc "${FILESDIR}"/{conversion-examples.txt,dcwrap} || die
+
+ # rawphoto gimp plugin
+ if use gimp; then
+ insinto "$(pkg-config --variable=gimplibdir gimp-2.0)/plug-ins"
+ insopts -m0755
+ doins rawphoto || die
+ fi
+
+ doman dcraw.1 || die
+ if use nls; then
+ for lng in $(linguas_list); do
+ [[ -f dcraw.${lng}.1 ]] && doman dcraw.${lng}.1
+ insinto /usr/share/locale/${lng}/LC_MESSAGES
+ newins dcraw_${lng}.mo dcraw.mo || die "failed to install dcraw_${lng}.mo"
+ done
+ fi
+}
+
+pkg_postinst() {
+ elog ""
+ elog "See conversion-examples.txt.gz on how to convert"
+ elog "the PPM files produced by dcraw to other image formats."
+ elog ""
+ ewarn "The functionality of the external program 'fujiturn' was"
+ ewarn "incorporated into dcraw and is automatically used now."
+ elog ""
+ elog "There's an example wrapper script included called 'dcwrap'."
+ elog ""
+ elog "This package also includes 'dcparse', which extracts"
+ elog "thumbnail images (preferably JPEGs) from any raw digital"
+ elog "camera formats that have them, and shows table contents."
+ elog ""
+}