* [gentoo-commits] gentoo-x86 commit in media-gfx/darktable: metadata.xml ChangeLog darktable-9999.ebuild darktable-1.1.2.ebuild
@ 2013-01-12 18:36 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2013-01-12 18:36 UTC (permalink / raw
To: gentoo-commits
radhermit 13/01/12 18:36:25
Modified: metadata.xml ChangeLog darktable-9999.ebuild
Added: darktable-1.1.2.ebuild
Log:
Version bump. Add graphicsmagick/jpeg2k use flags and update the desktop mime database on install. Add pax_kernel use flag to work around hardened issue (bug #448692 by prometheanfire).
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path
1.9 media-gfx/darktable/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/metadata.xml?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/metadata.xml?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/metadata.xml?r1=1.8&r2=1.9
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/darktable/metadata.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- metadata.xml 19 Dec 2012 19:15:46 -0000 1.8
+++ metadata.xml 12 Jan 2013 18:36:25 -0000 1.9
@@ -13,6 +13,7 @@
<flag name="flickr">Add support for uploading photos to flickr</flag>
<flag name="geo">Enable geotagging support</flag>
<flag name="opencl">Enable opencl support</flag>
+ <flag name="pax_kernel">Triggers paxmarking of main darktable binary</flag>
<flag name="rawspeed">Enable the rawspeed backend</flag>
<flag name="slideshow">Build the opengl slideshow viewer</flag>
</use>
1.33 media-gfx/darktable/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?rev=1.33&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?rev=1.33&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?r1=1.32&r2=1.33
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ChangeLog 19 Dec 2012 19:15:46 -0000 1.32
+++ ChangeLog 12 Jan 2013 18:36:25 -0000 1.33
@@ -1,6 +1,14 @@
# ChangeLog for media-gfx/darktable
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.32 2012/12/19 19:15:46 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.33 2013/01/12 18:36:25 radhermit Exp $
+
+*darktable-1.1.2 (12 Jan 2013)
+
+ 12 Jan 2013; Tim Harder <radhermit@gentoo.org> +darktable-1.1.2.ebuild,
+ darktable-9999.ebuild, metadata.xml:
+ Version bump. Add graphicsmagick/jpeg2k use flags and update the desktop mime
+ database on install. Add pax_kernel use flag to work around hardened issue
+ (bug #448692 by prometheanfire).
19 Dec 2012; Tim Harder <radhermit@gentoo.org> darktable-9999.ebuild,
metadata.xml:
1.5 media-gfx/darktable/darktable-9999.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild?r1=1.4&r2=1.5
Index: darktable-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- darktable-9999.ebuild 19 Dec 2012 19:15:46 -0000 1.4
+++ darktable-9999.ebuild 12 Jan 2013 18:36:25 -0000 1.5
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.4 2012/12/19 19:15:46 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.5 2013/01/12 18:36:25 radhermit Exp $
EAPI="5"
-inherit cmake-utils toolchain-funcs gnome2-utils git-2 eutils
+inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime git-2 pax-utils eutils
EGIT_REPO_URI="git://github.com/darktable-org/darktable.git"
@@ -15,7 +15,7 @@
SLOT="0"
KEYWORDS=""
IUSE="colord facebook flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde
-nls opencl openmp +rawspeed +slideshow"
+nls opencl openmp pax_kernel +rawspeed +slideshow"
RDEPEND="
dev-db/sqlite:3
@@ -91,14 +91,29 @@
cmake-utils_src_configure
}
+src_install() {
+ cmake-utils_src_install
+
+ if use pax_kernel && use opencl ; then
+ pax-mark Cm "${ED}"/usr/bin/${PN} || die
+ eqawarn "USE=pax_kernel is set meaning that ${PN} will be run"
+ eqawarn "under a PaX enabled kernel. To do so, the ${PN} binary"
+ eqawarn "must be modified and this *may* lead to breakage! If"
+ eqawarn "you suspect that ${PN} is broken by this modification,"
+ eqawarn "please open a bug."
+ fi
+}
+
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
}
1.1 media-gfx/darktable/darktable-1.1.2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-1.1.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-1.1.2.ebuild?rev=1.1&content-type=text/plain
Index: darktable-1.1.2.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-1.1.2.ebuild,v 1.1 2013/01/12 18:36:25 radhermit Exp $
EAPI="5"
inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime pax-utils eutils
DESCRIPTION="A virtual lighttable and darkroom for photographers"
HOMEPAGE="http://www.darktable.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
doc? ( mirror://sourceforge/${PN}/${PN}-usermanual-1.1.1.pdf )"
LICENSE="GPL-3 CCPL-Attribution-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="colord doc facebook flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde
nls opencl openmp pax_kernel +rawspeed +slideshow"
RDEPEND="
dev-db/sqlite:3
dev-libs/libxml2:2
colord? ( x11-misc/colord )
facebook? ( dev-libs/json-glib )
flickr? ( media-libs/flickcurl )
geo? ( net-libs/libsoup:2.4 )
gnome-keyring? ( gnome-base/gnome-keyring )
gnome-base/librsvg:2
gphoto2? ( media-libs/libgphoto2 )
graphicsmagick? ( media-gfx/graphicsmagick )
jpeg2k? ( media-libs/openjpeg )
kde? (
dev-libs/dbus-glib
kde-base/kwalletd
)
media-gfx/exiv2[xmp]
media-libs/lcms:2
>=media-libs/lensfun-0.2.3
media-libs/libpng
media-libs/openexr
media-libs/tiff
net-misc/curl
opencl? ( virtual/opencl )
slideshow? (
media-libs/libsdl
virtual/glu
virtual/opengl
)
virtual/jpeg
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2"
DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
pkg_pretend() {
if use openmp ; then
tc-has-openmp || die "Please switch to an openmp compatible compiler"
fi
}
src_prepare() {
sed -e "s:\(/share/doc/\)darktable:\1${PF}:" \
-e "s:LICENSE::" \
-i doc/CMakeLists.txt || die
epatch_user
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_use colord COLORD)
$(cmake-utils_use_use facebook GLIBJSON)
$(cmake-utils_use_use flickr FLICKR)
$(cmake-utils_use_use geo GEO)
$(cmake-utils_use_use gnome-keyring GNOME_KEYRING)
$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
$(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK)
$(cmake-utils_use_use jpeg2k OPENJPEG)
$(cmake-utils_use_use kde KWALLET)
$(cmake-utils_use_use nls NLS)
$(cmake-utils_use_use opencl OPENCL)
$(cmake-utils_use_use openmp OPENMP)
$(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
$(cmake-utils_use_build slideshow SLIDESHOW)
-DCUSTOM_CFLAGS=ON
-DINSTALL_IOP_EXPERIMENTAL=ON
-DINSTALL_IOP_LEGACY=ON
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-1.1.1.pdf
if use pax_kernel && use opencl ; then
pax-mark Cm "${ED}"/usr/bin/${PN} || die
eqawarn "USE=pax_kernel is set meaning that ${PN} will be run"
eqawarn "under a PaX enabled kernel. To do so, the ${PN} binary"
eqawarn "must be modified and this *may* lead to breakage! If"
eqawarn "you suspect that ${PN} is broken by this modification,"
eqawarn "please open a bug."
fi
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-12 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-12 18:36 [gentoo-commits] gentoo-x86 commit in media-gfx/darktable: metadata.xml ChangeLog darktable-9999.ebuild darktable-1.1.2.ebuild Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox