rpms/photoprint/F-10 import.log, NONE, 1.1 photoprint-0.4.0-g++44.patch, NONE, 1.1 photoprint-0.4.0-paths.patch, NONE, 1.1 photoprint.spec, NONE, 1.1 .cvsignore, 1.1, 1.2

zarko pintar grof at fedoraproject.org
Wed Apr 22 08:19:25 UTC 2009


Author: grof

Update of /cvs/pkgs/rpms/photoprint/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14453/F-10

Modified Files:
	.cvsignore 
Added Files:
	import.log photoprint-0.4.0-g++44.patch 
	photoprint-0.4.0-paths.patch photoprint.spec 
Log Message:



--- NEW FILE import.log ---
photoprint-0_4_0-6_fc11:F-10:photoprint-0.4.0-6.fc11.src.rpm:1240388490

photoprint-0.4.0-g++44.patch:

--- NEW FILE photoprint-0.4.0-g++44.patch ---
--- photoprint-0.4.0/support/layoutrectangle.h.debug	2008-10-19 03:14:20.000000000 +0900
+++ photoprint-0.4.0/support/layoutrectangle.h	2009-04-15 02:32:29.000000000 +0900
@@ -1,6 +1,8 @@
 #ifndef LAYOUTRECTANGLE_H
 #define LAYOUTRECTANGLE_H
 
+#include <cstdio>
+
 enum PP_ROTATION
 {
 	PP_ROTATION_AUTO,
--- photoprint-0.4.0/support/pathsupport.cpp.debug	2008-11-19 03:54:03.000000000 +0900
+++ photoprint-0.4.0/support/pathsupport.cpp	2009-04-15 02:33:42.000000000 +0900
@@ -1,5 +1,6 @@
 #include <cstdlib>
 #include <iostream>
+#include <cstdio>
 #include <string.h>
 #include <glib.h>
 
--- photoprint-0.4.0/support/searchpath.cpp.debug	2008-11-20 09:06:23.000000000 +0900
+++ photoprint-0.4.0/support/searchpath.cpp	2009-04-15 02:52:58.000000000 +0900
@@ -1,5 +1,6 @@
 #include <cstdlib>
 #include <cstring>
+#include <cstdio>
 #include <iostream>
 #include <sys/stat.h>
 #include <unistd.h>
--- photoprint-0.4.0/support/tempfile.cpp.debug	2008-10-13 06:49:26.000000000 +0900
+++ photoprint-0.4.0/support/tempfile.cpp	2009-04-15 02:36:56.000000000 +0900
@@ -11,6 +11,7 @@
 */
 
 #include <iostream>
+#include <cstdio>
 
 #include <stdlib.h>
 #include <string.h>

photoprint-0.4.0-paths.patch:

--- NEW FILE photoprint-0.4.0-paths.patch ---
--- photoprint-0.4.0/photoprint_state.cpp.orig	2009-01-17 20:08:37.000000000 +0100
+++ photoprint-0.4.0/photoprint_state.cpp	2009-03-27 22:08:13.000000000 +0100
@@ -74,6 +74,8 @@
 	PPPathDBHandler(ConfigFile *file,const char *section,ConfigDB *db,PhotoPrint_State &state)
 		: ConfigDBHandler(file,section,db), db(db), state(state)
 	{
+               state.bordersearchpath.AddPath(db->FindString("BorderPath"));
+               state.backgroundsearchpath.AddPath(db->FindString("BackgroundPath"));
 	}
 	virtual ~PPPathDBHandler()
 	{


--- NEW FILE photoprint.spec ---
Name:           photoprint
Version:        0.4.0
Release:        6%{?dist}
Summary:        Utility for printing digital photographs

Group:          Applications/Multimedia
License:        GPLv2+
URL:            http://blackfiveimaging.co.uk/index.php?article=02Software%2F01PhotoPrint
Source0:        http://www.blackfiveimaging.co.uk/photoprint/%{name}-%{version}.tar.gz
Patch0:         photoprint-0.4.0-paths.patch
Patch1:         photoprint-0.4.0-g++44.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gutenprint-devel
BuildRequires:  lcms-devel
BuildRequires:  netpbm-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libtiff-devel
BuildRequires:  gettext
BuildRequires:  desktop-file-utils


%description
PhotoPrint is a utility designed to assist in the process 
of printing digital photographs.
PhotoPrint can do the following:

* Print photographs 1-up, 2-up, 4-up or with any user-selectable
  number of rows and columns.
* Create posters, split over several pages.
* Arrange images into a sort of Carousel, fading from one to 
  another.  (Ideal for CD labels)
* Crop images to fit a specific frame.
* Apply a decorative border to an image.
* Make use of ICC colour profiles to provide accurate output.
* Send 16-bit data to the printer, to avoid "contouring" problems 
  in smooth gradients.
* Apply a handful of effecs to an image, including sharpening, 
  removing colour and adjusting colour temperature 
  (ideal for cooling or warming black-and-white prints).


%prep
%setup -q
%patch0 -p1 -b .paths
%patch1 -p1 -b .g++44

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# install man page
install  -Dpm 0644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1

desktop-file-validate %{buildroot}/%{_datadir}/applications/fotoprint.desktop

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
update-desktop-database &> /dev/null || :


%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
update-desktop-database &> /dev/null || :

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc NEWS README ChangeLog COPYING 
%{_bindir}/*
%{_datadir}/applications/fotoprint.desktop
%{_datadir}/icons/hicolor/48x48/apps/fotoprint.png
%{_mandir}/man*/*


%changelog
* Wed Apr 15 2009 Zarko <zarko.pintar at gmail.com> - 0.4.0-6
- resolving summary, license
- added g++4.4 patch
- resolving timestamps
- new scriplets for icon cache

* Sat Mar 28 2009 Zarko <zarko.pintar at gmail.com> - 0.4.0-5
- resolved issue in .paths patch for resolving paths in Paths... dialogbox

* Wed Mar 25 2009 Zarko <zarko.pintar at gmail.com> - 0.4.0-4
- added .paths patch for resolving paths in Paths... dialogbox

* Mon Mar 23 2009 Zarko <zarko.pintar at gmail.com> - 0.4.0-3
- scriptlets added 

* Thu Mar 20 2009 Zarko <zarko.pintar at gmail.com> - 0.4.0-2
- added .desktop validation
- added man file

* Thu Mar 19 2009 Zarko <zarko.pintar at gmail.com> - 0.4.0-1
- initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/photoprint/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Apr 2009 19:46:39 -0000	1.1
+++ .cvsignore	22 Apr 2009 08:19:23 -0000	1.2
@@ -0,0 +1 @@
+photoprint-0.4.0.tar.gz




More information about the fedora-extras-commits mailing list