70 lines
4.8 KiB
Diff
70 lines
4.8 KiB
Diff
|
diff -Nru gutenprint-5.2.3.orig/src/cups/Makefile.am gutenprint-5.2.3/src/cups/Makefile.am
|
||
|
--- gutenprint-5.2.3.orig/src/cups/Makefile.am 2009-05-07 03:06:37.000000000 +0200
|
||
|
+++ gutenprint-5.2.3/src/cups/Makefile.am 2009-05-07 03:19:25.000000000 +0200
|
||
|
@@ -201,26 +201,26 @@
|
||
|
|
||
|
ppd-nonls: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@
|
||
|
$(mkdir_p) ppd/C
|
||
|
- LC_ALL= LANG= LANGUAGE= $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -l C -p ppd/C
|
||
|
+ LC_ALL= LANG= LANGUAGE= LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -l C -p ppd/C
|
||
|
|
||
|
ppd-global: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ ppd-catalog
|
||
|
$(mkdir_p) ppd/Global
|
||
|
@echo "Global PPDs:"
|
||
|
- LC_ALL= LANG= LANGUAGE= $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -p ppd/Global
|
||
|
+ LC_ALL= LANG= LANGUAGE= LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -p ppd/Global
|
||
|
-$(RM) -r catalog
|
||
|
|
||
|
ppd-global-ln: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ ppd-catalog
|
||
|
$(mkdir_p) ppd/Global
|
||
|
@echo "Global PPDs (localized numbers for testing):"
|
||
|
- LC_ALL= LANG= LANGUAGE= $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -p ppd/Global -N
|
||
|
+ LC_ALL= LANG= LANGUAGE= LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -p ppd/Global -N
|
||
|
-$(RM) -r catalog
|
||
|
|
||
|
ppd-nls: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ ppd-catalog ppd-nonls
|
||
|
$(mkdir_p) ppd
|
||
|
- for language in `$(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ -L` ; do \
|
||
|
+ for language in `LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ -L` ; do \
|
||
|
mkdir ppd/$$language ; \
|
||
|
echo "$$language:" ; \
|
||
|
- LC_ALL=$$language LANG=$$language LANGUAGE=$$language $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -l $$language -p ppd/$$language; \
|
||
|
+ LC_ALL=$$language LANG=$$language LANGUAGE=$$language LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -l $$language -p ppd/$$language; \
|
||
|
done
|
||
|
-$(RM) -r catalog
|
||
|
|
||
|
diff -Nru gutenprint-5.2.3.orig/src/cups/Makefile.in gutenprint-5.2.3/src/cups/Makefile.in
|
||
|
--- gutenprint-5.2.3.orig/src/cups/Makefile.in 2009-05-07 03:06:37.000000000 +0200
|
||
|
+++ gutenprint-5.2.3/src/cups/Makefile.in 2009-05-07 03:16:01.000000000 +0200
|
||
|
@@ -1106,18 +1106,18 @@
|
||
|
|
||
|
ppd-nonls: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@
|
||
|
$(mkdir_p) ppd/C
|
||
|
- LC_ALL= LANG= LANGUAGE= $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -l C -p ppd/C
|
||
|
+ LC_ALL= LANG= LANGUAGE= LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -l C -p ppd/C
|
||
|
|
||
|
ppd-global: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ ppd-catalog
|
||
|
$(mkdir_p) ppd/Global
|
||
|
@echo "Global PPDs:"
|
||
|
- LC_ALL= LANG= LANGUAGE= $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -p ppd/Global
|
||
|
+ LC_ALL= LANG= LANGUAGE= LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -p ppd/Global
|
||
|
-$(RM) -r catalog
|
||
|
|
||
|
ppd-global-ln: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ ppd-catalog
|
||
|
$(mkdir_p) ppd/Global
|
||
|
@echo "Global PPDs (localized numbers for testing):"
|
||
|
- LC_ALL= LANG= LANGUAGE= $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -p ppd/Global -N
|
||
|
+ LC_ALL= LANG= LANGUAGE= LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -p ppd/Global -N
|
||
|
-$(RM) -r catalog
|
||
|
|
||
|
ppd-nls: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ ppd-catalog ppd-nonls
|
||
|
@@ -1125,7 +1125,7 @@
|
||
|
for language in `$(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ -L` ; do \
|
||
|
mkdir ppd/$$language ; \
|
||
|
echo "$$language:" ; \
|
||
|
- LC_ALL=$$language LANG=$$language LANGUAGE=$$language $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -l $$language -p ppd/$$language; \
|
||
|
+ LC_ALL=$$language LANG=$$language LANGUAGE=$$language LD_PRELOAD=../main/.libs/libgutenprint.so.2 $(STP_ENV) ./cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ @WHICH_PPDS@ -l $$language -p ppd/$$language; \
|
||
|
done
|
||
|
-$(RM) -r catalog
|
||
|
|