[Bug 199108] Review Request: gutenprint: Printer Drivers Package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: gutenprint: Printer Drivers Package


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199108





------- Additional Comments From kevin@xxxxxxxxx  2006-09-25 22:53 EST -------
ok, looking at the cups.spec from core, what they do is at the top define: 

%define cups_serverbin %{_exec_prefix}/lib/cups

I think you should do likewise and then replace the %{_libdir} in the cups 
package and the directories you remove from the cups package with the macro 
above... 

I tried something like this:

--- gutenprint.spec.1   2006-09-08 06:34:57.000000000 -0600
+++ gutenprint.spec     2006-09-25 20:12:30.000000000 -0600
@@ -1,4 +1,5 @@
 %define build_with_ijs_support 1
+%define cups_serverbin %{_exec_prefix}/lib/cups
 
 Name:           gutenprint
 Summary:        Printer Drivers Package
@@ -223,9 +224,9 @@
 rm -rf %{buildroot}%{_bindir}/escputil
 rm -rf %{buildroot}%{_mandir}/man1/escputil.1*
 rm -rf %{buildroot}%{_libdir}/gimp/2.0/plug-ins/print
-rm -rf %{buildroot}%{_libdir}/cups/backend/*
-rm -rf %{buildroot}%{_libdir}/cups/filter/commandtocanon
-rm -rf %{buildroot}%{_libdir}/cups/filter/commandtoepson
+rm -rf %{buildroot}%{cups_serverbin}/backend/*
+rm -rf %{buildroot}%{cups_serverbin}/filter/commandtocanon
+rm -rf %{buildroot}%{cups_serverbin}/filter/commandtoepson
 rm -rf %{buildroot}%{_bindir}/cups-calibrate
 rm -rf %{buildroot}%{_mandir}/man8/cups-calibrate.8*
 
@@ -304,10 +305,10 @@
 %defattr(-, root, root,-)
 %config(noreplace) %{_sysconfdir}/cups/command.types
 %{_datadir}/cups/calibrate.ppm
-#%{_libdir}/cups/backend/*
-#%{_libdir}/cups/filter/*
+#%{cups_serverbin}/cups/backend/*
+#%{cups_serverbin}/cups/filter/*
 #%{_bindir}/cups-calibrate
-%{_libdir}/cups/filter/rastertogutenprint.5.0
+%{cups_serverbin}/filter/rastertogutenprint.5.0
 %{_sbindir}/cups-genppd*
 %{_datadir}/cups/model/gutenprint/5.0/C
 #%{_mandir}/man8/cups-calibrate.8*

That gets it further, but it's now dying in a very odd way making the ppd 
files. If you would like access to my x86_64 test box to do test builds, drop 
me an email and I will get you access there. 


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]