aboutsummaryrefslogtreecommitdiff
path: root/print/gnome-cups-manager
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-06-09 04:54:52 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-06-09 04:54:52 +0000
commit672903815b341c30dc18f51c096c7077ef894264 (patch)
tree4c7da8c28769fdbcca6406871e5f782d09557c43 /print/gnome-cups-manager
parent62ed1df86e840111bed71f7ad0fe26361bc9f8ed (diff)
downloadports-672903815b341c30dc18f51c096c7077ef894264.tar.gz
ports-672903815b341c30dc18f51c096c7077ef894264.zip
Notes
Diffstat (limited to 'print/gnome-cups-manager')
-rw-r--r--print/gnome-cups-manager/Makefile8
-rw-r--r--print/gnome-cups-manager/distinfo4
-rw-r--r--print/gnome-cups-manager/files/gnome-cups-manager.desktop2
-rw-r--r--print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c11
-rw-r--r--print/gnome-cups-manager/files/patch-icons_Makefile.in18
-rw-r--r--print/gnome-cups-manager/files/patch-ltmain.sh50
-rw-r--r--print/gnome-cups-manager/pkg-plist29
7 files changed, 66 insertions, 56 deletions
diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile
index ee4af13893b5..e9d7c585d869 100644
--- a/print/gnome-cups-manager/Makefile
+++ b/print/gnome-cups-manager/Makefile
@@ -5,11 +5,10 @@
# $FreeBSD$
PORTNAME= gnome-cups-manager
-PORTVERSION= 0.17
-PORTREVISION= 2
+PORTVERSION= 0.18
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.17
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.18
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
@@ -23,6 +22,7 @@ USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack libgnomeprintui libgnomeui
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -35,6 +35,6 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \
- ${PREFIX}/share/gnome/applications
+ ${PREFIX}/share/gnome/applications
.include <bsd.port.mk>
diff --git a/print/gnome-cups-manager/distinfo b/print/gnome-cups-manager/distinfo
index 7003c8c3df50..6bb50b3f22b4 100644
--- a/print/gnome-cups-manager/distinfo
+++ b/print/gnome-cups-manager/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/gnome-cups-manager-0.17.tar.bz2) = 1aa72f8318a7ccb795cdfd2676d6346c
-SIZE (gnome2/gnome-cups-manager-0.17.tar.bz2) = 316581
+MD5 (gnome2/gnome-cups-manager-0.18.tar.bz2) = d8508654ed956de73fa62a72b4358a1a
+SIZE (gnome2/gnome-cups-manager-0.18.tar.bz2) = 472324
diff --git a/print/gnome-cups-manager/files/gnome-cups-manager.desktop b/print/gnome-cups-manager/files/gnome-cups-manager.desktop
index be6ad1cccd74..e539ee43c747 100644
--- a/print/gnome-cups-manager/files/gnome-cups-manager.desktop
+++ b/print/gnome-cups-manager/files/gnome-cups-manager.desktop
@@ -2,7 +2,7 @@
Encoding=UTF-8
Type=Application
Exec=gnome-cups-manager
-Icon=%%PREFIX%%/share/icons/gnome/48x48/devices/gnome-dev-printer.png
+Icon=%%PREFIX%%/share/icons/hicolor/48x48/devices/gnome-dev-printer.png
Terminal=false
Name=CUPS manager
Comment=Printer manager
diff --git a/print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c b/print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c
deleted file mode 100644
index 13ff3acaf6e3..000000000000
--- a/print/gnome-cups-manager/files/patch-gnome-cups-add_printerconf.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- gnome-cups-add/printerconf.c.orig Fri Mar 7 14:48:48 2003
-+++ gnome-cups-add/printerconf.c Tue Jul 15 11:20:00 2003
-@@ -12,7 +12,7 @@
- #include "snmpinter.h"
-
- #define IOCNR_GET_DEVICE_ID 1
--#define LPIOC_GET_DEVICE_ID(len) _IOC(_IOC_READ, 'P', IOCNR_GET_DEVICE_ID, len) /* get device_id string */
-+#define LPIOC_GET_DEVICE_ID(len) _IOC(IOC_OUT, 'P', IOCNR_GET_DEVICE_ID, len) /* get device_id string */
-
- /*----------------------------------------------------------------
- libprinterconf - a function library for detecting and setting up
diff --git a/print/gnome-cups-manager/files/patch-icons_Makefile.in b/print/gnome-cups-manager/files/patch-icons_Makefile.in
index ab44cd3f6140..54a568244576 100644
--- a/print/gnome-cups-manager/files/patch-icons_Makefile.in
+++ b/print/gnome-cups-manager/files/patch-icons_Makefile.in
@@ -1,15 +1,15 @@
---- icons/Makefile.in.orig Tue Jul 15 13:57:05 2003
-+++ icons/Makefile.in Tue Jul 15 13:58:07 2003
-@@ -118,10 +118,10 @@
+--- icons/Makefile.in.old Tue Jun 8 18:54:16 2004
++++ icons/Makefile.in Tue Jun 8 19:00:42 2004
+@@ -131,10 +131,10 @@
WARN_CFLAGS = @WARN_CFLAGS@
- cxxflags_set = @cxxflags_set@
+ WARN_CXXFLAGS = @WARN_CXXFLAGS@
--devicedir = $(datadir)/icons/gnome/48x48/devices
-+devicedir = $(prefix)/$(DATADIRNAME)/icons/gnome/48x48/devices
- device_DATA = gnome-dev-printer-network.png gnome-dev-printer-new.png
+-devicedir = $(datadir)/icons/hicolor/48x48/devices
++devicedir = $(prefix)/$(DATADIRNAME)/icons/hicolor/48x48/devices
+ device_DATA = gnome-dev-printer.png gnome-dev-printer-network.png gnome-dev-printer-new.png
--emblemdir = $(datadir)/icons/gnome/48x48/emblems
-+emblemdir = $(prefix)/$(DATADIRNAME)/icons/gnome/48x48/emblems
+-emblemdir = $(datadir)/icons/hicolor/48x48/emblems
++emblemdir = $(prefix/$(DATADIRNAME)/icons/hicolor/48x48/emblems
emblem_DATA = emblem-default.png emblem-paused.png
pixmapdir = $(datadir)/pixmaps/gnome-cups-manager
diff --git a/print/gnome-cups-manager/files/patch-ltmain.sh b/print/gnome-cups-manager/files/patch-ltmain.sh
index 36ce25d4bdbd..8be265f01f40 100644
--- a/print/gnome-cups-manager/files/patch-ltmain.sh
+++ b/print/gnome-cups-manager/files/patch-ltmain.sh
@@ -1,51 +1,51 @@
---- ltmain.sh.orig Sat Feb 8 08:47:44 2003
-+++ ltmain.sh Tue Jul 15 13:06:35 2003
-@@ -1075,7 +1075,7 @@
+--- ltmain.sh.old Tue Jun 8 19:21:45 2004
++++ ltmain.sh Tue Jun 8 19:40:03 2004
+@@ -1356,7 +1356,7 @@
esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd* | *-*-freebsd4*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
-@@ -1085,8 +1085,16 @@
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1371,8 +1371,16 @@
continue
;;
+ -pthread)
-+ compile_command="$compile_command -pthread"
-+ finalize_command="$finalize_command -pthread"
-+ compiler_flags="$compiler_flags -pthread"
-+ continue
-+ ;;
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
+
-module)
module=yes
-+ build_old_libs=no
++ build_old_libs=no
continue
;;
-@@ -2503,6 +2511,9 @@
- *-*-openbsd* | *-*-freebsd*)
+@@ -3200,6 +3208,9 @@
# Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
;;
-+ *-*-freebsd*)
-+ # FreeBSD doesn't need this...
-+ ;;
- *)
++ *-*-freebsd*)
++ # FreeBSD doesn't need this . . .
++ ;;
+ *)
# Add libc to deplibs on all other systems if necessary.
- if test $build_libtool_need_lc = "yes"; then
-@@ -4330,10 +4341,12 @@
+ if test "$build_libtool_need_lc" = "yes"; then
+@@ -5550,10 +5561,12 @@
fi
# Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
++ 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
++ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/print/gnome-cups-manager/pkg-plist b/print/gnome-cups-manager/pkg-plist
index f0b050c834ee..7b19f15cd34e 100644
--- a/print/gnome-cups-manager/pkg-plist
+++ b/print/gnome-cups-manager/pkg-plist
@@ -16,11 +16,32 @@ share/gnome/gnome-cups-manager/xd2-testpage-a4.eps
share/gnome/gnome-cups-manager/xd2-testpage-letter.eps
share/gnome/pixmaps/gnome-cups-manager/printer-tray-normal.png
share/gnome/pixmaps/gnome-cups-manager/printer-tray-stopped.png
-share/icons/gnome/48x48/devices/gnome-dev-printer-network.png
-share/icons/gnome/48x48/devices/gnome-dev-printer-new.png
-share/icons/gnome/48x48/emblems/emblem-default.png
-share/icons/gnome/48x48/emblems/emblem-paused.png
+share/icons/hicolor/48x48/devices/gnome-dev-printer-network.png
+share/icons/hicolor/48x48/devices/gnome-dev-printer-new.png
+share/icons/hicolor/48x48/devices/gnome-dev-printer.png
+share/locale/ca/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/cs/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/de/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/el/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/en_CA/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/en_GB/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/es/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/fi/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/fr/LC_MESSAGES/gnome-cups-manager.mo
share/locale/he/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/hr/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/it/LC_MESSAGES/gnome-cups-manager.mo
share/locale/ja/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/ko/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/nl/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/no/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/pa/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/pt/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/sr/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/sr@Latn/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/sv/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/tr/LC_MESSAGES/gnome-cups-manager.mo
+share/locale/uk/LC_MESSAGES/gnome-cups-manager.mo
@dirrm share/gnome/pixmaps/gnome-cups-manager
@dirrm share/gnome/gnome-cups-manager