diff --git a/en/gnome/docs/example-Makefile.sgml b/en/gnome/docs/example-Makefile.sgml index 8ef8d3c134..39e08c0882 100644 --- a/en/gnome/docs/example-Makefile.sgml +++ b/en/gnome/docs/example-Makefile.sgml @@ -1,68 +1,68 @@ - + ]> &header;

The following is an example Makefile for a FreeBSD GNOME port.

 # New ports collection makefile for:	gnomeapp
 # Date created:						27 December 2003
 # Whom:								Some GNOME User <&email;@FreeBSD.org>
 #
-# $FreeBSD$
+# $FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.14 2008/03/23 05:23:41 mezz Exp $
 #
 
 # For this example, assume there was already a gnomeapp in the tree, and that this
 # is the GTK+-2 version (i.e. gnomeapp2 versus gnomeapp).
 PORTNAME=		gnomeapp2
 PORTVERSION=	&gnomever;.2
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
 DISTNAME=	${PORTNAME:S/2//}-${PORTVERSION}
 DIST_SUBDIR=	gnome2
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	A GNOME app that does some stuff
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes # NOTE: if the port needs ltverhack, this must be
 USE_AUTOTOOLS=libtool:15
 USE_GMAKE=		yes # same with GNU make
 # This is for i18n:
 CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
 				LDFLAGS="-L${LOCALBASE}/lib"
-USE_GNOME=		gnomehack gnometarget gtk20
+USE_GNOME=		gnomehack gtk20
 
 # This application can dock in the GNOME panel, or it can not.
 # But there's no need to build support for it if the GNOME panel
 # libraries are not installed, so only build GNOME panel support
 # if the gnomepanel port is already installed.
 WANT_GNOME=		yes
 
 .include <bsd.port.pre.mk>
 
 .if ${HAVE_GNOME:Mgnomepanel}!=""
 USE_GNOME+= 		gnomepanel
 CONFIGURE_ARGS+=    --with-gnome
 PKGNAMESUFFIX=  	-gnome
 .else
 CONFIGURE_ARGS+=    --without-gnome
 .endif
 
 # Given all the above code, the package name is either "gnomeapp2-gnome-&gnomever;.2" or
 # "gnomeapp2-&gnomever;.2", depending upon whether you want gnomepanel support. The downloaded
 # distfile will be "gnomeapp-&gnomever;.2.tar.bz2."
 
 .include <bsd.port.post.mk>
 	
&footer; diff --git a/en/gnome/docs/gnome2_porting.sgml b/en/gnome/docs/gnome2_porting.sgml index 8b86dcc869..8b157ccb31 100644 --- a/en/gnome/docs/gnome2_porting.sgml +++ b/en/gnome/docs/gnome2_porting.sgml @@ -1,400 +1,400 @@ - + ]> &header;

To see how to utilize these components, please examine the example Makefile.

