diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 04:04:06 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 04:04:06 +0800 |
commit | 9d00b97ecc2428b4afbccc2641487e898e6d0a08 (patch) | |
tree | 5ffdb2c1160ee9d0b7c3ad2ac437d50933cf8076 | |
parent | 0ba202dc2eba45b2c3c024175ca709df6ab42170 (diff) | |
download | marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.gz marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.bz2 marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.lz marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.xz marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.zst marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9240 df743ca5-7f9a-e211-a948-0013205c9059
78 files changed, 2141 insertions, 0 deletions
diff --git a/comms/gfax/Makefile b/comms/gfax/Makefile new file mode 100644 index 000000000..cc44247ea --- /dev/null +++ b/comms/gfax/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: gfax +# Date created: 20 January 2002 +# Whom: John Merryweather Cooper <jmcoopr@webmail.bmi.net> +# +# $FreeBSD$ +# $Id: Makefile,v 1.1 2007-07-23 19:35:50 mezz Exp $ +# + +PORTNAME= gfax +PORTVERSION= 0.7.6 +PORTREVISION= 3 +CATEGORIES= comms print gnome +MASTER_SITES= http://gfax.cowlug.org/ + +MAINTAINER= bsd-sharp-list@forge.novell.com +COMMENT= A Mono based pop-up fax manager + +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ + ${LOCALBASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp +RUN_DEPENDS= ${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax \ + bash:${PORTSDIR}/shells/bash \ + ${LOCALBASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp + +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomeprefix gnomehier libgnomeprint gnomesharp20 +STRIP= + +GCONF_SCHEMAS= gfax.schemas + +post-patch: + @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ + ${WRKSRC}/gfax.in \ + ${WRKSRC}/gfaxlpr.in \ + ${WRKSRC}/scripts/printer-setup.sh + @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \ + ${WRKSRC}/scripts/printer-setup.sh + +.include "${.CURDIR}/../../lang/mono/bsd.mono.mk" +.include <bsd.port.mk> diff --git a/comms/gfax/distinfo b/comms/gfax/distinfo new file mode 100644 index 000000000..37296f7b1 --- /dev/null +++ b/comms/gfax/distinfo @@ -0,0 +1,3 @@ +MD5 (gfax-0.7.6.tar.gz) = 336a241ea236bcd44c9259f7a4e314cc +SHA256 (gfax-0.7.6.tar.gz) = 21b0950af622b46df85f9d4650f93b7f1f4a6ffbc6cc20dbac83c8b741201f95 +SIZE (gfax-0.7.6.tar.gz) = 856562 diff --git a/comms/gfax/files/patch-Makefile.in b/comms/gfax/files/patch-Makefile.in new file mode 100644 index 000000000..0d61f3cd6 --- /dev/null +++ b/comms/gfax/files/patch-Makefile.in @@ -0,0 +1,10 @@ +--- Makefile.in.orig Thu Oct 26 12:56:07 2006 ++++ Makefile.in Thu Oct 26 16:58:33 2006 +@@ -529,7 +529,6 @@ + @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \ + @GCONF_SCHEMAS_INSTALL_TRUE@ done \ + @GCONF_SCHEMAS_INSTALL_TRUE@ fi +-@GCONF_SCHEMAS_INSTALL_TRUE@ killall -HUP gconfd-2 + @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local: + + gfax: gfax.in config.log diff --git a/comms/gfax/files/patch-configure b/comms/gfax/files/patch-configure new file mode 100644 index 000000000..b9e7f0987 --- /dev/null +++ b/comms/gfax/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.orig Mon Feb 28 17:13:10 2005 ++++ configure Tue Jun 14 21:58:56 2005 +@@ -21024,8 +21024,8 @@ + + # SET THE DIRECTORY PATH FOR GNOME_PRINT_DATA_DIR + if test "x$GNOME_PRINT_DATA_DIR" = "x" ; then +- gpver=`ls ${prefix}/lib/pkgconfig/ | grep libgnomeprint` +- GNOME_PRINT_VERSION=`grep Version: ${prefix}/lib/pkgconfig/${gpver} | cut -f2 -d' '` ++ gpver=`pkg-config --list-all|grep libgnomeprint- | cut -f1 -d' '` ++ GNOME_PRINT_VERSION=`pkg-config --modversion ${gpver}` + GNOME_PRINT_DATA_DIR="${datadir}/libgnomeprint/${GNOME_PRINT_VERSION}" + echo $GNOME_PRINT_DATA_DIR + fi diff --git a/comms/gfax/pkg-descr b/comms/gfax/pkg-descr new file mode 100644 index 000000000..4329c4a34 --- /dev/null +++ b/comms/gfax/pkg-descr @@ -0,0 +1,4 @@ +GFax is a front end fax program that performs as the familiar pop-up fax +manager when one prints to a fax printer. + +WWW: http://www.cowlug.org/gfax/ diff --git a/comms/gfax/pkg-plist b/comms/gfax/pkg-plist new file mode 100644 index 000000000..3a8c12474 --- /dev/null +++ b/comms/gfax/pkg-plist @@ -0,0 +1,9 @@ +bin/gfax +bin/gfaxlpr +lib/gfax/gfax.exe +share/applications/gfax.desktop +share/libgnomeprint/2.18.0/models/GNOME-GFAX-PS.xml +share/libgnomeprint/2.18.0/printers/GFAX.xml +share/pixmaps/gfax.png +share/pixmaps/send.png +@dirrm lib/gfax diff --git a/comms/gmfsk/Makefile b/comms/gmfsk/Makefile new file mode 100644 index 000000000..4abdbd7b8 --- /dev/null +++ b/comms/gmfsk/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: gmfsk +# Date created: 29th May 2003 +# Whom: Carl Makin <carl@stagecraft.cx> +# +# $FreeBSD$ +# + +PORTNAME= gmfsk +PORTVERSION= 0.6 +PORTREVISION= 6 +CATEGORIES= comms audio hamradio +MASTER_SITES= http://gmfsk.connect.fi/ + +MAINTAINER= carl@stagecraft.cx +COMMENT= The Gnome MFSK terminal program + +LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw + +GNU_CONFIGURE= yes +# This is pure evil but it looks like autoconf 2.53 has a bug in linking the +# preprocessor include tests. The following line is a work around. +CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \ + CPPFLAGS="-I${LOCALBASE}/include" +USE_GMAKE= yes +USE_GNOME= libgnomeui gnomehack gnomeprefix +USE_XLIB= yes +INSTALLS_OMF= yes + +GCONF_SCHEMAS= gmfsk.schemas + +OPTIONS= HAMLIB "Enable HAMLIB Support" On + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_HAMLIB) +LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib +CONFIGURE_ARGS+= --enable-hamlib +CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|[$$][(]localstatedir[)]/lib/scrollkeeper|${SCROLLKEEPER_DIR}|g' \ + ${WRKSRC}/omf.make ${WRKSRC}/help/gmfsk/C/Makefile.in + +post-install: + @${CAT} pkg-message + +.include <bsd.port.post.mk> diff --git a/comms/gmfsk/distinfo b/comms/gmfsk/distinfo new file mode 100644 index 000000000..722d956b1 --- /dev/null +++ b/comms/gmfsk/distinfo @@ -0,0 +1,3 @@ +MD5 (gmfsk-0.6.tar.gz) = 184840b31b85f6c4f86cdbe27f0644c8 +SHA256 (gmfsk-0.6.tar.gz) = 74a42f32b27684eaa145db3291176d7806a8e446aebd679c6ab384cee81d0c95 +SIZE (gmfsk-0.6.tar.gz) = 540765 diff --git a/comms/gmfsk/files/patch-mt63_dsp.h b/comms/gmfsk/files/patch-mt63_dsp.h new file mode 100644 index 000000000..2fed48b35 --- /dev/null +++ b/comms/gmfsk/files/patch-mt63_dsp.h @@ -0,0 +1,21 @@ +--- src/mt63/dsp.h.orig Sat Sep 25 10:52:22 2004 ++++ src/mt63/dsp.h Sat Sep 25 10:58:58 2004 +@@ -555,15 +555,15 @@ + inline void LowPass2(typeInp Inp, LowPass2elem &Elem, + typeW W1, typeW W2, typeW W5) + { double Sum, Diff; +- Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Out+=W5*Diff; } ++ Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Elem.Out+=W5*Diff; } + + template <class typeInp> + inline void LowPass2(typeInp Inp, LowPass2elem &Elem, LowPass2weight &Weight) + { double Sum, Diff; + Sum=Elem.Mid+Elem.Out; + Diff=Elem.Mid-Elem.Out; +- Elem.Mid+=Weight.W2*Inp-Weigth.W1*Sum; +- Out+=Weight.W5*Diff; } ++ Elem.Mid+=Weight.W2*Inp-Weight.W1*Sum; ++ Elem.Out+=Weight.W5*Diff; } + + /* + inline void LowPass2(float Inp, double &Mid, double &Out, diff --git a/comms/gmfsk/pkg-descr b/comms/gmfsk/pkg-descr new file mode 100644 index 000000000..31db8d114 --- /dev/null +++ b/comms/gmfsk/pkg-descr @@ -0,0 +1,13 @@ +gMFSK v0.5 - The Gnome MFSK terminal program +============================================ + +gMFSK is a multi-mode soundcard terminal program for HF amateur +communications. Originally the program was written for compatibility +with the IZ8BLY Stream program in MFSK16 mode. Currently the program +supports the following amateur digital communications modes: MFSK16, +MFSK8, RTTY, THROB, PSK31, PSK63, MT63 and FELDHELL. + +WWW: http://gmfsk.connect.fi/ + +- Carl +carl@stagecraft.cx diff --git a/comms/gmfsk/pkg-message b/comms/gmfsk/pkg-message new file mode 100644 index 000000000..fec5f3bc9 --- /dev/null +++ b/comms/gmfsk/pkg-message @@ -0,0 +1,25 @@ + +******************************************************************** +gMFSK by Tomi Manninen, OH2BNS, is now installed! + +Start it using the command "gmfsk". You may need to type "rehash" +first. + +Upon first starting it, go to Settings->Preferences and fill out +all your details. + +Under Settings->Preferences->Devices->Sound set your sound device to +/dev/dspW0 +This will use the 16bit sound device rather than /dev/dsp0 which is +the 8bit sound device. + +Then use the Gnome-volume-control or your favourite mixer program +to set your receive and transmit levels. DO NOT OVERDRIVE YOUR RIG. +I recommend you head over to +http://www.w5bbr.com/ +which has links to useful info. + +Enjoy! +Carl, VK1KCM +carl@stagecraft.cx +******************************************************************** diff --git a/comms/gmfsk/pkg-plist b/comms/gmfsk/pkg-plist new file mode 100644 index 000000000..aae645061 --- /dev/null +++ b/comms/gmfsk/pkg-plist @@ -0,0 +1,20 @@ +bin/gmfsk +share/gnome/help/gmfsk/C/fdl-appendix.xml +share/gnome/help/gmfsk/C/figures/gmfsk_start_window.png +share/gnome/help/gmfsk/C/figures/note.png +share/gnome/help/gmfsk/C/figures/tip.png +share/gnome/help/gmfsk/C/figures/warning.png +share/gnome/help/gmfsk/C/gmfsk.xml +share/gnome/help/gmfsk/C/legal.xml +share/omf/gmfsk/gmfsk-C.omf +share/pixmaps/gmfsk/gnome-screenshot.png +share/pixmaps/gmfsk/mfsk.png +share/pixmaps/gmfsk/pause.xpm +share/pixmaps/gmfsk/rx.xpm +share/pixmaps/gmfsk/tune.xpm +share/pixmaps/gmfsk/tx.xpm +@dirrm share/pixmaps/gmfsk +@dirrm share/omf/gmfsk +@dirrm share/gnome/help/gmfsk/C/figures +@dirrm share/gnome/help/gmfsk/C +@dirrm share/gnome/help/gmfsk diff --git a/databases/glom/Makefile b/databases/glom/Makefile new file mode 100644 index 000000000..a746464cd --- /dev/null +++ b/databases/glom/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: glom +# Date created: 24 April, 2005 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/databases/glom/Makefile,v 1.9 2006/09/05 03:44:45 mezz Exp $ +# + +PORTNAME= glom +PORTVERSION= 1.0.4 +PORTREVISION= 2 +CATEGORIES= databases gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} + +MAINTAINER= ports@FreeBSD.org +COMMENT= GNOME database designer and user interface + +LIB_DEPENDS= bakery-2.4:${PORTSDIR}/x11-toolkits/bakery \ + gdamm-1.3:${PORTSDIR}/databases/libgdamm \ + gnomecanvasmm-2.6:${PORTSDIR}/graphics/libgnomecanvasmm26 +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes + +USE_BZIP2= yes +USE_XLIB= yes +USE_PYTHON= yes +GNU_CONFIGURE= yes +USE_GETTEXT= yes +USE_GMAKE= yes +USE_GNOME= gnomedocutils gnomehack gnomeprefix pygnomeextras +USE_LDCONFIG= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +INSTALLS_ICONS= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-update-mime-database|true|g' \ + ${WRKSRC}/Makefile.in + +post-install: + @-update-mime-database ${PREFIX}/share/mime + +.include <bsd.port.mk> diff --git a/databases/glom/distinfo b/databases/glom/distinfo new file mode 100644 index 000000000..f004b68f9 --- /dev/null +++ b/databases/glom/distinfo @@ -0,0 +1,3 @@ +MD5 (glom-1.0.4.tar.bz2) = 1bb06562bf52a66747b4ac4a2aefa3a7 +SHA256 (glom-1.0.4.tar.bz2) = 05f1f401fb4655c98ffec906878b9d21ed3e5830ea03b0962dcfbee2057c4768 +SIZE (glom-1.0.4.tar.bz2) = 882714 diff --git a/databases/glom/pkg-descr b/databases/glom/pkg-descr new file mode 100644 index 000000000..6974a6efb --- /dev/null +++ b/databases/glom/pkg-descr @@ -0,0 +1,21 @@ +With Glom you can design table definitions and the relationships +between them, plus arrange the fields on the screen. You can edit +and search the data in those tables, and specify field values in +terms of other fields. It's as easy as it should be. + +The design is loosely based on FileMaker Pro, with the added +advantage of separation between interface and data. Its simple +framework should be enough to implement most database +applications. Without Glom these systems normally consist of lots +of repetitive, unmaintainable code. + +Glom-specific data such as the relationship definitions is saved +in the Glom document. Glom re-connects to the database server +when it loads a previous Glom document. The document is in XML +format. + +Glom uses the PostgreSQL database backend but it can not edit +databases that it did not create, because it uses only a simple +subset of Postgres functionality. + +WWW: http://www.glom.org/ diff --git a/databases/glom/pkg-plist b/databases/glom/pkg-plist new file mode 100644 index 000000000..23b01120f --- /dev/null +++ b/databases/glom/pkg-plist @@ -0,0 +1,59 @@ +bin/glom +lib/libglom.a +lib/libglom.la +lib/libglom.so +lib/libglom.so.0 +%%PYTHON_SITELIBDIR%%/glom.a +%%PYTHON_SITELIBDIR%%/glom.la +%%PYTHON_SITELIBDIR%%/glom.so +share/applications/glom.desktop +share/glom/doc/examples/example_smallbusiness.glom +share/glom/glade/glom.glade +share/glom/glom_document.dtd +share/glom/xslt/print_details_to_html.xsl +share/glom/xslt/print_report_to_html.xsl +share/gnome/help/glom/C/figures/start.png +share/gnome/help/glom/C/glom.xml +share/gnome/help/glom/C/legal.xml +share/gnome/help/glom/de/figures/start.png +share/gnome/help/glom/de/glom.xml +share/mime-info/glom.keys +share/mime-info/glom.mime +share/icons/hicolor/48x48/apps/glom.png +share/icons/hicolor/scalable/apps/glom.svg +share/locale/ca/LC_MESSAGES/glom.mo +share/locale/cs/LC_MESSAGES/glom.mo +share/locale/de/LC_MESSAGES/glom.mo +share/locale/en_CA/LC_MESSAGES/glom.mo +share/locale/en_GB/LC_MESSAGES/glom.mo +share/locale/es/LC_MESSAGES/glom.mo +share/locale/fi/LC_MESSAGES/glom.mo +share/locale/fr/LC_MESSAGES/glom.mo +share/locale/gu/LC_MESSAGES/glom.mo +share/locale/it/LC_MESSAGES/glom.mo +share/locale/ne/LC_MESSAGES/glom.mo +share/locale/nl/LC_MESSAGES/glom.mo +share/locale/pa/LC_MESSAGES/glom.mo +share/locale/pt/LC_MESSAGES/glom.mo +share/locale/pt_BR/LC_MESSAGES/glom.mo +share/locale/rw/LC_MESSAGES/glom.mo +share/locale/sq/LC_MESSAGES/glom.mo +share/locale/sv/LC_MESSAGES/glom.mo +share/locale/tr/LC_MESSAGES/glom.mo +share/locale/vi/LC_MESSAGES/glom.mo +share/locale/zh_CN/LC_MESSAGES/glom.mo +share/mime/packages/glom.xml +@dirrm share/gnome/help/glom/de/figures +@dirrm share/gnome/help/glom/de +@dirrm share/gnome/help/glom/C/figures +@dirrm share/gnome/help/glom/C +@dirrm share/gnome/help/glom +@dirrm share/glom/xslt +@dirrm share/glom/glade +@dirrm share/glom/doc/examples +@dirrm share/glom/doc +@dirrm share/glom +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime diff --git a/databases/libgda3/Makefile b/databases/libgda3/Makefile new file mode 100644 index 000000000..e411f9814 --- /dev/null +++ b/databases/libgda3/Makefile @@ -0,0 +1,189 @@ +# New ports collection makefile for: libgda2 +# Date created: 02 June 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/databases/libgda3/Makefile,v 1.2 2006/09/10 00:51:06 mezz Exp $ +# + +PORTNAME= libgda3 +PORTVERSION= 1.9.102 +PORTREVISION?= 4 +CATEGORIES= databases gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/3$//}/${PORTVERSION:R} +DISTNAME= libgda-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Provides uniform access to different kinds of data sources + +USE_BZIP2= yes + +.if !defined(REFERENCE_PORT) + +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt + +USE_AUTOTOOLS= libtool:15 +USE_GETTEXT= yes +USE_XLIB= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack glib20 libxslt intlhack referencehack +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-bdb +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib -lintl" + +MAN1= gda-config-tool.1 +MAN5= gda-config.5 + +PLIST_SUB= VERSION=${PORTVERSION:R} + +CONFLICTS= libgda2-[0-9]* + +post-patch: + @${REINPLACE_CMD} -e "/^SUBDIRS =/s/testing//" \ + ${WRKSRC}/Makefile.in + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so) +WITH_MYSQL= yes +.endif + +.if exists(${LOCALBASE}/lib/libldap.so.2) +WITH_LDAP=yes +.endif + +.if exists(${LOCALBASE}/lib/libgds.so.1) +WITH_FIREBIRD= yes +.endif + +.if exists(${LOCALBASE}/lib/libtds.so.2) +WITH_FREETDS= yes +.endif + +.if exists(${LOCALBASE}/lib/libsybdb.so.3) +WITH_SYBASE= yes +.endif + +.if exists(${LOCALBASE}/lib/libmdbsql.so.0) +WITH_MDB= yes +.endif + +.if exists(${LOCALBASE}/lib/libODBC.so.1) +WITH_ODBC= yes +.endif + +.if exists(${LOCALBASE}/lib/libsqlite.so.2) +WITH_SQLITE= yes +.endif + +.if !defined(WITH_MYSQL) +PLIST_SUB+= MYSQL:="@comment " +CONFIGURE_ARGS+= --without-mysql +.else +USE_MYSQL= yes +CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} +PLIST_SUB+= MYSQL:="" +.endif + +.if !defined(WITHOUT_PGSQL) && defined(WITH_PGSQL) +USE_PGSQL= yes +CONFIGURE_ARGS+= --with-postgres=${LOCALBASE} +PLIST_SUB+= POSTGRES:="" +.else +PLIST_SUB+= POSTGRES:="@comment " +CONFIGURE_ARGS+= --without-postgres +.endif + +.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP) +USE_OPENLDAP= yes +CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} +PLIST_SUB+= LDAP:="" +.else +CONFIGURE_ARGS+= --without-ldap +PLIST_SUB+= LDAP:="@comment " +.endif + +.if !defined(WITHOUT_FIREBIRD) && defined(WITH_FIREBIRD) +LIB_DEPENDS+= gds.1:${PORTSDIR}/databases/firebird-client +CONFIGURE_ARGS+= --with-firebird=${LOCALBASE} +PLIST_SUB+= FIREBIRD:="" +.else +CONFIGURE_ARGS+= --without-interbase +PLIST_SUB+= FIREBIRD:="@comment " +.endif + +.if !defined(WITHOUT_FREETDS) && defined(WITH_FREETDS) +LIB_DEPENDS+= tds.2:${PORTSDIR}/databases/freetds +CONFIGURE_ARGS+= --with-tds=${LOCALBASE} +PLIST_SUB+= FREETDS:="" +.else +CONFIGURE_ARGS+= --without-tds +PLIST_SUB+= FREETDS:="@comment " +.endif + +.if !defined(WITHOUT_SYBASE) && defined(WITH_SYBASE) +LIB_DEPENDS+= sybdb.3:${PORTSDIR}/databases/freetds +CONFIGURE_ARGS+= --with-sybase=${LOCALBASE} +PLIST_SUB+= SYBASE:="" +.else +CONFIGURE_ARGS+= --without-sybase +PLIST_SUB+= SYBASE:="@comment " +.endif + +.if !defined(WITHOUT_MDB) && defined(WITH_MDB) +LIB_DEPENDS+= mdbsql.0:${PORTSDIR}/databases/mdbtools +CONFIGURE_ARGS+= --with-mdb=${LOCALBASE} +PLIST_SUB+= MDB:="" +.else +CONFIGURE_ARGS+= --without-mdb +PLIST_SUB+= MDB:="@comment " +.endif + +.if !defined(WITHOUT_ODBC) && defined(WITH_ODBC) +LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC +CONFIGURE_ARGS+= --with-odbc=${LOCALBASE} +PLIST_SUB+= ODBC:="" +.else +CONFIGURE_ARGS+= --without-odbc +PLIST_SUB+= ODBC:="@comment " +.endif + +.if !defined(WITHOUT_SQLITE) && defined(WITH_SQLITE) +LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2 +CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE} +PLIST_SUB+= SQLITE:="" +.else +CONFIGURE_ARGS+= --without-sqlite +PLIST_SUB+= SQLITE:="@comment " +.endif + +pre-everything:: +.if !defined(WITH_MYSQL) + @${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL." +.endif +.if !defined(WITH_LDAP) + @${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP." +.endif +.if !defined(WITH_FREETDS) + @${ECHO_MSG} "You can enable support for TDS databases by defining WITH_FREETDS." +.endif +.if !defined(WITH_SYBASE) + @${ECHO_MSG} "You can enable support for Sybase databases by defining WITH_SYBASE." +.endif +.if !defined(WITH_MDB) + @${ECHO_MSG} "You can enable support for MDB databases by defining WITH_MDB." +.endif +.if !defined(WITH_ODBC) + @${ECHO_MSG} "You can enable support for ODBC databases by defining WITH_ODBC." +.endif +.if !defined(WITH_SQLITE) + @${ECHO_MSG} "You can enable support for SQLITE databases by defining WITH_SQLITE." +.endif + +.include <bsd.port.post.mk> + +.endif diff --git a/databases/libgda3/distinfo b/databases/libgda3/distinfo new file mode 100644 index 000000000..cc6c915ac --- /dev/null +++ b/databases/libgda3/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/libgda-1.9.102.tar.bz2) = 5a97f6a00fe1cbd369be14b70dbee261 +SHA256 (gnome2/libgda-1.9.102.tar.bz2) = 6c01444976afe7b37e9b146ea9311c1da7cc8965d2aa4182e7f452843ecaa702 +SIZE (gnome2/libgda-1.9.102.tar.bz2) = 1935950 diff --git a/databases/libgda3/files/patch-aa b/databases/libgda3/files/patch-aa new file mode 100644 index 000000000..283a9d659 --- /dev/null +++ b/databases/libgda3/files/patch-aa @@ -0,0 +1,10 @@ +--- Makefile.in.orig Thu Oct 13 15:37:21 2005 ++++ Makefile.in Thu Oct 13 15:37:38 2005 +@@ -345,7 +345,6 @@ + report \ + tools \ + gda-sharp \ +- testing \ + data \ + doc + diff --git a/databases/libgda3/files/patch-configure b/databases/libgda3/files/patch-configure new file mode 100644 index 000000000..8df5044bb --- /dev/null +++ b/databases/libgda3/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Tue Apr 6 14:10:07 2004 ++++ configure Tue Apr 6 14:10:19 2004 +@@ -23012,7 +23012,7 @@ + _ACEOF + + FIREBIRD_CFLAGS="-I${firebirddir}/include" +- FIREBIRD_LIBS="-L${firebirddir}/lib -lgds -ldl -lcrypt" ++ FIREBIRD_LIBS="-L${firebirddir}/lib -lgds -lcrypt" + fi + fi + diff --git a/databases/libgda3/files/patch-doc_C_Makefile.in b/databases/libgda3/files/patch-doc_C_Makefile.in new file mode 100644 index 000000000..ef37c3190 --- /dev/null +++ b/databases/libgda3/files/patch-doc_C_Makefile.in @@ -0,0 +1,11 @@ +--- doc/C/Makefile.in.orig Thu Jul 22 10:35:19 2004 ++++ doc/C/Makefile.in Thu Jul 22 10:35:48 2004 +@@ -116,7 +116,7 @@ + HISTORY_LIB = @HISTORY_LIB@ + HISTORY_LIB_FALSE = @HISTORY_LIB_FALSE@ + HISTORY_LIB_TRUE = @HISTORY_LIB_TRUE@ +-HTML_DIR = $(datadir)/gtk-doc/html ++HTML_DIR = $(prefix)/share/doc + IBMDB2_CFLAGS = @IBMDB2_CFLAGS@ + IBMDB2_FALSE = @IBMDB2_FALSE@ + IBMDB2_LIBS = @IBMDB2_LIBS@ diff --git a/databases/libgda3/files/patch-libgda-2.0.pc.in b/databases/libgda3/files/patch-libgda-2.0.pc.in new file mode 100644 index 000000000..4e4c40569 --- /dev/null +++ b/databases/libgda3/files/patch-libgda-2.0.pc.in @@ -0,0 +1,11 @@ +--- libgda-2.0.pc.in.orig Fri Oct 31 21:59:33 2003 ++++ libgda-2.0.pc.in Fri Oct 31 22:00:52 2003 +@@ -5,7 +5,7 @@ + + Name: libgda + Description: GDA (GNOME Data Access) library +-Requires: glib-2.0 libxml-2.0 libxslt ++Requires: glib-2.0 gthread-2.0 gmodule-2.0 libxml-2.0 libxslt + Version: @VERSION@ + Libs: -L${libdir} -lgda-2 + Cflags: -I${includedir} diff --git a/databases/libgda3/files/patch-libgda__gda-value.c b/databases/libgda3/files/patch-libgda__gda-value.c new file mode 100644 index 000000000..5a57ca4c4 --- /dev/null +++ b/databases/libgda3/files/patch-libgda__gda-value.c @@ -0,0 +1,12 @@ +--- libgda/gda-value.c.orig Fri Mar 17 11:08:32 2006 ++++ libgda/gda-value.c Fri Mar 24 22:31:12 2006 +@@ -1281,8 +1281,8 @@ gda_value_is_null (GdaValue *value) + gboolean + gda_value_is_number (GdaValue *value) + { +- g_return_val_if_fail (value && G_IS_VALUE(value), FALSE); + GdaValueType type; ++ g_return_val_if_fail (value && G_IS_VALUE(value), FALSE); + + type = GDA_VALUE_TYPE(value); + switch (type) { diff --git a/databases/libgda3/files/patch-libgda_gda-query-target.c b/databases/libgda3/files/patch-libgda_gda-query-target.c new file mode 100644 index 000000000..fbdcaf721 --- /dev/null +++ b/databases/libgda3/files/patch-libgda_gda-query-target.c @@ -0,0 +1,12 @@ +--- libgda/gda-query-target.c~ Mon Jan 23 00:18:37 2006 ++++ libgda/gda-query-target.c Sun Mar 26 10:03:52 2006 +@@ -732,8 +732,8 @@ + g_free (str); + + if (target->priv->entity_ref) { +- str = NULL; + GdaObject *base = gda_object_ref_get_ref_object (target->priv->entity_ref); ++ str = NULL; + + if (base) { + str = gda_xml_storage_get_xml_id (GDA_XML_STORAGE (base)); diff --git a/databases/libgda3/files/patch-libgda_handlers_gda-handler-numerical.c b/databases/libgda3/files/patch-libgda_handlers_gda-handler-numerical.c new file mode 100644 index 000000000..de8c67a2e --- /dev/null +++ b/databases/libgda3/files/patch-libgda_handlers_gda-handler-numerical.c @@ -0,0 +1,11 @@ +--- libgda/handlers/gda-handler-numerical.c~ Mon Jan 23 02:57:38 2006 ++++ libgda/handlers/gda-handler-numerical.c Sun Mar 26 10:18:42 2006 +@@ -231,7 +231,7 @@ + + switch (type) { + case GDA_VALUE_TYPE_BIGINT: +- value = gda_value_new_bigint (atoll (str)); ++ value = gda_value_new_bigint (strtoll (str, (char **)NULL, 10)); + break; + case GDA_VALUE_TYPE_DOUBLE: + value = gda_value_new_double (atof (str)); diff --git a/databases/libgda3/files/patch-po_Makefile.in.in b/databases/libgda3/files/patch-po_Makefile.in.in new file mode 100644 index 000000000..1e6984b6b --- /dev/null +++ b/databases/libgda3/files/patch-po_Makefile.in.in @@ -0,0 +1,10 @@ +--- po/Makefile.in.in.orig Sat Aug 14 00:43:46 2004 ++++ po/Makefile.in.in Sat Aug 14 00:45:54 2004 +@@ -35,6 +35,7 @@ + + INSTALL = @INSTALL@ + INSTALL_DATA = @INSTALL_DATA@ ++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + + CC = @CC@ + GENCAT = @GENCAT@ diff --git a/databases/libgda3/files/patch-providers__mysql__gda-mysql-recordset.c b/databases/libgda3/files/patch-providers__mysql__gda-mysql-recordset.c new file mode 100644 index 000000000..58b766996 --- /dev/null +++ b/databases/libgda3/files/patch-providers__mysql__gda-mysql-recordset.c @@ -0,0 +1,28 @@ +--- providers/mysql/gda-mysql-recordset.c.orig Thu Mar 2 22:28:54 2006 ++++ providers/mysql/gda-mysql-recordset.c Sun Mar 26 10:20:02 2006 +@@ -141,7 +141,7 @@ + if (is_unsigned) { + gda_value_set_biguint (gda_value, strtoull (value, NULL, 0)); + } else { +- gda_value_set_bigint (gda_value, atoll (value)); ++ gda_value_set_bigint (gda_value, strtoll (value, (char **)NULL, 0)); + } + break; + case FIELD_TYPE_SHORT : +@@ -584,6 +584,7 @@ + colnum != gda_data_model_get_n_columns (GDA_DATA_MODEL(model)); + colnum++) + { ++ gchar *curval; + attrs = gda_data_model_describe_column (GDA_DATA_MODEL(model), colnum); + + mysql_field = mysql_fetch_field_direct (priv_data->mysql_res, colnum); +@@ -592,7 +593,7 @@ + else + column_name = gda_data_model_get_column_title (GDA_DATA_MODEL (model), colnum); + +- gchar *curval = gda_mysql_provider_value_to_sql_string ( ++ curval = gda_mysql_provider_value_to_sql_string ( + NULL, + priv_data->cnc, + gda_row_get_value ((GdaRow *) row, colnum) diff --git a/databases/libgda3/files/patch-providers_ibmdb2_gda-ibmdb2-types.c b/databases/libgda3/files/patch-providers_ibmdb2_gda-ibmdb2-types.c new file mode 100644 index 000000000..f51f91d03 --- /dev/null +++ b/databases/libgda3/files/patch-providers_ibmdb2_gda-ibmdb2-types.c @@ -0,0 +1,11 @@ +--- providers/ibmdb2/gda-ibmdb2-types.c~ Thu Jan 12 07:10:33 2006 ++++ providers/ibmdb2/gda-ibmdb2-types.c Sun Mar 26 10:19:26 2006 +@@ -115,7 +115,7 @@ + gda_value_set_integer (value, *((gint*)field->column_data)); + break; + case SQL_BIGINT: +- gda_value_set_bigint (value, (gint64)atoll(field->column_data)); ++ gda_value_set_bigint (value, (gint64)strtoll(field->column_data, (char **)NULL, 10)); + break; + case SQL_REAL: + gda_value_set_single (value, *((gfloat*)field->column_data)); diff --git a/databases/libgda3/files/patch-providers_oracle_utils.c b/databases/libgda3/files/patch-providers_oracle_utils.c new file mode 100644 index 000000000..46b894ce4 --- /dev/null +++ b/databases/libgda3/files/patch-providers_oracle_utils.c @@ -0,0 +1,11 @@ +--- providers/oracle/utils.c~ Wed Mar 15 07:25:51 2006 ++++ providers/oracle/utils.c Sun Mar 26 10:20:18 2006 +@@ -415,7 +415,7 @@ + g_free (string_buffer); + break; + case GDA_VALUE_TYPE_BIGINT: +- gda_value_set_bigint (value, atoll (ora_value->value)); ++ gda_value_set_bigint (value, strtoll (ora_value->value, (char **)NULL, 10)); + break; + case GDA_VALUE_TYPE_INTEGER: + gda_value_set_integer (value, atol (ora_value->value)); diff --git a/databases/libgda3/files/patch-providers_postgres_utils.c b/databases/libgda3/files/patch-providers_postgres_utils.c new file mode 100644 index 000000000..29fe99b98 --- /dev/null +++ b/databases/libgda3/files/patch-providers_postgres_utils.c @@ -0,0 +1,11 @@ +--- providers/postgres/utils.c.orig Mon Feb 17 21:43:51 2003 ++++ providers/postgres/utils.c Mon Feb 17 21:44:12 2003 +@@ -156,7 +156,7 @@ + gda_value_set_string (value, thevalue); + break; + case GDA_VALUE_TYPE_BIGINT : +- gda_value_set_bigint (value, atoll (thevalue)); ++ gda_value_set_bigint (value, strtoll(thevalue, &thevalue, 10)); + break; + case GDA_VALUE_TYPE_INTEGER : + gda_value_set_integer (value, atol (thevalue)); diff --git a/databases/libgda3/files/patch-tools_gda-config-tool.c b/databases/libgda3/files/patch-tools_gda-config-tool.c new file mode 100644 index 000000000..226aeeee7 --- /dev/null +++ b/databases/libgda3/files/patch-tools_gda-config-tool.c @@ -0,0 +1,11 @@ +--- tools/gda-config-tool.c.orig Fri Jul 26 16:19:17 2002 ++++ tools/gda-config-tool.c Fri Jul 26 16:18:47 2002 +@@ -1136,7 +1136,7 @@ + static char ** + completion_func (const gchar *text, int start, int end) + { +- return ((start == 0) ? rl_completion_matches (text, cmd_generator) : ++ return ((start == 0) ? completion_matches (text, cmd_generator) : + NULL); + } + diff --git a/databases/libgda3/pkg-descr b/databases/libgda3/pkg-descr new file mode 100644 index 000000000..12eb57b5e --- /dev/null +++ b/databases/libgda3/pkg-descr @@ -0,0 +1,19 @@ +GNU Data Access (GDA) is an attempt to provide uniform access to +different kinds of data sources (databases, information servers, +mail spools, etc). + +It is a complete architecture that provides all you need to access +your data, defined by a set of CORBA interfaces as generic as possible +(but very powerful at the same time) so that any kind of data source +can be accessed through them. + +libgda is an interface to the GDA architecture, providing a nice +wrapper around the CORBA interfaces, for both the client and the server +parts. It also provides a bunch of tools to help you both in the +development and management of your data sources, all done through +the GDA model's set of CORBA interfaces. + +libgda was part of the GNOME-DB project, but has been separated from it +to allow non-GNOME applications to be developed based on it. + +WWW: http://www.gnome-db.org/ diff --git a/databases/libgda3/pkg-plist b/databases/libgda3/pkg-plist new file mode 100644 index 000000000..5ef6181d8 --- /dev/null +++ b/databases/libgda3/pkg-plist @@ -0,0 +1,225 @@ +bin/gda-config-tool +bin/gda-report-test +bin/gda-run +bin/gda-test-delimiter +etc/libgda/config +etc/libgda/sales_test.db +include/libgda-%%VERSION%%/libgda-report/gda-report-document.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-detail.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-label.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-pagefooter.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-pageheader.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-repfield.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-report.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-reportfooter.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-reportheader.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item-sqlquery.h +include/libgda-%%VERSION%%/libgda-report/gda-report-item.h +include/libgda-%%VERSION%%/libgda-report/gda-report-result.h +include/libgda-%%VERSION%%/libgda-report/gda-report-types.h +include/libgda-%%VERSION%%/libgda-report/gda-report-valid.h +include/libgda-%%VERSION%%/libgda-report/gda-report.h +include/libgda-%%VERSION%%/libgda/gda-blob.h +include/libgda-%%VERSION%%/libgda/gda-client.h +include/libgda-%%VERSION%%/libgda/gda-column-index.h +include/libgda-%%VERSION%%/libgda/gda-column.h +include/libgda-%%VERSION%%/libgda/gda-command.h +include/libgda-%%VERSION%%/libgda/gda-config.h +include/libgda-%%VERSION%%/libgda/gda-connection-event.h +include/libgda-%%VERSION%%/libgda/gda-connection.h +include/libgda-%%VERSION%%/libgda/gda-data-access-wrapper.h +include/libgda-%%VERSION%%/libgda/gda-data-handler.h +include/libgda-%%VERSION%%/libgda/gda-data-model-array.h +include/libgda-%%VERSION%%/libgda/gda-data-model-extra.h +include/libgda-%%VERSION%%/libgda/gda-data-model-filter-sql.h +include/libgda-%%VERSION%%/libgda/gda-data-model-hash.h +include/libgda-%%VERSION%%/libgda/gda-data-model-import.h +include/libgda-%%VERSION%%/libgda/gda-data-model-index.h +include/libgda-%%VERSION%%/libgda/gda-data-model-iter.h +include/libgda-%%VERSION%%/libgda/gda-data-model-private.h +include/libgda-%%VERSION%%/libgda/gda-data-model-query.h +include/libgda-%%VERSION%%/libgda/gda-data-model-row.h +include/libgda-%%VERSION%%/libgda/gda-data-model.h +include/libgda-%%VERSION%%/libgda/gda-data-proxy.h +include/libgda-%%VERSION%%/libgda/gda-decl.h +include/libgda-%%VERSION%%/libgda/gda-dict-aggregate.h +include/libgda-%%VERSION%%/libgda/gda-dict-constraint.h +include/libgda-%%VERSION%%/libgda/gda-dict-database.h +include/libgda-%%VERSION%%/libgda/gda-dict-field.h +include/libgda-%%VERSION%%/libgda/gda-dict-function.h +include/libgda-%%VERSION%%/libgda/gda-dict-table.h +include/libgda-%%VERSION%%/libgda/gda-dict-type.h +include/libgda-%%VERSION%%/libgda/gda-dict.h +include/libgda-%%VERSION%%/libgda/gda-entity-field.h +include/libgda-%%VERSION%%/libgda/gda-entity.h +include/libgda-%%VERSION%%/libgda/gda-enum-types.h +include/libgda-%%VERSION%%/libgda/gda-enums.h +include/libgda-%%VERSION%%/libgda/gda-graphviz.h +include/libgda-%%VERSION%%/libgda/gda-log.h +include/libgda-%%VERSION%%/libgda/gda-marshal.h +include/libgda-%%VERSION%%/libgda/gda-object-ref.h +include/libgda-%%VERSION%%/libgda/gda-object.h +include/libgda-%%VERSION%%/libgda/gda-parameter-list.h +include/libgda-%%VERSION%%/libgda/gda-parameter.h +include/libgda-%%VERSION%%/libgda/gda-quark-list.h +include/libgda-%%VERSION%%/libgda/gda-query-condition.h +include/libgda-%%VERSION%%/libgda/gda-query-field-agg.h +include/libgda-%%VERSION%%/libgda/gda-query-field-all.h +include/libgda-%%VERSION%%/libgda/gda-query-field-field.h +include/libgda-%%VERSION%%/libgda/gda-query-field-func.h +include/libgda-%%VERSION%%/libgda/gda-query-field-value.h +include/libgda-%%VERSION%%/libgda/gda-query-field.h +include/libgda-%%VERSION%%/libgda/gda-query-join.h +include/libgda-%%VERSION%%/libgda/gda-query-object.h +include/libgda-%%VERSION%%/libgda/gda-query-parsing.h +include/libgda-%%VERSION%%/libgda/gda-query-private.h +include/libgda-%%VERSION%%/libgda/gda-query-target.h +include/libgda-%%VERSION%%/libgda/gda-query.h +include/libgda-%%VERSION%%/libgda/gda-referer.h +include/libgda-%%VERSION%%/libgda/gda-renderer.h +include/libgda-%%VERSION%%/libgda/gda-row.h +include/libgda-%%VERSION%%/libgda/gda-server-provider-extra.h +include/libgda-%%VERSION%%/libgda/gda-server-provider-private.h +include/libgda-%%VERSION%%/libgda/gda-server-provider.h +include/libgda-%%VERSION%%/libgda/gda-threader.h +include/libgda-%%VERSION%%/libgda/gda-transaction.h +include/libgda-%%VERSION%%/libgda/gda-util.h +include/libgda-%%VERSION%%/libgda/gda-value.h +include/libgda-%%VERSION%%/libgda/gda-xml-storage.h +include/libgda-%%VERSION%%/libgda/graph/gda-graph-item.h +include/libgda-%%VERSION%%/libgda/graph/gda-graph-query.h +include/libgda-%%VERSION%%/libgda/graph/gda-graph.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-bin.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-boolean.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-numerical.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-string.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-time.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-type.h +include/libgda-%%VERSION%%/libgda/libgda.h +include/libgda-%%VERSION%%/libsql/sql_parser.h +include/libgda-%%VERSION%%/sql-delimiter/gda-sql-delimiter.h +lib/libgda-3.a +lib/libgda-3.la +lib/libgda-3.so +lib/libgda-3.so.3 +lib/libgda-report-3.a +lib/libgda-report-3.la +lib/libgda-report-3.so +lib/libgda-report-3.so.3 +lib/libgda_graph-3.a +lib/libgda_graph-3.la +lib/libgda_graph-3.so +lib/libgda_graph-3.so.3 +lib/libgda_handlers-3.a +lib/libgda_handlers-3.la +lib/libgda_handlers-3.so +lib/libgda_handlers-3.so.3 +lib/libgda_sql_delimiter-3.a +lib/libgda_sql_delimiter-3.la +lib/libgda_sql_delimiter-3.so +lib/libgda_sql_delimiter-3.so.3 +lib/libgdasql.a +lib/libgdasql.la +lib/libgdasql.so +lib/libgdasql.so.3 +%%FIREBIRD:%%lib/libgda-%%VERSION%%/providers/libgda-firebird.a +%%FIREBIRD:%%lib/libgda-%%VERSION%%/providers/libgda-firebird.la +%%FIREBIRD:%%lib/libgda-%%VERSION%%/providers/libgda-firebird.so +%%FREETDS:%%lib/libgda-%%VERSION%%/providers/libgda-freetds.a +%%FREETDS:%%lib/libgda-%%VERSION%%/providers/libgda-freetds.la +%%FREETDS:%%lib/libgda-%%VERSION%%/providers/libgda-freetds.so +%%LDAP:%%lib/libgda-%%VERSION%%/providers/libgda-ldap.a +%%LDAP:%%lib/libgda-%%VERSION%%/providers/libgda-ldap.la +%%LDAP:%%lib/libgda-%%VERSION%%/providers/libgda-ldap.so +%%MDB:%%lib/libgda-%%VERSION%%/providers/libgda-mdb.a +%%MDB:%%lib/libgda-%%VERSION%%/providers/libgda-mdb.la +%%MDB:%%lib/libgda-%%VERSION%%/providers/libgda-mdb.so +%%MYSQL:%%lib/libgda-%%VERSION%%/providers/libgda-mysql.a +%%MYSQL:%%lib/libgda-%%VERSION%%/providers/libgda-mysql.la +%%MYSQL:%%lib/libgda-%%VERSION%%/providers/libgda-mysql.so +%%ODBC:%%lib/libgda-%%VERSION%%/providers/libgda-odbc.a +%%ODBC:%%lib/libgda-%%VERSION%%/providers/libgda-odbc.la +%%ODBC:%%lib/libgda-%%VERSION%%/providers/libgda-odbc.so +%%POSTGRES:%%lib/libgda-%%VERSION%%/providers/libgda-postgres.a +%%POSTGRES:%%lib/libgda-%%VERSION%%/providers/libgda-postgres.la +%%POSTGRES:%%lib/libgda-%%VERSION%%/providers/libgda-postgres.so +%%SYBASE:%%lib/libgda-%%VERSION%%/providers/libgda-sybase.a +%%SYBASE:%%lib/libgda-%%VERSION%%/providers/libgda-sybase.la +%%SYBASE:%%lib/libgda-%%VERSION%%/providers/libgda-sybase.so +lib/libgda-%%VERSION%%/providers/libgda-sqlite.a +lib/libgda-%%VERSION%%/providers/libgda-sqlite.la +lib/libgda-%%VERSION%%/providers/libgda-sqlite.so +libdata/pkgconfig/libgda-2.0.pc +share/libgda/dtd/libgda-array.dtd +share/libgda/dtd/libgda-dict.dtd +%%MYSQL:%%share/libgda/mysql_specs_create_db.xml +%%MYSQL:%%share/libgda/mysql_specs_dsn.xml +%%POSTGRES:%%share/libgda/postgres_specs_create_db.xml +%%POSTGRES:%%share/libgda/postgres_specs_dsn.xml +share/libgda/sqlite_specs_create_db.xml +share/libgda/sqlite_specs_dsn.xml +share/libgda/xml/gda-report.dtd +share/libgda/xml/gda-report-result.dtd +share/libgda/xml/gda-xml-query.dtd +share/libgda/xml/gda-xml-query.xsl +share/locale/az/LC_MESSAGES/libgda-3.mo +share/locale/ca/LC_MESSAGES/libgda-3.mo +share/locale/cs/LC_MESSAGES/libgda-3.mo +share/locale/da/LC_MESSAGES/libgda-3.mo +share/locale/de/LC_MESSAGES/libgda-3.mo +share/locale/el/LC_MESSAGES/libgda-3.mo +share/locale/en_CA/LC_MESSAGES/libgda-3.mo +share/locale/en_GB/LC_MESSAGES/libgda-3.mo +share/locale/es/LC_MESSAGES/libgda-3.mo +share/locale/eu/LC_MESSAGES/libgda-3.mo +share/locale/fa/LC_MESSAGES/libgda-3.mo +share/locale/fi/LC_MESSAGES/libgda-3.mo +share/locale/fr/LC_MESSAGES/libgda-3.mo +share/locale/ga/LC_MESSAGES/libgda-3.mo +share/locale/gl/LC_MESSAGES/libgda-3.mo +share/locale/hr/LC_MESSAGES/libgda-3.mo +share/locale/hu/LC_MESSAGES/libgda-3.mo +share/locale/it/LC_MESSAGES/libgda-3.mo +share/locale/ja/LC_MESSAGES/libgda-3.mo +share/locale/ko/LC_MESSAGES/libgda-3.mo +share/locale/ml/LC_MESSAGES/libgda-3.mo +share/locale/ms/LC_MESSAGES/libgda-3.mo +share/locale/nb/LC_MESSAGES/libgda-3.mo +share/locale/ne/LC_MESSAGES/libgda-3.mo +share/locale/nl/LC_MESSAGES/libgda-3.mo +share/locale/no/LC_MESSAGES/libgda-3.mo +share/locale/pl/LC_MESSAGES/libgda-3.mo +share/locale/pt/LC_MESSAGES/libgda-3.mo +share/locale/pt_BR/LC_MESSAGES/libgda-3.mo +share/locale/ru/LC_MESSAGES/libgda-3.mo +share/locale/rw/LC_MESSAGES/libgda-3.mo +share/locale/sk/LC_MESSAGES/libgda-3.mo +share/locale/sl/LC_MESSAGES/libgda-3.mo +share/locale/sq/LC_MESSAGES/libgda-3.mo +share/locale/sr/LC_MESSAGES/libgda-3.mo +share/locale/sr@Latn/LC_MESSAGES/libgda-3.mo +share/locale/sv/LC_MESSAGES/libgda-3.mo +share/locale/tr/LC_MESSAGES/libgda-3.mo +share/locale/uk/LC_MESSAGES/libgda-3.mo +share/locale/vi/LC_MESSAGES/libgda-3.mo +share/locale/zh_CN/LC_MESSAGES/libgda-3.mo +share/locale/zh_HK/LC_MESSAGES/libgda-3.mo +share/locale/zh_TW/LC_MESSAGES/libgda-3.mo +@dirrm share/libgda/xml +@dirrm share/libgda/dtd +@dirrm share/libgda +@dirrm lib/libgda-%%VERSION%%/providers +@dirrm lib/libgda-%%VERSION%% +@dirrm lib/libgda +@dirrm include/libgda-%%VERSION%%/sql-delimiter +@dirrm include/libgda-%%VERSION%%/libsql +@dirrm include/libgda-%%VERSION%%/libgda-report +@dirrm include/libgda-%%VERSION%%/libgda/handlers +@dirrm include/libgda-%%VERSION%%/libgda/graph +@dirrm include/libgda-%%VERSION%%/libgda +@dirrm include/libgda-%%VERSION%% +@dirrm etc/libgda +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw diff --git a/databases/libgnomedb/Makefile b/databases/libgnomedb/Makefile new file mode 100644 index 000000000..82545aad0 --- /dev/null +++ b/databases/libgnomedb/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: libgnomedb +# Date created: 02 June 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/databases/libgnomedb/Makefile,v 1.28 2006/09/10 00:51:06 mezz Exp $ +# + +PORTNAME= libgnomedb +PORTVERSION= 1.9.102 +PORTREVISION?= 5 +CATEGORIES= databases gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Library components for the GNOME database frontend + +USE_BZIP2= yes + +.if !defined(REFERENCE_PORT) + +USE_AUTOTOOLS= libtool:15 +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack libgnomeui libgda3 gtksourceview \ + intlhack referencehack +USE_XLIB= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +INSTALLS_OMF= yes +USE_LDCONFIG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= libgnomedb.schemas + +PLIST_SUB= VERSION=${PORTVERSION:R} + +.include <bsd.port.mk> + +.endif diff --git a/databases/libgnomedb/distinfo b/databases/libgnomedb/distinfo new file mode 100644 index 000000000..4df10c152 --- /dev/null +++ b/databases/libgnomedb/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/libgnomedb-1.9.102.tar.bz2) = a29e5b845d6bd94fdd70c4c0c0abcbf1 +SHA256 (gnome2/libgnomedb-1.9.102.tar.bz2) = becd12ec688daded8c08d94ae6268d169716872d0f405bf3ce96eb846b078bd8 +SIZE (gnome2/libgnomedb-1.9.102.tar.bz2) = 1821841 diff --git a/databases/libgnomedb/files/patch-Makefile.in b/databases/libgnomedb/files/patch-Makefile.in new file mode 100644 index 000000000..d0890cf04 --- /dev/null +++ b/databases/libgnomedb/files/patch-Makefile.in @@ -0,0 +1,19 @@ +--- Makefile.in.orig Thu Oct 13 15:59:10 2005 ++++ Makefile.in Thu Oct 13 16:00:04 2005 +@@ -290,15 +290,13 @@ + @BUILD_GNOMEDB_SHARP_TRUE@GNOME_DIRECTORY = gnomedb-sharp + @BUILD_WITH_GNOME_FALSE@GNOME_DIRECTORY = + @BUILD_WITH_GNOME_TRUE@GNOME_DIRECTORY = control-center +-@ENABLE_GTK_DOC_FALSE@DOC_DIRECTORY = +-@ENABLE_GTK_DOC_TRUE@DOC_DIRECTORY = doc ++DOC_DIRECTORY = doc + SUBDIRS = \ + po \ + libgnomedb \ + $(LIBGLADE_DIRECTORY) \ + $(GNOME_DIRECTORY) \ + $(GNOMEDB_SHARP_DIRECTORY) \ +- testing \ + extra \ + examples \ + $(DOC_DIRECTORY) \ diff --git a/databases/libgnomedb/files/patch-doc::libgnomedb-C.omf.in b/databases/libgnomedb/files/patch-doc::libgnomedb-C.omf.in new file mode 100644 index 000000000..e51ccfd6b --- /dev/null +++ b/databases/libgnomedb/files/patch-doc::libgnomedb-C.omf.in @@ -0,0 +1,11 @@ +--- doc/libgnomedb-C.omf.in.orig Thu Oct 2 12:15:36 2003 ++++ doc/libgnomedb-C.omf.in Thu Oct 2 12:15:52 2003 +@@ -15,7 +15,7 @@ + </description> + <type>user's guide</type> + <format mime="text/html"/> +- <identifier url="file:/@prefix@/share/gtk-doc/html/libgnomedb/index.html"/> ++ <identifier url="file:/@prefix@/share/doc/libgnomedb/index.html"/> + <language code="C"/> + <relation seriesid="0c3a2de2-d4ca-11d6-8994-cd3caececda4"/> + <rights type="GNU FDL" license.version="1.1"/> diff --git a/databases/libgnomedb/files/patch-doc_C_Makefile.in b/databases/libgnomedb/files/patch-doc_C_Makefile.in new file mode 100644 index 000000000..448aad656 --- /dev/null +++ b/databases/libgnomedb/files/patch-doc_C_Makefile.in @@ -0,0 +1,11 @@ +--- doc/C/Makefile.in.orig Tue Jun 7 16:57:58 2005 ++++ doc/C/Makefile.in Tue Jun 7 16:58:27 2005 +@@ -119,7 +119,7 @@ + HAVE_GTKSOURCEVIEW_TRUE = @HAVE_GTKSOURCEVIEW_TRUE@ + HAVE_LIBGLADE_FALSE = @HAVE_LIBGLADE_FALSE@ + HAVE_LIBGLADE_TRUE = @HAVE_LIBGLADE_TRUE@ +-HTML_DIR = $(datadir)/gtk-doc/html ++HTML_DIR = $(prefix)/share/doc + INSTALL_DATA = @INSTALL_DATA@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ diff --git a/databases/libgnomedb/files/patch-libgnomedb_gnome-db-find-dialog.c b/databases/libgnomedb/files/patch-libgnomedb_gnome-db-find-dialog.c new file mode 100644 index 000000000..44a477103 --- /dev/null +++ b/databases/libgnomedb/files/patch-libgnomedb_gnome-db-find-dialog.c @@ -0,0 +1,20 @@ + +$FreeBSD$ + +--- libgnomedb/gnome-db-find-dialog.c.orig ++++ libgnomedb/gnome-db-find-dialog.c +@@ -220,12 +220,14 @@ + + g_object_ref (dm); + ++ { + GnomeDbFindDialog *dialog = gnome_db_find_dialog_new (title); + gnome_db_find_dialog_add_fields_from_model (dialog, dm); + + g_object_unref (dm); + + return dialog; ++ } + } + + /** diff --git a/databases/libgnomedb/files/patch-libgnomedb_gnome-db-sql-console.c b/databases/libgnomedb/files/patch-libgnomedb_gnome-db-sql-console.c new file mode 100644 index 000000000..607e5da74 --- /dev/null +++ b/databases/libgnomedb/files/patch-libgnomedb_gnome-db-sql-console.c @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- libgnomedb/gnome-db-sql-console.c.orig ++++ libgnomedb/gnome-db-sql-console.c +@@ -596,8 +596,8 @@ + + /* help */ + if (!cmde_ok && !strcmp (pcmde, "?")) { +- cmde_ok = TRUE; + GString *string; ++ cmde_ok = TRUE; + + string = g_string_new (_("SQL statements:\n" + " they can span several lines, and are executed\n" diff --git a/databases/libgnomedb/files/patch-po::Makefile.in.in b/databases/libgnomedb/files/patch-po::Makefile.in.in new file mode 100644 index 000000000..2e0e6e70e --- /dev/null +++ b/databases/libgnomedb/files/patch-po::Makefile.in.in @@ -0,0 +1,10 @@ +--- po/Makefile.in.in.orig Thu Jul 22 11:06:21 2004 ++++ po/Makefile.in.in Thu Jul 22 11:06:58 2004 +@@ -35,6 +35,7 @@ + + INSTALL = @INSTALL@ + INSTALL_DATA = @INSTALL_DATA@ ++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + + CC = @CC@ + GENCAT = @GENCAT@ diff --git a/databases/libgnomedb/pkg-descr b/databases/libgnomedb/pkg-descr new file mode 100644 index 000000000..0ef0c27be --- /dev/null +++ b/databases/libgnomedb/pkg-descr @@ -0,0 +1,4 @@ +libgnomedb is the library backend for universal database access for the GNOME +2.0 environment. + +WWW: http://www.gnome-db.org/ diff --git a/databases/libgnomedb/pkg-plist b/databases/libgnomedb/pkg-plist new file mode 100644 index 000000000..7b4d5cea2 --- /dev/null +++ b/databases/libgnomedb/pkg-plist @@ -0,0 +1,199 @@ +bin/gnome-database-properties +bin/gnome-db-browser +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-data-cell-renderer-boolean.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-data-cell-renderer-combo.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-data-cell-renderer-info.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-data-cell-renderer-textual.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-entry-boolean.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-entry-combo.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-entry-none.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-entry-shell.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-entry-string.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-entry-time.h +include/libgnomedb-%%VERSION%%/libgnomedb/data-entries/gnome-db-entry-wrapper.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-basic-form.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-combo.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-connection-properties.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-data-entry.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-data-source-selector.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-data-store.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-data-widget-info.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-data-widget.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-dbms-update-viewer.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-decl.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-dsn-config-druid.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-dsn-config.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-dsn-spec.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-editor.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-enums.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-error-dialog.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-error.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-find-dialog.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-form.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-gray-bar.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-grid.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-i18n.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-login-dialog.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-login.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-provider-selector.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-raw-form.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-raw-grid.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-report-editor.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-selector-private.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-selector.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-sql-console.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-stock.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-tools.h +include/libgnomedb-%%VERSION%%/libgnomedb/gnome-db-util.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-cursor.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-db-relations.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-entity.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-field.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-fkconstraint.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-item.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-join.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-query-struct.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-text.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas-tip.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/gnome-db-canvas.h +include/libgnomedb-%%VERSION%%/libgnomedb/graph/graph-utility.h +include/libgnomedb-%%VERSION%%/libgnomedb/libgnomedb-private.h +include/libgnomedb-%%VERSION%%/libgnomedb/libgnomedb.h +include/libgnomedb-%%VERSION%%/libgnomedb/marshal.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-aggregates.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-data-types.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-functions.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-graphs.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-onequery.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-onetable.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-onetarget.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-queries.h +include/libgnomedb-%%VERSION%%/libgnomedb/sel-tables.h +include/libgnomedb-%%VERSION%%/libgnomedb/utility.h +lib/libglade/2.0/libgnomedb.a +lib/libglade/2.0/libgnomedb.la +lib/libglade/2.0/libgnomedb.so +lib/libgnomedb-3.a +lib/libgnomedb-3.la +lib/libgnomedb-3.so +lib/libgnomedb-3.so.4 +lib/libgnomedb/plugins/libgnomedb_entry_cidr.a +lib/libgnomedb/plugins/libgnomedb_entry_cidr.la +lib/libgnomedb/plugins/libgnomedb_entry_cidr.so +lib/libgnomedb/plugins/libgnomedb_entry_cidr.so.4 +lib/libgnomedb/plugins/libgnomedb_entry_filesel.a +lib/libgnomedb/plugins/libgnomedb_entry_filesel.la +lib/libgnomedb/plugins/libgnomedb_entry_filesel.so +lib/libgnomedb/plugins/libgnomedb_entry_filesel.so.4 +lib/libgnomedb/plugins/libgnomedb_entry_passmd5.a +lib/libgnomedb/plugins/libgnomedb_entry_passmd5.la +lib/libgnomedb/plugins/libgnomedb_entry_passmd5.so +lib/libgnomedb/plugins/libgnomedb_entry_passmd5.so.4 +lib/libgnomedb/plugins/libgnomedb_entry_text.a +lib/libgnomedb/plugins/libgnomedb_entry_text.la +lib/libgnomedb/plugins/libgnomedb_entry_text.so +lib/libgnomedb/plugins/libgnomedb_entry_text.so.4 +lib/libgnomedb_graph-3.a +lib/libgnomedb_graph-3.la +lib/libgnomedb_graph-3.so +lib/libgnomedb_graph-3.so.4 +lib/libgnomedb_handlers-3.a +lib/libgnomedb_handlers-3.la +lib/libgnomedb_handlers-3.so +lib/libgnomedb_handlers-3.so.4 +libdata/pkgconfig/libgnomedb-2.0.pc +share/applications/database-properties.desktop +share/mime-info/libgnomedb.keys +share/mime-info/libgnomedb.mime +share/omf/libgnomedb/libgnomedb-C.omf +share/pixmaps/libgnomedb/gnome-db-aggregates_16x16.png +share/pixmaps/libgnomedb/gnome-db-aggregates_24x24.png +share/pixmaps/libgnomedb/gnome-db-commit_24x24.png +share/pixmaps/libgnomedb/gnome-db-connect_24x24.png +share/pixmaps/libgnomedb/gnome-db-database-login_48x48.png +share/pixmaps/libgnomedb/gnome-db-database_16x16.png +share/pixmaps/libgnomedb/gnome-db-database_24x24.png +share/pixmaps/libgnomedb/gnome-db-database_48x48.png +share/pixmaps/libgnomedb/gnome-db-designer_24x24.png +share/pixmaps/libgnomedb/gnome-db-disconnect_24x24.png +share/pixmaps/libgnomedb/gnome-db-field_16x16.png +share/pixmaps/libgnomedb/gnome-db-indexes_16x16.png +share/pixmaps/libgnomedb/gnome-db-no-transaction_24x24.png +share/pixmaps/libgnomedb/gnome-db-procedures_16x16.png +share/pixmaps/libgnomedb/gnome-db-procedures_24x24.png +share/pixmaps/libgnomedb/gnome-db-query_16x16.png +share/pixmaps/libgnomedb/gnome-db-query_24x24.png +share/pixmaps/libgnomedb/gnome-db-relations_16x16.png +share/pixmaps/libgnomedb/gnome-db-relations_24x24.png +share/pixmaps/libgnomedb/gnome-db-rollback_24x24.png +share/pixmaps/libgnomedb/gnome-db-sequences_16x16.png +share/pixmaps/libgnomedb/gnome-db-sequences_24x24.png +share/pixmaps/libgnomedb/gnome-db-sql_16x16.png +share/pixmaps/libgnomedb/gnome-db-sql_24x24.png +share/pixmaps/libgnomedb/gnome-db-table_16x16.png +share/pixmaps/libgnomedb/gnome-db-tables_16x16.png +share/pixmaps/libgnomedb/gnome-db-tables_24x24.png +share/pixmaps/libgnomedb/gnome-db-triggers_16x16.png +share/pixmaps/libgnomedb/gnome-db-types_16x16.png +share/pixmaps/libgnomedb/gnome-db-types_24x24.png +share/pixmaps/libgnomedb/gnome-db-views_16x16.png +share/pixmaps/libgnomedb/gnome-db-within-transaction_24x24.png +share/pixmaps/libgnomedb/gnome-db.png +share/locale/az/LC_MESSAGES/libgnomedb-3.mo +share/locale/be/LC_MESSAGES/libgnomedb-3.mo +share/locale/ca/LC_MESSAGES/libgnomedb-3.mo +share/locale/cs/LC_MESSAGES/libgnomedb-3.mo +share/locale/da/LC_MESSAGES/libgnomedb-3.mo +share/locale/de/LC_MESSAGES/libgnomedb-3.mo +share/locale/el/LC_MESSAGES/libgnomedb-3.mo +share/locale/en_CA/LC_MESSAGES/libgnomedb-3.mo +share/locale/en_GB/LC_MESSAGES/libgnomedb-3.mo +share/locale/es/LC_MESSAGES/libgnomedb-3.mo +share/locale/eu/LC_MESSAGES/libgnomedb-3.mo +share/locale/fa/LC_MESSAGES/libgnomedb-3.mo +share/locale/fi/LC_MESSAGES/libgnomedb-3.mo +share/locale/fr/LC_MESSAGES/libgnomedb-3.mo +share/locale/ga/LC_MESSAGES/libgnomedb-3.mo +share/locale/gl/LC_MESSAGES/libgnomedb-3.mo +share/locale/hr/LC_MESSAGES/libgnomedb-3.mo +share/locale/hu/LC_MESSAGES/libgnomedb-3.mo +share/locale/it/LC_MESSAGES/libgnomedb-3.mo +share/locale/ja/LC_MESSAGES/libgnomedb-3.mo +share/locale/ka/LC_MESSAGES/libgnomedb-3.mo +share/locale/ko/LC_MESSAGES/libgnomedb-3.mo +share/locale/ml/LC_MESSAGES/libgnomedb-3.mo +share/locale/ms/LC_MESSAGES/libgnomedb-3.mo +share/locale/nb/LC_MESSAGES/libgnomedb-3.mo +share/locale/ne/LC_MESSAGES/libgnomedb-3.mo +share/locale/nl/LC_MESSAGES/libgnomedb-3.mo +share/locale/no/LC_MESSAGES/libgnomedb-3.mo +share/locale/pl/LC_MESSAGES/libgnomedb-3.mo +share/locale/pt/LC_MESSAGES/libgnomedb-3.mo +share/locale/pt_BR/LC_MESSAGES/libgnomedb-3.mo +share/locale/ru/LC_MESSAGES/libgnomedb-3.mo +share/locale/rw/LC_MESSAGES/libgnomedb-3.mo +share/locale/sk/LC_MESSAGES/libgnomedb-3.mo +share/locale/sl/LC_MESSAGES/libgnomedb-3.mo +share/locale/sq/LC_MESSAGES/libgnomedb-3.mo +share/locale/sr/LC_MESSAGES/libgnomedb-3.mo +share/locale/sr@Latn/LC_MESSAGES/libgnomedb-3.mo +share/locale/sv/LC_MESSAGES/libgnomedb-3.mo +share/locale/ta/LC_MESSAGES/libgnomedb-3.mo +share/locale/tr/LC_MESSAGES/libgnomedb-3.mo +share/locale/uk/LC_MESSAGES/libgnomedb-3.mo +share/locale/vi/LC_MESSAGES/libgnomedb-3.mo +share/locale/zh_CN/LC_MESSAGES/libgnomedb-3.mo +share/locale/zh_HK/LC_MESSAGES/libgnomedb-3.mo +share/locale/zh_TW/LC_MESSAGES/libgnomedb-3.mo +@dirrm share/pixmaps/libgnomedb +@dirrm share/omf/libgnomedb +@dirrm lib/libgnomedb/plugins +@dirrm lib/libgnomedb +@dirrm include/libgnomedb-%%VERSION%%/libgnomedb/graph +@dirrm include/libgnomedb-%%VERSION%%/libgnomedb/data-entries +@dirrm include/libgnomedb-%%VERSION%%/libgnomedb +@dirrm include/libgnomedb-%%VERSION%% +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile new file mode 100644 index 000000000..7cdb80308 --- /dev/null +++ b/databases/mdbtools/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: mdbtools +# Date created: 25 April 2001 +# Whom: Anders Nordby <anders@fix.no> +# +# $FreeBSD$ +# + +PORTNAME= mdbtools +PORTVERSION= 0.5 +PORTREVISION= 11 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Utilities and libraries to export data from MS Access databases (.mdb) + +# To build man-pages +BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk + +USE_AUTOTOOLS= libtool:15 +USE_BISON= yes +USE_GNOME= glib20 +WANT_GNOME= yes +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +DOCS= AUTHORS ChangeLog HACKING NEWS README TODO +MAN1= mdb-ver.1 mdb-tables.1 mdb-schema.1 mdb-sql.1 mdb-export.1 + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibgnomeui}!="" +USE_XLIB= yes +USE_GNOME+= gnomeprefix gnomehack libgnomeui +PKGNAMESUFFIX= -gnome +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|$$(srcdir)/$$<|$$(srcdir)/$$>|g' \ + ${WRKSRC}/doc/Makefile.in + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/databases/mdbtools/distinfo b/databases/mdbtools/distinfo new file mode 100644 index 000000000..18eda808e --- /dev/null +++ b/databases/mdbtools/distinfo @@ -0,0 +1,3 @@ +MD5 (mdbtools-0.5.tar.gz) = 4a18bf96e67161101cade64526756d22 +SHA256 (mdbtools-0.5.tar.gz) = 7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d +SIZE (mdbtools-0.5.tar.gz) = 396485 diff --git a/databases/mdbtools/files/patch-backend.c b/databases/mdbtools/files/patch-backend.c new file mode 100644 index 000000000..463faf004 --- /dev/null +++ b/databases/mdbtools/files/patch-backend.c @@ -0,0 +1,11 @@ +--- src/libmdb/backend.c Tue Dec 10 18:35:25 2002 ++++ src/libmdb/backend.c Tue Apr 8 16:19:29 2003 +@@ -114,6 +114,5 @@ + { +-char buf[100]; ++ static char buf[16]; + if (col_type > 0x10) { +- // return NULL; +- sprintf(buf,"type %04x", col_type); ++ snprintf(buf, sizeof(buf), "type %04x", col_type); + return buf; diff --git a/databases/mdbtools/files/patch-configure b/databases/mdbtools/files/patch-configure new file mode 100644 index 000000000..f195f07b4 --- /dev/null +++ b/databases/mdbtools/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Wed Dec 11 18:31:51 2002 ++++ configure Thu Dec 12 12:07:17 2002 +@@ -7414,6 +7414,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/mdbtools/files/patch-include_mdbsql.h b/databases/mdbtools/files/patch-include_mdbsql.h new file mode 100644 index 000000000..0b4f8a69c --- /dev/null +++ b/databases/mdbtools/files/patch-include_mdbsql.h @@ -0,0 +1,21 @@ +--- include/mdbsql.h.orig Sun Dec 11 18:22:34 2005 ++++ include/mdbsql.h Sun Dec 11 18:23:20 2005 +@@ -6,6 +6,10 @@ + #ifndef _mdbsql_h_ + #define _mdbsql_h_ + ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + typedef struct { + MdbHandle *mdb; + int all_columns; +@@ -59,4 +63,7 @@ + void mdb_sql_listtables(MdbSQL *sql); + void mdb_sql_select(MdbSQL *sql); + ++#ifdef __cplusplus ++} ++#endif + #endif diff --git a/databases/mdbtools/files/patch-include_mdbtools.h b/databases/mdbtools/files/patch-include_mdbtools.h new file mode 100644 index 000000000..6933bc322 --- /dev/null +++ b/databases/mdbtools/files/patch-include_mdbtools.h @@ -0,0 +1,22 @@ +--- include/mdbtools.h.orig Sun Dec 11 18:22:42 2005 ++++ include/mdbtools.h Sun Dec 11 18:23:32 2005 +@@ -40,6 +40,10 @@ + #define MDB_MEMO_OVERHEAD 12 + #define MDB_BIND_SIZE 16384 + ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + enum { + MDB_PAGE_DB = 0, + MDB_PAGE_DATA, +@@ -345,4 +349,8 @@ + /* index.c */ + extern GPtrArray *mdb_read_indices(MdbTableDef *table); + extern void mdb_index_dump(MdbTableDef *table, MdbIndex *idx); ++ ++#ifdef __cplusplus ++} ++#endif + #endif /* _mdbtools_h_ */ diff --git a/databases/mdbtools/files/patch-jet4rows b/databases/mdbtools/files/patch-jet4rows new file mode 100644 index 000000000..1471751e3 --- /dev/null +++ b/databases/mdbtools/files/patch-jet4rows @@ -0,0 +1,33 @@ +This patch was downloaded from SourceForge, to which it was submitted +Matt <mws at rochester.rr.com>, who wrote: + + This patch fixes the Jet4 tab_num_rows_offset constant + and changes mdb_read_row so it checks the row number + against the number of rows in the table. + + I have some MDB files for which the normal logic in + mdb_read_row fails. This patch solves the problem. + +--- src/libmdb/data.c 2003-01-12 17:59:43.000000000 -0500 ++++ src/libmdb/data.c 2003-01-23 14:42:57.000000000 -0500 +@@ -171,6 +171,9 @@ + unsigned char null_mask[33]; /* 256 columns max / 8 bits per byte */ + unsigned char isnull; + ++ if (table->num_rows <= row) ++ return 0; ++ + row_start = mdb_get_int16(mdb, (fmt->row_count_offset + 2) + (row*2)); + row_end = mdb_find_end_of_row(mdb, row); + +--- src/libmdb/file.c 2003-01-12 17:59:43.000000000 -0500 ++++ src/libmdb/file.c 2003-01-23 14:43:04.000000000 -0500 +@@ -20,7 +20,7 @@ + #include "mdbtools.h" + + MdbFormatConstants MdbJet4Constants = { +- 4096, 0x0c, 12, 45, 47, 51, 55, 56, 63, 12, 15, 23, 5, 25 ++ 4096, 0x0c, 16, 45, 47, 51, 55, 56, 63, 12, 15, 23, 5, 25 + }; + MdbFormatConstants MdbJet3Constants = { + 2048, 0x08, 12, 25, 27, 31, 35, 36, 43, 8, 13, 16, 1, 18 diff --git a/databases/mdbtools/files/patch-ltmain.sh b/databases/mdbtools/files/patch-ltmain.sh new file mode 100644 index 000000000..b856331e9 --- /dev/null +++ b/databases/mdbtools/files/patch-ltmain.sh @@ -0,0 +1,12 @@ +--- ltmain.sh.orig Thu Jan 4 15:07:04 2007 ++++ ltmain.sh Thu Jan 4 15:07:48 2007 +@@ -1413,6 +1413,9 @@ + esac + fi + for deplib in $libs; do ++ if test "$deplib" = "-pthread"; then ++ continue ++ fi + lib= + found=no + case $deplib in diff --git a/databases/mdbtools/files/patch-src_gmdb2_debug.c b/databases/mdbtools/files/patch-src_gmdb2_debug.c new file mode 100644 index 000000000..7b04908f5 --- /dev/null +++ b/databases/mdbtools/files/patch-src_gmdb2_debug.c @@ -0,0 +1,63 @@ +--- src/gmdb2/debug.c.orig Tue Apr 15 12:02:39 2003 ++++ src/gmdb2/debug.c Tue Apr 15 12:05:13 2003 +@@ -354,6 +354,8 @@ + GtkTextIter iter; + GtkTextView *textview; + GtkWidget *entry; ++ GtkWidget *tree; ++ GtkTreeView *store; + char pagestr[20]; + + textview = (GtkTextView *) glade_xml_get_widget (xml, "debug_textview"); +@@ -395,8 +397,8 @@ + gtk_text_buffer_get_iter_at_offset (buffer, &iter, 0); + gtk_text_buffer_insert(buffer,&iter,tbuf,strlen(tbuf)); + +- GtkWidget *tree = glade_xml_get_widget(xml, "debug_treeview"); +- GtkTreeView *store = (GtkTreeView *) gtk_tree_view_get_model(GTK_TREE_VIEW(tree)); ++ tree = glade_xml_get_widget(xml, "debug_treeview"); ++ store = (GtkTreeView *) gtk_tree_view_get_model(GTK_TREE_VIEW(tree)); + + gmdb_debug_dissect(GTK_TREE_STORE(store), fbuf, 0, length); + +@@ -884,6 +886,11 @@ + guint32 page; + GtkWidget *entry, *mi, *button, *debugwin; + gchar text[20]; ++GtkWidget *tree; ++GtkTreeStore *store; ++GtkCellRenderer *renderer; ++GtkTreeViewColumn *column; ++GtkTreeSelection *select; + GladeXML *debugwin_xml; + + /* load the interface */ +@@ -947,11 +954,10 @@ + pango_font_description_from_string("Courier")); + + /* set up treeview, libglade only gives us the empty widget */ +- GtkWidget *tree = glade_xml_get_widget(debugwin_xml, "debug_treeview"); +- GtkTreeStore *store = gtk_tree_store_new(3, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT); ++ tree = glade_xml_get_widget(debugwin_xml, "debug_treeview"); ++ store = gtk_tree_store_new(3, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT); + gtk_tree_view_set_model(GTK_TREE_VIEW(tree), GTK_TREE_MODEL(store)); + +- GtkCellRenderer *renderer; + button = glade_xml_get_widget (debugwin_xml, "debug_button"); + g_signal_connect (G_OBJECT (button), "clicked", + G_CALLBACK (gmdb_debug_display_cb), debugwin_xml); +@@ -960,13 +966,12 @@ + gtk_signal_connect (GTK_OBJECT (debugwin), "delete_event", + GTK_SIGNAL_FUNC (gmdb_debug_delete_cb), debugwin_xml); + +- GtkTreeViewColumn *column; + renderer = gtk_cell_renderer_text_new(); + column = gtk_tree_view_column_new_with_attributes("Field", + renderer, "text", 0, NULL); + gtk_tree_view_append_column(GTK_TREE_VIEW (tree), column); + +- GtkTreeSelection *select = ++ select = + gtk_tree_view_get_selection (GTK_TREE_VIEW (tree)); + gtk_tree_selection_set_mode (select, GTK_SELECTION_SINGLE); + g_signal_connect (G_OBJECT (select), "changed", diff --git a/databases/mdbtools/files/patch-src_gmdb2_gmdb.h b/databases/mdbtools/files/patch-src_gmdb2_gmdb.h new file mode 100644 index 000000000..21b64cb26 --- /dev/null +++ b/databases/mdbtools/files/patch-src_gmdb2_gmdb.h @@ -0,0 +1,13 @@ +--- src/gmdb2/gmdb.h.orig Mon Jan 13 04:59:42 2003 ++++ src/gmdb2/gmdb.h Mon Mar 6 11:32:10 2006 +@@ -44,6 +44,10 @@ + void gmdb_debug_tab_new(GtkWidget *notebook); + void gmdb_debug_new_cb(GtkWidget *w, gpointer *data); + ++void gmdb_table_export_populate_dialog(GladeXML *xml); ++void gmdb_sql_save_query(GladeXML *xml, gchar *file_path); ++void gmdb_sql_save_as_cb(GtkWidget *w, GladeXML *xml); ++ + unsigned long gmdb_prefs_get_maxrows(); + + extern GtkWidget *gmdb_prefs_new(); diff --git a/databases/mdbtools/files/patch-src_gmdb2_sql.c b/databases/mdbtools/files/patch-src_gmdb2_sql.c new file mode 100644 index 000000000..f78336a2a --- /dev/null +++ b/databases/mdbtools/files/patch-src_gmdb2_sql.c @@ -0,0 +1,62 @@ +--- src/gmdb2/sql.c.orig Tue Apr 15 12:05:45 2003 ++++ src/gmdb2/sql.c Tue Apr 15 12:07:32 2003 +@@ -375,6 +375,7 @@ + GType *gtypes; + GtkTreeIter iter; + GtkTreeViewColumn *column; ++GtkCellRenderer *renderer; + long row, maxrow; + + /* stuff this query on the history */ +@@ -422,7 +423,6 @@ + + gtk_tree_view_set_model(GTK_TREE_VIEW(treeview), GTK_TREE_MODEL(store)); + +- GtkCellRenderer *renderer; + renderer = gtk_cell_renderer_text_new(); + + for (i=0;i<sql->num_columns;i++) { +@@ -464,6 +464,12 @@ + GtkWidget *mi, *but, *combo; + GladeXML *sqlwin_xml; + GValue value = {0, }; ++ GtkWidget *tree; ++ GtkTreeStore *store; ++ GtkCellRenderer *renderer; ++ GtkTreeViewColumn *column; ++ GtkTreeSelection *select; ++ GtkWidget *textview; + + /* load the interface */ + sqlwin_xml = glade_xml_new(GMDB_GLADEDIR "gmdb-sql.glade", NULL, NULL); +@@ -537,18 +543,16 @@ + G_CALLBACK (gmdb_sql_execute_cb), sqlwin_xml); + + /* set up treeview, libglade only gives us the empty widget */ +- GtkWidget *tree = glade_xml_get_widget(sqlwin_xml, "sql_treeview"); +- GtkTreeStore *store = gtk_tree_store_new(1, G_TYPE_STRING); ++ tree = glade_xml_get_widget(sqlwin_xml, "sql_treeview"); ++ store = gtk_tree_store_new(1, G_TYPE_STRING); + gtk_tree_view_set_model(GTK_TREE_VIEW(tree), GTK_TREE_MODEL(store)); + +- GtkCellRenderer *renderer; +- GtkTreeViewColumn *column; + renderer = gtk_cell_renderer_text_new(); + column = gtk_tree_view_column_new_with_attributes("Name", + renderer, "text", 0, NULL); + gtk_tree_view_append_column(GTK_TREE_VIEW (tree), column); + +- GtkTreeSelection *select = ++ select = + gtk_tree_view_get_selection (GTK_TREE_VIEW (tree)); + gtk_tree_selection_set_mode (select, GTK_SELECTION_SINGLE); + //g_signal_connect (G_OBJECT (select), "changed", +@@ -557,7 +561,7 @@ + /* populate first level of tree */ + gmdb_sql_tree_populate(mdb, sqlwin_xml); + +- GtkWidget *textview = glade_xml_get_widget(sqlwin_xml, "sql_textview"); ++ textview = glade_xml_get_widget(sqlwin_xml, "sql_textview"); + src.target = "table"; + src.flags = 0; + src.info = 1; diff --git a/databases/mdbtools/files/patch-src_sql_parser.y b/databases/mdbtools/files/patch-src_sql_parser.y new file mode 100644 index 000000000..22c412bac --- /dev/null +++ b/databases/mdbtools/files/patch-src_sql_parser.y @@ -0,0 +1,10 @@ +--- src/sql/parser.y.orig Tue Apr 15 01:26:03 2003 ++++ src/sql/parser.y Tue Apr 15 01:26:08 2003 +@@ -109,6 +109,7 @@ + database: + PATH + | NAME ++ ; + + table: + NAME { mdb_sql_add_table(_mdb_sql(NULL), $1); free($1); } diff --git a/databases/mdbtools/files/patch-write.c b/databases/mdbtools/files/patch-write.c new file mode 100644 index 000000000..edce42eaa --- /dev/null +++ b/databases/mdbtools/files/patch-write.c @@ -0,0 +1,12 @@ +--- src/libmdb/write.c Thu Jan 9 15:24:27 2003 ++++ src/libmdb/write.c Tue Apr 8 16:29:38 2003 +@@ -308,3 +308,3 @@ + } +- num_fields = mdb_crack_row(table, row_start, row_end, &fields); ++ num_fields = mdb_crack_row(table, row_start, row_end, fields); + +@@ -324,3 +324,3 @@ + +- new_row_size = mdb_pack_row(table, row_buffer, num_fields, &fields); ++ new_row_size = mdb_pack_row(table, row_buffer, num_fields, fields); + #if MDB_DEBUG_WRITE diff --git a/databases/mdbtools/pkg-descr b/databases/mdbtools/pkg-descr new file mode 100644 index 000000000..b1b5e855e --- /dev/null +++ b/databases/mdbtools/pkg-descr @@ -0,0 +1,15 @@ +What is MDB Tools? + +MDB Tools is a planned set of libraries and utilities to facilitate exporting +data from MS Access databases (mdb files) into a multiuser database such as +Oracle, Sybase, DB2, Informix, MySQL, Postgresql, or similar. A nice little +Gtk MDB file browser will probably be written as well. + +Ok, how much is done? + +You can list catalog entries. There is some preliminary schema exporting +utility. And you can export data out to CSV (comma separated value) format. + +WWW: http://mdbtools.sourceforge.net/ + +- Anders Nordby <anders@fix.no> diff --git a/databases/mdbtools/pkg-plist b/databases/mdbtools/pkg-plist new file mode 100644 index 000000000..eef47c42b --- /dev/null +++ b/databases/mdbtools/pkg-plist @@ -0,0 +1,70 @@ +%%GNOME:%%bin/gmdb2 +bin/mdb-array +bin/mdb-dump +bin/mdb-export +bin/mdb-header +bin/mdb-parsecsv +bin/mdb-schema +bin/mdb-sql +bin/mdb-tables +bin/mdb-ver +bin/prcat +bin/prdata +bin/prdump +bin/prindex +bin/prkkd +bin/prole +bin/prtable +bin/updrow +%%GNOME:%%include/gmdb.h +include/mdbodbc.h +include/mdbsql.h +include/mdbtools.h +lib/libmdb.a +lib/libmdb.la +lib/libmdb.so +lib/libmdb.so.0 +lib/libmdbsql.a +lib/libmdbsql.la +lib/libmdbsql.so +lib/libmdbsql.so.0 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/HACKING +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%GNOME:%%share/gmdb/glade/code.xpm +%%GNOME:%%share/gmdb/glade/debug.xpm +%%GNOME:%%share/gmdb/glade/form_big.xpm +%%GNOME:%%share/gmdb/glade/forms.xpm +%%GNOME:%%share/gmdb/glade/gmdb-debug.glade +%%GNOME:%%share/gmdb/glade/gmdb-export.glade +%%GNOME:%%share/gmdb/glade/gmdb-prefs.glade +%%GNOME:%%share/gmdb/glade/gmdb-props.glade +%%GNOME:%%share/gmdb/glade/gmdb-schema.glade +%%GNOME:%%share/gmdb/glade/gmdb-sql-file.glade +%%GNOME:%%share/gmdb/glade/gmdb-sql.glade +%%GNOME:%%share/gmdb/glade/gmdb.glade +%%GNOME:%%share/gmdb/glade/logo.xpm +%%GNOME:%%share/gmdb/glade/macro_big.xpm +%%GNOME:%%share/gmdb/glade/macros.xpm +%%GNOME:%%share/gmdb/glade/module_big.xpm +%%GNOME:%%share/gmdb/glade/pk.xpm +%%GNOME:%%share/gmdb/glade/query.xpm +%%GNOME:%%share/gmdb/glade/query_big.xpm +%%GNOME:%%share/gmdb/glade/report_big.xpm +%%GNOME:%%share/gmdb/glade/reports.xpm +%%GNOME:%%share/gmdb/glade/stock_export-16.png +%%GNOME:%%share/gmdb/glade/stock_export.png +%%GNOME:%%share/gmdb/glade/table.xpm +%%GNOME:%%share/gmdb/glade/table_big.xpm +%%GNOME:%%share/gnome/help/gmdb/C/figures/gmdb2_window.png +%%GNOME:%%share/gnome/help/gmdb/C/gmdb.xml +%%GNOME:%%share/gnome/help/gmdb/C/legal.xml +%%GNOME:%%@dirrm share/gnome/help/gmdb/C/figures +%%GNOME:%%@dirrm share/gnome/help/gmdb/C +%%GNOME:%%@dirrm share/gnome/help/gmdb +%%GNOME:%%@dirrm share/gmdb/glade +%%GNOME:%%@dirrm share/gmdb +%%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/deskutils/babytrans/Makefile b/deskutils/babytrans/Makefile new file mode 100644 index 000000000..9cde42b46 --- /dev/null +++ b/deskutils/babytrans/Makefile @@ -0,0 +1,39 @@ +# ex:ts=8 +# New ports collection makefile for: babytrans +# Date created: 18 September 2002 +# Whom: Frederic Cambus +# +# $FreeBSD$ +# + +PORTNAME= babytrans +PORTVERSION= 0.9.1 +PORTREVISION= 5 +CATEGORIES= deskutils +MASTER_SITES= http://fjolliton.free.fr/babytrans/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= GTK+/GNOME front-end for Babylon Translator .dic files + +USE_GETTEXT= yes +USE_X_PREFIX= yes +USE_GNOME= gtk12 gnomehack gnomeprefix +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +USE_GMAKE= yes +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message + +post-patch: +.for file in de es fr pt_BR + @${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|" \ + -e "s|ENCODING|8bit|" ${WRKSRC}/po/${file}.po +.endfor + +post-install: + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/config-file/dictionary ${DATADIR} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/deskutils/babytrans/distinfo b/deskutils/babytrans/distinfo new file mode 100644 index 000000000..279615955 --- /dev/null +++ b/deskutils/babytrans/distinfo @@ -0,0 +1,3 @@ +MD5 (babytrans-0.9.1.tar.gz) = fa8a447a2f1dd0dc187628583dbca79e +SHA256 (babytrans-0.9.1.tar.gz) = 1a959fadcc0acbf690771c827c8b21c955b87b403047c52316359e8e025312db +SIZE (babytrans-0.9.1.tar.gz) = 152688 diff --git a/deskutils/babytrans/files/patch-it.po b/deskutils/babytrans/files/patch-it.po new file mode 100644 index 000000000..2b548da34 --- /dev/null +++ b/deskutils/babytrans/files/patch-it.po @@ -0,0 +1,13 @@ +--- po/it.po.orig Mon Apr 3 04:02:43 2000 ++++ po/it.po Thu Feb 13 08:30:31 2003 +@@ -235,10 +235,6 @@ + msgid "Help for Babytrans" + msgstr "Aiuto per Babytrans" + +-#: src/main.cc:992 +-msgid "Auto mode active" +-msgstr "Modalità automatica attiva" +- + #: src/main.cc:1068 + msgid "Invalid selection" + msgstr "Selezione non valida" diff --git a/deskutils/babytrans/files/patch-src::main.cc b/deskutils/babytrans/files/patch-src::main.cc new file mode 100644 index 000000000..b3e1434d2 --- /dev/null +++ b/deskutils/babytrans/files/patch-src::main.cc @@ -0,0 +1,10 @@ +--- src/main.cc.orig Thu Jul 24 14:51:02 2003 ++++ src/main.cc Thu Jul 24 14:51:15 2003 +@@ -49,6 +49,7 @@ + + #include <sys/stat.h> // for stat() + #include <unistd.h> // for stat() ++#include <assert.h> + + #include <cerrno> + diff --git a/deskutils/babytrans/files/pkg-message.in b/deskutils/babytrans/files/pkg-message.in new file mode 100644 index 000000000..7b8827d80 --- /dev/null +++ b/deskutils/babytrans/files/pkg-message.in @@ -0,0 +1,6 @@ +====================================================================== +Babytrans is now installed! Go to: http://www.babylon.com and download +the dictionaries that suit your needs. Use unzip to decompress the +.EXE file you downloaded, and modify the configuration file located in +%%DATADIR%%/dictionary +====================================================================== diff --git a/deskutils/babytrans/pkg-descr b/deskutils/babytrans/pkg-descr new file mode 100644 index 000000000..cfdcb2e3b --- /dev/null +++ b/deskutils/babytrans/pkg-descr @@ -0,0 +1,6 @@ +Babytrans is a graphical front-end for GTK+/Gnome that allows you to use the +dictionaries from Babylon Translator software available under Windows. It use +only the old dictionnary format (.dic) and do not handle (yet) the new +format (.bgl/.dat). + +WWW: http://fjolliton.free.fr/babytrans/ diff --git a/deskutils/babytrans/pkg-plist b/deskutils/babytrans/pkg-plist new file mode 100644 index 000000000..32b0ac8c1 --- /dev/null +++ b/deskutils/babytrans/pkg-plist @@ -0,0 +1,10 @@ +bin/babytrans +etc/CORBA/servers/babytrans.gnorba +applets/Utility/babytrans.desktop +share/locale/es/LC_MESSAGES/babytrans.mo +share/locale/de/LC_MESSAGES/babytrans.mo +share/locale/fr/LC_MESSAGES/babytrans.mo +share/locale/it/LC_MESSAGES/babytrans.mo +share/locale/pt_BR/LC_MESSAGES/babytrans.mo +%%DATADIR%%/dictionary +@dirrm %%DATADIR%% diff --git a/deskutils/drivel/Makefile b/deskutils/drivel/Makefile new file mode 100644 index 000000000..a413c67fa --- /dev/null +++ b/deskutils/drivel/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: drivel +# Date created: Thu Feb 26 23:13:12 CET 2004 +# Whom: Koop Mast <kwm@rainbow-runner.nl> +# +# $FreeBSD$ +# + +PORTNAME= drivel +PORTVERSION= 2.0.2 +PORTREVISION= 5 +CATEGORIES= deskutils gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= jbq@caraldi.com +COMMENT= Blog editor for GNOME + +LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl + +INSTALLS_ICONS= yes +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_GNOME= gnomeprefix gnomehack libgnomeui intlhack gtksourceview +USE_BZIP2= yes +USE_GMAKE= yes +INSTALLS_OMF= yes +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= drivel.schemas + +.ifndef(WITHOUT_RHYTHMBOX) +CONFIGURE_ARGS+= --with-rhythmbox +BUILD_DEPENDS+= rhythmbox:${PORTSDIR}/audio/rhythmbox +RUN_DEPENDS+= ${BUILD_DEPENDS} +.else +CONFIGURE_ARGS+= --without-rhythmbox +.endif + +.ifndef(WITHOUT_GTKSPELL) +LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell +.else +CONFIGURE_ARGS+= --without-gtkspell +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "Define WITHOUT_RHYTHMBOX=yes to disable rhythmbox backend" + @${ECHO_MSG} "Define WITHOUT_GTKSPELL=yes to disable gtkspell" + @${ECHO_MSG} "" + +post-patch: + @${REINPLACE_CMD} -e 's|;;|;|g' \ + ${WRKSRC}/src/journal.c \ + ${WRKSRC}/src/msg_queue.c + +.include <bsd.port.mk> diff --git a/deskutils/drivel/distinfo b/deskutils/drivel/distinfo new file mode 100644 index 000000000..001d00797 --- /dev/null +++ b/deskutils/drivel/distinfo @@ -0,0 +1,3 @@ +MD5 (drivel-2.0.2.tar.bz2) = b77d376946ab32f0f8992c5e0baf1f51 +SHA256 (drivel-2.0.2.tar.bz2) = cdf058e843cde20f48d11c4e0d6be61f9892392a8dcc049b6904a861e1f20baf +SIZE (drivel-2.0.2.tar.bz2) = 684729 diff --git a/deskutils/drivel/files/patch-show-options b/deskutils/drivel/files/patch-show-options new file mode 100644 index 000000000..9b69c1a81 --- /dev/null +++ b/deskutils/drivel/files/patch-show-options @@ -0,0 +1,64 @@ +--- src/journal.c.orig 25 Jun 2005 16:19:28 -0000 1.127 ++++ src/journal.c 8 Mar 2006 13:18:06 -0000 +@@ -1401,6 +1401,16 @@ + return; + } + ++static void ++journal_set_expander(DrivelClient *dc, gboolean state) ++{ ++ gtk_expander_set_expanded (GTK_EXPANDER (dc->journal_expander), state); ++ if (state) ++ gtk_label_set_text_with_mnemonic(GTK_LABEL(dc->journal_more_options), _("Hide _options")); ++ else ++ gtk_label_set_text_with_mnemonic(GTK_LABEL(dc->journal_more_options), _("Show more _options")); ++} ++ + /* display the default items for a blank journal entry and set the sensitivity + of the widgets appropriately */ + +@@ -1482,7 +1492,7 @@ + + /* set the expander state */ + state = gconf_client_get_bool (dc->client, dc->gconf->expander_open, NULL); +- gtk_expander_set_expanded (GTK_EXPANDER (dc->journal_expander), state); ++ journal_set_expander (dc,state); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (dc->menu_view_options), state); + + /* enable/disable highlighting */ +@@ -1753,7 +1763,7 @@ + value = gconf_entry_get_value (entry); + state = gconf_value_get_bool (value); + +- gtk_expander_set_expanded (GTK_EXPANDER (dc->journal_expander), state); ++ journal_set_expander (dc,state); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (dc->menu_view_options), state); + + return; +@@ -3399,7 +3409,7 @@ + { "Strike", GTK_STOCK_STRIKETHROUGH, NULL, NULL, NULL, G_CALLBACK (strikethrough_cb) }, + { "Super", NULL, N_("Supe_rscript"), NULL, NULL, G_CALLBACK (superscript_cb) }, + { "Sub", NULL, N_("Subs_cript"), NULL, NULL, G_CALLBACK (subscript_cb) }, +- { "List", NULL, N_("L_ist"), NULL, NULL, G_CALLBACK (list_cb) }, ++ { "List", NULL, N_("Lis_t"), NULL, NULL, G_CALLBACK (list_cb) }, + { "ListItem", NULL, N_("List Ite_m"), NULL, NULL, G_CALLBACK (listitem_cb) }, + { "Indent", NULL, N_("I_ndent"), NULL, NULL, G_CALLBACK (blockquote_cb) }, + { "InsertLink", "drivel-insert-link", N_("Insert _Link..."), NULL, N_("Create a link to a web page, livejournal user, or a long journal entry"), G_CALLBACK (insert_link_cb) }, +@@ -3675,6 +3685,7 @@ + + /* options expander */ + dc->journal_expander = glade_xml_get_widget (xml, "more_options"); ++ dc->journal_more_options = glade_xml_get_widget (xml, "more_options_label"); + + /* buttons */ + help_button = glade_xml_get_widget (xml, "help_button"); +--- src/drivel.h.orig 30 Aug 2005 17:46:18 -0000 1.56 ++++ src/drivel.h 8 Mar 2006 13:18:06 -0000 +@@ -215,6 +215,7 @@ + GtkWidget *journal_text; + GtkWidget *journal_security; + GtkWidget *journal_expander; ++ GtkWidget *journal_more_options; + GtkWidget *journal_picture; + GtkWidget *journal_comment; + GtkWidget *journal_autoformat; diff --git a/deskutils/drivel/files/patch-src-blog_lj b/deskutils/drivel/files/patch-src-blog_lj new file mode 100644 index 000000000..9c4382e1f --- /dev/null +++ b/deskutils/drivel/files/patch-src-blog_lj @@ -0,0 +1,47 @@ +--- src/blog_lj.c.orig 25 Jun 2005 16:19:28 -0000 1.27 ++++ src/blog_lj.c 28 Feb 2006 16:41:41 -0000 +@@ -826,6 +826,11 @@ + + for (j = 0; j < prop_count; j++) + { ++ g_snprintf (key, 32, "prop_%d_itemid", j + 1); ++ mesg = drivel_request_value_lookup (dr, key); ++ if (strcmp(mesg,itemid[i])!=0) ++ continue; ++ + g_snprintf (key, 32, "prop_%d_name", j + 1); + mesg = drivel_request_value_lookup (dr, key); + +@@ -869,28 +874,28 @@ + { + prop = journal_prop_new (); + prop->name = g_strdup ("music"); +- prop->value = g_strdup (picture[i]); ++ prop->value = g_strdup (music[i]); + g_array_append_val (entry->properties, prop); + } + if (mood[i]) + { + prop = journal_prop_new (); + prop->name = g_strdup ("mood"); +- prop->value = g_strdup (picture[i]); ++ prop->value = g_strdup (mood[i]); + g_array_append_val (entry->properties, prop); + } + if (comments[i]) + { + prop = journal_prop_new (); + prop->name = g_strdup ("comments"); +- prop->value = g_strdup (picture[i]); ++ prop->value = g_strdup (comments[i]); + g_array_append_val (entry->properties, prop); + } + if (autoformat[i]) + { + prop = journal_prop_new (); + prop->name = g_strdup ("autoformat"); +- prop->value = g_strdup (picture[i]); ++ prop->value = g_strdup (autoformat[i]); + g_array_append_val (entry->properties, prop); + } + prop = journal_prop_new (); diff --git a/deskutils/drivel/files/patch-src-main b/deskutils/drivel/files/patch-src-main new file mode 100644 index 000000000..b35c7251e --- /dev/null +++ b/deskutils/drivel/files/patch-src-main @@ -0,0 +1,11 @@ +--- src/main.c.orig 30 Aug 2005 17:46:19 -0000 1.60 ++++ src/main.c 6 Mar 2006 17:05:44 -0000 +@@ -253,7 +253,7 @@ + { + c = g_utf8_get_char_validated (p, -1); + +- if (!g_unichar_isalnum (c) && c != '_' && c!= '-') ++ if (!g_unichar_isalnum (c) && c != '_' && c!= '-' && c!='@' && c!='.') + { + retval = FALSE; + break; diff --git a/deskutils/drivel/pkg-descr b/deskutils/drivel/pkg-descr new file mode 100644 index 000000000..b2d3713f5 --- /dev/null +++ b/deskutils/drivel/pkg-descr @@ -0,0 +1,15 @@ +Drivel is a GNOME client for working with online journals, also known as +weblogs or simply blogs. It retains a simple and elegant design while providing +many powerful features, including: + + * Support for LiveJournal, Blogger, MovableType, Advogato, and Atom + journals (systems based off these are also supported, including WordPress + and Drupal) + * The ability to post, edit, delete, and view recent entries + * Integrated spellchecking and HTML syntax highlighting + * Offline composition and editing + * Automatic recovery in the event of a crash + * Journal system extensions, including LiveJournal security groups and + MovableType categories + +WWW: http://www.dropline.net/drivel/ diff --git a/deskutils/drivel/pkg-plist b/deskutils/drivel/pkg-plist new file mode 100644 index 000000000..66ffa8c20 --- /dev/null +++ b/deskutils/drivel/pkg-plist @@ -0,0 +1,76 @@ +bin/drivel +share/application-registry/drivel.applications +share/applications/gnome-drivel.desktop +share/drivel/glade/drivel.glade +share/drivel/languages/livejournal.lang +share/gnome/help/drivel/C/drivel.xml +share/gnome/help/drivel/C/legal.xml +share/mime-info/drivel.keys +share/mime-info/drivel.mime +share/omf/drivel/drivel-C.omf +share/pixmaps/drivel-48.png +share/pixmaps/drivel/advogato.png +share/pixmaps/drivel/atom.png +share/pixmaps/drivel/blogger.png +share/pixmaps/drivel/checkbutton.xpm +share/pixmaps/drivel/combobox.xpm +share/pixmaps/drivel/community.png +share/pixmaps/drivel/doublearrow.png +share/pixmaps/drivel/drivel_splash.png +share/pixmaps/drivel/drivel-24.png +share/pixmaps/drivel/entry.xpm +share/pixmaps/drivel/feed.png +share/pixmaps/drivel/hscale.xpm +share/pixmaps/drivel/insert_image.png +share/pixmaps/drivel/insert_object.png +share/pixmaps/drivel/leftarrow.png +share/pixmaps/drivel/livejournal.png +share/pixmaps/drivel/mt.png +share/pixmaps/drivel/private.png +share/pixmaps/drivel/protected.png +share/pixmaps/drivel/public.png +share/pixmaps/drivel/radiobutton.xpm +share/pixmaps/drivel/rightarrow.png +share/pixmaps/drivel/user.png +share/pixmaps/drivel/tray_livejournal.png +share/pixmaps/drivel/xmms.xpm +share/icons/gnome/48x48/mimetypes/gnome-mime-application-x-drivel.png +share/locale/bg/LC_MESSAGES/drivel.mo +share/locale/cs/LC_MESSAGES/drivel.mo +share/locale/de/LC_MESSAGES/drivel.mo +share/locale/el/LC_MESSAGES/drivel.mo +share/locale/en_CA/LC_MESSAGES/drivel.mo +share/locale/en_GB/LC_MESSAGES/drivel.mo +share/locale/es/LC_MESSAGES/drivel.mo +share/locale/ja/LC_MESSAGES/drivel.mo +share/locale/nb/LC_MESSAGES/drivel.mo +share/locale/nl/LC_MESSAGES/drivel.mo +share/locale/no/LC_MESSAGES/drivel.mo +share/locale/pa/LC_MESSAGES/drivel.mo +share/locale/pl/LC_MESSAGES/drivel.mo +share/locale/pt/LC_MESSAGES/drivel.mo +share/locale/pt_BR/LC_MESSAGES/drivel.mo +share/locale/rw/LC_MESSAGES/drivel.mo +share/locale/sq/LC_MESSAGES/drivel.mo +share/locale/sr/LC_MESSAGES/drivel.mo +share/locale/sr@Latn/LC_MESSAGES/drivel.mo +share/locale/sv/LC_MESSAGES/drivel.mo +share/locale/zh_CN/LC_MESSAGES/drivel.mo +share/locale/zh_TW/LC_MESSAGES/drivel.mo +share/mime/application/x-drivel.xml +share/mime/packages/drivel.xml +@unexec /bin/rmdir %D/share/locale/rw/LC_MESSAGES 2>/dev/null || /usr/bin/true +@unexec /bin/rmdir %D/share/locale/rw 2>/dev/null || /usr/bin/true +@dirrmtry share/icons/gnome/48x48/mimetypes +@dirrmtry share/icons/gnome/48x48 +@dirrm share/pixmaps/drivel +@dirrm share/omf/drivel +@dirrm share/gnome/help/drivel/C +@dirrm share/gnome/help/drivel +@dirrm share/drivel/languages +@dirrm share/drivel/glade +@dirrm share/drivel +@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw diff --git a/deskutils/gdesklets-recentlyused/Makefile b/deskutils/gdesklets-recentlyused/Makefile new file mode 100644 index 000000000..b7da02328 --- /dev/null +++ b/deskutils/gdesklets-recentlyused/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: gdesklets-recentlyused +# Date created: 02 September 2003 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD$ +# + +PORTNAME= recentlyused +PORTVERSION= 0.6 +PORTREVISION= 7 +CATEGORIES= deskutils gnome +MASTER_SITES= http://gdesklets.gnomedesktop.org/files/ +PKGNAMEPREFIX= gdesklets- +DISTNAME= recently-used-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A toolbar for the most recently used items from ~/.recently-used + +RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets + +USE_PYTHON= yes +USE_XLIB= yes +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +NAME= RecentlyUsed + +do-build: + @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC} + @${FIND} ${WRKSRC} -name '*.orig' -delete + +do-install: + @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME} + @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME} + @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/${NAME}/AUTHORS ${DATADIR}/gdesklets/Sensors/${NAME}/ + @${CP} ${WRKSRC}/${NAME}/.recently-used ${DATADIR}/gdesklets/Sensors/${NAME}/ + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/deskutils/gdesklets-recentlyused/distinfo b/deskutils/gdesklets-recentlyused/distinfo new file mode 100644 index 000000000..c8bf26e1a --- /dev/null +++ b/deskutils/gdesklets-recentlyused/distinfo @@ -0,0 +1,3 @@ +MD5 (recently-used-0.6.tar.gz) = ab6752b577d74eff382c44c48194a405 +SHA256 (recently-used-0.6.tar.gz) = f230c3d63447016a72d0bec4f6b24c52e8893701fd52e2a773258113c27e323e +SIZE (recently-used-0.6.tar.gz) = 9650 diff --git a/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin b/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin new file mode 100644 index 000000000..16824f3c0 --- /dev/null +++ b/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin @@ -0,0 +1,18 @@ +--- Install_RecentlyUsed_Sensor.bin.orig Sat Sep 20 01:59:52 2003 ++++ Install_RecentlyUsed_Sensor.bin Sat Sep 20 02:00:20 2003 +@@ -75,15 +75,9 @@ + else: + cmd = "mkdir -p %(destination)s; cd %(destination)s; " X "LANG=C tar -xzvf %(tmp)s 2>&1" +- fail, out = commands.getstatusoutput(cmd % vars()) ++ commands.getstatusoutput(cmd % vars()) + os.unlink(tmp) + +- if (fail): +- if (no_message): print ERROR_TAR + out +- else: message(ERROR_TAR + out, "error") +- sys.exit(1) +- +- print out + if (not list_only): + if (no_message): print SUCCESS + else: message(SUCCESS, "info") diff --git a/deskutils/gdesklets-recentlyused/files/pkg-message.in b/deskutils/gdesklets-recentlyused/files/pkg-message.in new file mode 100644 index 000000000..7c5424401 --- /dev/null +++ b/deskutils/gdesklets-recentlyused/files/pkg-message.in @@ -0,0 +1,14 @@ +## +To view the installed applets: + + ls %%PREFIX%%/share/gdesklets/Displays + +To use those applets: + + gdesklets open %%PREFIX%%/share/gdesklets/Displays/${name}/${name}.display + +Replace ${name} with the correct name of the applets you want to use. + +NOTE: Be sure to login as your user when you use the gdesklets command, + as the configuration will be stored in the ~/.gdesklets/ directory. +## diff --git a/deskutils/gdesklets-recentlyused/pkg-descr b/deskutils/gdesklets-recentlyused/pkg-descr new file mode 100644 index 000000000..f770cc91f --- /dev/null +++ b/deskutils/gdesklets-recentlyused/pkg-descr @@ -0,0 +1,11 @@ +The Recently Used Toolbar displays icons for the most recently used items +according to your GNOME ~/.recently-used file. The Desklet displays a +configurable number of icons in the last used order. As you scroll over the +icons in the toolbar they expand similar to the starter bar desklet. If the +file has a thumbnail already created, then the thumbnail will be shown +instead of the MIME icon. + +If you click on one of the icons in the toolbar it will launch the application +that GNOME has associated with that specific MIME type. + +WWW: http://www.clarkson.edu/~clarkbw/desklets/ diff --git a/deskutils/gdesklets-recentlyused/pkg-plist b/deskutils/gdesklets-recentlyused/pkg-plist new file mode 100644 index 000000000..a61e83c09 --- /dev/null +++ b/deskutils/gdesklets-recentlyused/pkg-plist @@ -0,0 +1,16 @@ +share/gdesklets/Displays/RecentlyUsed/recently-used.display +share/gdesklets/Sensors/RecentlyUsed/.recently-used +share/gdesklets/Sensors/RecentlyUsed/AUTHORS +share/gdesklets/Sensors/RecentlyUsed/Animator.py +share/gdesklets/Sensors/RecentlyUsed/Icon.py +share/gdesklets/Sensors/RecentlyUsed/MimeIcon.py +share/gdesklets/Sensors/RecentlyUsed/RecentFile.py +share/gdesklets/Sensors/RecentlyUsed/RecentParser.py +share/gdesklets/Sensors/RecentlyUsed/RecentReader.py +share/gdesklets/Sensors/RecentlyUsed/RfileSet.py +share/gdesklets/Sensors/RecentlyUsed/TestReader.py +share/gdesklets/Sensors/RecentlyUsed/TestRecent.py +share/gdesklets/Sensors/RecentlyUsed/TestRfileSet.py +share/gdesklets/Sensors/RecentlyUsed/__init__.py +@dirrm share/gdesklets/Sensors/RecentlyUsed +@dirrm share/gdesklets/Displays/RecentlyUsed |