From 336b31c3940aea29270fc9fd9b51d3ba1633729e Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Fri, 7 Feb 2003 18:42:25 +0000 Subject: Update to GNOME 2.2. This is Phase I. All existing ports have been updated to their GNOME 2.2 counterparts. --- databases/libgda3/Makefile | 23 ++++++++++++++---- databases/libgda3/distinfo | 2 +- databases/libgda3/files/patch-aa | 12 +++++----- databases/libgda3/files/patch-configure | 10 -------- databases/libgda3/files/patch-ltmain.sh | 42 +++++++++++++++++++++++++++++++++ databases/libgda3/pkg-plist | 30 +++++++++++++++++++---- 6 files changed, 94 insertions(+), 25 deletions(-) delete mode 100644 databases/libgda3/files/patch-configure create mode 100644 databases/libgda3/files/patch-ltmain.sh (limited to 'databases/libgda3') diff --git a/databases/libgda3/Makefile b/databases/libgda3/Makefile index 3164c06d05b4..a0144e7dacd1 100644 --- a/databases/libgda3/Makefile +++ b/databases/libgda3/Makefile @@ -6,10 +6,10 @@ # PORTNAME= libgda2 -PORTVERSION= 0.9.0 +PORTVERSION= 0.10.0 CATEGORIES= databases gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/0.9 +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/0.10 DISTNAME= libgda-${PORTVERSION} DIST_SUBDIR= gnome2 @@ -17,7 +17,7 @@ MAINTAINER= gnome@FreeBSD.org BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \ - glib-2.0.0:${PORTSDIR}/devel/glib20 \ + glib-2.0.200:${PORTSDIR}/devel/glib20 \ xslt.1:${PORTSDIR}/textproc/libxslt \ popt.0:${PORTSDIR}/devel/popt RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper @@ -29,18 +29,20 @@ USE_REINPLACE= yes USE_GNOMENG= yes USE_GNOME= gnomeprefix gnomehack gnomehier INSTALLS_SHLIB= yes -USE_LIBTOOL= yes +GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib -lintl -lgdbm" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} MAN1= gda-config-tool.1 +MAN5= gda-config.5 .if defined(WITH_MYSQL) LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} PLIST_SUB= MYSQL="" .else +CONFIGURE_ARGS+= --without-mysql PLIST_SUB= MYSQL="@comment " .endif @@ -50,9 +52,19 @@ LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} CONFIGURE_ARGS+= --with-postgres=${LOCALBASE} PLIST_SUB+= POSTGRES="" .else +CONFIGURE_ARGS+= --without-postgres PLIST_SUB+= POSTGRES="@comment " .endif +.if defined(WITH_LDAP) +LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 +CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} +PLIST_SUB+= LDAP="" +.else +CONFIGURE_ARGS+= --without-ldap +PLIST_SUB+= LDAP="@comment " +.endif + pre-extract: .if !defined(WITH_MYSQL) @${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL." @@ -60,6 +72,9 @@ pre-extract: .if !defined(WITH_POSTGRES) @${ECHO_MSG} "You can enable support for Postgres databases by defining WITH_POSTGRES." .endif +.if !defined(WITH_LDAP) + @${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP." +.endif post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ diff --git a/databases/libgda3/distinfo b/databases/libgda3/distinfo index 333320e20848..94e335653dde 100644 --- a/databases/libgda3/distinfo +++ b/databases/libgda3/distinfo @@ -1 +1 @@ -MD5 (gnome2/libgda-0.9.0.tar.bz2) = 2d6599ba594b359a286f8f05c791b702 +MD5 (gnome2/libgda-0.10.0.tar.bz2) = 7d8ab6091d7a90e4b92fe6d123e6ae88 diff --git a/databases/libgda3/files/patch-aa b/databases/libgda3/files/patch-aa index 94f70db4275c..a090fe088157 100644 --- a/databases/libgda3/files/patch-aa +++ b/databases/libgda3/files/patch-aa @@ -1,11 +1,11 @@ ---- Makefile.in.orig Fri Jul 26 16:09:57 2002 -+++ Makefile.in Fri Jul 26 16:10:46 2002 -@@ -155,7 +155,7 @@ +--- Makefile.in.orig Thu Feb 6 23:01:24 2003 ++++ Makefile.in Thu Feb 6 23:01:54 2003 +@@ -164,7 +164,7 @@ YACC = @YACC@ cxxflags_set = @cxxflags_set@ --SUBDIRS = po idl libsql libgda providers report tools testing data doc -+SUBDIRS = po idl libsql libgda providers report tools data doc +-SUBDIRS = po libsql libgda providers report tools testing data doc ++SUBDIRS = po libsql libgda providers report tools data doc - EXTRA_DIST = COPYING libgda.spec.in libgda.pc.in intltool-extract.in intltool-merge.in intltool-update.in + EXTRA_DIST = COPYING libgda.spec intltool-extract.in intltool-merge.in intltool-update.in diff --git a/databases/libgda3/files/patch-configure b/databases/libgda3/files/patch-configure deleted file mode 100644 index d744b24f81e8..000000000000 --- a/databases/libgda3/files/patch-configure +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.orig Sun Jun 2 22:12:29 2002 -+++ configure Sun Jun 2 22:13:06 2002 -@@ -8429,6 +8429,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' diff --git a/databases/libgda3/files/patch-ltmain.sh b/databases/libgda3/files/patch-ltmain.sh new file mode 100644 index 000000000000..1c2fba5d533f --- /dev/null +++ b/databases/libgda3/files/patch-ltmain.sh @@ -0,0 +1,42 @@ +--- ltmain.sh.orig Fri Sep 13 15:38:11 2002 ++++ ltmain.sh Fri Oct 11 01:44:24 2002 +@@ -1073,8 +1073,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2502,6 +2510,9 @@ + *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test $build_libtool_need_lc = "yes"; then +@@ -4286,10 +4297,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/databases/libgda3/pkg-plist b/databases/libgda3/pkg-plist index 863d4591116f..8882e5c2312a 100644 --- a/databases/libgda3/pkg-plist +++ b/databases/libgda3/pkg-plist @@ -1,8 +1,20 @@ bin/gda-config-tool +bin/gda-report-test bin/gda-run etc/libgda/config include/libgda-report/gda-report-document.h +include/libgda-report/gda-report-item-detail.h +include/libgda-report/gda-report-item-label.h +include/libgda-report/gda-report-item-pagefooter.h +include/libgda-report/gda-report-item-pageheader.h +include/libgda-report/gda-report-item-repfield.h +include/libgda-report/gda-report-item-report.h +include/libgda-report/gda-report-item-reportfooter.h +include/libgda-report/gda-report-item-reportheader.h +include/libgda-report/gda-report-item-sqlquery.h +include/libgda-report/gda-report-item.h include/libgda-report/gda-report-types.h +include/libgda-report/gda-report-valid.h include/libgda-report/gda-report.h include/libgda/gda-client.h include/libgda/gda-command.h @@ -61,10 +73,14 @@ lib/libgdasql.a lib/libgdasql.so lib/libgdasql.so.0 lib/libgda/providers/libgda-default.so +%%LDAP%%lib/libgda/providers/libgda-ldap.so %%MYSQL%%lib/libgda/providers/libgda-mysql.so %%POSTGRES%%lib/libgda/providers/libgda-postgres.so libdata/pkgconfig/libgda.pc share/doc/libgda/architecture.html +share/doc/libgda/c680.html +share/doc/libgda/c685.html +share/doc/libgda/c687.html share/doc/libgda/c689.html share/doc/libgda/compiling.html share/doc/libgda/connecting.html @@ -150,11 +166,18 @@ share/doc/libgda/migration-configuration.html share/doc/libgda/migration-executing-commands.html share/doc/libgda/migration.html share/doc/libgda/processing-queries.html +share/doc/libgda/x849.html +share/doc/libgda/x851.html share/doc/libgda/x853.html +share/doc/libgda/x878.html +share/doc/libgda/x880.html share/doc/libgda/x882.html +share/doc/libgda/x883.html +share/doc/libgda/x885.html share/doc/libgda/x887.html -share/gnome/idl/libgda/GNOME_Database.idl -share/gnome/libgda/dtd/gda-report.dtd +share/gnome/libgda/xml/gda-report.dtd +share/gnome/libgda/xml/gda-xml-query.dtd +share/gnome/libgda/xml/gda-xml-query.xsl share/gnome/omf/libgda/libgda-C.omf share/locale/az/LC_MESSAGES/libgda-2.mo share/locale/ca/LC_MESSAGES/libgda-2.mo @@ -186,9 +209,8 @@ share/locale/uk/LC_MESSAGES/libgda-2.mo share/locale/vi/LC_MESSAGES/libgda-2.mo share/locale/zh_CN/LC_MESSAGES/libgda-2.mo @dirrm share/gnome/omf/libgda -@dirrm share/gnome/libgda/dtd +@dirrm share/gnome/libgda/xml @dirrm share/gnome/libgda -@dirrm share/gnome/idl/libgda @dirrm lib/libgda/providers @dirrm lib/libgda @dirrm include/libgda/sql -- cgit v1.2.3