- +
COMPONENT ASSOCIATED PROGRAM IMPLIED COMPONENTS
atk accessibility/atk glib20
atspi accessibility/at-spi gail libbonobo
desktopfileutils devel/desktop-file-utils glib20
eel2 x11-toolkits/eel gnomedesktop gail
evolutiondataserver databases/evolution-data-server libgnome
gail accessibility/gail gtk20
gal2 x11-toolkits/gal2 gnomeui libgnomeprintui
gconf2 devel/gconf2 orbit2 libxml2 gtk20
_glib20 devel/glib20gnometarget pkgconfigpkgconfig
glib20 devel/gio-fam-backend _glib20
gnomecontrolcenter2 sysutils/gnome-control-center metacity nautilus2 gnomemenus desktopfileutils libgnomekbd gnomepanel
gnomedesktop x11/gnome-desktop libgnomeui gnomedocutils
gnomedocutils textproc/gnome-doc-utils libxslt
gnomemenus x11/gnome-menus glib20
gnomepanel x11/gnome-panel gnomedesktop libwnck gnomemenus gnomedocutils librsvg2
gnomesharp20 x11-toolkits/gnome-sharp20 gnomepanel gtkhtml3 gtksharp20 librsvg2 vte
gnomespeech accessibility/gnome-speech libbonobo
gnomevfs2 devel/gnome-vfs gconf2 gnomemimedata
gtk20 x11-toolkits/gtk20 intltool atk pango
gtkhtml3 www/gtkhtml3 gail libgnomeui
gtksharp10 x11-toolkits/gtk-sharp10 gtk20
gtksharp20 x11-toolkits/gtk-sharp20 gtk20
gtksourceview x11-toolkits/gtksourceview libgnome libgnomeprintui
gtksourceview2 x11-toolkits/gtksourceview2 gtk20 libxml2
gvfs devel/gvfs glib20 gconf2
libartlgpl2 graphics/libart_lgpl pkgconfig
libbonobo devel/libbonobo libxml2 orbit2
libbonoboui x11-toolkits/libbonoboui libgnomecanvas libgnome
libgailgnome x11-toolkits/libgail-gnome libgnomeui atspi
libgda2 databases/libgda2 glib20 libxslt
libgda3 databases/libgda3 glib20 libxslt
libglade2 devel/libglade2 libxml2 gtk20
libgnome x11/libgnome gnomevfs2 esound libbonobo
libgnomecanvas graphics/libgnomecanvas libglade2 libartlgpl2 gail
libgnomedb databases/libgnomedb libgnomeui libgda3
libgnomekbd x11/libgnomekbd libgnomeui
libgnomeprint print/libgnomeprint libbonobo libartlgpl2 gtk20
libgnomeprintui x11-toolkits/libgnomeprintui libgnomeprint libgnomecanvas
libgnomeui x11-toolkits/libgnomeui libbonoboui
libgsf devel/libgsf gconf2 glib20 libxml2
libgsf_gnome devel/libgsf-gnome libgsf gnomevfs2
libgtkhtml www/libgtkhtml libxslt gnomevfs2 gail
libidl devel/libIDL glib20
librsvg2 graphics/librsvg2 libgsf gtk20
libwnck x11-toolkits/libwnck gtk20
libxml2 textproc/libxml2 pkgconfig
libxslt textproc/libxslt libxml2
libzvt x11-toolkits/libzvt gtk20
linc net/linc glib20
metacity x11-wm/metacity gconf2
nautilus2 x11-fm/nautilus librsvg2 eel2 gnomedesktop desktopfileutils gvfs
nautiluscdburner sysutils/nautilus-cd-burner nautilus2 desktopfileutils
orbit2 devel/ORBit2 libidl
pango x11-toolkits/pango glib20
pygnome2 x11-toolkits/py-gnome2 libgnomeui pygtk2
pygnomedesktop x11-toolkits/py-gnome-desktop pygnome2 libgnomeprintui gtksourceview gnomepanel libwnck nautiluscdburner metacity
pygnomeextras x11-toolkits/py-gnome-extras pygnome2 libgtkhtml
pygtk2 x11-toolkits/py-gtk2 libglade2
pygtksourceview x11-toolkits/py-gtksourceview gtksourceview2 pygtk2
vte x11-toolkits/vte gtk20

If you still need help with your port, have a look at some of the existing ports for examples. The freebsd-gnome mailing list is also there for you.

&footer; diff --git a/en/gnome/docs/gnome_porting.sgml b/en/gnome/docs/gnome_porting.sgml index 80c9fd6ea7..80579eb9e7 100644 --- a/en/gnome/docs/gnome_porting.sgml +++ b/en/gnome/docs/gnome_porting.sgml @@ -1,169 +1,160 @@ - + ]> &header;

To see how to utilize these components, please examine the example Makefile.

- - - - - -
COMPONENT ASSOCIATED PROGRAM IMPLIED COMPONENTS
esound audio/esound  
gnomehack gnomehack makes common GNOME Makefile substitutions that nearly every GNOME port requires to fit into the proper mtree structure.
gnomehier gnomehier installs all the directories needed for both the GNOME 1 and 2 desktops. Only include this option if your port calls @dirrm on one of the directories listed in the plist for gnomehier.
gnomemimedata misc/gnome-mime-data gnomehier pkgconfig
gnomeprefix gnomeprefix sets some CONFIGURE_ARGS to ensure data is placed properly within the GNOME hierarchy. gnomehier
gnometargetgnometarget sets - ${CONFIGURE_TARGET} for ports whose - configure script does not figure it out automatically. -  
intlhack intlhack registers a dependency upon textproc/intltool and patches broken intltool-merge.in implementations. intltool
intltool intltool registers a BUILD_DEPENDS on textproc/intltool.  
lthack lthack prevents the installation of .la files and ensures that ${PTHREAD_LIBS} will be passed to the linker. NOTE: lthack is DEPRECATED, and USE_AUTOTOOLS=libtool:15 should be used instead. See the libtool section of the porting guide for more details.  
ltasneededhack ltasneededhack hacks the port's libtool so that the -Wl,--as-needed flag is passed to the linker. This will result in shared objects with smaller ELF NEEDED sections which can improve the startup time and module load time of some applications. In order to use ltasneededhack the port must define USE_AUTOTOOLS=libtool:15. NOTE: be sure to thoroughly test the resulting application to make sure there are no undefined symbol errors after adding this hack.  
ltverhack ltverhack normalizes shared object versions so that they do not change needlessly. Using ltverhack keeps shared object versions in line with what they should be and what they end up being on other operating systems. In order to use ltverhack the port must define USE_AUTOTOOLS=libtool:15.  
pkgconfig pkgconfig registers a dependency upon devel/pkg-config to make sure it is installed.  
referencehack referencehack is designed for ports that install API reference documentation. These ports should use referencehack then another port with a -reference suffix should be created to install this documentation. See devel/glib20 and devel/glib20-reference for an example.  

If you still need help with your port, have a look at some of the existing ports for examples. The freebsd-gnome mailing list is also there for you.

&footer;