5.2.9 has had wrong libgutenprintui2 dependencies

This commit is contained in:
Jiri Popelka 2012-12-07 11:28:26 +01:00
parent e4aa215873
commit 82e8e236c7
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff -up gutenprint-5.2.9/configure.ui2_libdeps gutenprint-5.2.9/configure
--- gutenprint-5.2.9/configure.ui2_libdeps 2012-12-07 11:09:33.000000000 +0100
+++ gutenprint-5.2.9/configure 2012-12-07 11:12:13.535998238 +0100
@@ -17849,8 +17849,8 @@ $as_echo "$ac_cv_lib_m_pow" >&6; }
if test "x$ac_cv_lib_m_pow" = xyes; then :
GUTENPRINT_LIBDEPS="${GUTENPRINT_LIBDEPS} -lm"
gutenprint_libdeps="${gutenprint_libdeps} -lm"
- GUTENPRINTUI2_LIBDEPS="${GUTENPRINT_LIBDEPS} -lm"
- gutenprintui2_libdeps="${gutenprint_libdeps} -lm"
+ GUTENPRINTUI2_LIBDEPS="${GUTENPRINTUI2_LIBDEPS} -lm"
+ gutenprintui2_libdeps="${gutenprintui2_libdeps} -lm"
LIBM=-lm
fi

View File

@ -3,7 +3,7 @@
Name: gutenprint
Summary: Printer Drivers Package
Version: 5.2.9
Release: 5%{?dist}
Release: 6%{?dist}
Group: System Environment/Base
URL: http://gimp-print.sourceforge.net/
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2
@ -16,6 +16,7 @@ Patch1: gutenprint-O6.patch
Patch2: gutenprint-selinux.patch
Patch3: gutenprint-postscriptdriver.patch
Patch4: gutenprint-device-ids.patch
Patch5: gutenprint-ui2-libdeps.patch
License: GPLv2+
BuildRequires: cups-libs >= 1.1.22-0.rc1.9.10, cups >= 1.1.22-0.rc1.9.10
@ -174,6 +175,9 @@ Epson, HP and compatible printers.
%patch4 -p1 -b .device-ids
# Fix build against new versions of gcc.
# 5.2.9 has had wrong libgutenprintui2 dependencies
%patch5 -p1 -b .ui2_libdeps
cp %{SOURCE2} src/cups/cups-genppdupdate.in
%build
@ -292,6 +296,9 @@ fi
/bin/rm -f /var/cache/foomatic/*
%changelog
* Fri Dec 07 2012 Jiri Popelka <jpopelka@redhat.com> 5.2.9-6
- 5.2.9 has had wrong libgutenprintui2 dependencies
* Fri Oct 19 2012 Tim Waugh <twaugh@redhat.com> 5.2.9-5
- Added IEEE 1284 Device IDs for Samsung ML-1450 (bug #844687) and
Canon ML280 series (bug #848093).