diff options
-rw-r--r-- | databases/glom/Makefile | 59 | ||||
-rw-r--r-- | databases/glom/distinfo | 3 | ||||
-rw-r--r-- | databases/glom/files/patch-glom_libglom_connectionpool.cc | 14 | ||||
-rw-r--r-- | databases/glom/files/patch-glom_main.cc | 19 | ||||
-rw-r--r-- | databases/glom/pkg-descr | 21 | ||||
-rw-r--r-- | databases/glom/pkg-plist | 190 |
6 files changed, 306 insertions, 0 deletions
diff --git a/databases/glom/Makefile b/databases/glom/Makefile new file mode 100644 index 000000000..7b699fd12 --- /dev/null +++ b/databases/glom/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: glom +# Date created: 24 April, 2005 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= glom +PORTVERSION= 1.7.1 +CATEGORIES= databases gnome +MASTER_SITES= GNOME + +MAINTAINER= kwm@FreeBSD.org +COMMENT= GNOME database designer and user interface + +LIB_DEPENDS= bakery-2.6:${PORTSDIR}/x11-toolkits/bakery \ + gdamm-3.0.10:${PORTSDIR}/databases/libgdamm \ + gtksourceviewmm-2.0.2:${PORTSDIR}/x11-toolkits/libgtksourceviewmm \ + goocanvasmm-0.1.2:${PORTSDIR}/graphics/goocanvasmm +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ + ${LOCALBASE}/libdata/pkgconfig/libgda-postgres-3.0.pc:${PORTSDIR}/databases/libgda3-postgresql +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ + ${LOCALBASE}/libdata/pkgconfig/libgda-postgres-3.0.pc:${PORTSDIR}/databases/libgda3-postgresql + +USE_BZIP2= yes +USE_PYTHON= yes +GNU_CONFIGURE= yes +USE_GETTEXT= yes +USE_GMAKE= yes +USE_GNOME= gnomedocutils gnomehack gnomeprefix pygnomeextras +USE_LDCONFIG= yes +USE_PGSQL= yes +INSTALLS_OMF= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-postgres-utils=${LOCALBASE}/bin +INSTALLS_ICONS= yes + +OPTIONS= SELF_HOSTING "Host the database locally" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_SELF_HOSTING) +# Note: USE_PGSQL has already been set above. +BUILD_DEPENDS+= postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server +RUN_DEPENDS+= postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server +.else +CONFIGURE_ARGS+=--enable-client-only +.endif + +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.post.mk> diff --git a/databases/glom/distinfo b/databases/glom/distinfo new file mode 100644 index 000000000..4d0e1430f --- /dev/null +++ b/databases/glom/distinfo @@ -0,0 +1,3 @@ +MD5 (glom-1.7.1.tar.bz2) = 7da4e51b4616b85267a51762ca85609a +SHA256 (glom-1.7.1.tar.bz2) = 84b608660fcd66accb42dcf790111ec6cfd421701c8648f5a2b2e4d0a6a896af +SIZE (glom-1.7.1.tar.bz2) = 3175629 diff --git a/databases/glom/files/patch-glom_libglom_connectionpool.cc b/databases/glom/files/patch-glom_libglom_connectionpool.cc new file mode 100644 index 000000000..b1f9b2c50 --- /dev/null +++ b/databases/glom/files/patch-glom_libglom_connectionpool.cc @@ -0,0 +1,14 @@ +--- glom/libglom/connectionpool.cc.orig 2008-04-29 18:10:54.000000000 +0200 ++++ glom/libglom/connectionpool.cc 2008-08-08 02:39:55.000000000 +0200 +@@ -789,7 +789,11 @@ bool ConnectionPool::directory_exists_ur + // TODO: This is probably mingw specific + static __p_sig_fn_t previous_sig_handler = SIG_DFL; + #else ++# ifdef __FreeBSD__ ++static __sighandler_t *previous_sig_handler = SIG_DFL; /* Arbitrary default */ ++# else + static sighandler_t previous_sig_handler = SIG_DFL; /* Arbitrary default */ ++# endif + #endif + + /* This is a Linux/Unix signal handler, diff --git a/databases/glom/files/patch-glom_main.cc b/databases/glom/files/patch-glom_main.cc new file mode 100644 index 000000000..6d40eb0ef --- /dev/null +++ b/databases/glom/files/patch-glom_main.cc @@ -0,0 +1,19 @@ +--- glom/main.cc.orig 2008-08-08 02:55:08.000000000 +0200 ++++ glom/main.cc 2008-08-08 02:55:59.000000000 +0200 +@@ -84,14 +84,14 @@ OptionGroup::OptionGroup() + + } //namespace Glom + +-extern "C" void __libc_freeres(void); ++//extern "C" void __libc_freeres(void); + + int + main(int argc, char* argv[]) + { + //Force some cleanup at exit, + //to help valgrind to detect memory leaks: +- atexit(__libc_freeres); ++ //atexit(__libc_freeres); + + // TODO: I am not sure why, but this does not work. PYTHONPATH is set + // correctly according to getenv(), but python still does not look in it. 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..beb6ff88a --- /dev/null +++ b/databases/glom/pkg-plist @@ -0,0 +1,190 @@ +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 +%%DATADIR%%/doc/examples/example_film_manager.glom +%%DATADIR%%/doc/examples/example_lesson_planner.glom +%%DATADIR%%/doc/examples/example_music_collection.glom +%%DATADIR%%/doc/examples/example_project_manager.glom +%%DATADIR%%/doc/examples/example_smallbusiness.glom +%%DATADIR%%/glade/glom_developer.glade +%%DATADIR%%/glade/glom.glade +%%DATADIR%%/glom_document.dtd +%%DATADIR%%/pixmaps/glom-button.png +%%DATADIR%%/pixmaps/glom-field.png +%%DATADIR%%/pixmaps/glom-group.png +%%DATADIR%%/pixmaps/glom-image.png +%%DATADIR%%/pixmaps/glom-notebook.png +%%DATADIR%%/pixmaps/glom-text.png +%%DATADIR%%/xslt/print_details_to_html.xsl +%%DATADIR%%/xslt/print_report_to_html.xsl +share/gnome/help/glom/C/figures/glom_data_details.png +share/gnome/help/glom/C/figures/glom_data_list.png +share/gnome/help/glom/C/figures/glom_design_fields.png +share/gnome/help/glom/C/figures/glom_design_fields_dialog_calculated.png +share/gnome/help/glom/C/figures/glom_design_layout_details.png +share/gnome/help/glom/C/figures/glom_design_layout_list.png +share/gnome/help/glom/C/figures/glom_design_reports.png +share/gnome/help/glom/C/figures/glom_design_reports_details.png +share/gnome/help/glom/C/figures/glom_design_reports_group_by.png +share/gnome/help/glom/C/figures/glom_design_reports_vertical_group.png +share/gnome/help/glom/C/figures/glom_design_translations.png +share/gnome/help/glom/C/figures/glom_report_result.png +share/gnome/help/glom/C/figures/glom_tables.png +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/glom_data_details.png +share/gnome/help/glom/de/figures/glom_data_list.png +share/gnome/help/glom/de/figures/glom_design_fields.png +share/gnome/help/glom/de/figures/glom_design_fields_dialog_calculated.png +share/gnome/help/glom/de/figures/glom_design_layout_details.png +share/gnome/help/glom/de/figures/glom_design_layout_list.png +share/gnome/help/glom/de/figures/glom_design_reports.png +share/gnome/help/glom/de/figures/glom_design_reports_details.png +share/gnome/help/glom/de/figures/glom_design_reports_group_by.png +share/gnome/help/glom/de/figures/glom_design_reports_vertical_group.png +share/gnome/help/glom/de/figures/glom_design_translations.png +share/gnome/help/glom/de/figures/glom_report_result.png +share/gnome/help/glom/de/figures/glom_tables.png +share/gnome/help/glom/de/figures/start.png +share/gnome/help/glom/de/glom.xml +share/gnome/help/glom/de/legal.xml +share/gnome/help/glom/en_GB/figures/glom_data_details.png +share/gnome/help/glom/en_GB/figures/glom_data_list.png +share/gnome/help/glom/en_GB/figures/glom_design_fields.png +share/gnome/help/glom/en_GB/figures/glom_design_fields_dialog_calculated.png +share/gnome/help/glom/en_GB/figures/glom_design_layout_details.png +share/gnome/help/glom/en_GB/figures/glom_design_layout_list.png +share/gnome/help/glom/en_GB/figures/glom_design_reports.png +share/gnome/help/glom/en_GB/figures/glom_design_reports_details.png +share/gnome/help/glom/en_GB/figures/glom_design_reports_group_by.png +share/gnome/help/glom/en_GB/figures/glom_design_reports_vertical_group.png +share/gnome/help/glom/en_GB/figures/glom_design_translations.png +share/gnome/help/glom/en_GB/figures/glom_report_result.png +share/gnome/help/glom/en_GB/figures/glom_tables.png +share/gnome/help/glom/en_GB/figures/start.png +share/gnome/help/glom/en_GB/glom.xml +share/gnome/help/glom/en_GB/legal.xml +share/gnome/help/glom/es/figures/glom_data_details.png +share/gnome/help/glom/es/figures/glom_data_list.png +share/gnome/help/glom/es/figures/glom_design_fields.png +share/gnome/help/glom/es/figures/glom_design_fields_dialog_calculated.png +share/gnome/help/glom/es/figures/glom_design_layout_details.png +share/gnome/help/glom/es/figures/glom_design_layout_list.png +share/gnome/help/glom/es/figures/glom_design_reports.png +share/gnome/help/glom/es/figures/glom_design_reports_details.png +share/gnome/help/glom/es/figures/glom_design_reports_group_by.png +share/gnome/help/glom/es/figures/glom_design_reports_vertical_group.png +share/gnome/help/glom/es/figures/glom_design_translations.png +share/gnome/help/glom/es/figures/glom_report_result.png +share/gnome/help/glom/es/figures/glom_tables.png +share/gnome/help/glom/es/figures/start.png +share/gnome/help/glom/es/glom.xml +share/gnome/help/glom/es/legal.xml +share/gnome/help/glom/fr/figures/glom_data_details.png +share/gnome/help/glom/fr/figures/glom_data_list.png +share/gnome/help/glom/fr/figures/glom_design_fields.png +share/gnome/help/glom/fr/figures/glom_design_fields_dialog_calculated.png +share/gnome/help/glom/fr/figures/glom_design_layout_details.png +share/gnome/help/glom/fr/figures/glom_design_layout_list.png +share/gnome/help/glom/fr/figures/glom_design_reports.png +share/gnome/help/glom/fr/figures/glom_design_reports_details.png +share/gnome/help/glom/fr/figures/glom_design_reports_group_by.png +share/gnome/help/glom/fr/figures/glom_design_reports_vertical_group.png +share/gnome/help/glom/fr/figures/glom_design_translations.png +share/gnome/help/glom/fr/figures/glom_report_result.png +share/gnome/help/glom/fr/figures/glom_tables.png +share/gnome/help/glom/fr/figures/start.png +share/gnome/help/glom/fr/glom.xml +share/gnome/help/glom/fr/legal.xml +share/gnome/help/glom/sv/figures/glom_data_details.png +share/gnome/help/glom/sv/figures/glom_data_list.png +share/gnome/help/glom/sv/figures/glom_design_fields.png +share/gnome/help/glom/sv/figures/glom_design_fields_dialog_calculated.png +share/gnome/help/glom/sv/figures/glom_design_layout_details.png +share/gnome/help/glom/sv/figures/glom_design_layout_list.png +share/gnome/help/glom/sv/figures/glom_design_reports.png +share/gnome/help/glom/sv/figures/glom_design_reports_details.png +share/gnome/help/glom/sv/figures/glom_design_reports_group_by.png +share/gnome/help/glom/sv/figures/glom_design_reports_vertical_group.png +share/gnome/help/glom/sv/figures/glom_design_translations.png +share/gnome/help/glom/sv/figures/glom_report_result.png +share/gnome/help/glom/sv/figures/glom_tables.png +share/gnome/help/glom/sv/figures/start.png +share/gnome/help/glom/sv/glom.xml +share/gnome/help/glom/sv/legal.xml +share/mime-info/glom.keys +share/mime-info/glom.mime +share/icons/hicolor/16x16/apps/glom.png +share/icons/hicolor/22x22/apps/glom.png +share/icons/hicolor/24x24/apps/glom.png +share/icons/hicolor/32x32/apps/glom.png +share/icons/hicolor/48x48/apps/glom.png +share/icons/hicolor/scalable/apps/glom.svg +share/locale/ar/LC_MESSAGES/glom.mo +share/locale/ca/LC_MESSAGES/glom.mo +share/locale/cs/LC_MESSAGES/glom.mo +share/locale/de/LC_MESSAGES/glom.mo +share/locale/dz/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/gl/LC_MESSAGES/glom.mo +share/locale/gu/LC_MESSAGES/glom.mo +share/locale/hu/LC_MESSAGES/glom.mo +share/locale/it/LC_MESSAGES/glom.mo +share/locale/nb/LC_MESSAGES/glom.mo +share/locale/ne/LC_MESSAGES/glom.mo +share/locale/nl/LC_MESSAGES/glom.mo +share/locale/oc/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 +share/omf/glom/glom-C.omf +share/omf/glom/glom-de.omf +share/omf/glom/glom-en_GB.omf +share/omf/glom/glom-es.omf +share/omf/glom/glom-fr.omf +share/omf/glom/glom-sv.omf +@dirrm share/omf/glom +@dirrm share/gnome/help/glom/sv/figures +@dirrm share/gnome/help/glom/sv +@dirrm share/gnome/help/glom/fr/figures +@dirrm share/gnome/help/glom/fr +@dirrm share/gnome/help/glom/es/figures +@dirrm share/gnome/help/glom/es +@dirrm share/gnome/help/glom/en_GB/figures +@dirrm share/gnome/help/glom/en_GB +@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 %%DATADIR%%/xslt +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%%/glade +@dirrm %%DATADIR%%/doc/examples +@dirrm %%DATADIR%%/doc +@dirrm %%DATADIR%% +@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@dirrmtry share/applications +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz |