Please add photoprint, which has some nice features (like color managed output) for printing under Linux, to portage. http://www.blackfiveservices.co.uk/photoprint.shtml Reproducible: Always Steps to Reproduce:
Created attachment 131166 [details] photoprint-0.3.5.ebuild
Created attachment 131749 [details] ~/.photoprint/default.preset Save this file as ~/.photoprint/default.preset if you get a floating point exception on startup. I've notified the developer of this issue.
Created attachment 134459 [details] photoprint-0.3.6.ebuild Fixes the floating point exception.
Created attachment 145066 [details] Update
Created attachment 148819 [details] gimp-print -> gutenprint Changed gimp-print dependency to gutenprint.
In file included from imagesource_pnm.cpp:20: imagesource_pnm.h:25:17: error: pam.h: No such file or directory if /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../support/ -I../profilemanager/ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=k8 -O2 -MT imagesource_scale.lo -MD -MP -MF ".deps/imagesource_scale.Tpo" -c -o imagesource_scale.lo imagesource_scale.cpp; \ then mv -f ".deps/imagesource_scale.Tpo" ".deps/imagesource_scale.Plo"; else rm -f ".deps/imagesource_scale.Tpo"; exit 1; fi In file included from imagesource_pnm.cpp:20: imagesource_pnm.h:38: error: field 'header' has incomplete type imagesource_pnm.h:39: error: ISO C++ forbids declaration of 'tuple' with no type imagesource_pnm.h:39: error: expected ';' before '*' token imagesource_pnm.cpp: In destructor 'virtual ImageSource_PNM::~ImageSource_PNM()': imagesource_pnm.cpp:26: error: 'tuplerow' was not declared in this scope imagesource_pnm.cpp: In member function 'virtual ISDataType* ImageSource_PNM::GetRow(int)': imagesource_pnm.cpp:45: error: 'header' was not declared in this scope imagesource_pnm.cpp:45: error: 'tuplerow' was not declared in this scope imagesource_pnm.cpp:45: error: 'pnm_readpamrow' was not declared in this scope imagesource_pnm.cpp:54: error: 'sample' was not declared in this scope imagesource_pnm.cpp:54: error: expected `;' before 's' imagesource_pnm.cpp:55: error: 's' was not declared in this scope imagesource_pnm.cpp:55: error: 'header' was not declared in this scope imagesource_pnm.cpp:56: error: 'tuplerow' was not declared in this scope imagesource_pnm.cpp:63: error: 'header' was not declared in this scope imagesource_pnm.cpp:68: error: 'tuplerow' was not declared in this scope imagesource_pnm.cpp:74: error: 'tuplerow' was not declared in this scope imagesource_pnm.cpp: In constructor 'ImageSource_PNM::ImageSource_PNM(const char*)': imagesource_pnm.cpp:85: warning: deprecated conversion from string constant to 'char*' imagesource_pnm.cpp:88: error: 'pnm_init' was not declared in this scope imagesource_pnm.cpp:95: error: 'header' was not declared in this scope imagesource_pnm.cpp:95: error: invalid application of 'sizeof' to incomplete type 'pam' imagesource_pnm.cpp:95: error: 'pnm_readpaminit' was not declared in this scope imagesource_pnm.cpp:118: error: 'tuplerow' was not declared in this scope imagesource_pnm.cpp:118: error: 'pnm_allocpamrow' was not declared in this scope make[2]: *** [imagesource_pnm.lo] Ошибка 1 make[2]: *** Ожидание завершения заданий... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../support/ -I../profilemanager/ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=k8 -O2 -MT imagesource_rotate.lo -MD -MP -MF .deps/imagesource_rotate.Tpo -c imagesource_rotate.cpp -o imagesource_rotate.o >/dev/null 2>&1 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../support/ -I../profilemanager/ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=k8 -O2 -MT imagesource_scale.lo -MD -MP -MF .deps/imagesource_scale.Tpo -c imagesource_scale.cpp -fPIC -DPIC -o .libs/imagesource_scale.o x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../support/ -I../profilemanager/ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=k8 -O2 -MT imagesource_scale.lo -MD -MP -MF .deps/imagesource_scale.Tpo -c imagesource_scale.cpp -o imagesource_scale.o >/dev/null 2>&1 make[2]: Leaving directory `/tmp/portage/net-print/photoprint-0.3.7/work/photoprint-0.3.7/imagesource'
Please use the "arch" version of netpbm and not the "~arch" version.
Created attachment 149600 [details] Corrections Added gtk+-2.4 dependency. Changed the gutenprint dependency from 5.1.7 to 5.0.0. Changed the netpbm dependency to require a version no greater than 10.40.0
With netbpm-10.42.0 ~amd64 all work!
(In reply to comment #9) > With netbpm-10.42.0 ~amd64 all work! > Alright then. I used netbpm-10.42.0 and it wouldn't compile.
(In reply to comment #10) > (In reply to comment #9) > > With netbpm-10.42.0 ~amd64 all work! > > > > Alright then. I used netbpm-10.42.0 and it wouldn't compile. > ------ ebuild filename is photoprint-0.3.7.ebuild but source file with the same version number is missing at the download site. Instead, I found photoprint-0.3.8b.tar.gz at the download site, so renamed the ebuild file to photoprint-0.3.8b.ebuild. Ebuild succeeded, executable works fine under x86 (2008.0). Unny
Created attachment 172792 [details] Version bump Requires netpbm.patch
Created attachment 172793 [details] Patch so photoprint will build with latest netpbm.
sweet, thanks for the ebuild! I built this on an amd64 based Phenom X4 system and, while it worked fine, photoprint doesn't support the HP Color Laserjet driver (hpijs driver) so I had to export the image to get it to print. man, this really blows when one uses dia to construct a large complex UML class diagram and use cases and then can't print them on more than one page.
Created attachment 185474 [details] Version bump, some improvements
Comment on attachment 185474 [details] Version bump, some improvements Works for me on x86.
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 202067 [details] photoprint-0.4.1_pre2 photoprint-0.4.0 wont build with media-libs/jpeg-7, so here's an ebuild for 0.4.1-pre2 (netpbm.patch is not required).
Still not in portage :( Please, I second the petition to add it. Besides, it is now at version 0.4.2-pre2. Can someone update the ebuild in this bug, please? I'd really appreciate it. Thanks in advance.
(In reply to comment #19) > Still not in portage :( Please, I second the petition to add it. I added it to CVS as media-gfx/photoprint. Enjoy. :)