diff options
Diffstat (limited to 'deskutils')
20 files changed, 684 insertions, 0 deletions
diff --git a/deskutils/gnome-utils/Makefile b/deskutils/gnome-utils/Makefile new file mode 100644 index 000000000..c0df6fec9 --- /dev/null +++ b/deskutils/gnome-utils/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: gnomeutils2 +# Date created: 06 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/deskutils/gnomeutils2/Makefile,v 1.61 2003/04/06 21:16:03 marcus Exp $ +# + +PORTNAME= gnomeutils2 +PORTVERSION= 2.3.0 +PORTEPOCH= 1 +CATEGORIES= misc gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-utils/2.3 +DISTNAME= gnome-utils-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2.0 support utilities + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +GNOME_DESKTOP_VERSION=2 +USE_GNOME= gnomeprefix gnomehack gnomehier gnomepanel +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +MAN1= gnome-calculator.1 \ + gnome-character-map.1 gnome-dictionary.1 \ + gnome-search-tool.1 gnome-system-log.1 gdialog.1 + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/deskutils/gnome-utils/distinfo b/deskutils/gnome-utils/distinfo new file mode 100644 index 000000000..262d795ec --- /dev/null +++ b/deskutils/gnome-utils/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/gnome-utils-2.3.0.tar.bz2) = bf65a3ed02649c9f7753a2a61d2ffc19 diff --git a/deskutils/gnome-utils/files/patch-ad b/deskutils/gnome-utils/files/patch-ad new file mode 100644 index 000000000..65ebff071 --- /dev/null +++ b/deskutils/gnome-utils/files/patch-ad @@ -0,0 +1,28 @@ +--- gdialog/dialog.h.orig Tue Jul 6 16:23:33 1999 ++++ gdialog/dialog.h Wed Aug 18 11:34:23 1999 +@@ -36,24 +36,7 @@ + #include <gnome.h> + #endif + +-#ifdef ultrix +-# include <cursesX.h> +-#else +-# if defined(USE_NCURSES) && !defined(RENAMED_NCURSES) +-# include <ncurses.h> +-# else +-# if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(__sgi) +-# define hacked 1 +-# define _XOPEN_SOURCE_EXTENDED +-# define _ACS_COMPAT_CODE +-# endif +-# include <curses.h> +-# ifdef hacked +-# undef _XOPEN_SOURCE_EXTENDED +-# undef _ACS_COMPAT_CODE +-# endif +-# endif +-#endif ++#include <ncurses.h> + + /* + * Change these if you want diff --git a/deskutils/gnome-utils/files/patch-ai b/deskutils/gnome-utils/files/patch-ai new file mode 100644 index 000000000..5e5610983 --- /dev/null +++ b/deskutils/gnome-utils/files/patch-ai @@ -0,0 +1,11 @@ +--- xmldocs.make.orig Mon Mar 25 22:21:17 2002 ++++ xmldocs.make Sun Apr 13 01:23:01 2003 +@@ -37,7 +37,7 @@ + # This variable (docdir) specifies where the documents should be installed. + # This default value should work for most packages. + # docdir = $(datadir)/@PACKAGE@/doc/$(docname)/$(lang) +-docdir = $(datadir)/gnome/help/$(docname)/$(lang) ++docdir = $(datadir)/help/$(docname)/$(lang) + + # ************** You should not have to edit below this line ******************* + xml_files = $(entities) $(docname).xml diff --git a/deskutils/gnome-utils/files/patch-configure b/deskutils/gnome-utils/files/patch-configure new file mode 100644 index 000000000..d5d7d0e10 --- /dev/null +++ b/deskutils/gnome-utils/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Nov 25 09:25:29 2002 ++++ configure Tue Nov 26 16:04:42 2002 +@@ -10347,7 +10347,7 @@ + + + cat >>confdefs.h <<_ACEOF +-#define GNOME_ICONDIR "${prefix}/share/pixmaps" ++#define GNOME_ICONDIR "${datadir}/pixmaps" + _ACEOF + + diff --git a/deskutils/gnome-utils/files/patch-logview::log_repaint.c b/deskutils/gnome-utils/files/patch-logview::log_repaint.c new file mode 100644 index 000000000..eff0581b0 --- /dev/null +++ b/deskutils/gnome-utils/files/patch-logview::log_repaint.c @@ -0,0 +1,15 @@ + +$FreeBSD: ports/deskutils/gnomeutils2/files/patch-logview::log_repaint.c,v 1.2 2003/02/07 18:42:09 marcus Exp $ + +--- logview/log_repaint.c 2001/11/23 16:01:55 1.1 ++++ logview/log_repaint.c 2001/11/23 16:02:30 +@@ -24,7 +24,9 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> ++#ifdef HAVE_MALLOC_H + #include <malloc.h> ++#endif + #include <string.h> + #include <gnome.h> + #include "logview.h" diff --git a/deskutils/gnome-utils/files/patch-logview::logrtns.h b/deskutils/gnome-utils/files/patch-logview::logrtns.h new file mode 100644 index 000000000..8c77a7983 --- /dev/null +++ b/deskutils/gnome-utils/files/patch-logview::logrtns.h @@ -0,0 +1,15 @@ + +$FreeBSD: ports/deskutils/gnomeutils2/files/patch-logview::logrtns.h,v 1.2 2003/02/07 18:42:09 marcus Exp $ + +--- logview/logrtns.h 2001/11/23 16:04:00 1.1 ++++ logview/logrtns.h 2001/11/23 16:04:14 +@@ -24,7 +24,9 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> ++#ifdef HAVE_MALLOC_H + #include <malloc.h> ++#endif + #include <string.h> + #include "logview.h" + diff --git a/deskutils/gnome-utils/files/patch-logview_logview.c b/deskutils/gnome-utils/files/patch-logview_logview.c new file mode 100644 index 000000000..49e8b06b3 --- /dev/null +++ b/deskutils/gnome-utils/files/patch-logview_logview.c @@ -0,0 +1,29 @@ +--- logview/logview.c.orig Tue May 7 00:03:16 2002 ++++ logview/logview.c Tue May 7 00:04:37 2002 +@@ -903,7 +903,7 @@ + + if ( ! found) { + g_snprintf (full_name, sizeof (full_name), +- "%s/share/gnome-system-log/gnome-system-log-regexp.db", LOGVIEWINSTALLPREFIX); ++ "%s/gnome-system-log/gnome-system-log-regexp.db", DATADIR); + if (access (full_name, R_OK) == 0) { + found = TRUE; + g_free (cfg->regexp_db_path); +@@ -926,7 +926,7 @@ + + if ( ! found) { + g_snprintf (full_name, sizeof (full_name), +- "%s/share/gnome-system-log/gnome-system-log-descript.db", LOGVIEWINSTALLPREFIX); ++ "%s/gnome-system-log/gnome-system-log-descript.db", DATADIR); + if (access (full_name, R_OK) == 0) { + found = TRUE; + g_free (cfg->descript_db_path); +@@ -960,7 +960,7 @@ + + if ( ! found) { + g_snprintf (full_name, sizeof (full_name), +- "%s/share/gnome-system-log/gnome-system-log-actions.db", LOGVIEWINSTALLPREFIX); ++ "%s/gnome-system-log/gnome-system-log-actions.db", DATADIR); + if (access (full_name, R_OK) == 0) { + found = TRUE; + g_free (cfg->action_db_path); diff --git a/deskutils/gnome-utils/pkg-descr b/deskutils/gnome-utils/pkg-descr new file mode 100644 index 000000000..af1715c69 --- /dev/null +++ b/deskutils/gnome-utils/pkg-descr @@ -0,0 +1 @@ +GNOME 2.0 support utilities. diff --git a/deskutils/gnome-utils/pkg-plist b/deskutils/gnome-utils/pkg-plist new file mode 100644 index 000000000..c94b05672 --- /dev/null +++ b/deskutils/gnome-utils/pkg-plist @@ -0,0 +1,193 @@ +bin/gdialog +bin/gnome-calculator +bin/gnome-character-map +bin/gnome-dictionary +bin/gnome-search-tool +bin/gnome-system-log +etc/gconf/gconf.xml.defaults/apps/gnome-dictionary/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/gnome-search-tool/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/gnome-system-log/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/gnome-dictionary/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/gnome-search-tool/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/gnome-system-log/%gconf.xml +etc/gconf/schemas/logview.schemas +etc/gconf/schemas/gdict.schemas +etc/gconf/schemas/gnome-search-tool.schemas +libdata/bonobo/servers/GNOME_GDictApplet.server +libexec/gdict-applet +share/gnome/applications/gnome-calculator.desktop +share/gnome/applications/gnome-character-map.desktop +share/gnome/applications/gnome-dictionary.desktop +share/gnome/applications/gnome-search-tool.desktop +share/gnome/applications/gnome-system-log.desktop +share/gnome/gnome-2.0/ui/GNOME_GDictApplet.xml +share/gnome/gnome-system-log/gnome-system-log-actions.db +share/gnome/gnome-system-log/gnome-system-log-descript.db +share/gnome/gnome-system-log/gnome-system-log-regexp.db +share/gnome/help/gdialog/C/figures/example-dialog.png +share/gnome/help/gdialog/C/figures/gdialog-msgbox.png +share/gnome/help/gdialog/C/figures/gdialog-yesno.png +share/gnome/help/gdialog/C/gdialog.xml +share/gnome/help/gdialog/C/legal.xml +share/gnome/help/gdialog/ja/figures/example-dialog.png +share/gnome/help/gdialog/ja/figures/gdialog-msgbox.png +share/gnome/help/gdialog/ja/figures/gdialog-yesno.png +share/gnome/help/gdialog/ja/gdialog.xml +share/gnome/help/gdialog/ja/legal.xml +share/gnome/help/gnome-calculator/C/figures/gcalc_window.png +share/gnome/help/gnome-calculator/C/gnome-calculator.xml +share/gnome/help/gnome-calculator/C/legal.xml +share/gnome/help/gnome-calculator/ja/figures/gcalc_window.png +share/gnome/help/gnome-calculator/ja/gnome-calculator.xml +share/gnome/help/gnome-calculator/ja/legal.xml +share/gnome/help/gnome-character-map/C/figures/gnome-character-map.png +share/gnome/help/gnome-character-map/C/gnome-character-map.xml +share/gnome/help/gnome-character-map/C/legal.xml +share/gnome/help/gnome-character-map/ja/figures/gnome-character-map.png +share/gnome/help/gnome-character-map/ja/gnome-character-map.xml +share/gnome/help/gnome-character-map/ja/legal.xml +share/gnome/help/gnome-dictionary/C/figures/gdict_applet.png +share/gnome/help/gnome-dictionary/C/figures/gdict_window.png +share/gnome/help/gnome-dictionary/C/gnome-dictionary.xml +share/gnome/help/gnome-dictionary/C/legal.xml +share/gnome/help/gnome-dictionary/ja/figures/gdict_applet.png +share/gnome/help/gnome-dictionary/ja/figures/gdict_window.png +share/gnome/help/gnome-dictionary/ja/gnome-dictionary.xml +share/gnome/help/gnome-dictionary/ja/legal.xml +share/gnome/help/gnome-search-tool/C/figures/gnome-search-tool_window.png +share/gnome/help/gnome-search-tool/C/gnome-search-tool.xml +share/gnome/help/gnome-search-tool/C/legal.xml +share/gnome/help/gnome-search-tool/ja/figures/gnome-search-tool_window.png +share/gnome/help/gnome-search-tool/ja/gnome-search-tool.xml +share/gnome/help/gnome-search-tool/ja/legal.xml +share/gnome/help/gnome-system-log/C/figures/syslog_window.png +share/gnome/help/gnome-system-log/C/gnome-system-log.xml +share/gnome/help/gnome-system-log/C/legal.xml +share/gnome/help/gnome-system-log/ja/figures/syslog_window.png +share/gnome/help/gnome-system-log/ja/gnome-system-log.xml +share/gnome/help/gnome-system-log/ja/legal.xml +share/gnome/omf/gnome-utils/gdialog-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gdialog-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gdialog-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gdialog-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-calculator-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-calculator-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-calculator-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-calculator-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-character-map-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-character-map-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-character-map-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-character-map-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-dictionary-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-dictionary-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-dictionary-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-dictionary-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-search-tool-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-search-tool-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-search-tool-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-search-tool-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-system-log-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-system-log-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-system-log-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-system-log-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/pixmaps/gdict.png +share/gnome/pixmaps/gnome-character-map.png +share/gnome/pixmaps/gnome-searchtool.png +share/locale/am/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ar/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/az/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/be/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/bg/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ca/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/cs/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/da/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/de/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/el/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/en_GB/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/es/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/et/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/eu/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/fa/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/fi/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/fr/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ga/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/gl/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/he/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/hi/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/hu/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/it/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ja/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ko/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/lt/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/lv/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/mk/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ml/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/mn/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ms/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/nl/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/nn/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/no/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/pl/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/pt/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/pt_BR/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ro/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ru/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/sk/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/sl/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/sv/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ta/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/tr/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/uk/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/vi/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/wa/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/zh_CN/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/zh_TW/LC_MESSAGES/gnome-utils-2.0.mo +@dirrm share/gnome/pixmaps/gnome-system-log +@dirrm share/gnome/help/gnome-system-log/ja/figures +@dirrm share/gnome/help/gnome-system-log/ja +@dirrm share/gnome/help/gnome-system-log/C/figures +@dirrm share/gnome/help/gnome-system-log/C +@dirrm share/gnome/help/gnome-system-log +@dirrm share/gnome/help/gnome-search-tool/ja/figures +@dirrm share/gnome/help/gnome-search-tool/ja +@dirrm share/gnome/help/gnome-search-tool/C/figures +@dirrm share/gnome/help/gnome-search-tool/C +@dirrm share/gnome/help/gnome-search-tool +@dirrm share/gnome/help/gnome-dictionary/ja/figures +@dirrm share/gnome/help/gnome-dictionary/ja +@dirrm share/gnome/help/gnome-dictionary/C/figures +@dirrm share/gnome/help/gnome-dictionary/C +@dirrm share/gnome/help/gnome-dictionary +@dirrm share/gnome/help/gnome-character-map/ja/figures +@dirrm share/gnome/help/gnome-character-map/ja +@dirrm share/gnome/help/gnome-character-map/C/figures +@dirrm share/gnome/help/gnome-character-map/C +@dirrm share/gnome/help/gnome-character-map +@dirrm share/gnome/help/gnome-calculator/ja/figures +@dirrm share/gnome/help/gnome-calculator/ja +@dirrm share/gnome/help/gnome-calculator/C/figures +@dirrm share/gnome/help/gnome-calculator/C +@dirrm share/gnome/help/gnome-calculator +@dirrm share/gnome/help/gdialog/ja/figures +@dirrm share/gnome/help/gdialog/ja +@dirrm share/gnome/help/gdialog/C/figures +@dirrm share/gnome/help/gdialog/C +@dirrm share/gnome/gnome-system-log +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-system-log +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-search-tool +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-dictionary +@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-system-log +@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-search-tool +@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-dictionary +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gdialog-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gdialog-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-calculator-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-calculator-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-character-map-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-character-map-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-dictionary-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-dictionary-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-search-tool-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-search-tool-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-system-log-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-system-log-ja.omf 2>/dev/null || /usr/bin/true diff --git a/deskutils/gnomeutils2/Makefile b/deskutils/gnomeutils2/Makefile new file mode 100644 index 000000000..c0df6fec9 --- /dev/null +++ b/deskutils/gnomeutils2/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: gnomeutils2 +# Date created: 06 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/deskutils/gnomeutils2/Makefile,v 1.61 2003/04/06 21:16:03 marcus Exp $ +# + +PORTNAME= gnomeutils2 +PORTVERSION= 2.3.0 +PORTEPOCH= 1 +CATEGORIES= misc gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-utils/2.3 +DISTNAME= gnome-utils-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2.0 support utilities + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +GNOME_DESKTOP_VERSION=2 +USE_GNOME= gnomeprefix gnomehack gnomehier gnomepanel +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +MAN1= gnome-calculator.1 \ + gnome-character-map.1 gnome-dictionary.1 \ + gnome-search-tool.1 gnome-system-log.1 gdialog.1 + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/deskutils/gnomeutils2/distinfo b/deskutils/gnomeutils2/distinfo new file mode 100644 index 000000000..262d795ec --- /dev/null +++ b/deskutils/gnomeutils2/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/gnome-utils-2.3.0.tar.bz2) = bf65a3ed02649c9f7753a2a61d2ffc19 diff --git a/deskutils/gnomeutils2/files/patch-ad b/deskutils/gnomeutils2/files/patch-ad new file mode 100644 index 000000000..65ebff071 --- /dev/null +++ b/deskutils/gnomeutils2/files/patch-ad @@ -0,0 +1,28 @@ +--- gdialog/dialog.h.orig Tue Jul 6 16:23:33 1999 ++++ gdialog/dialog.h Wed Aug 18 11:34:23 1999 +@@ -36,24 +36,7 @@ + #include <gnome.h> + #endif + +-#ifdef ultrix +-# include <cursesX.h> +-#else +-# if defined(USE_NCURSES) && !defined(RENAMED_NCURSES) +-# include <ncurses.h> +-# else +-# if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(__sgi) +-# define hacked 1 +-# define _XOPEN_SOURCE_EXTENDED +-# define _ACS_COMPAT_CODE +-# endif +-# include <curses.h> +-# ifdef hacked +-# undef _XOPEN_SOURCE_EXTENDED +-# undef _ACS_COMPAT_CODE +-# endif +-# endif +-#endif ++#include <ncurses.h> + + /* + * Change these if you want diff --git a/deskutils/gnomeutils2/files/patch-ai b/deskutils/gnomeutils2/files/patch-ai new file mode 100644 index 000000000..5e5610983 --- /dev/null +++ b/deskutils/gnomeutils2/files/patch-ai @@ -0,0 +1,11 @@ +--- xmldocs.make.orig Mon Mar 25 22:21:17 2002 ++++ xmldocs.make Sun Apr 13 01:23:01 2003 +@@ -37,7 +37,7 @@ + # This variable (docdir) specifies where the documents should be installed. + # This default value should work for most packages. + # docdir = $(datadir)/@PACKAGE@/doc/$(docname)/$(lang) +-docdir = $(datadir)/gnome/help/$(docname)/$(lang) ++docdir = $(datadir)/help/$(docname)/$(lang) + + # ************** You should not have to edit below this line ******************* + xml_files = $(entities) $(docname).xml diff --git a/deskutils/gnomeutils2/files/patch-configure b/deskutils/gnomeutils2/files/patch-configure new file mode 100644 index 000000000..d5d7d0e10 --- /dev/null +++ b/deskutils/gnomeutils2/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Nov 25 09:25:29 2002 ++++ configure Tue Nov 26 16:04:42 2002 +@@ -10347,7 +10347,7 @@ + + + cat >>confdefs.h <<_ACEOF +-#define GNOME_ICONDIR "${prefix}/share/pixmaps" ++#define GNOME_ICONDIR "${datadir}/pixmaps" + _ACEOF + + diff --git a/deskutils/gnomeutils2/files/patch-logview::log_repaint.c b/deskutils/gnomeutils2/files/patch-logview::log_repaint.c new file mode 100644 index 000000000..eff0581b0 --- /dev/null +++ b/deskutils/gnomeutils2/files/patch-logview::log_repaint.c @@ -0,0 +1,15 @@ + +$FreeBSD: ports/deskutils/gnomeutils2/files/patch-logview::log_repaint.c,v 1.2 2003/02/07 18:42:09 marcus Exp $ + +--- logview/log_repaint.c 2001/11/23 16:01:55 1.1 ++++ logview/log_repaint.c 2001/11/23 16:02:30 +@@ -24,7 +24,9 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> ++#ifdef HAVE_MALLOC_H + #include <malloc.h> ++#endif + #include <string.h> + #include <gnome.h> + #include "logview.h" diff --git a/deskutils/gnomeutils2/files/patch-logview::logrtns.h b/deskutils/gnomeutils2/files/patch-logview::logrtns.h new file mode 100644 index 000000000..8c77a7983 --- /dev/null +++ b/deskutils/gnomeutils2/files/patch-logview::logrtns.h @@ -0,0 +1,15 @@ + +$FreeBSD: ports/deskutils/gnomeutils2/files/patch-logview::logrtns.h,v 1.2 2003/02/07 18:42:09 marcus Exp $ + +--- logview/logrtns.h 2001/11/23 16:04:00 1.1 ++++ logview/logrtns.h 2001/11/23 16:04:14 +@@ -24,7 +24,9 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> ++#ifdef HAVE_MALLOC_H + #include <malloc.h> ++#endif + #include <string.h> + #include "logview.h" + diff --git a/deskutils/gnomeutils2/files/patch-logview_logview.c b/deskutils/gnomeutils2/files/patch-logview_logview.c new file mode 100644 index 000000000..49e8b06b3 --- /dev/null +++ b/deskutils/gnomeutils2/files/patch-logview_logview.c @@ -0,0 +1,29 @@ +--- logview/logview.c.orig Tue May 7 00:03:16 2002 ++++ logview/logview.c Tue May 7 00:04:37 2002 +@@ -903,7 +903,7 @@ + + if ( ! found) { + g_snprintf (full_name, sizeof (full_name), +- "%s/share/gnome-system-log/gnome-system-log-regexp.db", LOGVIEWINSTALLPREFIX); ++ "%s/gnome-system-log/gnome-system-log-regexp.db", DATADIR); + if (access (full_name, R_OK) == 0) { + found = TRUE; + g_free (cfg->regexp_db_path); +@@ -926,7 +926,7 @@ + + if ( ! found) { + g_snprintf (full_name, sizeof (full_name), +- "%s/share/gnome-system-log/gnome-system-log-descript.db", LOGVIEWINSTALLPREFIX); ++ "%s/gnome-system-log/gnome-system-log-descript.db", DATADIR); + if (access (full_name, R_OK) == 0) { + found = TRUE; + g_free (cfg->descript_db_path); +@@ -960,7 +960,7 @@ + + if ( ! found) { + g_snprintf (full_name, sizeof (full_name), +- "%s/share/gnome-system-log/gnome-system-log-actions.db", LOGVIEWINSTALLPREFIX); ++ "%s/gnome-system-log/gnome-system-log-actions.db", DATADIR); + if (access (full_name, R_OK) == 0) { + found = TRUE; + g_free (cfg->action_db_path); diff --git a/deskutils/gnomeutils2/pkg-descr b/deskutils/gnomeutils2/pkg-descr new file mode 100644 index 000000000..af1715c69 --- /dev/null +++ b/deskutils/gnomeutils2/pkg-descr @@ -0,0 +1 @@ +GNOME 2.0 support utilities. diff --git a/deskutils/gnomeutils2/pkg-plist b/deskutils/gnomeutils2/pkg-plist new file mode 100644 index 000000000..c94b05672 --- /dev/null +++ b/deskutils/gnomeutils2/pkg-plist @@ -0,0 +1,193 @@ +bin/gdialog +bin/gnome-calculator +bin/gnome-character-map +bin/gnome-dictionary +bin/gnome-search-tool +bin/gnome-system-log +etc/gconf/gconf.xml.defaults/apps/gnome-dictionary/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/gnome-search-tool/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/gnome-system-log/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/gnome-dictionary/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/gnome-search-tool/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/gnome-system-log/%gconf.xml +etc/gconf/schemas/logview.schemas +etc/gconf/schemas/gdict.schemas +etc/gconf/schemas/gnome-search-tool.schemas +libdata/bonobo/servers/GNOME_GDictApplet.server +libexec/gdict-applet +share/gnome/applications/gnome-calculator.desktop +share/gnome/applications/gnome-character-map.desktop +share/gnome/applications/gnome-dictionary.desktop +share/gnome/applications/gnome-search-tool.desktop +share/gnome/applications/gnome-system-log.desktop +share/gnome/gnome-2.0/ui/GNOME_GDictApplet.xml +share/gnome/gnome-system-log/gnome-system-log-actions.db +share/gnome/gnome-system-log/gnome-system-log-descript.db +share/gnome/gnome-system-log/gnome-system-log-regexp.db +share/gnome/help/gdialog/C/figures/example-dialog.png +share/gnome/help/gdialog/C/figures/gdialog-msgbox.png +share/gnome/help/gdialog/C/figures/gdialog-yesno.png +share/gnome/help/gdialog/C/gdialog.xml +share/gnome/help/gdialog/C/legal.xml +share/gnome/help/gdialog/ja/figures/example-dialog.png +share/gnome/help/gdialog/ja/figures/gdialog-msgbox.png +share/gnome/help/gdialog/ja/figures/gdialog-yesno.png +share/gnome/help/gdialog/ja/gdialog.xml +share/gnome/help/gdialog/ja/legal.xml +share/gnome/help/gnome-calculator/C/figures/gcalc_window.png +share/gnome/help/gnome-calculator/C/gnome-calculator.xml +share/gnome/help/gnome-calculator/C/legal.xml +share/gnome/help/gnome-calculator/ja/figures/gcalc_window.png +share/gnome/help/gnome-calculator/ja/gnome-calculator.xml +share/gnome/help/gnome-calculator/ja/legal.xml +share/gnome/help/gnome-character-map/C/figures/gnome-character-map.png +share/gnome/help/gnome-character-map/C/gnome-character-map.xml +share/gnome/help/gnome-character-map/C/legal.xml +share/gnome/help/gnome-character-map/ja/figures/gnome-character-map.png +share/gnome/help/gnome-character-map/ja/gnome-character-map.xml +share/gnome/help/gnome-character-map/ja/legal.xml +share/gnome/help/gnome-dictionary/C/figures/gdict_applet.png +share/gnome/help/gnome-dictionary/C/figures/gdict_window.png +share/gnome/help/gnome-dictionary/C/gnome-dictionary.xml +share/gnome/help/gnome-dictionary/C/legal.xml +share/gnome/help/gnome-dictionary/ja/figures/gdict_applet.png +share/gnome/help/gnome-dictionary/ja/figures/gdict_window.png +share/gnome/help/gnome-dictionary/ja/gnome-dictionary.xml +share/gnome/help/gnome-dictionary/ja/legal.xml +share/gnome/help/gnome-search-tool/C/figures/gnome-search-tool_window.png +share/gnome/help/gnome-search-tool/C/gnome-search-tool.xml +share/gnome/help/gnome-search-tool/C/legal.xml +share/gnome/help/gnome-search-tool/ja/figures/gnome-search-tool_window.png +share/gnome/help/gnome-search-tool/ja/gnome-search-tool.xml +share/gnome/help/gnome-search-tool/ja/legal.xml +share/gnome/help/gnome-system-log/C/figures/syslog_window.png +share/gnome/help/gnome-system-log/C/gnome-system-log.xml +share/gnome/help/gnome-system-log/C/legal.xml +share/gnome/help/gnome-system-log/ja/figures/syslog_window.png +share/gnome/help/gnome-system-log/ja/gnome-system-log.xml +share/gnome/help/gnome-system-log/ja/legal.xml +share/gnome/omf/gnome-utils/gdialog-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gdialog-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gdialog-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gdialog-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-calculator-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-calculator-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-calculator-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-calculator-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-character-map-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-character-map-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-character-map-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-character-map-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-dictionary-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-dictionary-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-dictionary-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-dictionary-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-search-tool-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-search-tool-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-search-tool-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-search-tool-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-system-log-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-system-log-C.omf 2>/dev/null || /usr/bin/true +share/gnome/omf/gnome-utils/gnome-system-log-ja.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-utils/gnome-system-log-ja.omf 2>/dev/null || /usr/bin/true +share/gnome/pixmaps/gdict.png +share/gnome/pixmaps/gnome-character-map.png +share/gnome/pixmaps/gnome-searchtool.png +share/locale/am/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ar/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/az/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/be/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/bg/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ca/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/cs/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/da/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/de/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/el/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/en_GB/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/es/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/et/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/eu/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/fa/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/fi/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/fr/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ga/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/gl/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/he/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/hi/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/hu/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/it/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ja/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ko/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/lt/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/lv/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/mk/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ml/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/mn/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ms/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/nl/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/nn/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/no/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/pl/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/pt/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/pt_BR/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ro/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ru/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/sk/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/sl/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/sv/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/ta/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/tr/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/uk/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/vi/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/wa/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/zh_CN/LC_MESSAGES/gnome-utils-2.0.mo +share/locale/zh_TW/LC_MESSAGES/gnome-utils-2.0.mo +@dirrm share/gnome/pixmaps/gnome-system-log +@dirrm share/gnome/help/gnome-system-log/ja/figures +@dirrm share/gnome/help/gnome-system-log/ja +@dirrm share/gnome/help/gnome-system-log/C/figures +@dirrm share/gnome/help/gnome-system-log/C +@dirrm share/gnome/help/gnome-system-log +@dirrm share/gnome/help/gnome-search-tool/ja/figures +@dirrm share/gnome/help/gnome-search-tool/ja +@dirrm share/gnome/help/gnome-search-tool/C/figures +@dirrm share/gnome/help/gnome-search-tool/C +@dirrm share/gnome/help/gnome-search-tool +@dirrm share/gnome/help/gnome-dictionary/ja/figures +@dirrm share/gnome/help/gnome-dictionary/ja +@dirrm share/gnome/help/gnome-dictionary/C/figures +@dirrm share/gnome/help/gnome-dictionary/C +@dirrm share/gnome/help/gnome-dictionary +@dirrm share/gnome/help/gnome-character-map/ja/figures +@dirrm share/gnome/help/gnome-character-map/ja +@dirrm share/gnome/help/gnome-character-map/C/figures +@dirrm share/gnome/help/gnome-character-map/C +@dirrm share/gnome/help/gnome-character-map +@dirrm share/gnome/help/gnome-calculator/ja/figures +@dirrm share/gnome/help/gnome-calculator/ja +@dirrm share/gnome/help/gnome-calculator/C/figures +@dirrm share/gnome/help/gnome-calculator/C +@dirrm share/gnome/help/gnome-calculator +@dirrm share/gnome/help/gdialog/ja/figures +@dirrm share/gnome/help/gdialog/ja +@dirrm share/gnome/help/gdialog/C/figures +@dirrm share/gnome/help/gdialog/C +@dirrm share/gnome/gnome-system-log +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-system-log +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-search-tool +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-dictionary +@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-system-log +@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-search-tool +@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-dictionary +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gdialog-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gdialog-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-calculator-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-calculator-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-character-map-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-character-map-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-dictionary-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-dictionary-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-search-tool-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-search-tool-ja.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-system-log-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-utils/gnome-system-log-ja.omf 2>/dev/null || /usr/bin/true |