Cinepaint has just released some new versions. About a week ago version 0.20.0 was realeased and yesterday 0.20.1 was released. I could not get 0.20.0 to build on my amd64 box but today I created an ebuild for 0.20.1 in my portage overlay by simply copying the ebuild for 0.19 and renaming it. Tested the resulting software and it worked great.
Created attachment 74080 [details] cinepaint-0.20.1.ebuild This ebuild for cinepaint-0.20-1 worked on my AMD64 box. --Dan Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64) ================================================================= System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distlocks fixpackages nostrip sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-W1,-01" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3dnowex X Xaw3d aac aalib alsa apache2 arts audiofile avi bash-completion berkdb bibi bitmap-fonts bonobo bzip2 cddb cdparanoia cdr crypt cups curl dbd dbread divx4linux doc dts dv dvb dvd dvdr dvdread edl eds emacs emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran fpx gd gdbm ggi gif glut gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 imagemagick imlib ipv6 jack java javascript jbig jikes jpeg junit jython kde kdeenablefinal lcms libcaca libgd libgda libwww lirc live lzo lzw lzw-tiff mad mailwrapper matroska md5sum mng motif mozilla mp3 mpeg nas ncurses network nls nptl nptlonly nsplugin nvidia objc odbc offensive ogg oggvorbis openal openexr opengl oss pam pcre pdflib perl perlsuid pic plotutils png povray ppds python qt quicktime readline real rtc ruby scanner sdl slang snmp speex spell ssl svg tcktk tcltk tcpd test tetex tga theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis wmf xalsa xanim xine xml xml2 xmms xpm xprint xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Please submit unified diffs if there are notable differences between the ebuild currently in portage and the needed one; don't attach anything if the ebuild is just the same.
*** Bug 130215 has been marked as a duplicate of this bug. ***
Created attachment 89352 [details, diff] Diff from cinepaint-0.19.0.ebuild to cinepaint-0.21.0.ebuild Diff from portage's cinepaint-0.19.0.ebuild to a proposed cinepaint-0.21.0.ebuild. I'm playing with this version now and it appears to function. More thorough testing is obviously needed.
I've tried 0.20.1 and 0.21.0, both seem to compile and run. But I think one thing this ebuild needs is an 'fltk' use flag because some plugins (for example the 'Bracketing to HDR') are only compiled/installed if fltk is present in the system. I couldn't find a configure option for explicitly enabling or disabling those plugins.
I tried the 0.21.1 ebuild and ran straight into this problem: http://www.nabble.com/CinePaint-0.21-1-compilation-error-tf2096388.html I added the following line to the src_compile section of the ebuild: append-flags "-fpermissive" and ensured the cmath include exists in the following source / header files: FollowUpValuesBase.hpp HdrCalctorBase.hpp br_Image.cpp br_PackBase.cpp br_PackBase.hpp br_PackImgScheme2D.hpp mergeHdr_PackScheme2D_RGB.cpp Also I needed to copy the WeightFunc.hpp from http://people.freenet.de/hsbosny/Download/. Now I get this compile error: distcc[11396] ERROR: compile /var/tmp/ccache/ImageTable.tmp.latitude.11129.ii on 192.168.0.100,lzo/1 failed In file included from ImageTable.hpp:31, from ImageTable.cpp:39: ../core/EventReceiver.hpp: In destructor `virtual br::EventReceiver::~EventReceiver()': ../core/../gui/../core/Distributor.hpp:98: error: `void DistributorBase::logout(void*)' is inaccessible ../core/EventReceiver.hpp:51: error: within this context make[3]: *** [ImageTable.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../lib -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -O2 -march=pentium-m -pipe -I../../.. -I/usr/include -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2 -march=pentium-m -pipe -fpermissive -MT StopValueChoicer.lo -MD -MP -MF .deps/StopValueChoicer.Tpo -c StopValueChoicer.cpp -o StopValueChoicer.o >/dev/null 2>&1 distcc[11414] ERROR: compile /var/tmp/ccache/RefpicChoi.tmp.latitude.11385.ii on localhost failed In file included from RefpicChoicer.hpp:29, from RefpicChoicer.cpp:26: ../core/EventReceiver.hpp: In destructor `virtual br::EventReceiver::~EventReceiver()': ../core/../gui/../core/Distributor.hpp:98: error: `void DistributorBase::logout(void*)' is inaccessible ../core/EventReceiver.hpp:51: error: within this context In file included from RefpicChoicer.hpp:30, from RefpicChoicer.cpp:26: ../core/RefpicReceiver.hpp: In destructor `virtual br::RefpicReceiver::~RefpicReceiver()': ../core/../gui/../core/Distributor.hpp:98: error: `void DistributorBase::logout(void*)' is inaccessible ../core/RefpicReceiver.hpp:51: error: within this context make[3]: *** [RefpicChoicer.lo] Error 1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../lib -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -O2 -march=pentium-m -pipe -I../../.. -I/usr/include -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2 -march=pentium-m -pipe -fpermissive -MT EventTester.lo -MD -MP -MF .deps/EventTester.Tpo -c EventTester.cpp -fPIC -DPIC -o .libs/EventTester.o distcc[11592] ERROR: compile /var/tmp/ccache/EventTeste.tmp.latitude.11582.ii on 192.168.0.100,lzo/1 failed In file included from EventTester.hpp:31, from EventTester.cpp:26: ../core/EventReceiver.hpp: In destructor `virtual br::EventReceiver::~EventReceiver()': ../core/../gui/../core/Distributor.hpp:98: error: `void DistributorBase::logout(void*)' is inaccessible ../core/EventReceiver.hpp:51: error: within this context make[3]: *** [EventTester.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/cinepaint-0.21.1/work/cinepaint-0.21-1/plug-ins/bracketing_to_hdr/gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/cinepaint-0.21.1/work/cinepaint-0.21-1/plug-ins/bracketing_to_hdr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinepaint-0.21.1/work/cinepaint-0.21-1/plug-ins' make: *** [all-recursive] Error 1 I quit at this point - too buggy. This has been done with gcc-3.4.6-r1. Either these files should be patched by the ebuild, or we just wait for the next release ;) -- Kevin
The version which has been patched for gcc 4.1.1 at http://people.freenet.de/hsbosny/Download/, seems to work with gcc 3.4.6 as well.
(In reply to comment #7) > The version which has been patched for gcc 4.1.1 at > http://people.freenet.de/hsbosny/Download/, seems to work with gcc 3.4.6 as > well. Same findings here but note that we are now dealing with cinepaint-0.21-1 and not with the subject of this bug report "media-video/cinepaint-0.20.1 bump request". Should this bug be closed and a new one started? --Dan
Created attachment 95728 [details] cinepaint-0.21.1-br2hdr-gcc4.patch.tar.bz2 (+20K, file under distfiles.)
Created attachment 95729 [details, diff] cinepaint-0.21.1.ebuild.diff diff against 0.19.0.
Ping...
Yeah, finally bumped it ! Added a as-needed fix. I didn't add the fltk use flag, there seems to be no way to disable it with configure options, I preferred a forced dep rather than a silent one. The hard part was to minimize the bracketing to hdr patch... I didn't want to have a very big patch (It was 250K!) so I started fixing every file that really needed it, and now the patch is 6k big. Ryan : FILESDIR Path to the ebuild's files/ directory, commonly used for small patches and files. Value: "${PORTDIR}/${CATEGORY}/${PN}/files" So, as you mentioned it, it would still be in the tree ;) And, if you put it in SRC_URI, unpack ${A} will unpack it, so no need to unpack it again with epatch ;) And, by the way, the way you quoted the epatch command was somewhat strange ^^ Thanks for your help there ! Regards, Alexis.