public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/dcraw: dcraw-8.98.ebuild ChangeLog metadata.xml
@ 2009-12-13  8:54 Peter Volkov (pva)
  0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2009-12-13  8:54 UTC (permalink / raw
  To: gentoo-commits

pva         09/12/13 08:54:29

  Modified:             ChangeLog metadata.xml
  Added:                dcraw-8.98.ebuild
  Log:
  Version bump, #251665, thank lots of people there. Fixes build issue for gimp plugin, #240648, thank Kerie for report and Andrew Savchenko for work. Also should fix sandbox violation, #267119, thank GNUtoo@no-log.org for report.
  (Portage version: 2.2_rc55/cvs/Linux x86_64)

Revision  Changes    Path
1.49                 media-gfx/dcraw/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/dcraw/ChangeLog?rev=1.49&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/dcraw/ChangeLog?rev=1.49&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/dcraw/ChangeLog?r1=1.48&r2=1.49

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- ChangeLog	26 May 2008 12:25:32 -0000	1.48
+++ ChangeLog	13 Dec 2009 08:54:29 -0000	1.49
@@ -1,6 +1,16 @@
 # ChangeLog for media-gfx/dcraw
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v 1.48 2008/05/26 12:25:32 wschlich Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v 1.49 2009/12/13 08:54:29 pva Exp $
+
+*dcraw-8.98 (13 Dec 2009)
+
+  13 Dec 2009; Peter Volkov <pva@gentoo.org> +dcraw-8.98.ebuild,
+  +files/conversion-examples.txt, +files/dcwrap,
+  +files/update-dcparse-and-rawphoto-tarballs.sh, metadata.xml:
+  Version bump, #251665, thank lots of people there. Fixes build issue for
+  gimp plugin, #240648, thank Kerie for report and Andrew Savchenko for
+  work. Also should fix sandbox violation, #267119, thank GNUtoo@no-log.org
+  for report.
 
 *dcraw-8.86 (26 May 2008)
 



1.2                  media-gfx/dcraw/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/dcraw/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/dcraw/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/dcraw/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/dcraw/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	17 Oct 2004 19:56:08 -0000	1.1
+++ metadata.xml	13 Dec 2009 08:54:29 -0000	1.2
@@ -7,6 +7,10 @@
 	<name>Wolfram Schlich</name>
 	<description>Primary maintainer</description>
 </maintainer>
+<maintainer>
+	<email>pva@gentoo.org</email>
+	<name>Peter Volkov</name>
+</maintainer>
 <longdescription>
 This utility converts the native (RAW), format of various digital cameras into
 netpbm portable pixmap (.ppm) image. Supports the following models: Canon,



1.1                  media-gfx/dcraw/dcraw-8.98.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/dcraw/dcraw-8.98.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/dcraw/dcraw-8.98.ebuild?rev=1.1&content-type=text/plain

Index: dcraw-8.98.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/dcraw-8.98.ebuild,v 1.1 2009/12/13 08:54:29 pva 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.69.tar.bz2 
	gimp? ( mirror://gentoo/rawphoto-1.32.tar.bz2 )"

LICENSE="freedist GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="nls gimp jpeg lcms"

COMMON_DEPEND="jpeg? ( >=media-libs/jpeg-6b )
	lcms? ( media-libs/lcms )
	gimp? ( media-gfx/gimp )"
DEPEND="${COMMON_DEPEND}
	nls? ( sys-devel/gettext )
	gimp? ( dev-util/pkgconfig )"
RDEPEND="${COMMON_DEPEND}
	media-libs/netpbm"

S=${WORKDIR}/dcraw

LANGS="ca cs de 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"
	if use lcms; then
		ELIBS="-llcms ${ELIBS}"
	else
		ECFLAGS+=" NO_LCMS=yes"
	fi
	if use jpeg; then
		ELIBS="-ljpeg ${ELIBS}"
	else
		ECFLAGS+=" NO_JPEG=yes"
	fi
	if use nls; then
		ECFLAGS+=" -DLOCALEDIR=\"/usr/share/locale/\""
	fi

	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 "incoporated 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 ""
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-13  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-13  8:54 [gentoo-commits] gentoo-x86 commit in media-gfx/dcraw: dcraw-8.98.ebuild ChangeLog metadata.xml Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox