Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2003 17:08:40 -0500 (CDT)
From:      Glenn Johnson <gjohnson@srrc.ars.usda.gov>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54516: New port of print/gnome-cups-manager.
Message-ID:  <200307152208.h6FM8eJm038070@node1.cluster.srrc.usda.gov>
Resent-Message-ID: <200307152210.h6FMAKhp010101@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54516
>Category:       ports
>Synopsis:       New port of print/gnome-cups-manager.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 15 15:10:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Glenn Johnson
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD node1.cluster.srrc.usda.gov 5.1-CURRENT FreeBSD 5.1-CURRENT #12: Mon Jul 7 14:09:12 CDT 2003 root@node1.cluster.srrc.usda.gov:/usr/obj/usr/src/sys/CLUSTER-FW i386


	
>Description:
	The attached shell archive is for a new port of 
	print/gnome-cups-manager.  This port will allow the management of 
	CUPS printers and print queues from a GNOME2 application.  This port 
	depends on print/libgnomecups, which I submitted as a separate PR.
>How-To-Repeat:
	
>Fix:

	

--- gnome-cups-manager begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	print/gnome-cups-manager
#	print/gnome-cups-manager/Makefile
#	print/gnome-cups-manager/distinfo
#	print/gnome-cups-manager/files
#	print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c
#	print/gnome-cups-manager/files/patch-ltmain.sh
#	print/gnome-cups-manager/files/patch-icons_Makefile.in
#	print/gnome-cups-manager/files/gnome-cups-manager.desktop
#	print/gnome-cups-manager/pkg-descr
#	print/gnome-cups-manager/pkg-plist
#
echo c - print/gnome-cups-manager
mkdir -p print/gnome-cups-manager > /dev/null 2>&1
echo x - print/gnome-cups-manager/Makefile
sed 's/^X//' >print/gnome-cups-manager/Makefile << 'END-of-print/gnome-cups-manager/Makefile'
X# New ports collection makefile for:	gnome-cups-manager
X# Date created:				14 Jul 2003
X# Whom:					Glenn Johnson <glennpj@charter.net>
X#
X# $FreeBSD:$
X
XPORTNAME=	gnome-cups-manager
XPORTVERSION=	0.17
XCATEGORIES=	print gnome
XMASTER_SITES=	${MASTER_SITE_GNOME}
XMASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION}
XDIST_SUBDIR=	gnome2
X
XMAINTAINER=	gnome@FreeBSD.org
XCOMMENT=	Admistration tool for cups
X
XLIB_DEPENDS=	gnomecups-1.0.1:${PORTSDIR}/print/libgnomecups
X
XUSE_BZIP2=	yes
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
XUSE_GNOME=	gnomeprefix gnomehack gnomehier libgnomeprintui libgnomeui
XINSTALL_SHLIBS=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
Xpost-install:
X	${INSTALL_DATA} ${FILESDIR}/gnome-cups-manager.desktop \
X	${PREFIX}/share/gnome/applications
X
X.include <bsd.port.mk>
END-of-print/gnome-cups-manager/Makefile
echo x - print/gnome-cups-manager/distinfo
sed 's/^X//' >print/gnome-cups-manager/distinfo << 'END-of-print/gnome-cups-manager/distinfo'
XMD5 (gnome2/gnome-cups-manager-0.17.tar.bz2) = 1aa72f8318a7ccb795cdfd2676d6346c
END-of-print/gnome-cups-manager/distinfo
echo c - print/gnome-cups-manager/files
mkdir -p print/gnome-cups-manager/files > /dev/null 2>&1
echo x - print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c
sed 's/^X//' >print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c << 'END-of-print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c'
X
X$FreeBSD$
X
X--- gnome-cups-add/printerconf.c.orig	Fri Mar  7 14:48:48 2003
X+++ gnome-cups-add/printerconf.c	Tue Jul 15 11:20:00 2003
X@@ -12,7 +12,7 @@
X #include "snmpinter.h"
X 
X #define IOCNR_GET_DEVICE_ID	1
X-#define LPIOC_GET_DEVICE_ID(len) _IOC(_IOC_READ, 'P', IOCNR_GET_DEVICE_ID, len)	/* get device_id string */
X+#define LPIOC_GET_DEVICE_ID(len) _IOC(IOC_OUT, 'P', IOCNR_GET_DEVICE_ID, len)	/* get device_id string */
X 
X /*----------------------------------------------------------------
X   libprinterconf - a function library for detecting and setting up
END-of-print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c
echo x - print/gnome-cups-manager/files/patch-ltmain.sh
sed 's/^X//' >print/gnome-cups-manager/files/patch-ltmain.sh << 'END-of-print/gnome-cups-manager/files/patch-ltmain.sh'
X
X$FreeBSD$
X
X--- ltmain.sh.orig	Sat Feb  8 08:47:44 2003
X+++ ltmain.sh	Tue Jul 15 13:06:35 2003
X@@ -1075,7 +1075,7 @@
X 	  esac
X 	 elif test "X$arg" = "X-lc_r"; then
X 	  case $host in
X-	 *-*-openbsd* | *-*-freebsd*)
X+	 *-*-openbsd* | *-*-freebsd4*)
X 	    # Do not include libc_r directly, use -pthread flag.
X 	    continue
X 	    ;;
X@@ -1085,8 +1085,16 @@
X 	continue
X 	;;
X 
X+      -pthread)
X+      compile_command="$compile_command -pthread"
X+      finalize_command="$finalize_command -pthread"
X+      compiler_flags="$compiler_flags -pthread"
X+      continue
X+      ;;
X+
X       -module)
X 	module=yes
X+	build_old_libs=no
X 	continue
X 	;;
X 
X@@ -2503,6 +2511,9 @@
X 	  *-*-openbsd* | *-*-freebsd*)
X 	    # Do not include libc due to us having libc/libc_r.
X 	    ;;
X+	  *-*-freebsd*)
X+	    # FreeBSD doesn't need this...
X+	    ;;
X 	  *)
X 	    # Add libc to deplibs on all other systems if necessary.
X 	    if test $build_libtool_need_lc = "yes"; then
X@@ -4330,10 +4341,12 @@
X 	fi
X 
X 	# Install the pseudo-library for information purposes.
X+	if /usr/bin/false; then
X 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
X 	instname="$dir/$name"i
X 	$show "$install_prog $instname $destdir/$name"
X 	$run eval "$install_prog $instname $destdir/$name" || exit $?
X+	fi
X 
X 	# Maybe install the static library, too.
X 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
END-of-print/gnome-cups-manager/files/patch-ltmain.sh
echo x - print/gnome-cups-manager/files/patch-icons_Makefile.in
sed 's/^X//' >print/gnome-cups-manager/files/patch-icons_Makefile.in << 'END-of-print/gnome-cups-manager/files/patch-icons_Makefile.in'
X
X$FreeBSD$
X
X--- icons/Makefile.in.orig	Tue Jul 15 13:57:05 2003
X+++ icons/Makefile.in	Tue Jul 15 13:58:07 2003
X@@ -118,10 +118,10 @@
X WARN_CFLAGS = @WARN_CFLAGS@
X cxxflags_set = @cxxflags_set@
X 
X-devicedir = $(datadir)/icons/gnome/48x48/devices
X+devicedir = $(prefix)/$(DATADIRNAME)/icons/gnome/48x48/devices
X device_DATA = gnome-dev-printer-network.png gnome-dev-printer-new.png
X 
X-emblemdir = $(datadir)/icons/gnome/48x48/emblems
X+emblemdir = $(prefix)/$(DATADIRNAME)/icons/gnome/48x48/emblems
X emblem_DATA = emblem-default.png emblem-paused.png
X 
X pixmapdir = $(datadir)/pixmaps/gnome-cups-manager
END-of-print/gnome-cups-manager/files/patch-icons_Makefile.in
echo x - print/gnome-cups-manager/files/gnome-cups-manager.desktop
sed 's/^X//' >print/gnome-cups-manager/files/gnome-cups-manager.desktop << 'END-of-print/gnome-cups-manager/files/gnome-cups-manager.desktop'
X[Desktop Entry]
XEncoding=UTF-8
XVersion=1.0
XType=Application
XExec=gnome-cups-manager
XTryExec=
XIcon=/usr/X11R6/share/icons/gnome/48x48/devices/gnome-dev-printer.png
XX-GNOME-DocPath=
XTerminal=false
XName[en_US]=CUPS manager
XGenericName[en_US]=
XComment[en_US]=Printer manager
XCategories=Application;System;
END-of-print/gnome-cups-manager/files/gnome-cups-manager.desktop
echo x - print/gnome-cups-manager/pkg-descr
sed 's/^X//' >print/gnome-cups-manager/pkg-descr << 'END-of-print/gnome-cups-manager/pkg-descr'
XThe GNOME CUPS Manager is a tool for adding new CUPS printers and for
Xmanaging existing CUPS printers and queues.
X
XWWW: http://www.gnome.org/
END-of-print/gnome-cups-manager/pkg-descr
echo x - print/gnome-cups-manager/pkg-plist
sed 's/^X//' >print/gnome-cups-manager/pkg-plist << 'END-of-print/gnome-cups-manager/pkg-plist'
Xbin/gnome-cups-add
Xbin/gnome-cups-icon
Xbin/gnome-cups-manager
Xinclude/libgnomecups-1/libgnomecups/gnome-cups-ui-init.h
Xinclude/libgnomecups-1/libgnomecups/gnome-cups-ui-print.h
Xlib/libgnomecupsui-1.0.so.1
Xlib/libgnomecupsui-1.0.so
Xlib/libgnomecupsui-1.0.a
Xlibdata/bonobo/servers/Gnome_CupsManager.server
Xlibdata/pkgconfig/libgnomecupsui-1.0.pc
Xsbin/gnome-cups-switch
Xshare/icons/gnome/48x48/devices/gnome-dev-printer-network.png
Xshare/icons/gnome/48x48/devices/gnome-dev-printer-new.png
Xshare/icons/gnome/48x48/emblems/emblem-default.png
Xshare/icons/gnome/48x48/emblems/emblem-paused.png
Xshare/gnome/applications/gnome-cups-manager.desktop
Xshare/gnome/gnome-cups-manager/gnome-cups-add.glade
Xshare/gnome/gnome-cups-manager/gnome-cups-manager.glade
Xshare/gnome/gnome-cups-manager/xd2-testpage-letter.eps
Xshare/gnome/gnome-cups-manager/xd2-testpage-a4.eps
Xshare/gnome/pixmaps/gnome-cups-manager/printer-tray-normal.png
Xshare/gnome/pixmaps/gnome-cups-manager/printer-tray-stopped.png
Xshare/locale/he/LC_MESSAGES/gnome-cups-manager.mo
Xshare/locale/ja/LC_MESSAGES/gnome-cups-manager.mo
X@dirrm share/gnome/gnome-cups-manager
X@dirrm share/gnome/pixmaps/gnome-cups-manager
END-of-print/gnome-cups-manager/pkg-plist
exit
--- gnome-cups-manager ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307152208.h6FM8eJm038070>