Skip site navigation (1)Skip section navigation (2)
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

--=-DcND51X1e/6HnbtXCfwO
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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



--=-DcND51X1e/6HnbtXCfwO
Content-Disposition: attachment; filename=Makefile.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-makefile; charset=ISO-8859-1

--- Makefile.orig	Fri Feb  8 16:53:18 2002
+++ Makefile	Fri Feb  8 19:13:39 2002
@@ -33,6 +33,7 @@
 USE_AUTOMAKE=3D	yes
 USE_GMAKE=3D	yes
 USE_GTK=3D	yes
+WANT_GNOME=3D	yes
 AUTOMAKE=3D	${WRKSRC}/autogen.sh && ${FIXME}
 CONFIGURE_ENV=3D	CPPFLAGS=3D"-I${LOCALBASE}/include" \
 		LDFLAGS=3D"-L${LOCALBASE}/lib -lgiconv"
@@ -41,6 +42,18 @@
 		    's|\$$\(libdir\)/\@PACKAGE\@|\$$\(datadir\)/\@PACKAGE\@|g ; \
 		     s|\@DEFS\@|-I${WRKSRC}/../libiconv/include \@DEFS\@|g'
=20
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+USE_GNOME=3D	yes
+PLIST_SUB+=3D	GNOMEINSTALL=3D""
+PLIST_SUB+=3D	GNOMECOMMENT=3D"@comment "
+CONFIGURE_ARGS=3D	--enable-gnome
+.else
+PLIST_SUB+=3D GNOMEINSTALL=3D"@comment "
+PLIST_SUB+=3D GNOMECOMMENT=3D""
+.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}
=20
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

--=-DcND51X1e/6HnbtXCfwO
Content-Disposition: attachment; filename=pkg-plist.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1

--- 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

--=-DcND51X1e/6HnbtXCfwO--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1013214863.81141.43.camel>