Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 496138

Summary: =media-gfx/darktable-1.4.0 version bump
Product: Gentoo Linux Reporter: Didier Link <didier>
Component: Current packagesAssignee: Tim Harder <radhermit>
Status: RESOLVED FIXED    
Severity: normal CC: fcoiffie, graphics+disabled, karpi.web, martin, mattm, nikoli, nshephard, penetsdorfer, usefuljunk, vivo75
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.darktable.org/2013/12/released-darktable-1-4/
Whiteboard:
Package list:
Runtime testing required: ---

Description Didier Link 2013-12-27 09:02:12 UTC
A new version of draktable with a lot of new features (mask, lua script engine, etc) is out.

Reproducible: Always
Comment 1 karpi 2013-12-27 18:24:14 UTC
Only renaming and simple SRC_URI change works...

1)
cp /usr/portage/media-gfx/darktable/darktable-1.2.3.ebuild /usr/local/portage/media-gfx/darktable/darktable-1.4.ebuild

2)
SRC_URI="http://sourceforge.net/projects/darktable/files/${PN}/${PV}/${P}.tar.xz
    doc? ( http://sourceforge.net/projects/darktable/files/${PN}/${PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${PV}.pdf )"
Comment 2 Francesco Riosa 2014-01-03 13:13:47 UTC
for me it is

gentoo darktable # colordiff -u /g/portage/media-gfx/darktable/darktable-1.2.3.ebuild darktable-1.4.ebuild 
--- /g/portage/media-gfx/darktable/darktable-1.2.3.ebuild       2013-09-29 13:30:56.000000000 +0200
+++ darktable-1.4.ebuild        2014-01-03 13:59:09.721184795 +0100
@@ -8,14 +8,14 @@
 
 DESCRIPTION="A virtual lighttable and darkroom for photographers"
 HOMEPAGE="http://www.darktable.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
-       doc? ( mirror://sourceforge/${PN}/${PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${PV}.pdf )"
+SRC_URI="http://sourceforge.net/projects/darktable/files/${PN}/${PV}/${P}.tar.xz
+    doc? ( http://sourceforge.net/projects/darktable/files/${PN}/${PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${PV}.pdf )"
 
 LICENSE="GPL-3 CC-BY-3.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="colord doc flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde
-nls opencl openmp pax_kernel +rawspeed +slideshow +squish web-services"
+IUSE="colord doc flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde lua
+nls opencl openmp pax_kernel +rawspeed +slideshow +squish webp web-services"
 
 CDEPEND="
        dev-db/sqlite:3
@@ -29,6 +29,7 @@
        gphoto2? ( media-libs/libgphoto2:= )
        graphicsmagick? ( media-gfx/graphicsmagick )
        jpeg2k? ( media-libs/openjpeg:0 )
+       lua? ( dev-lang/lua )
        media-gfx/exiv2[xmp]
        media-libs/lcms:2
        >=media-libs/lensfun-0.2.3
@@ -43,6 +44,7 @@
                virtual/opengl
        )
        virtual/jpeg
+       webp? ( media-libs/libwebp )
        web-services? ( dev-libs/json-glib )
        x11-libs/cairo
        x11-libs/gdk-pixbuf:2
@@ -77,16 +79,20 @@
                $(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
                $(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK)
                $(cmake-utils_use_use jpeg2k OPENJPEG)
+               $(cmake-utils_use_use lua USE_LUA)
+               $(cmake-utils_use_use lua DONT_USE_INTERNAL_LUA)
                $(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_use squish SQUISH)
                $(cmake-utils_use_build slideshow SLIDESHOW)
+               $(cmake-utils_use_use webp USE_WEBP)
                $(cmake-utils_use_use web-services GLIBJSON)
                -DCUSTOM_CFLAGS=ON
                -DINSTALL_IOP_EXPERIMENTAL=ON
                -DINSTALL_IOP_LEGACY=ON
+               -DBUILD_CMSTEST=ON
        )
        cmake-utils_src_configure
 }
Comment 3 Francesco Riosa 2014-01-03 13:24:17 UTC
gentoo darktable # emerge --info =darktable-1.4       
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.1, glibc-2.17, 3.10.25 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.25-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16404100 total,   6387020 free
KiB Swap:    4610648 total,   4563328 free
Timestamp of tree: Fri, 03 Jan 2014 11:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24
sys-devel/gcc:            4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x11 kde mysql vivovl
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=6144 -mtune=corei7-avx -mno-bmi2 -mno-avx2 -mno-lzcnt -mrdrnd --param=l1-cache-size=32 -mno-rtm -mno-hle -mno-rdseed -mno-prfchw -mno-adx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d /etc/init.d /usr/share/config /usr/share/config/kdm /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=6144 -mtune=corei7-avx -mno-bmi2 -mno-avx2 -mno-lzcnt -mrdrnd --param=l1-cache-size=32 -mno-rtm -mno-hle -mno-rdseed -mno-prfchw -mno-adx -fvisibility-inlines-hidden -fabi-version=6 -ffor-scope -fstrict-enums -fuse-cxa-atexit"
DISTDIR="/g/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distcc distlocks ebuild-locks fail-clean fixlafiles installsources merge-sync metadata-transfer news noinfo notitles parallel-fetch parallel-install sandbox sfperms skiprocheck splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://archive.mmu.edu.my/gentoo rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://mirror.neolabs.kz/gentoo http://ftp.gentoo.bg/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/"
INSTALL_MASK=" /usr/lib64/elektra/*.la /usr/lib64/libelektra*.la /usr/lib64/libo{{,sp}grove,style}.la /lib/udev/rules.d/45-Argyll.rules /usr/lib64/terminfo/[0-9] /usr/src/debug /usr/lib64/debug/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--build-id"
MAKEOPTS="-j3"
PKGDIR="/g/packages"
PORTAGE_COMPRESS_FLAGS="-3"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/g/portage"
PORTDIR_OVERLAY="/g/ovl/x11 /g/ovl/kde /g/ovl/mysql /g/ovl/tmp"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 c++0x cairo cdda cddb cdr cjk cli consolekit cpudetection cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr dvdread dvi efi egl fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gif gimpprint glamor gles2 gmp gnutls gphoto2 gsm gtk hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda jabber jack jfs joystick kdeenablefinal kdehiddenvisibility kerberos lame lcd libnotify live lm_sensors lzo mail matroska mjpeg mmx modules mozdevelop mp3 mp3rtp msn mtp mudflap multilib musepack musicbrainz ncurses network nls nptl nsplugin ntfs ogg openal opencl opengl openmp pam pcmcia pcre pda perl png policykit ppds pulseaudio python qt3support qt4 r600-llvm-compiler rar rdesktop readline real reiserfs rss scanner sdl semantic-desktop session slp smpeg speex sse sse2 sse4_1 ssl ssse3 startup-notification stream svg sysfs tcpd theora tiff udev unicode usb v4l v4l2 visualization wifi win32codecs wmf x264 xattr xcb xfs xine xinerama xmp xpm xprint xulrunner xvid xvmc yahoo zeroconf zlib" ABI_X86="64" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" APACHE2_MODULES="asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http substitute version actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="krita braindump flow stage words sheets karbon* kexi plan karbon" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps cifs dmsquash-live livenet mdraid nfs ssh-client syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="it en en_US" LIRC_DEVICES="audio audio_alsa serial pctv" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 pypy2_0" QEMU_SOFTMMU_TARGETS="arm cris m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64 x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="kvs40xx mustek_usb2" USERLAND="GNU" VIDEO_CARDS="fbdev vesa r300 r600 intel modesetting radeon i915 i965 nouveau radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3 2.7-pypy-2.0"
Unset:  CPPFLAGS, CTARGET, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-gfx/darktable-1.4 was built with the following:
USE="flickr gphoto2 kde lua nls opencl openmp rawspeed slideshow squish webp -colord -doc -geo -gnome-keyring -graphicsmagick -jpeg2k -pax_kernel -web-services"
Comment 4 Francesco Riosa 2014-01-03 13:34:31 UTC
for the record the embedded lua version is 5.2.2, gentoo has dev-lang/lua-5.1.5 but it compile ok
Comment 5 Beetle B. 2014-01-11 03:03:52 UTC
I tried it, but the lighttable mode isn't working properly for me, it doesn't show all the thumbnails of the photos at once (it shows a bunch, but the rest flicker on and off as I scroll, etc).

Not sure if this is an upstream bug or if I should upgrade some libraries...?
Comment 6 Francesco Riosa 2014-01-20 23:50:46 UTC
by the way DONT_USE_INTERNAL_LUA should be unconditionally set
Comment 7 Markus Meier gentoo-dev 2014-01-21 20:36:40 UTC
new version committed in tree, thanks for the report.

*darktable-1.4 (21 Jan 2014)

  21 Jan 2014; Markus Meier <maekke@gentoo.org> +darktable-1.4.ebuild,
  darktable-9999.ebuild, metadata.xml:
  version bump, bug #496138
  - add webp support
  - lua support disabled, as it requires masked dev-lang/lua-5.2
  - respect LINGUAS, bug #403037