Hello community, here is the log from the commit of package gutenprint for openSUSE:Factory checked in at Fri Sep 3 16:26:49 CEST 2010. -------- New Changes file: --- /dev/null 2010-07-09 01:59:37.000000000 +0200 +++ gutenprint/gutenprint.changes 2010-09-02 11:32:23.000000000 +0200 @@ -0,0 +1,33 @@ +------------------------------------------------------------------- +Thu Sep 2 11:25:03 CEST 2010 - jsmeix@suse.de + +- Disable the PPD generator /usr/lib/cups/driver/gutenprint.5.2 + to avoid duplicated PPDs because we provide ready-made PPDs + in /usr/share/cups/model/gutenprint/... in the RPM package + (see Novell/openSUSE Bugzilla bnc#514994 comment#9 + the section "Regarding CUPS PPD files"). + +------------------------------------------------------------------- +Wed Sep 1 16:12:40 CEST 2010 - jsmeix@suse.de + +- gutenprint-5.2.6-make_A4_DefaultPageSize.patch + moves the paper definition for "A4" to the top of the list + to make A4 the DefaultPageSize in the Gutenprint PPDs. +- Upgraded to version 5.2.6: + This release offers additional support for Epson Stylus Pro + printers, along with some changes for other Epson printers + and support for additional Canon inkjets and PCL laser + printers over 5.2.5. For details see the NEWS file. +- Upgraded to version 5.2.5: + This release offers several fixes, new features, and support + for new printers over 5.2.4. For details see the NEWS file. + +------------------------------------------------------------------- +Fri Aug 13 13:28:17 CEST 2010 - jsmeix@suse.de + +- Split gutenprint from the cups-drivers package to have it as a + stand-alone package (see Novell/openSUSE Bugzilla bnc#514994). + The IJS driver /usr/bin/ijsgutenprint is no longer provided + because it is not recommend if CUPS is used. Only the native + CUPS driver is provided as recommend, see the README file. + calling whatdependson for head-i586 New: ---- gutenprint-5.2.6-make_A4_DefaultPageSize.patch gutenprint-5.2.6.tar.bz2 gutenprint.changes gutenprint.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gutenprint.spec ++++++ # # spec file for package gutenprint (Version 5.2.6) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gutenprint Url: http://gutenprint.sourceforge.net Version: 5.2.6 Release: 1 %define gutenprintmajor 5.2 BuildRequires: cairo-devel cups-ddk cups-devel BuildRequires: gimp-devel glib2-devel gtk2-devel BuildRequires: libpng-devel libtiff-devel BuildRequires: pango-devel License: GPLv2+ Group: Hardware/Printing Summary: Printer drivers for CUPS from the Gutenprint project Requires: ghostscript-library >= 7.05, cups >= 1.2.2, pstoraster BuildRoot: %{_tmppath}/%{name}-%{version}-build # URL for Source0: # http://downloads.sourceforge.net/project/gimp-print/gutenprint-5.2/5.2.6/gut... Source0: gutenprint-%{version}.tar.bz2 # Patch100... is for openSUSE/Novell patches which which are not intended for upstream: # Patch100 gutenprint-5.2.6-make_A4_DefaultPageSize.patch # moves the paper definition for "A4" to the top of the list # to make A4 the DefaultPageSize in the Gutenprint PPDs: Patch100: gutenprint-5.2.6-make_A4_DefaultPageSize.patch %description The Gutenprint (formerly Gimp-Print) printer drivers for CUPS. See the user's manual at /usr/share/gutenprint/doc/gutenprint-users-manual.pdf %package devel License: GPLv2+ Summary: Development environment for Gutenprint Group: Development/Libraries/C and C++ Requires: ghostscript-library >= 7.05, cups >= 1.2.2, gutenprint = %{version} Requires: gtk2-devel, glibc-devel %description devel The development environment for the Gutenprint printer drivers. See the developers guide to Gutenprint at /usr/share/gutenprint/doc/gutenprint.pdf %package gimpplugin License: GPLv2+ Summary: Alternative GIMP print plug-in from the Gutenprint project Group: Hardware/Printing %description -n gutenprint-gimpplugin The enhanced Gutenprint GIMP print plug-in offers an alternative with additional capabilities to the plugin supplied with GIMP. See the user's manual at /usr/share/gutenprint/doc/gutenprint-users-manual.pdf %prep # Be quiet when unpacking: %setup -q # Patch100 gutenprint-5.2.6-make_A4_DefaultPageSize.patch # moves the paper definition for "A4" to the top of the list # to make A4 the DefaultPageSize in the Gutenprint PPDs: %patch100 %build CFLAGS="$RPM_OPT_FLAGS -fstack-protector -fno-strict-aliasing -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I%{_libdir}/gtk-2.0/include -I%{_libdir}/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gimp-2.0" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --sysconfdir=%{_sysconfdir} \ --libdir=%{_libdir} \ --disable-static \ --enable-shared \ --enable-cups-ppds \ --enable-simplified-cups-ppds \ --disable-translated-cups-ppds \ --disable-libgutenprintui \ --enable-libgutenprintui2 \ --enable-samples \ --enable-escputil \ --with-pic=yes \ --without-foomatic \ --without-foomatic3 \ --without-ghostscript \ --without-gimp \ --with-gimp2 make %install rm -rf $RPM_BUILD_ROOT/usr/share/cups/model # Create required directories first: install -d -m755 $RPM_BUILD_ROOT/bin install -d -m755 $RPM_BUILD_ROOT/usr/share/cups/model install -d -m755 $RPM_BUILD_ROOT/usr/lib/cups/filter # Install Gutenprint: make DESTDIR=$RPM_BUILD_ROOT install # Work with upstream compliant CUPS 1.4 on all platforms # which means to have a fixed "/usr/lib/cups/" directory # on all platforms (see Novell/Suse Bugzilla bnc#575544): for D in lib32 lib64 do for F in commandtocanon commandtoepson rastertogutenprint.%{gutenprintmajor} do if test -e $RPM_BUILD_ROOT/usr/$D/cups/filter/$F then mv -f $RPM_BUILD_ROOT/usr/$D/cups/filter/$F $RPM_BUILD_ROOT/usr/lib/cups/filter/$F fi done F="gutenprint.%{gutenprintmajor}" if test -e $RPM_BUILD_ROOT/usr/$D/cups/driver/$F then mv -f $RPM_BUILD_ROOT/usr/$D/cups/driver/$F $RPM_BUILD_ROOT/usr/lib/cups/driver/$F fi done # Disable the run-time PPD generator /usr/lib/cups/driver/gutenprint.5.2 # so that it is not executed by the cups-driverd (e.g. in response to a "lpinfo -m" request) # to avoid duplicated PPDs because we create the PPDs during compile-time (via --enable-cups-ppds) # and provide ready-made PPDs in /usr/share/cups/model/gutenprint/... in the RPM package # see "Regarding CUPS PPD files" at https://bugzilla.novell.com/show_bug.cgi?id=514994#c9 chmod a-x $RPM_BUILD_ROOT/usr/lib/cups/driver/gutenprint.%{gutenprintmajor} # Move the special testpattern generator away from the usual bin directory: mv $RPM_BUILD_ROOT/%{_bindir}/testpattern $RPM_BUILD_ROOT/%{_libdir}/gutenprint/%{gutenprintmajor} # Remove dispensable .po files (only the .mo files are needed on the end-users's system): rm $RPM_BUILD_ROOT/usr/share/locale/*/gutenprint_*.po %find_lang gutenprint %post /sbin/ldconfig # send CUPS daemon SIGHUP to let it recognize new files: if test -x /etc/init.d/cups && /etc/init.d/cups status >/dev/null then /etc/init.d/cups reload >/dev/null || /bin/true fi # exit successfully in any case: exit 0 %postun /sbin/ldconfig # exit successfully in any case: exit 0 %files -f gutenprint.lang %defattr(-,root,root) %config /etc/cups/command.types %{_bindir}/cups-calibrate %{_bindir}/escputil %{_sbindir}/cups-genppd* %dir %{_libdir}/gutenprint %dir %{_libdir}/gutenprint/%{gutenprintmajor} %{_libdir}/gutenprint/%{gutenprintmajor}/* %{_libdir}/libgutenprint*.so?* %dir /usr/share/cups /usr/share/cups/calibrate.ppm %dir /usr/share/cups/model %dir /usr/share/cups/model/gutenprint %dir /usr/share/cups/model/gutenprint/%{gutenprintmajor} %dir /usr/share/cups/model/gutenprint/%{gutenprintmajor}/C /usr/share/cups/model/gutenprint/%{gutenprintmajor}/C/* %dir /usr/lib/cups/driver /usr/lib/cups/driver/gutenprint.%{gutenprintmajor} /usr/lib/cups/filter/commandtocanon /usr/lib/cups/filter/commandtoepson /usr/lib/cups/filter/rastertogutenprint.%{gutenprintmajor} %dir /usr/share/gutenprint /usr/share/gutenprint/* %doc /usr/share/man/man?/*.gz %files devel %defattr(-,root,root) %dir /usr/include/gutenprint /usr/include/gutenprint/* %dir /usr/include/gutenprintui2 /usr/include/gutenprintui2/* %{_libdir}/libgutenprint*.la %{_libdir}/pkgconfig/gutenprint* %{_libdir}/libgutenprint*.so %files gimpplugin %defattr(-,root,root) %{_libdir}/gimp/2.0/plug-ins/* %changelog ++++++ gutenprint-5.2.6-make_A4_DefaultPageSize.patch ++++++ --- ./src/xml/papers.xml.orig 2009-08-25 14:54:57.000000000 +0200 +++ ./src/xml/papers.xml 2010-09-01 16:04:46.000000000 +0200 @@ -46,6 +46,20 @@ </copyright> <paperdef> <!-- GROUP: Imperial --> +<!-- + put "A4" at the beginning to get it as default size (if possible) +--> + <paper name="A4"> + <description translate="value" value="A4"/> + <comment value="210mm x 297mm"/> + <width value="595"/> + <height value="842"/> + <unit value="metric"/> +<!-- DISTRIBUTORS: Please do NOT insert margins here to work around --> +<!-- problems with page margins that were present in 5.0.0. That --> +<!-- workaround is no longer needed. Please see the explanation at the --> +<!-- top of this file. --> + </paper> <paper name="Letter"> <description translate="value" value="Letter"/> <comment value="8.5in x 11in"/> @@ -326,17 +340,6 @@ <height value="1191"/> <unit value="metric"/> </paper> - <paper name="A4"> - <description translate="value" value="A4"/> - <comment value="210mm x 297mm"/> - <width value="595"/> - <height value="842"/> - <unit value="metric"/> -<!-- DISTRIBUTORS: Please do NOT insert margins here to work around --> -<!-- problems with page margins that were present in 5.0.0. That --> -<!-- workaround is no longer needed. Please see the explanation at the --> -<!-- top of this file. --> - </paper> <paper name="A5"> <description translate="value" value="A5"/> <comment value="148mm x 210mm"/> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org