pkgsrc-Users archive

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

print/acroread7 won't print



Hello,

I tried to print a document form acroread7 from print/acroread7 and it segfaults. ktrace'ing it, it seems that tries to open libcups.so, which is not installed by the SuSE Linux Compat things in its dependencies.

I added a emulators/suse100_cups package that contains the necessary files that
enable acroread7 to print, patch attached below (it contains libgnomecups, which I am not sure it needs, but whatever).

Should this package and a new dependency
DEPENDS+=suse_cups>=10.0:../../emulators/${SUSE_DIR_PREFIX}_cups
be added (the later to print/acroread7/Makefile) ?

Best regards....
        Stephan

--
=  Tel.: +49-681-302-5571      = Universitaet des Saarlandes =
=  Fax.: +49-681-302-3065      = Postfach 15 11 50           =
=  Compiler Research Group     = 66041 Saarbruecken          =
=  FR 6.2 - Informatik         = GERMANY                     =
diff -burN emulators/suse100_cups.orig/DESCR emulators/suse100_cups/DESCR
--- emulators/suse100_cups.orig/DESCR   1970-01-01 01:00:00.000000000 +0100
+++ emulators/suse100_cups/DESCR        2006-05-30 12:27:05.000000000 +0200
@@ -0,0 +1 @@
+Linux compatibility package for using CUPS
diff -burN emulators/suse100_cups.orig/Makefile emulators/suse100_cups/Makefile
--- emulators/suse100_cups.orig/Makefile        1970-01-01 01:00:00.000000000 
+0100
+++ emulators/suse100_cups/Makefile     2006-05-30 10:43:57.000000000 +0200
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=              suse_cups-${SUSE_VERSION}
+CATEGORIES=            emulators
+MASTER_SITES=          ${MASTER_SITE_SUSE100}
+DISTFILES=             ${RPMFILES}
+RPMFILES=              cups-client-1.1.23-21.${SUSE_ARCH}.rpm \
+                       cups-libs-1.1.23-21.${SUSE_ARCH}.rpm \
+                       libgnomecups-0.2.1-4.${SUSE_ARCH}.rpm
+
+MAINTAINER=            thesing%cs.uni-sb.de@localhost
+HOMEPAGE=              http://www.suse.com/
+COMMENT=               Linux compatibility package for the CUPS support
+
+DEPENDS+=              suse_base>=${SUSE_VERSION}:../../emulators/suse100_base
+
+
+EXTRACT_ONLY=          # empty
+NO_BUILD=              YES
+LIBTOOLIZE_PLIST=      NO
+PLIST_SRC=             ${WRKDIR}/PLIST_DYNAMIC
+
+.if exists(Makefile.${MACHINE_ARCH})
+.include "Makefile.${MACHINE_ARCH}"
+.endif
+
+.include "../../emulators/suse100_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff -burN emulators/suse100_cups.orig/distinfo emulators/suse100_cups/distinfo
--- emulators/suse100_cups.orig/distinfo        1970-01-01 01:00:00.000000000 
+0100
+++ emulators/suse100_cups/distinfo     2006-05-30 10:44:01.000000000 +0200
@@ -0,0 +1,11 @@
+$NetBSD$
+
+SHA1 (suse100/i586/cups-client-1.1.23-21.i586.rpm) = 
21db44f49fbbe8d8fef4e514e856d2b0c9e69210
+RMD160 (suse100/i586/cups-client-1.1.23-21.i586.rpm) = 
caa4057a00edf0c556169485bca5484808a8dff7
+Size (suse100/i586/cups-client-1.1.23-21.i586.rpm) = 175551 bytes
+SHA1 (suse100/i586/cups-libs-1.1.23-21.i586.rpm) = 
2fc812522721a96e7d665890012e48b794a13643
+RMD160 (suse100/i586/cups-libs-1.1.23-21.i586.rpm) = 
78d5f07ec4783fcb02baa7dcf5d1bba41ca6ea38
+Size (suse100/i586/cups-libs-1.1.23-21.i586.rpm) = 111605 bytes
+SHA1 (suse100/i586/libgnomecups-0.2.1-4.i586.rpm) = 
8c3d41573b7015fa554c307f1c726d5ead9d9db0
+RMD160 (suse100/i586/libgnomecups-0.2.1-4.i586.rpm) = 
49430fd6299909b833c1751e6f011df60df59b6c
+Size (suse100/i586/libgnomecups-0.2.1-4.i586.rpm) = 130764 bytes


Home | Main Index | Thread Index | Old Index