rpms/gqview/devel gqview-2.0.4-print-pagesize.patch, NONE, 1.1 gqview.spec, 1.13, 1.14
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Thu Jul 5 08:25:24 UTC 2007
- Previous message: rpms/gqview/FC-6 gqview-2.0.4-print-pagesize.patch, NONE, 1.1 gqview.spec, 1.12, 1.13
- Next message: rpms/bash/devel bash32-010, NONE, 1.1 bash32-011, NONE, 1.1 bash32-012, NONE, 1.1 bash32-013, NONE, 1.1 bash32-014, NONE, 1.1 bash32-015, NONE, 1.1 bash32-016, NONE, 1.1 bash32-017, NONE, 1.1 bash.spec, 1.141, 1.142
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/extras/rpms/gqview/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6196
Modified Files:
gqview.spec
Added Files:
gqview-2.0.4-print-pagesize.patch
Log Message:
* Thu Jul 5 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.0.4-2
- temporarily patch print.c to setup PageSize and a few more parameters
gqview-2.0.4-print-pagesize.patch:
--- NEW FILE gqview-2.0.4-print-pagesize.patch ---
diff -Nur gqview-2.0.4-orig/src/print.c gqview-2.0.4/src/print.c
--- gqview-2.0.4-orig/src/print.c 2006-12-01 20:36:55.000000000 +0100
+++ gqview-2.0.4/src/print.c 2007-07-05 10:17:08.000000000 +0200
@@ -1109,7 +1109,6 @@
fprintf(f, "%%%%Title:\n");
/* setup page size, coordinates (do we really need this?) */
-#if 0
fprintf(f, "<<\n");
fprintf(f, "/PageSize [%f %f]\n", pw->layout_width, pw->layout_height);
fprintf(f, "/ImagingBBox [%f %f %f %f]\n", /* l b r t */
@@ -1118,7 +1117,6 @@
fprintf(f, "/Orientation %d\n",
(pw->paper_orientation == PAPER_ORIENTATION_PORTRAIT) ? 0 : 1);
fprintf(f, ">> setpagedevice\n");
-#endif
ret = !pipe_handler_check(pe);
pipe_handler_free(pe);
Index: gqview.spec
===================================================================
RCS file: /cvs/extras/rpms/gqview/devel/gqview.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- gqview.spec 2 Dec 2006 19:09:44 -0000 1.13
+++ gqview.spec 5 Jul 2007 08:24:49 -0000 1.14
@@ -1,12 +1,13 @@
Summary: Image browser and viewer
Name: gqview
Version: 2.0.4
-Release: 1%{?dist}
+Release: 2
License: GPL
Group: User Interface/X
Source: http://dl.sf.net/sourceforge/gqview/gqview-%{version}.tar.gz
Patch1: gqview-2.0.3-desktop.patch
Patch2: gqview-2.0.0-editors.patch
+Patch3: gqview-2.0.4-print-pagesize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
URL: http://gqview.sourceforge.net/
BuildRequires: gtk2-devel >= 2.4.0
@@ -24,6 +25,7 @@
%setup -q
%patch1 -p1 -b .desktop
%patch2 -p1 -b .editors
+%patch3 -p1 -b .print-pagesize
# was necessary up to 1.4.5, since 2.0.0 it just adds safety
sed -i 's!^#define.*GQVIEW_HELPDIR.*!#define GQVIEW_HELPDIR "%{_docdir}/%{name}-%{version}"!' configure
sed -i 's!^#define.*GQVIEW_HTMLDIR.*!#define GQVIEW_HTMLDIR "%{_docdir}/%{name}-%{version}/html"!' configure
@@ -76,6 +78,9 @@
%changelog
+* Thu Jul 5 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.0.4-2
+- temporarily patch print.c to setup PageSize and a few more parameters
+
* Sat Dec 2 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.0.4-1
- update to 2.0.4 (bug-fixes)
- Previous message: rpms/gqview/FC-6 gqview-2.0.4-print-pagesize.patch, NONE, 1.1 gqview.spec, 1.12, 1.13
- Next message: rpms/bash/devel bash32-010, NONE, 1.1 bash32-011, NONE, 1.1 bash32-012, NONE, 1.1 bash32-013, NONE, 1.1 bash32-014, NONE, 1.1 bash32-015, NONE, 1.1 bash32-016, NONE, 1.1 bash32-017, NONE, 1.1 bash.spec, 1.141, 1.142
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list