Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300681 - [EBUILD] please add media-gfx/darktable-0.4 to tree
Summary: [EBUILD] please add media-gfx/darktable-0.4 to tree
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://darktable.sourceforge.net/inst...
Whiteboard:
Keywords: EBUILD, InVCS
Depends on:
Blocks:
 
Reported: 2010-01-12 09:53 UTC by mailrupile
Modified: 2011-07-23 17:25 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
darktable-0.4.ebuild (darktable-0.4.ebuild,1.41 KB, text/plain)
2010-01-12 09:57 UTC, mailrupile
Details
darktable-0.4.ebuild_mod (eb.eb,1.37 KB, text/plain)
2010-01-12 21:53 UTC, mailrupile
Details
darktable-0.4.ebuild_mod_2 (darktable_v3_eb,1.43 KB, text/plain)
2010-01-13 20:56 UTC, mailrupile
Details
version bump (darktable-0.6.ebuild,1.70 KB, text/plain)
2010-09-04 15:34 UTC, Account removed
Details
Ebuild for the git version (darktable-9999.ebuild,1.68 KB, text/plain)
2010-11-11 04:29 UTC, Christos Stamatopoulos
Details
build from git (darktable-9999.ebuild,1.51 KB, text/plain)
2011-01-04 10:12 UTC, Roman
Details
mod build.sh (build.patch,353 bytes, text/plain)
2011-01-04 10:17 UTC, Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mailrupile 2010-01-12 09:53:57 UTC
darktable is a virtual lighttable and darkroom for photographers: it manages your digital negatives in a database and lets you view them through a zoomable lighttable. it also enables you to develop raw images and enhance them.

Homepage of the project: http://darktable.sourceforge.net

their ebuild in attach

Reproducible: Always

Steps to Reproduce:
Comment 1 mailrupile 2010-01-12 09:57:14 UTC
Created attachment 216198 [details]
darktable-0.4.ebuild

There is also darktable-9999.ebuild on homepage
Comment 2 Ivan Anishchuk 2010-01-12 17:21:21 UTC
>src_unpack() {
>	unpack ${A}
>	cd "${S}"
>}

This is default src_unpack action. You have to remove this function from ebuild.
Comment 3 Ivan Anishchuk 2010-01-12 17:29:09 UTC
Also, please change keywords (ebuild, request) and summary (to smth like "[EBUILD] please add media-gfx/darktable-0.4 to tree").

This is for faster search :) .
Comment 4 mailrupile 2010-01-12 21:53:49 UTC
Created attachment 216289 [details]
darktable-0.4.ebuild_mod

As you able to read, this ebiuld made by jo hanika (hanatos@gmail.com).
I modified it, so now it hasn't  src_unpack function inside.
Comment 5 Maxim Britov 2010-01-13 09:17:14 UTC
Please remove git from inherit. It fails for me.
Comment 6 mailrupile 2010-01-13 20:56:47 UTC
Created attachment 216414 [details]
darktable-0.4.ebuild_mod_2

- git inheritance
+ x86 keyword

I am successfully installed package with this
Comment 7 mailrupile 2010-01-13 21:16:04 UTC
I found 2 mistakes, but it seems that first in package-source, while second my local 

/var/tmp/portage/media-gfx/darktable-0.4/temp/environment: line 2230: ./autogen.sh: No such file


I/O warning : failed to load external entity "darktable.schemas"
«darktable.schemas»: No such file
You need to set GCONF_CONFIG_SOURCE variable

Comment 8 Dmitry A. Yanko 2010-02-07 18:35:02 UTC
It's ok under x86. Seems to works fine with my PEF files.
I just commented out "./autogen.sh" call. May be installation instructions from official darktable site too old. No need to use autogen.sh anymore.
Comment 10 Serge Gavrilov 2010-08-30 08:46:02 UTC
darktable 0.6 is released
Comment 11 Account removed 2010-09-04 15:34:36 UTC
Created attachment 245959 [details]
version bump

