Date: 08 Feb 2002 19:34:22 -0500 From: Joe Clarke <marcus@marcuscom.com> To: sobomax@freebsd.org Cc: gnome@freebsd.org Subject: Why no GNOME for AbiWord? Message-ID: <1013214863.81141.43.camel@shumai.marcuscom.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I noticed that AbiWord doesn't build with GNOME support. It also
installs in ${LOCALBASE} instead of ${X11BASE}. Why is this? What
about this patch for AbiWord? You could also add USE_X_PREFIX, but I
haven't explicitly tested that.
When you build with GNOME support, AbiWord makes itself look like part
of GNOME Office. It uses the sound server, and uses GNOME icons. It
still doesn't integrate into the Applications menu, but that could be
fixed with a post-install task.
Joe
[-- Attachment #2 --]
--- Makefile.orig Fri Feb 8 16:53:18 2002
+++ Makefile Fri Feb 8 19:13:39 2002
@@ -33,6 +33,7 @@
USE_AUTOMAKE= yes
USE_GMAKE= yes
USE_GTK= yes
+WANT_GNOME= yes
AUTOMAKE= ${WRKSRC}/autogen.sh && ${FIXME}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgiconv"
@@ -41,6 +42,18 @@
's|\$$\(libdir\)/\@PACKAGE\@|\$$\(datadir\)/\@PACKAGE\@|g ; \
s|\@DEFS\@|-I${WRKSRC}/../libiconv/include \@DEFS\@|g'
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+USE_GNOME= yes
+PLIST_SUB+= GNOMEINSTALL=""
+PLIST_SUB+= GNOMECOMMENT="@comment "
+CONFIGURE_ARGS= --enable-gnome
+.else
+PLIST_SUB+= GNOMEINSTALL="@comment "
+PLIST_SUB+= GNOMECOMMENT=""
+.endif
+
post-patch:
@giconv -f cp1251 -t koi8-u ${WRKSRC}/user/wp/strings/uk-UA.strings > \
${WRKDIR}/.uk-UA.strings
@@ -54,4 +67,4 @@
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
[-- Attachment #3 --]
--- pkg-plist.orig Fri Feb 8 18:54:47 2002
+++ pkg-plist Fri Feb 8 19:13:48 2002
@@ -1,6 +1,6 @@
bin/AbiWord
bin/AbiWord_d
-bin/AbiWord_s
+%%GNOMECOMMENT%%bin/AbiWord_s
bin/abiword
bin/ttftool
share/AbiSuite/AbiWord/help/de-DE/about.html
@@ -570,6 +570,7 @@
share/AbiSuite/icons/abiword_48.png
share/AbiSuite/icons/abiword_48.tif
share/AbiSuite/icons/abiword_48.xpm
+%%GNOMEINSTALL%%share/AbiSuite/icons/abiword_logo.xpm
share/AbiSuite/templates/normal.awt
@dirrm share/AbiSuite/templates
@dirrm share/AbiSuite/icons
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1013214863.81141.43.camel>
