Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192847 - net-print(?)/photoprint (new ebuild)
Summary: net-print(?)/photoprint (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.blackfiveservices.co.uk/ph...
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-09-17 19:04 UTC by Ivan Trombley
Modified: 2011-02-28 07:10 UTC (History)
5 users (show)

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


Attachments
photoprint-0.3.5.ebuild (photoprint-0.3.5.ebuild,615 bytes, text/plain)
2007-09-17 19:05 UTC, Ivan Trombley
Details
~/.photoprint/default.preset (default.preset,1.80 KB, text/plain)
2007-09-24 07:12 UTC, Ivan Trombley
Details
photoprint-0.3.6.ebuild (photoprint-0.3.6.ebuild,602 bytes, text/plain)
2007-10-27 01:48 UTC, Ivan Trombley
Details
Update (photoprint-0.3.7.ebuild,602 bytes, text/plain)
2008-03-02 04:41 UTC, Ivan Trombley
Details
gimp-print -> gutenprint (photoprint-0.3.7.ebuild,602 bytes, text/plain)
2008-04-06 08:11 UTC, Ivan Trombley
Details
Corrections (photoprint-0.3.7.ebuild,635 bytes, text/plain)
2008-04-13 19:39 UTC, Ivan Trombley
Details
Version bump (photoprint-0.3.9.ebuild,708 bytes, text/plain)
2008-11-22 00:26 UTC, Ivan Trombley
Details
Patch so photoprint will build with latest netpbm. (netpbm.patch,245 bytes, text/plain)
2008-11-22 00:27 UTC, Ivan Trombley
Details
Version bump, some improvements (photoprint-0.4.0.ebuild,744 bytes, text/plain)
2009-03-18 23:47 UTC, Dmitry A. Yanko
Details
photoprint-0.4.1_pre2 (photoprint-0.4.1_pre2.ebuild,766 bytes, text/plain)
2009-08-23 18:32 UTC, Ivan Trombley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Trombley 2007-09-17 19:04:22 UTC
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:
Comment 1 Ivan Trombley 2007-09-17 19:05:02 UTC
Created attachment 131166 [details]
photoprint-0.3.5.ebuild
Comment 2 Ivan Trombley 2007-09-24 07:12:11 UTC
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.
Comment 3 Ivan Trombley 2007-10-27 01:48:22 UTC
Created attachment 134459 [details]
photoprint-0.3.6.ebuild

Fixes the floating point exception.
Comment 4 Ivan Trombley 2008-03-02 04:41:03 UTC
Created attachment 145066 [details]
Update
Comment 5 Ivan Trombley 2008-04-06 08:11:00 UTC
Created attachment 148819 [details]
gimp-print -> gutenprint

Changed gimp-print dependency to gutenprint.
Comment 6 Trop 2008-04-13 17:55:07 UTC
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'
Comment 7 Ivan Trombley 2008-04-13 19:22:00 UTC
Please use the "arch" version of netpbm and not the "~arch" version.
Comment 8 Ivan Trombley 2008-04-13 19:39:53 UTC
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
Comment 9 Trop 2008-04-14 13:30:58 UTC
With netbpm-10.42.0 ~amd64 all work!
Comment 10 Ivan Trombley 2008-04-14 14:15:15 UTC
(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.
Comment 11 Unny 2008-09-11 05:14:37 UTC
(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
Comment 12 Ivan Trombley 2008-11-22 00:26:22 UTC
Created attachment 172792 [details]
Version bump

Requires netpbm.patch
Comment 13 Ivan Trombley 2008-11-22 00:27:14 UTC
Created attachment 172793 [details]
Patch so photoprint will build with latest netpbm.
Comment 14 Matthew Gregory Sr. 2009-03-17 22:00:35 UTC
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.
Comment 15 Dmitry A. Yanko 2009-03-18 23:47:36 UTC
Created attachment 185474 [details]
Version bump, some improvements
Comment 16 Dmitry A. Yanko 2009-03-18 23:55:10 UTC
Comment on attachment 185474 [details]
Version bump, some improvements

Works for me on x86.
Comment 17 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-13 16:25:43 UTC
(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
Comment 18 Ivan Trombley 2009-08-23 18:32:00 UTC
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).
Comment 19 urcindalo 2011-02-24 16:29:36 UTC
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.
Comment 20 Tim Harder gentoo-dev 2011-02-28 07:10:54 UTC
(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. :)