Open 6543 opened 3 years ago
I think it has something to do with https://stackoverflow.com/questions/51251117/reference-to-tuple-is-ambiguous-in-seshat#comment89482201_51251117
Thanks for the report. It looks like the problem is that the old netpbm library defines "tuple" as a type, and it clashes with a new C++ class. Wrapping the netpbm includes in a namespace might help - could you try the attached patch, please?
@robinsonb5 thanks for the fast responce, yes it fix the specific issue but create new one (now you we have to apply pnm prefix to other files ...
@robinsonb5 created https://github.com/blackfiveimaging/library/pull/4 :)
now I get different compile error (unrelated to this ...)
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:34,
from /usr/include/gtk-2.0/gtk/gtkmisc.h:35,
from /usr/include/gtk-2.0/gtk/gtklabel.h:34,
from stpui_optionbook.c:17:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
CCLD libstpui_widgets.la
make[2]: Leaving directory '/home/user/git/photoprint/library/stpui_widgets'
Making all in library/stp_support
make[2]: Entering directory '/home/user/git/photoprint/library/stp_support'
CC printerqueues.lo
CC stputil.lo
In file included from printerqueues.c:12:
printerqueues_unix.c: In function 'getdriver':
printerqueues_unix.c:362:22: warning: implicit declaration of function 'cupsGetPPD'; did you mean 'cupsGetFd'? [-Wimplicit-function-declaration]
362 | const char *ppdname=cupsGetPPD(pq->priv->currentqueue);
| ^~~~~~~~~~
| cupsGetFd
printerqueues_unix.c:362:22: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
printerqueues_unix.c: In function 'getppd':
printerqueues_unix.c:405:22: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
405 | const char *ppdname=cupsGetPPD(pq->priv->currentqueue);
| ^~~~~~~~~~
CCLD libstp_support.la
make[2]: Leaving directory '/home/user/git/photoprint/library/stp_support'
Making all in library/gp_cppsupport
make[2]: Entering directory '/home/user/git/photoprint/library/gp_cppsupport'
make[2]: *** No rule to make target 'all'. Stop.
make[2]: Leaving directory '/home/user/git/photoprint/library/gp_cppsupport'
make[1]: *** [Makefile:1003: all-recursive] Error 1
make[1]: Leaving directory '/home/user/git/photoprint'
make: *** [Makefile:728: all] Error 2
@robinsonb5 do you have the right to merge https://github.com/blackfiveimaging/library/pull/4 ?
Apologies, for some reason github doesn't email me when I get pull requests - but this is now merged. The other problem is going to be more difficult I think - both CUPS and Gutenprint have made major incompatible changes recently. I've moved onto other things and haven't been keeping up with either project, so I have no idea what replaces the PPD mechanism in CUPS.
oh ok ... I'll have a look at it in some weeks if I got time for that ... (then I'll ping @robinsonb5 you ;) )
@robinsonb5 just question, why not merge https://github.com/blackfiveimaging/library/pull/3 too ?
Same reason - github didn't bother to tell me about it! Merged now.
Feel free to ask if you have questions about the codebase - it's been some years since I touched it, but I should be able to dredge most of it up from the back of my memory...
The same issue, I can install it neither from AUR nor the source! Could you please help me with the issue?!
My apologies, but I'm no longer developing PhotoPrint and related software. There have been changes to GutenPrint's API, and PhotoPrint will need updating to work with it.
So sad to hear that. Your package was great and I used to apply it in printing my docs and photos.
Is there anything else for unix that has the mural printing ability for spanning multiple sheets of paper? Some old PageMaker versions for Mac and Windows could do it. If you want to print a picture blown up to 50 feet wide on normal paper this would do it. That and using ICM files correctly for color correction were what I used it most for. I made a hacked version that compiled and worked a few years ago but I'm not sure it survived hard drive replacements. I'm not finding it.
linux: 5.10.8-artix x64 GNU automake: 1.16.2
make
fail with: