diff options
-rw-r--r-- | comms/ghfaxviewer/Makefile | 37 | ||||
-rw-r--r-- | comms/ghfaxviewer/distinfo | 3 | ||||
-rw-r--r-- | comms/ghfaxviewer/files/patch-aa | 11 | ||||
-rw-r--r-- | comms/ghfaxviewer/files/patch-configure | 14 | ||||
-rw-r--r-- | comms/ghfaxviewer/files/patch-src-callbcks.c | 26 | ||||
-rw-r--r-- | comms/ghfaxviewer/files/patch-src-gn_print.c | 10 | ||||
-rw-r--r-- | comms/ghfaxviewer/pkg-descr | 4 | ||||
-rw-r--r-- | comms/ghfaxviewer/pkg-plist | 10 |
8 files changed, 115 insertions, 0 deletions
diff --git a/comms/ghfaxviewer/Makefile b/comms/ghfaxviewer/Makefile new file mode 100644 index 000000000..a33ee1ab6 --- /dev/null +++ b/comms/ghfaxviewer/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: ghfaxviewer +# Date created: Fri Apr 20 13:08:00 MET DST 2001 +# Whom: Dominik Brettnacher <domi@saargate.de> +# +# $FreeBSD$ +# + +PORTNAME= ghfaxviewer +PORTVERSION= 0.22.0 +PORTREVISION= 5 +CATEGORIES= comms +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= halifax + +MAINTAINER= domi@saargate.de +COMMENT= GNOME compliant fax viewer capable of displaying TIFF G3 faxes + +LIB_DEPENDS= gnomeprint.16:${PORTSDIR}/print/gnome-print \ + gconf-1.1:${PORTSDIR}/devel/gconf \ + tiff.4:${PORTSDIR}/graphics/tiff + +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_GNOME= yes +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= halifax.1 ghfaxviewer.1 + +pre-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ + ' s|\$$(datadir)/locale|$$(prefix)/share/locale|g' + +.include <bsd.port.mk> diff --git a/comms/ghfaxviewer/distinfo b/comms/ghfaxviewer/distinfo new file mode 100644 index 000000000..56715a02b --- /dev/null +++ b/comms/ghfaxviewer/distinfo @@ -0,0 +1,3 @@ +MD5 (ghfaxviewer-0.22.0.tar.gz) = b000c0a39e8154eb68ef6d2509922888 +SHA256 (ghfaxviewer-0.22.0.tar.gz) = 66acdb920a2baa8199360634943f09bf16cf82796db688a1dda7ecbedfc863ce +SIZE (ghfaxviewer-0.22.0.tar.gz) = 273248 diff --git a/comms/ghfaxviewer/files/patch-aa b/comms/ghfaxviewer/files/patch-aa new file mode 100644 index 000000000..eb698481a --- /dev/null +++ b/comms/ghfaxviewer/files/patch-aa @@ -0,0 +1,11 @@ +--- src/setup.c.orig Fri Apr 27 22:11:15 2001 ++++ src/setup.c Mon Sep 10 00:08:31 2001 +@@ -143,7 +143,7 @@ + + gerror = NULL; + +- gdk_window_get_root_origin (window, &x, &y); ++ gdk_window_get_position (window, &x, &y); + gdk_window_get_size (window, &width, &height); + + gconf_client_set_int (gc_client, diff --git a/comms/ghfaxviewer/files/patch-configure b/comms/ghfaxviewer/files/patch-configure new file mode 100644 index 000000000..321562521 --- /dev/null +++ b/comms/ghfaxviewer/files/patch-configure @@ -0,0 +1,14 @@ + +$FreeBSD: ports/comms/ghfaxviewer/files/patch-configure,v 1.1 2002/05/13 12:06:47 sobomax Exp $ + +--- configure 2002/05/13 12:02:06 1.1 ++++ configure 2002/05/13 12:02:24 +@@ -4759,7 +4759,7 @@ + CFLAGS="$CFLAGS `gnome-config --cflags gnomeui`" + LDFLAGS="$LDFLAGS `gnome-config --libs gnomeui`" + PIXMAPS_DIR="`gnome-config --datadir`/pixmaps/ghfaxviewer" +- GNOME_GRAPH_APP_DIR="`gnome-config --datadir`/gnome/apps/Graphics" ++ GNOME_GRAPH_APP_DIR="`gnome-config --datadir`/apps/Graphics" + + # Check whether --with-gnome-print-prefix or --without-gnome-print-prefix was given. + if test "${with_gnome_print_prefix+set}" = set; then diff --git a/comms/ghfaxviewer/files/patch-src-callbcks.c b/comms/ghfaxviewer/files/patch-src-callbcks.c new file mode 100644 index 000000000..8173db6b6 --- /dev/null +++ b/comms/ghfaxviewer/files/patch-src-callbcks.c @@ -0,0 +1,26 @@ +--- src/callbcks.c.orig Mon Dec 6 23:40:28 2004 ++++ src/callbcks.c Mon Dec 6 23:40:51 2004 +@@ -90,7 +90,6 @@ + case ROT_LEFT90: + viewer_data->rotation = ROT_RIGHT90; + break; +- default: + } + + draw_page (viewer_data); +@@ -113,7 +112,6 @@ + case ROT_LEFT90: + viewer_data->rotation = ROT_NONE; + break; +- default: + } + + draw_page (viewer_data); +@@ -136,7 +134,6 @@ + case ROT_LEFT90: + viewer_data->rotation = ROT_180; + break; +- default: + } + + draw_page (viewer_data); diff --git a/comms/ghfaxviewer/files/patch-src-gn_print.c b/comms/ghfaxviewer/files/patch-src-gn_print.c new file mode 100644 index 000000000..30615d7c5 --- /dev/null +++ b/comms/ghfaxviewer/files/patch-src-gn_print.c @@ -0,0 +1,10 @@ +--- src/gn_print.c.orig Sun May 6 14:15:14 2001 ++++ src/gn_print.c Thu Dec 9 00:24:02 2004 +@@ -272,6 +272,7 @@ + print_or_preview (print_dlg, viewer_data, button); + break; + case GNOME_PRINT_CANCEL: ++ ; + } + + if (destroy_dlg) diff --git a/comms/ghfaxviewer/pkg-descr b/comms/ghfaxviewer/pkg-descr new file mode 100644 index 000000000..aad4ebb33 --- /dev/null +++ b/comms/ghfaxviewer/pkg-descr @@ -0,0 +1,4 @@ +ghfaxviewer is the fax viewer of the GNU HaliFAX project which is part of +the GNU project. + +WWW: http://www.gnu.org/software/halifax/ diff --git a/comms/ghfaxviewer/pkg-plist b/comms/ghfaxviewer/pkg-plist new file mode 100644 index 000000000..accaee2cd --- /dev/null +++ b/comms/ghfaxviewer/pkg-plist @@ -0,0 +1,10 @@ +bin/ghfaxviewer +share/gnome/apps/Graphics/ghfaxviewer.desktop +share/pixmaps/ghfaxviewer/ghfaxviewer-icon.xpm +share/pixmaps/ghfaxviewer/ghfaxviewer-logo.xpm +share/pixmaps/ghfaxviewer/info.xpm +share/locale/de/LC_MESSAGES/ghfaxviewer.mo +share/locale/fr/LC_MESSAGES/ghfaxviewer.mo +share/locale/pl/LC_MESSAGES/ghfaxviewer.mo +share/locale/zh_TW.Big5/LC_MESSAGES/ghfaxviewer.mo +@dirrm share/pixmaps/ghfaxviewer |