From 31741c91e4890e1fda411b018c1a107e744ffa17 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 20 Feb 2003 18:33:13 +0000 Subject: Re-add libgnomeprintui-2.0 for ports that will need it: misc/gretl deskutils/glabels www/screem graphics/gthumb2 graphics/sodipodi libgnomeprint[ui]-2.0 will be removed as soon as all dependent ports are upgraded to the new API. --- x11-toolkits/Makefile | 1 + x11-toolkits/libgnomeprintui20/Makefile | 40 +++++++++++++++++++ x11-toolkits/libgnomeprintui20/distinfo | 1 + .../libgnomeprintui20/files/patch-ltmain.sh | 45 ++++++++++++++++++++++ x11-toolkits/libgnomeprintui20/pkg-descr | 4 ++ x11-toolkits/libgnomeprintui20/pkg-plist | 40 +++++++++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 x11-toolkits/libgnomeprintui20/Makefile create mode 100644 x11-toolkits/libgnomeprintui20/distinfo create mode 100644 x11-toolkits/libgnomeprintui20/files/patch-ltmain.sh create mode 100644 x11-toolkits/libgnomeprintui20/pkg-descr create mode 100644 x11-toolkits/libgnomeprintui20/pkg-plist (limited to 'x11-toolkits') diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 2b9bf00..a4a0dad 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -80,6 +80,7 @@ SUBDIR += libbonoboui SUBDIR += libgail-gnome SUBDIR += libgnomeprintui + SUBDIR += libgnomeprintui20 SUBDIR += libgnomeui SUBDIR += libgtkeditor SUBDIR += libj2dplot diff --git a/x11-toolkits/libgnomeprintui20/Makefile b/x11-toolkits/libgnomeprintui20/Makefile new file mode 100644 index 0000000..f4e31f3b --- /dev/null +++ b/x11-toolkits/libgnomeprintui20/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: libgnomeprintui +# Date created: 12 April 2002 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# + +PORTNAME= libgnomeprintui +PORTVERSION= 1.116.3 +CATEGORIES= x11-toolkits gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.116 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Gnome print support library + +LIB_DEPENDS= gnomeprint-2.0:${PORTSDIR}/print/libgnomeprint20 \ + gnomecanvas-2.200:${PORTSDIR}/graphics/libgnomecanvas + +LATEST_LINK= libgnomeprintui20 +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_XPM= yes +USE_GMAKE= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack +USE_REINPLACE= yes +INSTALLS_SHLIB= yes +GNU_CONFIGURE= yes +USE_BISON= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include diff --git a/x11-toolkits/libgnomeprintui20/distinfo b/x11-toolkits/libgnomeprintui20/distinfo new file mode 100644 index 0000000..9e71a6a --- /dev/null +++ b/x11-toolkits/libgnomeprintui20/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/libgnomeprintui-1.116.3.tar.bz2) = 4db8d9c405ab9717861463b333c01366 diff --git a/x11-toolkits/libgnomeprintui20/files/patch-ltmain.sh b/x11-toolkits/libgnomeprintui20/files/patch-ltmain.sh new file mode 100644 index 0000000..ca6be97 --- /dev/null +++ b/x11-toolkits/libgnomeprintui20/files/patch-ltmain.sh @@ -0,0 +1,45 @@ + +$FreeBSD: /tmp/pcvs/ports/x11-toolkits/libgnomeprintui20/files/Attic/patch-ltmain.sh,v 1.1 2003-02-20 18:33:13 marcus Exp $ + +--- ltmain.sh.orig Wed Jan 23 11:38:40 2002 ++++ ltmain.sh Sun Feb 3 01:44:17 2002 +@@ -1037,8 +1037,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2412,6 +2420,9 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then +@@ -4179,10 +4190,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/x11-toolkits/libgnomeprintui20/pkg-descr b/x11-toolkits/libgnomeprintui20/pkg-descr new file mode 100644 index 0000000..f7ae47f --- /dev/null +++ b/x11-toolkits/libgnomeprintui20/pkg-descr @@ -0,0 +1,4 @@ +This is a prototype implementation of the Gnome Printing Architecture, +as described in: + +WWW: http://www.gnome.org/projects/gnome-print/ diff --git a/x11-toolkits/libgnomeprintui20/pkg-plist b/x11-toolkits/libgnomeprintui20/pkg-plist new file mode 100644 index 0000000..07649de --- /dev/null +++ b/x11-toolkits/libgnomeprintui20/pkg-plist @@ -0,0 +1,40 @@ +include/libgnomeprintui-2.0/libgnomeprintui/gnome-font-dialog.h +include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-copies.h +include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-dialog.h +include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-master-preview.h +include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-paper-selector.h +include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-preview.h +include/libgnomeprintui-2.0/libgnomeprintui/gnome-printer-dialog.h +lib/libgnomeprintui-2.a +lib/libgnomeprintui-2.so +lib/libgnomeprintui-2.so.0 +libdata/pkgconfig/libgnomeprintui-2.0.pc +share/locale/am/LC_MESSAGES/libgnomeprintui.mo +share/locale/az/LC_MESSAGES/libgnomeprintui.mo +share/locale/be/LC_MESSAGES/libgnomeprintui.mo +share/locale/bg/LC_MESSAGES/libgnomeprintui.mo +share/locale/ca/LC_MESSAGES/libgnomeprintui.mo +share/locale/cs/LC_MESSAGES/libgnomeprintui.mo +share/locale/da/LC_MESSAGES/libgnomeprintui.mo +share/locale/de/LC_MESSAGES/libgnomeprintui.mo +share/locale/el/LC_MESSAGES/libgnomeprintui.mo +share/locale/es/LC_MESSAGES/libgnomeprintui.mo +share/locale/et/LC_MESSAGES/libgnomeprintui.mo +share/locale/eu/LC_MESSAGES/libgnomeprintui.mo +share/locale/hi/LC_MESSAGES/libgnomeprintui.mo +share/locale/ko/LC_MESSAGES/libgnomeprintui.mo +share/locale/lv/LC_MESSAGES/libgnomeprintui.mo +share/locale/ms/LC_MESSAGES/libgnomeprintui.mo +share/locale/pl/LC_MESSAGES/libgnomeprintui.mo +share/locale/pt/LC_MESSAGES/libgnomeprintui.mo +share/locale/ro/LC_MESSAGES/libgnomeprintui.mo +share/locale/ru/LC_MESSAGES/libgnomeprintui.mo +share/locale/sl/LC_MESSAGES/libgnomeprintui.mo +share/locale/sv/LC_MESSAGES/libgnomeprintui.mo +share/locale/ta/LC_MESSAGES/libgnomeprintui.mo +share/locale/vi/LC_MESSAGES/libgnomeprintui.mo +share/locale/wa/LC_MESSAGES/libgnomeprintui.mo +share/locale/zh_CN/LC_MESSAGES/libgnomeprintui.mo +share/locale/zh_TW/LC_MESSAGES/libgnomeprintui.mo +@dirrm include/libgnomeprintui-2.0/libgnomeprintui +@dirrm include/libgnomeprintui-2.0 -- cgit v1.1