Mageia Bugzilla – Attachment 12396 Details for
Bug 28443
The Gimp plugin is not built .... and the gutenprint-gimp2 rpm missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
diff for the spec file
gutenprintessai.diff (text/plain), 2.16 KB, created by
Philippe Didier
on 2021-02-26 12:25:40 CET
(
hide
)
Description:
diff for the spec file
Filename:
MIME Type:
Creator:
Philippe Didier
Created:
2021-02-26 12:25:40 CET
Size:
2.16 KB
patch
obsolete
>--- /home/philippe/rpmbuild/BidouillesMageia/gutenprint/gutenprint-5.3.4-2.mga8.src/gutenprint.spec 2021-01-01 03:46:51.000000000 +0100 >+++ /home/philippe/rpmbuild/BidouillesMageia/gutenprint/gutenprint-5.3.4-2.mga8.src/gutenprintessai.spec 2021-02-26 12:11:02.311431647 +0100 >@@ -11,15 +11,15 @@ > > %define cups_serverbin %{_exec_prefix}/lib/cups > >-%define gimpplugin 0 >-%define abi_version 2.99 >+%define gimpplugin 1 >+%define abi_version 2.0 > > ##### RPM PROBLEM WORKAROUNDS > > Summary: Photo-quality printer drivers primarily for inkjet printers > Name: gutenprint > Version: 5.3.4 >-Release: %mkrel 2 >+Release: %mkrel 3 > License: GPLv2+ > Group: Publishing > URL: http://gimp-print.sourceforge.net/ >@@ -43,7 +43,7 @@ > BuildRequires: pkgconfig(python3) > > %if %{gimpplugin} >-BuildRequires: pkgconfig(gimpui-3.0) >+BuildRequires: pkgconfig(gimpui-2.0) > BuildRequires: pkgconfig(gtk+-3.0) > %else > Obsoletes: gutenprint-gimp2 < %{version}-%{release} >@@ -54,9 +54,12 @@ > > ##### GIMP PRINT SOURCE > Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.xz >+# Post-install script to update CUPS native PPDs. >+Source1: cups-genppdupdate.py.in > > ##### GIMP PRINT PATCHES > Patch1: gutenprint-5.0.1-menu.patch >+Patch3: gutenprint-postscriptdriver.patch > Patch5: gutenprint-5.2.9-m4dir.patch > > ##### PACKAGE DESCRIPTIONS >@@ -186,6 +189,11 @@ > %setup -q -n gutenprint-%{version}%{extraversion} > %autopatch -p1 > >+cp %{SOURCE1} src/cups/cups-genppdupdate.in >+ >+#shebang can change between releases - use %%{__python3} macro >+sed -i -e 's,^#!/usr/bin/python3,#!%{__python3},' src/cups/cups-genppdupdate.in >+ > %build > # "autogen.sh" needed for the case when Gutenprint > # driver is from CVS (see its README) or if build system is patched. >@@ -246,10 +254,10 @@ > %if %{gimpplugin} > for file in \ > %{buildroot}%{_libdir}/gimp/%{abi_version}/plug-ins/* >-do >+ do > chrpath --delete ${file} >-done >-%endif >+done >+%endif > > > # Translation files of Gutenprint >@@ -329,6 +337,10 @@ > > > %changelog >+ >+* Thu Feb 25 2021 Philippe Didier <philippedidier> 5.3.4.3.mga8 >+- rebuild gimp plugin >+ > * Fri Jan 01 2021 luigiwalser <luigiwalser> 5.3.4-2.mga8 > + Revision: 1667493 > - obsolete gimp2 plugin
--- /home/philippe/rpmbuild/BidouillesMageia/gutenprint/gutenprint-5.3.4-2.mga8.src/gutenprint.spec 2021-01-01 03:46:51.000000000 +0100 +++ /home/philippe/rpmbuild/BidouillesMageia/gutenprint/gutenprint-5.3.4-2.mga8.src/gutenprintessai.spec 2021-02-26 12:11:02.311431647 +0100 @@ -11,15 +11,15 @@ %define cups_serverbin %{_exec_prefix}/lib/cups -%define gimpplugin 0 -%define abi_version 2.99 +%define gimpplugin 1 +%define abi_version 2.0 ##### RPM PROBLEM WORKAROUNDS Summary: Photo-quality printer drivers primarily for inkjet printers Name: gutenprint Version: 5.3.4 -Release: %mkrel 2 +Release: %mkrel 3 License: GPLv2+ Group: Publishing URL: http://gimp-print.sourceforge.net/ @@ -43,7 +43,7 @@ BuildRequires: pkgconfig(python3) %if %{gimpplugin} -BuildRequires: pkgconfig(gimpui-3.0) +BuildRequires: pkgconfig(gimpui-2.0) BuildRequires: pkgconfig(gtk+-3.0) %else Obsoletes: gutenprint-gimp2 < %{version}-%{release} @@ -54,9 +54,12 @@ ##### GIMP PRINT SOURCE Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.xz +# Post-install script to update CUPS native PPDs. +Source1: cups-genppdupdate.py.in ##### GIMP PRINT PATCHES Patch1: gutenprint-5.0.1-menu.patch +Patch3: gutenprint-postscriptdriver.patch Patch5: gutenprint-5.2.9-m4dir.patch ##### PACKAGE DESCRIPTIONS @@ -186,6 +189,11 @@ %setup -q -n gutenprint-%{version}%{extraversion} %autopatch -p1 +cp %{SOURCE1} src/cups/cups-genppdupdate.in + +#shebang can change between releases - use %%{__python3} macro +sed -i -e 's,^#!/usr/bin/python3,#!%{__python3},' src/cups/cups-genppdupdate.in + %build # "autogen.sh" needed for the case when Gutenprint # driver is from CVS (see its README) or if build system is patched. @@ -246,10 +254,10 @@ %if %{gimpplugin} for file in \ %{buildroot}%{_libdir}/gimp/%{abi_version}/plug-ins/* -do + do chrpath --delete ${file} -done -%endif +done +%endif # Translation files of Gutenprint @@ -329,6 +337,10 @@ %changelog + +* Thu Feb 25 2021 Philippe Didier <philippedidier> 5.3.4.3.mga8 +- rebuild gimp plugin + * Fri Jan 01 2021 luigiwalser <luigiwalser> 5.3.4-2.mga8 + Revision: 1667493 - obsolete gimp2 plugin
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28443
: 12396 |
12397
|
12398