diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-12 01:16:10 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-12 01:16:10 +0800 |
commit | da74e1e2753beef93258c048d602476b4b4dfd7c (patch) | |
tree | 38d55d2134664c2fa5ec17aa6dadae38a1ec9e4f /deskutils | |
parent | 355f300440d2bd9dae6636ba5c8bf4eacacc9567 (diff) | |
download | freebsd-ports-graphics-da74e1e2753beef93258c048d602476b4b4dfd7c.tar.gz freebsd-ports-graphics-da74e1e2753beef93258c048d602476b4b4dfd7c.tar.zst freebsd-ports-graphics-da74e1e2753beef93258c048d602476b4b4dfd7c.zip |
Convert all core GNOME1 components and some of the most popular GNOME1
apps to bsd.gnomeng.mk. The goal is to make GNOME1 framework more modular,
which will allow to use GNOME1 apps with GNOME2 desktop as well as considerably
reduce langht of dependency chains for GNOME1 ports (for example after this
commit AbiWord's dependency chain was reduced by 7 ports from 57 to only
50, while Gnumeric's - from 60 to 53 and so on).
The most of the GNOME1 apps are still not converted, so that lot of work is
still ahead.
Please report any unusual problems to gnome@FreeBSD.org.
Discussed with: marcus
Reviewed by: marcus
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/gnucash/Makefile | 11 | ||||
-rw-r--r-- | deskutils/gnucash/files/patch-configure | 18 | ||||
-rw-r--r-- | deskutils/gnucash/files/patch-ltmain.sh | 28 | ||||
-rw-r--r-- | deskutils/gnucash/files/patch-po::Makefile.in.in | 7 | ||||
-rw-r--r-- | deskutils/gnucash/files/patch-src::gnome::Makefile.in | 14 |
5 files changed, 31 insertions, 47 deletions
diff --git a/deskutils/gnucash/Makefile b/deskutils/gnucash/Makefile index b6acbed8784..85faa7a61fa 100644 --- a/deskutils/gnucash/Makefile +++ b/deskutils/gnucash/Makefile @@ -35,9 +35,10 @@ USE_X_PREFIX= yes USE_GMAKE= yes USE_XPM= yes USE_PERL5= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomeprint libglade gtkhtml libghttp USE_REINPLACE= yes -GNU_CONFIGURE= yes +USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ @@ -45,12 +46,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ MAN1= gnc-prices.1 gnucash.1 -pre-patch: +post-patch: @${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \ - 's|[{]datadir[}]/gnome/|(datadir)/|g ; \ - s|[{]datadir[}]/aclocal|(prefix)/share/aclocal|g ; \ - s|[{]datadir[}]/locale|(prefix)/share/locale|g' .include <bsd.port.mk> diff --git a/deskutils/gnucash/files/patch-configure b/deskutils/gnucash/files/patch-configure index cb1f57af28a..f5f7a504dc4 100644 --- a/deskutils/gnucash/files/patch-configure +++ b/deskutils/gnucash/files/patch-configure @@ -1,9 +1,17 @@ $FreeBSD$ ---- configure.orig Thu Jan 10 12:57:53 2002 -+++ configure Thu Jan 10 12:59:14 2002 -@@ -9608,7 +9608,7 @@ +--- configure.orig Mon Mar 11 00:50:12 2002 ++++ configure Thu Jul 11 11:16:21 2002 +@@ -5229,6 +5229,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -9608,7 +9609,7 @@ withval="$with_help_prefix" GNC_HELPDIR="$with_help_prefix/gnome/help/gnucash" else @@ -12,7 +20,7 @@ $FreeBSD$ fi -@@ -10128,7 +10128,7 @@ +@@ -10128,7 +10129,7 @@ if test "$prefer_db1" = "yes"; then @@ -21,7 +29,7 @@ $FreeBSD$ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -@@ -10168,7 +10168,7 @@ +@@ -10168,7 +10169,7 @@ fi done diff --git a/deskutils/gnucash/files/patch-ltmain.sh b/deskutils/gnucash/files/patch-ltmain.sh deleted file mode 100644 index 022bcf04f82..00000000000 --- a/deskutils/gnucash/files/patch-ltmain.sh +++ /dev/null @@ -1,28 +0,0 @@ - -$FreeBSD$ - ---- ltmain.sh.orig Mon Nov 12 01:53:44 2001 -+++ ltmain.sh Thu Jan 10 13:04:25 2002 -@@ -2408,6 +2408,9 @@ - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; -+ *-*-freebsd*) -+ # FreeBSD doesn't need this... -+ ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test "$build_libtool_need_lc" = "yes"; then -@@ -4175,10 +4178,12 @@ - fi - - # Install the pseudo-library for information purposes. -+ if /usr/bin/false; then - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - instname="$dir/$name"i - $show "$install_prog $instname $destdir/$name" - $run eval "$install_prog $instname $destdir/$name" || exit $? -+ fi - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/deskutils/gnucash/files/patch-po::Makefile.in.in b/deskutils/gnucash/files/patch-po::Makefile.in.in deleted file mode 100644 index 5586a26e17f..00000000000 --- a/deskutils/gnucash/files/patch-po::Makefile.in.in +++ /dev/null @@ -1,7 +0,0 @@ ---- po/Makefile.in.in.orig Fri Apr 27 01:23:42 2001 -+++ po/Makefile.in.in Tue May 22 18:25:29 2001 -@@ -22,3 +22,3 @@ - datadir = @datadir@ --localedir = $(datadir)/locale -+localedir = $(prefix)/share/locale - gettextsrcdir = $(datadir)/gettext/po diff --git a/deskutils/gnucash/files/patch-src::gnome::Makefile.in b/deskutils/gnucash/files/patch-src::gnome::Makefile.in new file mode 100644 index 00000000000..2e9afd4bd04 --- /dev/null +++ b/deskutils/gnucash/files/patch-src::gnome::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/gnome/Makefile.in 2002/07/11 09:16:01 1.1 ++++ src/gnome/Makefile.in 2002/07/11 09:16:10 +@@ -226,7 +226,7 @@ + window-report.c + + +-gnomeappdir = ${datadir}/gnome/apps/Applications ++gnomeappdir = ${datadir}/apps/Applications + + gnomeapp_DATA = gnucash.desktop + |