packages: photoprint/TODO, photoprint/photoprint.spec, photoprint/photoprin...

blues blues at pld-linux.org
Sat Aug 8 19:20:10 CEST 2009


Author: blues                        Date: Sat Aug  8 17:20:10 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel.3 - stdio patch

---- Files affected:
packages/photoprint:
   TODO (1.1 -> 1.2) , photoprint.spec (1.7 -> 1.8) , photoprint-stdio.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/photoprint/TODO
diff -u packages/photoprint/TODO:1.1 packages/photoprint/TODO:1.2
--- packages/photoprint/TODO:1.1	Sat Aug  8 17:13:43 2009
+++ packages/photoprint/TODO	Sat Aug  8 19:20:05 2009
@@ -1,9 +1,3 @@
-- does not build:
- i686-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -I../imagesource/ -I../ -I../pixbufthumbnail -I../imagesource -I../profilemanager -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2 -MT signature.lo -MD -MP -MF .deps/signature.Tpo -c signature.cpp  -fPIC -DPIC -o .libs/signature.o
-In file included from signature.cpp:12:
-layoutrectangle.h: In member function 'void RectFit::Dump()':
-layoutrectangle.h:23: error: 'printf' was not declared in this scope
-layoutrectangle.h: In member function 'void LayoutRectangle::Dump()':
-layoutrectangle.h:45: error: 'printf' was not declared in this scope
-make[2]: *** [signature.lo] Error 1
-make[2]: Leaving directory `photoprint-0.3.9/support'
+# TODO:
+- check MDK comment
+- update to release from new homepage

================================================================
Index: packages/photoprint/photoprint.spec
diff -u packages/photoprint/photoprint.spec:1.7 packages/photoprint/photoprint.spec:1.8
--- packages/photoprint/photoprint.spec:1.7	Sat Aug  8 17:13:43 2009
+++ packages/photoprint/photoprint.spec	Sat Aug  8 19:20:05 2009
@@ -2,14 +2,13 @@
 Summary:	Photo Print - Prints photos in various layouts and with color management
 Name:		photoprint
 Version:	0.3.9
-Release:	2
+Release:	3
 License:	GPL
-######		Unknown group!
-Group:		Publishing
+Group:		X11/Applications/Publishing
 Source0:	http://www.blackfiveservices.co.uk/photoprint_resources/%{name}-%{version}.tar.gz
 # Source0-md5:	a708d3a426b187ad6b0de0c6052262b9
+Patch0:		%{name}-stdio.patch
 URL:		http://blackfiveimaging.co.uk/index.php?article=02Software%2F01PhotoPrint
-#BuildRequires:	ImageMagick
 BuildRequires:	lcms-devel
 BuildRequires:	libgutenprint-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,6 +24,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # Do not do any compiler optimizations, they break the program - MDK note
@@ -66,6 +66,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2009/08/08 17:20:05  blues
+- rel.3 - stdio patch
+
 Revision 1.7  2009/08/08 15:13:43  blues
 - new homepage (with new releases), doesn't build
 

================================================================
Index: packages/photoprint/photoprint-stdio.patch
diff -u /dev/null packages/photoprint/photoprint-stdio.patch:1.1
--- /dev/null	Sat Aug  8 19:20:10 2009
+++ packages/photoprint/photoprint-stdio.patch	Sat Aug  8 19:20:05 2009
@@ -0,0 +1,43 @@
+--- ./support/signature.cpp.org	2008-05-05 02:07:54.000000000 +0200
++++ ./support/signature.cpp	2009-08-08 19:06:30.240302909 +0200
+@@ -8,6 +8,7 @@
+  */
+ 
+ #include <iostream>
++#include <stdio.h>
+ 
+ #include "layoutrectangle.h"
+ #include "signature.h"
+--- ./support/searchpath.cpp.org	2008-07-16 00:05:00.000000000 +0200
++++ ./support/searchpath.cpp	2009-08-08 19:10:47.650276954 +0200
+@@ -1,5 +1,6 @@
+ #include <cstdlib>
+ #include <cstring>
++#include <stdio.h>
+ #include <iostream>
+ #include <sys/stat.h>
+ #include <unistd.h>
+--- ./support/circlemontage.cpp.org	2008-05-05 02:07:54.000000000 +0200
++++ ./support/circlemontage.cpp	2009-08-08 19:09:20.960285702 +0200
+@@ -1,4 +1,5 @@
+ #include <iostream>
++#include <stdio.h>
+ #include <math.h>
+ 
+ #include "circlemontage.h"
+--- ./support/pathsupport.cpp.org	2008-05-05 02:07:55.000000000 +0200
++++ ./support/pathsupport.cpp	2009-08-08 19:10:01.150281620 +0200
+@@ -1,5 +1,6 @@
+ #include <cstdlib>
+ #include <iostream>
++#include <stdio.h>
+ #include <string.h>
+ #include <glib.h>
+ 
+--- ./support/layoutrectangle.h.org	2008-05-05 02:07:54.000000000 +0200
++++ ./support/layoutrectangle.h	2009-08-08 19:15:22.153582846 +0200
+@@ -1,3 +1,4 @@
++#include <stdio.h>
+ #ifndef LAYOUTRECTANGLE_H
+ #define LAYOUTRECTANGLE_H
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/photoprint/TODO?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/photoprint/photoprint.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list