Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/darktable: darktable-1.4.1.ebuild darktable-9999.ebuild ChangeLog
Date: Tue, 11 Feb 2014 05:43:52
Message-Id: 20140211054349.9557D2004C@flycatcher.gentoo.org
1 radhermit 14/02/11 05:43:49
2
3 Modified: darktable-9999.ebuild ChangeLog
4 Added: darktable-1.4.1.ebuild
5 Log:
6 Version bump, add openexr use flag (bug #499708).
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.13 media-gfx/darktable/darktable-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild?r1=1.12&r2=1.13
16
17 Index: darktable-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- darktable-9999.ebuild 21 Jan 2014 20:35:00 -0000 1.12
24 +++ darktable-9999.ebuild 11 Feb 2014 05:43:49 -0000 1.13
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.12 2014/01/21 20:35:00 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.13 2014/02/11 05:43:49 radhermit Exp $
30
31 EAPI=5
32
33 @@ -10,11 +10,9 @@
34
35 DESCRIPTION="A virtual lighttable and darkroom for photographers"
36 HOMEPAGE="http://www.darktable.org/"
37 -SRC_URI=""
38
39 LICENSE="GPL-3 CC-BY-3.0"
40 SLOT="0"
41 -KEYWORDS=""
42 LANGS=" cs da de el es fr it ja nl pl pt_BR pt_PT ru sq sv uk"
43 # TODO add lua once dev-lang/lua-5.2 is unmasked
44 IUSE="colord doc flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde
45 @@ -70,7 +68,7 @@
46 -e "s:LICENSE::" \
47 -i doc/CMakeLists.txt || die
48
49 - epatch_user
50 + cmake-utils_src_prepare
51 }
52
53 src_configure() {
54
55
56
57 1.54 media-gfx/darktable/ChangeLog
58
59 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?rev=1.54&view=markup
60 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?rev=1.54&content-type=text/plain
61 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?r1=1.53&r2=1.54
62
63 Index: ChangeLog
64 ===================================================================
65 RCS file: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v
66 retrieving revision 1.53
67 retrieving revision 1.54
68 diff -u -r1.53 -r1.54
69 --- ChangeLog 21 Jan 2014 20:35:00 -0000 1.53
70 +++ ChangeLog 11 Feb 2014 05:43:49 -0000 1.54
71 @@ -1,6 +1,12 @@
72 # ChangeLog for media-gfx/darktable
73 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
74 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.53 2014/01/21 20:35:00 maekke Exp $
75 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.54 2014/02/11 05:43:49 radhermit Exp $
76 +
77 +*darktable-1.4.1 (11 Feb 2014)
78 +
79 + 11 Feb 2014; Tim Harder <radhermit@g.o> +darktable-1.4.1.ebuild,
80 + darktable-9999.ebuild, +files/darktable-1.4.1-automagic-openexr.patch:
81 + Version bump, add openexr use flag (bug #499708).
82
83 *darktable-1.4 (21 Jan 2014)
84
85
86
87
88 1.1 media-gfx/darktable/darktable-1.4.1.ebuild
89
90 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-1.4.1.ebuild?rev=1.1&view=markup
91 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-1.4.1.ebuild?rev=1.1&content-type=text/plain
92
93 Index: darktable-1.4.1.ebuild
94 ===================================================================
95 # Copyright 1999-2014 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97 # $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-1.4.1.ebuild,v 1.1 2014/02/11 05:43:49 radhermit Exp $
98
99 EAPI=5
100
101 inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime pax-utils eutils
102
103 DESCRIPTION="A virtual lighttable and darkroom for photographers"
104 HOMEPAGE="http://www.darktable.org/"
105 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
106 doc? ( mirror://sourceforge/${PN}/${PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${PV}.pdf )"
107
108 LICENSE="GPL-3 CC-BY-3.0"
109 SLOT="0"
110 KEYWORDS="~amd64 ~x86"
111 LANGS=" cs da de el es fr it ja nl pl pt_BR pt_PT ru sq sv uk"
112 # TODO add lua once dev-lang/lua-5.2 is unmasked
113 IUSE="colord doc flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde
114 nls opencl openmp openexr pax_kernel +rawspeed +slideshow +squish web-services webp
115 ${LANGS// / linguas_}"
116
117 CDEPEND="
118 dev-db/sqlite:3
119 >=dev-libs/glib-2.28:2
120 dev-libs/libxml2:2
121 gnome-base/librsvg:2
122 media-gfx/exiv2:0=[xmp]
123 media-libs/lcms:2
124 >=media-libs/lensfun-0.2.3
125 media-libs/libpng:0=
126 media-libs/tiff:0
127 net-misc/curl
128 virtual/jpeg
129 x11-libs/cairo
130 x11-libs/gdk-pixbuf:2
131 x11-libs/gtk+:2
132 x11-libs/pango
133 colord? ( x11-misc/colord:0= )
134 flickr? ( media-libs/flickcurl )
135 geo? ( net-libs/libsoup:2.4 )
136 gnome-keyring? ( gnome-base/gnome-keyring )
137 gphoto2? ( media-libs/libgphoto2:= )
138 graphicsmagick? ( media-gfx/graphicsmagick )
139 jpeg2k? ( media-libs/openjpeg:0 )
140 opencl? ( virtual/opencl )
141 openexr? ( media-libs/openexr:0= )
142 slideshow? (
143 media-libs/libsdl
144 virtual/glu
145 virtual/opengl
146 )
147 web-services? ( dev-libs/json-glib )
148 webp? ( media-libs/libwebp:0= )"
149 RDEPEND="${CDEPEND}
150 kde? ( kde-base/kwalletd )"
151 DEPEND="${CDEPEND}
152 virtual/pkgconfig
153 nls? ( sys-devel/gettext )"
154
155 PATCHES=( "${FILESDIR}"/${P}-automagic-openexr.patch )
156
157 pkg_pretend() {
158 if use openmp ; then
159 tc-has-openmp || die "Please switch to an openmp compatible compiler"
160 fi
161 }
162
163 src_prepare() {
164 sed -e "s:\(/share/doc/\)darktable:\1${PF}:" \
165 -e "s:LICENSE::" \
166 -i doc/CMakeLists.txt || die
167
168 cmake-utils_src_prepare
169 }
170
171 src_configure() {
172 local mycmakeargs=(
173 $(cmake-utils_use_use colord COLORD)
174 $(cmake-utils_use_use flickr FLICKR)
175 $(cmake-utils_use_use geo GEO)
176 $(cmake-utils_use_use gnome-keyring GNOME_KEYRING)
177 $(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
178 $(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK)
179 $(cmake-utils_use_use jpeg2k OPENJPEG)
180 $(cmake-utils_use_use nls NLS)
181 $(cmake-utils_use_use opencl OPENCL)
182 $(cmake-utils_use_use openexr OPENEXR)
183 $(cmake-utils_use_use openmp OPENMP)
184 $(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
185 $(cmake-utils_use_use squish SQUISH)
186 $(cmake-utils_use_build slideshow SLIDESHOW)
187 $(cmake-utils_use_use web-services GLIBJSON)
188 $(cmake-utils_use_use webp WEBP)
189 -DUSE_LUA=OFF
190 -DCUSTOM_CFLAGS=ON
191 -DINSTALL_IOP_EXPERIMENTAL=ON
192 -DINSTALL_IOP_LEGACY=ON
193 )
194 cmake-utils_src_configure
195 }
196
197 src_install() {
198 cmake-utils_src_install
199 use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${PV}.pdf
200
201 for lang in ${LANGS} ; do
202 use linguas_${lang} || rm -r "${ED}"/usr/share/locale/${lang}
203 done
204
205 if use pax_kernel && use opencl ; then
206 pax-mark Cm "${ED}"/usr/bin/${PN} || die
207 eqawarn "USE=pax_kernel is set meaning that ${PN} will be run"
208 eqawarn "under a PaX enabled kernel. To do so, the ${PN} binary"
209 eqawarn "must be modified and this *may* lead to breakage! If"
210 eqawarn "you suspect that ${PN} is broken by this modification,"
211 eqawarn "please open a bug."
212 fi
213 }
214
215 pkg_preinst() {
216 gnome2_icon_savelist
217 }
218
219 pkg_postinst() {
220 gnome2_icon_cache_update
221 fdo-mime_desktop_database_update
222 }
223
224 pkg_postrm() {
225 gnome2_icon_cache_update
226 fdo-mime_desktop_database_update
227 }