From e74bd62e2ba7a3cbccc8fe3bc7c068cb85147ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Sat, 13 Feb 2016 19:24:26 +0200 Subject: [PATCH] fix for unused.. --- hardware/printer/gutenprint/actions.py | 33 +++++++++++--------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/hardware/printer/gutenprint/actions.py b/hardware/printer/gutenprint/actions.py index 181843c829..6e24169d85 100644 --- a/hardware/printer/gutenprint/actions.py +++ b/hardware/printer/gutenprint/actions.py @@ -13,29 +13,24 @@ def setup(): shelltools.system("sed -i 's:cups_sbindir=\"\/usr\/sbin\":cups_sbindir=\"\/usr\/bin\":g' m4/stp_cups.m4") shelltools.system("sed -i 's:cups_sbindir=\"\${cups_prefix}\/sbin\":cups_sbindir=\"\${cups_prefix}\/bin\":' m4/stp_cups.m4") shelltools.system("sed -i 's:m4local:m4extra:' Makefile.am") - autotools.autoreconf("-fi") + + autotools.autoreconf("-fi") + autotools.configure("--prefix=/usr \ - --sbindir=/usr/bin \ - --enable-samples \ - --enable-cups-ppds \ - --enable-cups-ppds-at-top-level \ - --disable-translated-cups-ppds \ - --disable-globalized-cups-ppds \ - --disable-static \ - --disable-static-genppd") + --sbindir=/usr/bin \ + --enable-samples \ + --enable-cups-ppds \ + --enable-cups-ppds-at-top-level \ + --disable-translated-cups-ppds \ + --disable-globalized-cups-ppds \ + --disable-static \ + --disable-static-genppd") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + def build(): autotools.make() def install(): autotools.rawInstall("DESTDIR=%s install" % get.installDIR()) - - #pisitools.dohtml("%s/usr/share/gutenprint/doc/reference-html/*" % get.installDIR()) - - #pisitools.removeDir("/usr/share/gutenprint/doc/") - #pisitools.removeDir("/usr/include/gutenprintui2") - - # FIXME: Remove command.types, check if any other file exists - #pisitools.removeDir("/etc/") - - #pisitools.remove("/usr/share/foomatic/kitload.log")