1 |
radhermit 11/08/30 22:08:17 |
2 |
|
3 |
Added: photoprint-0.4.2_pre2-tests.patch |
4 |
photoprint-0.4.2_pre2-underlinking.patch |
5 |
Log: |
6 |
Fix tests (bug #379745) and underlinking issue (bug #370107). |
7 |
|
8 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 media-gfx/photoprint/files/photoprint-0.4.2_pre2-tests.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/files/photoprint-0.4.2_pre2-tests.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/files/photoprint-0.4.2_pre2-tests.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: photoprint-0.4.2_pre2-tests.patch |
17 |
=================================================================== |
18 |
--- photoprint-0.4.2-pre2.orig/menucheck.cpp |
19 |
+++ photoprint-0.4.2-pre2/menucheck.cpp |
20 |
@@ -1,4 +1,5 @@ |
21 |
#include <iostream> |
22 |
+#include <cstring> |
23 |
|
24 |
#include <gutenprint/gutenprint.h> |
25 |
|
26 |
|
27 |
|
28 |
|
29 |
1.1 media-gfx/photoprint/files/photoprint-0.4.2_pre2-underlinking.patch |
30 |
|
31 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/files/photoprint-0.4.2_pre2-underlinking.patch?rev=1.1&view=markup |
32 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/files/photoprint-0.4.2_pre2-underlinking.patch?rev=1.1&content-type=text/plain |
33 |
|
34 |
Index: photoprint-0.4.2_pre2-underlinking.patch |
35 |
=================================================================== |
36 |
--- photoprint-0.4.2-pre2.orig/configure.ac |
37 |
+++ photoprint-0.4.2-pre2/configure.ac |
38 |
@@ -30,6 +30,7 @@ |
39 |
PKG_CHECK_MODULES([GDKPIXBUF2], [gdk-pixbuf-2.0]) |
40 |
PKG_CHECK_MODULES([GP], [gutenprint]) |
41 |
PKG_CHECK_MODULES([LCMS], [lcms]) |
42 |
+PKG_CHECK_MODULES([X11], [x11]) |
43 |
AC_CHECK_LIB(m,pow, LIBM_LIBS="-lm") |
44 |
AC_SUBST([LIBM_LIBS]) |
45 |
AC_CHECK_LIB([pnm], [pnm_readpaminit],,,[-lm]) |
46 |
--- photoprint-0.4.2-pre2.orig/Makefile.am |
47 |
+++ photoprint-0.4.2-pre2/Makefile.am |
48 |
@@ -97,7 +97,7 @@ |
49 |
stp_support/libstp_support.la \ |
50 |
pixbufthumbnail/libpixbufthumbnail.la \ |
51 |
splashscreen/libsplashscreen.la \ |
52 |
- $(LIBINTL) $(LIBM_LIBS) $(GETOPT_LIBS) $(JPEG_LIBS) $(PNM_LIBS) $(TIFF_LIBS) $(LCMS_LIBS) $(GP_LIBS) $(GTK2_LIBS) |
53 |
+ $(LIBINTL) $(LIBM_LIBS) $(GETOPT_LIBS) $(JPEG_LIBS) $(PNM_LIBS) $(TIFF_LIBS) $(LCMS_LIBS) $(GP_LIBS) $(GTK2_LIBS) $(X11_LIBS) |
54 |
|
55 |
check_PROGRAMS = menucheck carouselcheck misccheck |