diff options
author | marcus <marcus@FreeBSD.org> | 2002-11-14 15:34:09 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-11-14 15:34:09 +0800 |
commit | 341ea3a042b72fffd04d06575f4532141ee5124e (patch) | |
tree | 0854cda5740fa0fa7a8705c9b84a83cba3942966 /sysutils | |
parent | 9378f4dc8cb61db006a6bff5ae2cfe46677d7204 (diff) | |
download | freebsd-ports-gnome-341ea3a042b72fffd04d06575f4532141ee5124e.tar.gz freebsd-ports-gnome-341ea3a042b72fffd04d06575f4532141ee5124e.tar.zst freebsd-ports-gnome-341ea3a042b72fffd04d06575f4532141ee5124e.zip |
Add pkgview, a utility to determine the version of installed GNOME 2
components as well as determine the overall version of GNOME 2 installed.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/Makefile | 35 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/distinfo | 1 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/files/patch-src_config-path.c | 13 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/pkg-plist | 10 | ||||
-rw-r--r-- | sysutils/pkgview/Makefile | 35 | ||||
-rw-r--r-- | sysutils/pkgview/distinfo | 1 | ||||
-rw-r--r-- | sysutils/pkgview/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/pkgview/files/patch-src_config-path.c | 13 | ||||
-rw-r--r-- | sysutils/pkgview/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/pkgview/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/pkgview/pkg-plist | 10 |
15 files changed, 155 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 84ab23cdee29..cac0b402c8ca 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -165,6 +165,7 @@ SUBDIR += pib SUBDIR += pkg_remove SUBDIR += pkg_tree + SUBDIR += pkgview SUBDIR += pkill SUBDIR += pmap SUBDIR += portupgrade diff --git a/sysutils/gnome-pkgview/Makefile b/sysutils/gnome-pkgview/Makefile new file mode 100644 index 000000000000..ff1ab84ed182 --- /dev/null +++ b/sysutils/gnome-pkgview/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: pkgview +# Date created: 14 November 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pkgview +PORTVERSION= 0.0.6 +CATEGORIES= sysutils gnome +MASTER_SITES= http://www.gtnorthern.demon.co.uk/packages/pkgview/ + +MAINTAINER= gnome@FreeBSD.org + +LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomehier +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +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 + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + -e 's|%%X11BASE%%|${X11BASE}|g' \ + ${WRKSRC}/src/config-path.c + +.include <bsd.port.mk> diff --git a/sysutils/gnome-pkgview/distinfo b/sysutils/gnome-pkgview/distinfo new file mode 100644 index 000000000000..c131d0e60738 --- /dev/null +++ b/sysutils/gnome-pkgview/distinfo @@ -0,0 +1 @@ +MD5 (pkgview-0.0.6.tar.bz2) = 8e0b419294f812e4a45333073d014729 diff --git a/sysutils/gnome-pkgview/files/patch-configure b/sysutils/gnome-pkgview/files/patch-configure new file mode 100644 index 000000000000..a8e15c3c2e15 --- /dev/null +++ b/sysutils/gnome-pkgview/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Thu Nov 14 02:31:45 2002 ++++ configure Thu Nov 14 02:31:56 2002 +@@ -3991,7 +3991,7 @@ + + + cat >>confdefs.h <<_ACEOF +-#define GNOME_ICONDIR "${prefix}/share/pixmaps" ++#define GNOME_ICONDIR "${prefix}/share/gnome/pixmaps" + _ACEOF + + diff --git a/sysutils/gnome-pkgview/files/patch-src_config-path.c b/sysutils/gnome-pkgview/files/patch-src_config-path.c new file mode 100644 index 000000000000..2eed9821d2bb --- /dev/null +++ b/sysutils/gnome-pkgview/files/patch-src_config-path.c @@ -0,0 +1,13 @@ +--- src/config-path.c.orig Thu Nov 14 02:23:41 2002 ++++ src/config-path.c Thu Nov 14 02:29:54 2002 +@@ -14,9 +14,7 @@ + pkgs_found = 0; + + /* parse the PKG_CONFIG_PATH env var, and add a terminator */ +- if ( getenv ("PKG_CONFIG_PATH") ) { +- path = g_strconcat(getenv("PKG_CONFIG_PATH"),":DIRS_DONE",NULL); +- } ++ path = "%%LOCALBASE%%/libdata/pkgconfig:%%X11BASE%%/libdata/pkgconfig:DIRS_DONE"; + + /* walk the PKG_CONFIG_PATH for other files */ + if ( path ) { diff --git a/sysutils/gnome-pkgview/pkg-comment b/sysutils/gnome-pkgview/pkg-comment new file mode 100644 index 000000000000..09a399813ca2 --- /dev/null +++ b/sysutils/gnome-pkgview/pkg-comment @@ -0,0 +1 @@ +Displays the version of GNOME 2 components installed diff --git a/sysutils/gnome-pkgview/pkg-descr b/sysutils/gnome-pkgview/pkg-descr new file mode 100644 index 000000000000..968f1daf5f2d --- /dev/null +++ b/sysutils/gnome-pkgview/pkg-descr @@ -0,0 +1,6 @@ +Pkgview is an application that displays the versions of all installed GNOME 2 +components, then tries to guess the overall GNOME 2 version. This tool +can be very useful when trying to report bugs in GNOME's Bugzilla +database. + +WWW: http://www.gtnorthern.demon.co.uk/pkgview.html diff --git a/sysutils/gnome-pkgview/pkg-plist b/sysutils/gnome-pkgview/pkg-plist new file mode 100644 index 000000000000..09d65042f5c7 --- /dev/null +++ b/sysutils/gnome-pkgview/pkg-plist @@ -0,0 +1,10 @@ +bin/pkgview +share/gnome/applications/pkgview.desktop +share/gnome/pixmaps/pkgview/logo.png +share/gnome/pixmaps/pkgview/pkgview.png +share/locale/da/LC_MESSAGES/pkgview.mo +share/locale/de/LC_MESSAGES/pkgview.mo +share/locale/en_GB/LC_MESSAGES/pkgview.mo +share/locale/ja/LC_MESSAGES/pkgview.mo +share/locale/nl/LC_MESSAGES/pkgview.mo +@dirrm share/gnome/pixmaps/pkgview diff --git a/sysutils/pkgview/Makefile b/sysutils/pkgview/Makefile new file mode 100644 index 000000000000..ff1ab84ed182 --- /dev/null +++ b/sysutils/pkgview/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: pkgview +# Date created: 14 November 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pkgview +PORTVERSION= 0.0.6 +CATEGORIES= sysutils gnome +MASTER_SITES= http://www.gtnorthern.demon.co.uk/packages/pkgview/ + +MAINTAINER= gnome@FreeBSD.org + +LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomehier +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +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 + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + -e 's|%%X11BASE%%|${X11BASE}|g' \ + ${WRKSRC}/src/config-path.c + +.include <bsd.port.mk> diff --git a/sysutils/pkgview/distinfo b/sysutils/pkgview/distinfo new file mode 100644 index 000000000000..c131d0e60738 --- /dev/null +++ b/sysutils/pkgview/distinfo @@ -0,0 +1 @@ +MD5 (pkgview-0.0.6.tar.bz2) = 8e0b419294f812e4a45333073d014729 diff --git a/sysutils/pkgview/files/patch-configure b/sysutils/pkgview/files/patch-configure new file mode 100644 index 000000000000..a8e15c3c2e15 --- /dev/null +++ b/sysutils/pkgview/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Thu Nov 14 02:31:45 2002 ++++ configure Thu Nov 14 02:31:56 2002 +@@ -3991,7 +3991,7 @@ + + + cat >>confdefs.h <<_ACEOF +-#define GNOME_ICONDIR "${prefix}/share/pixmaps" ++#define GNOME_ICONDIR "${prefix}/share/gnome/pixmaps" + _ACEOF + + diff --git a/sysutils/pkgview/files/patch-src_config-path.c b/sysutils/pkgview/files/patch-src_config-path.c new file mode 100644 index 000000000000..2eed9821d2bb --- /dev/null +++ b/sysutils/pkgview/files/patch-src_config-path.c @@ -0,0 +1,13 @@ +--- src/config-path.c.orig Thu Nov 14 02:23:41 2002 ++++ src/config-path.c Thu Nov 14 02:29:54 2002 +@@ -14,9 +14,7 @@ + pkgs_found = 0; + + /* parse the PKG_CONFIG_PATH env var, and add a terminator */ +- if ( getenv ("PKG_CONFIG_PATH") ) { +- path = g_strconcat(getenv("PKG_CONFIG_PATH"),":DIRS_DONE",NULL); +- } ++ path = "%%LOCALBASE%%/libdata/pkgconfig:%%X11BASE%%/libdata/pkgconfig:DIRS_DONE"; + + /* walk the PKG_CONFIG_PATH for other files */ + if ( path ) { diff --git a/sysutils/pkgview/pkg-comment b/sysutils/pkgview/pkg-comment new file mode 100644 index 000000000000..09a399813ca2 --- /dev/null +++ b/sysutils/pkgview/pkg-comment @@ -0,0 +1 @@ +Displays the version of GNOME 2 components installed diff --git a/sysutils/pkgview/pkg-descr b/sysutils/pkgview/pkg-descr new file mode 100644 index 000000000000..968f1daf5f2d --- /dev/null +++ b/sysutils/pkgview/pkg-descr @@ -0,0 +1,6 @@ +Pkgview is an application that displays the versions of all installed GNOME 2 +components, then tries to guess the overall GNOME 2 version. This tool +can be very useful when trying to report bugs in GNOME's Bugzilla +database. + +WWW: http://www.gtnorthern.demon.co.uk/pkgview.html diff --git a/sysutils/pkgview/pkg-plist b/sysutils/pkgview/pkg-plist new file mode 100644 index 000000000000..09d65042f5c7 --- /dev/null +++ b/sysutils/pkgview/pkg-plist @@ -0,0 +1,10 @@ +bin/pkgview +share/gnome/applications/pkgview.desktop +share/gnome/pixmaps/pkgview/logo.png +share/gnome/pixmaps/pkgview/pkgview.png +share/locale/da/LC_MESSAGES/pkgview.mo +share/locale/de/LC_MESSAGES/pkgview.mo +share/locale/en_GB/LC_MESSAGES/pkgview.mo +share/locale/ja/LC_MESSAGES/pkgview.mo +share/locale/nl/LC_MESSAGES/pkgview.mo +@dirrm share/gnome/pixmaps/pkgview |