aboutsummaryrefslogtreecommitdiffstats
path: root/x11/yelp
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-18 14:49:37 +0800
committermarcus <marcus@FreeBSD.org>2003-09-18 14:49:37 +0800
commit5797d600f46f09de6f7e9f89bd9546544d3f93e6 (patch)
treef29aa772e064572f168522a552ce158c9147a8a2 /x11/yelp
parentf8ccc20f69f18bf5f775fc1a7f7a5098f7173ac1 (diff)
downloadfreebsd-ports-gnome-5797d600f46f09de6f7e9f89bd9546544d3f93e6.tar.gz
freebsd-ports-gnome-5797d600f46f09de6f7e9f89bd9546544d3f93e6.tar.zst
freebsd-ports-gnome-5797d600f46f09de6f7e9f89bd9546544d3f93e6.zip
Update to GNOME 2.4.0. For all the goodies on what's changed, known issues,
future plans, etc., please see http://www.gnome.org/start/2.4/. This commit represents work done by adamw, bland, and myself as well as many other contributers: Koop Mast <einekoai@chello.nl> Akifyev Sergey <asa@gascom.ru> Franz Klammer <klammer@webonaut.com> Øyvind Kolbu <oyvind@kebab.gaffel.nu> Thomas E. Zander <riggs@rrr.de> Jeremy Messenger <mezz7@cox.net> Without these contirbuters, and our faithful users, GNOME 2.4.0 would not be possible. Please check the FreeBSD GNOME site for any FreeBSD gotchas, as well as general FAQs and documentation (GNOME 2.4 updates to be posted soon). The best way to upgrade so that you get all shared library dependencies is: portupgrade -rf -m BATCH=yes atk portupgrade -R -m BATCH=yes gnome2 Approved by: portmgr (kris, will, myself implicitly) Requested by: re as well as many other users
Diffstat (limited to 'x11/yelp')
-rw-r--r--x11/yelp/Makefile8
-rw-r--r--x11/yelp/distinfo2
-rw-r--r--x11/yelp/files/patch-configure18
-rw-r--r--x11/yelp/files/patch-src_man2html_yelp-man2html.c55
-rw-r--r--x11/yelp/pkg-plist13
5 files changed, 83 insertions, 13 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
index 75d9b48355f0..650b22d2eba8 100644
--- a/x11/yelp/Makefile
+++ b/x11/yelp/Makefile
@@ -6,20 +6,20 @@
#
PORTNAME= yelp
-PORTVERSION= 2.2.3
+PORTVERSION= 2.4.0
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.2
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.4
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
-COMMENT= A help browser for GNOME 2.0 desktop
+COMMENT= A help browser for the GNOME 2 desktop
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_GMAKE= yes
USE_REINPLACE= yes
USE_GNOME= gnomeprefix gnomehack libgnomeui libgtkhtml
-USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/x11/yelp/distinfo b/x11/yelp/distinfo
index 99b002995697..c1e18360b234 100644
--- a/x11/yelp/distinfo
+++ b/x11/yelp/distinfo
@@ -1 +1 @@
-MD5 (gnome2/yelp-2.2.3.tar.bz2) = 46727cccf4e8d17ec5102e8274b5145c
+MD5 (gnome2/yelp-2.4.0.tar.bz2) = 98529a608fd28b9db065d887039df16d
diff --git a/x11/yelp/files/patch-configure b/x11/yelp/files/patch-configure
index a6e8fbc286f0..20702046e4a8 100644
--- a/x11/yelp/files/patch-configure
+++ b/x11/yelp/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Tue May 28 02:02:29 2002
-+++ configure Tue May 28 02:03:10 2002
-@@ -7381,6 +7381,7 @@
+--- configure.orig Tue Aug 12 03:36:10 2003
++++ configure Tue Aug 12 10:30:37 2003
+@@ -18129,6 +18129,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
@@ -8,12 +8,18 @@
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -9979,7 +9980,7 @@
+@@ -20408,12 +20409,12 @@
YELP_MODULES="gnome-vfs-2.0 libgnomeui-2.0 libbonobo-2.0"
-YELP_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir gnome-vfs-2.0 libgnomeui-2.0 libbonobo-2.0 bonobo-activation-2.0| sed -e 's/^/ /' -e 's/ \+$//' -e 's/ \+/ -I /g' -e 's/^ \+//'`"
+YELP_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir libgtkhtml-2.0 gnome-vfs-2.0 libgnomeui-2.0 libbonobo-2.0 bonobo-activation-2.0| xargs -n1 echo -n ' -I '`"
- echo "$as_me:9984: checking for bzread in -lbz2" >&5
- echo $ECHO_N "checking for bzread in -lbz2... $ECHO_C" >&6
+
+
+ case $host in
+- *-linux-gnu | *-irix6*)
++ *-linux-gnu | *-irix6* | *-freebsd*)
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_MAN_WHEREIS 1
+ _ACEOF
diff --git a/x11/yelp/files/patch-src_man2html_yelp-man2html.c b/x11/yelp/files/patch-src_man2html_yelp-man2html.c
new file mode 100644
index 000000000000..e30c81ba0d7e
--- /dev/null
+++ b/x11/yelp/files/patch-src_man2html_yelp-man2html.c
@@ -0,0 +1,55 @@
+--- src/man2html/yelp-man2html.c.orig Tue Jun 24 05:03:50 2003
++++ src/man2html/yelp-man2html.c Thu Aug 14 15:47:14 2003
+@@ -129,6 +129,7 @@
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
++#include <sys/param.h>
+ #include <sys/types.h>
+ #include <time.h>
+ #include <sys/time.h>
+@@ -3727,6 +3728,9 @@
+ main(int argc, char **argv)
+ {
+ char *t=NULL;
++#ifdef __FreeBSD__
++ char *source=NULL;
++#endif
+ int i,len;
+ char *buf;
+ char *h = '\0';
+@@ -3845,6 +3849,24 @@
+ * right.
+ */
+
++#ifdef __FreeBSD__
++ if ((source = strstr(output, "source: ")) != NULL)
++ {
++ int j;
++ for(i = 8, j = 0; i < strlen(source); i++)
++ {
++ if (!g_ascii_isspace((unsigned char)source[i]) && source[i] != ')')
++ {
++ output[j++] = source[i];
++ }
++ }
++ output[j] = '\0';
++ } else {
++ i = strlen(output) - 1;
++ while (g_ascii_isspace((unsigned char)output[i]))
++ output[i--] = '\0';
++ }
++#else
+ len = strlen(output);
+ for(i = 0; i < len; i++)
+ {
+@@ -3855,8 +3877,7 @@
+ i = strlen(output) - 1;
+ while (g_ascii_isspace((unsigned char)output[i]))
+ output[i--] = '\0';
+-
+-
++#endif
+ if (output[0]) {
+ #ifdef HAVE_LIBBZ2
+ if(strstr(output,".bz2"))
diff --git a/x11/yelp/pkg-plist b/x11/yelp/pkg-plist
index 4cfeb4c42f5f..8d2e137bebb1 100644
--- a/x11/yelp/pkg-plist
+++ b/x11/yelp/pkg-plist
@@ -1,9 +1,10 @@
-bin/gman
bin/gnome-help
bin/yelp
bin/yelp-pregenerate
libdata/bonobo/servers/GNOME_Yelp.server
libexec/yelp-db2html
+libexec/yelp-info2html
+libexec/yelp-man2html
share/gnome/applications/yelp.desktop
share/gnome/images/yelp/bcg.png
share/gnome/images/yelp/empty.png
@@ -126,14 +127,19 @@ share/gnome/sgml/docbook/yelp/docbook/html/verbatim.xsl
share/gnome/sgml/docbook/yelp/docbook/html/xref.xsl
share/gnome/sgml/docbook/yelp/docbook/images/blank.png
share/gnome/sgml/docbook/yelp/docbook/images/caution.png
+share/gnome/sgml/docbook/yelp/docbook/images/home.png
share/gnome/sgml/docbook/yelp/docbook/images/important.png
+share/gnome/sgml/docbook/yelp/docbook/images/next.png
share/gnome/sgml/docbook/yelp/docbook/images/note.png
+share/gnome/sgml/docbook/yelp/docbook/images/prev.png
share/gnome/sgml/docbook/yelp/docbook/images/tip.png
+share/gnome/sgml/docbook/yelp/docbook/images/up.png
share/gnome/sgml/docbook/yelp/docbook/images/warning.png
share/gnome/sgml/docbook/yelp/docbook/lib/lib.xsl
share/gnome/sgml/docbook/yelp/l10n.xml
share/gnome/sgml/docbook/yelp/yelp-custom.xsl
share/gnome/sgml/docbook/yelp/yelp-customization.xsl
+share/gnome/sgml/docbook/yelp/yelp-functions.xsl
share/gnome/yelp/catalog
share/gnome/yelp/important_docs.xml
share/gnome/yelp/ui/yelp.glade
@@ -145,6 +151,7 @@ share/locale/bg/LC_MESSAGES/yelp.mo
share/locale/bn/LC_MESSAGES/yelp.mo
share/locale/ca/LC_MESSAGES/yelp.mo
share/locale/cs/LC_MESSAGES/yelp.mo
+share/locale/cy/LC_MESSAGES/yelp.mo
share/locale/da/LC_MESSAGES/yelp.mo
share/locale/de/LC_MESSAGES/yelp.mo
share/locale/el/LC_MESSAGES/yelp.mo
@@ -165,11 +172,13 @@ share/locale/it/LC_MESSAGES/yelp.mo
share/locale/ja/LC_MESSAGES/yelp.mo
share/locale/kn/LC_MESSAGES/yelp.mo
share/locale/ko/LC_MESSAGES/yelp.mo
+share/locale/li/LC_MESSAGES/yelp.mo
share/locale/lv/LC_MESSAGES/yelp.mo
share/locale/mk/LC_MESSAGES/yelp.mo
share/locale/ml/LC_MESSAGES/yelp.mo
share/locale/mn/LC_MESSAGES/yelp.mo
share/locale/ms/LC_MESSAGES/yelp.mo
+share/locale/ne/LC_MESSAGES/yelp.mo
share/locale/nl/LC_MESSAGES/yelp.mo
share/locale/nn/LC_MESSAGES/yelp.mo
share/locale/no/LC_MESSAGES/yelp.mo
@@ -180,9 +189,9 @@ share/locale/ro/LC_MESSAGES/yelp.mo
share/locale/ru/LC_MESSAGES/yelp.mo
share/locale/sk/LC_MESSAGES/yelp.mo
share/locale/sl/LC_MESSAGES/yelp.mo
+share/locale/sq/LC_MESSAGES/yelp.mo
share/locale/sr/LC_MESSAGES/yelp.mo
share/locale/sr@Latn/LC_MESSAGES/yelp.mo
-share/locale/sq/LC_MESSAGES/yelp.mo
share/locale/sv/LC_MESSAGES/yelp.mo
share/locale/ta/LC_MESSAGES/yelp.mo
share/locale/th/LC_MESSAGES/yelp.mo