Does not compile with strong optimization on my amd64 system (CFLAGS="-O2 -march=nocona -pipe" is ok, but with -O3 it fails).
Comment 12 Account removed 2010-09-04 16:56:08 UTC
> Does not compile with strong optimization on my amd64 system (CFLAGS="-O2
> -march=nocona -pipe" is ok, but with -O3 it fails).
 
I experienced crashes whenever I opened pictures with above flags, so I'm back to CFLAGS="-O0 -march=nocona -ggdb". Up to now it's running stable.
Comment 13 Serge Gavrilov 2010-09-06 08:41:09 UTC
It seems that build with gegl is deprecated and ot supported by upstream:

> USE=gegl emerge darktable

...

checking whether to use gegl for rendering... configure: error:
 gegl version is orphaned and does not work!
 do not use --enable-gegl!
Comment 14 Kanstantsin Shautsou 2010-09-15 23:17:08 UTC
Hi, all. For a long time i'm testing dt, and unfortunately it fails with different problems (build, ui, internal bugs).
My ebuilds sometimes are failed, therefore should be tested more. Then they will be available in a tree.
(All bugs were reported to dt's ml, so better wait 0.6.1 with various bugfixes).
Comment 15 Christos Stamatopoulos 2010-11-11 04:29:03 UTC
Created attachment 253953 [details]
Ebuild for the git version

I have taken their ebuild and optimised it to abide some rules QA in gentoo, added use flags and polished it a little bit. I'm not an expert in ebuilds but its definetly in better shape now.

Christos
Comment 16 Serge Gavrilov 2010-11-23 09:07:09 UTC
darktable 0.7 is released
Comment 17 Kanstantsin Shautsou 2010-11-26 20:34:07 UTC
Thanks, i know.
It has some bugs that already reported and 0.7.1 should be available soon.
Then i hope it would be in portage tree :)
Comment 18 Serge Gavrilov 2010-12-08 08:16:56 UTC
darktable 0.7.1 is released
Comment 19 Kristian Niemi 2010-12-11 19:15:17 UTC
For the past week(s) darktable-9999 has failed with "no configure script found".
Unsure if there's something to be done with the ebuild, or if something is wrong upstream though. Hoping someone here would know.

Here's the "build" log: http://pastie.org/1368413
Comment 20 Serge Gavrilov 2010-12-11 19:18:17 UTC
darktable after 0.7.1 has migrated to cmake, so ebuild has be rewritten

Comment 21 Kristian Niemi 2010-12-11 19:30:00 UTC
(In reply to comment #20)
> darktable after 0.7.1 has migrated to cmake, so ebuild has be rewritten
> 

Ah! That explains it. :) Thanks.
 
Checking out this ebuild now: https://github.com/ichernetsky/gentoo-overlay/raw/master/media-gfx/darktable/darktable-9999.ebuild
Seems to be "cmakefied".
Comment 22 Kanstantsin Shautsou 2011-01-02 00:46:10 UTC
Hi all.
I have bugs with 
1) single image<->lighttable mode.
2) mixing images from different filmrolls in lighttable
3) something else...

Here is my ebuilds:
https://github.com/KostyaSha/portage/tree/master/media-gfx/darktable
9999 is in dev...
Comment 23 Roman 2011-01-04 10:12:57 UTC
Created attachment 258804 [details]
build from git
Comment 24 Roman 2011-01-04 10:17:27 UTC
Created attachment 258806 [details]
mod build.sh
Comment 25 Kanstantsin Shautsou 2011-01-04 12:36:27 UTC
^ ebuild is wrong.

About 0.7.1 https://sourceforge.net/apps/trac/darktable/ticket/108#comment:1
(so in my git 0.7.1 is broken, i was playing with patches...)
Waiting next release...
Comment 26 Dane Smith (RETIRED) gentoo-dev 2011-07-19 19:13:16 UTC
In Portage. Thanks to all who contributed.


*darktable-9999 (19 Jul 2011)
*darktable-0.9 (19 Jul 2011)

  19 Jul 2011; Dane Smith <c1pher@gentoo.org> +darktable-0.9.ebuild,
  +darktable-9999.ebuild, +metadata.xml:
  Initial version of darktable. Closes bug 300681 and bug 359325. Thanks
  to the folks upstream for the ebuild.
Comment 27 Kanstantsin Shautsou 2011-07-23 16:14:31 UTC
1) libglade not needed for git version (mm... maybe also for 0.9)
2) i not see gnome schemas installation
3) add rawspeed flag 
4) imho there is no need to have to separate gnome flags ( gnome-keyring & gconf)
5) add lensfun flag
https://github.com/KostyaSha/portage/blob/master/media-gfx/darktable/darktable-9999.ebuild this is my ebuild that was on test point when i has time...
Comment 28 Peter Volkov (RETIRED) gentoo-dev 2011-07-23 17:25:28 UTC
Kostya, one issue - one bug. Please open new bug report.