foomatic-db-engine:moved into main for pisi 2.0

This commit is contained in:
2015-10-29 00:18:08 +03:00
parent 89c0213664
commit 8ebac7d3fb
8 changed files with 269 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/Makefile.in b/Makefile.in
index 3014185..81e090d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -42,7 +42,7 @@ LOCAL_LIBDIR=@LOCAL_LIBDIR@
FOOMATIC_RIP=@FOOMATIC_RIP@
# foomatic-rip path for a "make inplace" installation
-LOCAL_FOOMATIC_RIP=@LOCAL_FOOMATIC_RIP@
+LOCAL_FOOMATIC_RIP=@FOOMATIC_RIP@
# Locations for installing the components of this package
BINDIR=$(bindir)
@@ -0,0 +1,15 @@
--- foomatic-db-engine-4.0.2/Makefile.in.orig 2009-07-23 11:45:28.487999828 +0200
+++ foomatic-db-engine-4.0.2/Makefile.in 2009-07-23 11:45:53.939525006 +0200
@@ -231,10 +231,10 @@
( cd lib && $(PERL) Makefile.PL verbose INSTALLDIRS=$(PERL_INSTALLDIRS) )
foomatic-combo-xml: foomatic-combo-xml.c
- $(CC) $(CFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c
foomatic-perl-data: foomatic-perl-data.c
- $(CC) $(CFLAGS) $(XML_CFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_CFLAGS) $(XML_LIBS)
man: lib/Foomatic/Defaults.pm
chmod a+rx ./makeMan
@@ -0,0 +1,30 @@
--- configure.ac.OSmanOS 2011-07-25 12:51:20.000000000 +0300
+++ configure.ac 2012-11-20 13:21:36.921307899 +0200
@@ -163,27 +163,6 @@
fi
-AC_MSG_CHECKING(how to redirect Ghostscript output to fd 3)
-if test "$DEVFD3" = "" ; then
- v=`( if test -d /dev/fd ; then echo 3 >/dev/fd/3; fi) 3>&1 1>&2`
- if test "$v" != "" ; then
- DEVFD3=/dev/fd/3
- DEVFD0=/dev/fd/0
- else
- DEVFD3="|$CAT >&3"
- DEVFD0=-
- fi
- if test "$GS" != "GHOSTSCRIPT_NOT_FOUND" -a "$GSCHECK" != "no" ; then
- rm -f gs_out
- gs -q -dBATCH -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=laserjet "-sOutputFile=$DEVFD3" ${srcdir}/gsPrint 3>gs_out
- if test "!" -s gs_out ; then
- AC_MSG_ERROR("ERROR - gs cannot handle -sOutputFile=$OUT" )
- fi
- fi
-fi
-AC_MSG_RESULT(using $DEVFD3)
-AC_SUBST(DEVFD3)
-AC_SUBST(DEVFD0)
# Check for Perl
AC_PATH_PROGS(PERL,perl,/usr/bin/perl,$BINSEARCHPATH)
@@ -0,0 +1,27 @@
diff -Nur foomatic-db-engine-3.0-20061031-old/Makefile.in foomatic-db-engine-3.0-20061031/Makefile.in
--- foomatic-db-engine-3.0-20061031-old/Makefile.in 2006-11-08 10:33:59.000000000 +0200
+++ foomatic-db-engine-3.0-20061031/Makefile.in 2006-11-08 10:38:44.000000000 +0200
@@ -42,7 +42,7 @@
FOOMATIC_RIP=@FOOMATIC_RIP@
# foomatic-rip path for a "make inplace" installation
-LOCAL_FOOMATIC_RIP=@LOCAL_FOOMATIC_RIP@
+LOCAL_FOOMATIC_RIP=@FOOMATIC_RIP@
# Locations for installing the components of this package
BINDIR=$(bindir)
@@ -186,10 +186,10 @@
install-bin: check-config lib/Makefile
# This is the only way to get the Perl-generated Makefile using
# $(DESTDIR) properly
- ( cd lib && \
- $(MAKE) PREFIX=$(PERLPREFIX) && \
- $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \
- )
+# ( cd lib && \
+# $(MAKE) PREFIX=$(PERLPREFIX) && \
+# $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \
+# )
${SRC}/mkinstalldirs $(DESTDIR)$(BINDIR)
${SRC}/mkinstalldirs $(DESTDIR)$(SBINDIR)
${SRC}/mkinstalldirs $(DESTDIR)$(ETCDIR)