Import gal (GNOME Application Libraries) 0.19.2:

This module contains some library functions that came from Gnumeric
and Evolution.  The idea is to reuse the code across various larger
GNOME applications that might want to use it.  The API is not frozen
and might change at any time.  Larger class renaming might happen
at any point without notice.  Use this library at your own risk.

Submitted by Marc Matteo <marcm@lectroid.net>.

Ok naddy@.
This commit is contained in:
nino 2002-05-21 19:43:55 +00:00
parent 51f50257b0
commit 9c00e2c16d
7 changed files with 434 additions and 0 deletions

41
devel/gal/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/05/21 19:43:55 nino Exp $
COMMENT= "GNOME Application Libs"
DISTNAME= gal-0.19.2
CATEGORIES= devel x11/gnome
NEED_VERSION= 1.530
HOMEPAGE= http://www.gnome.org/
MAINTAINER= Marc Matteo <marcm@lectroid.net>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=unstable/sources/gal/}
EXTRACT_SUFX= .tar.bz2
MODULES= gettext
BUILD_DEPENDS= :gnome-libs->1.4:x11/gnome/libs \
:gnome-print->=0.25:x11/gnome/print \
:libglade->=0.13:devel/libglade,gnome \
:libxml1->=1.8.8:textproc/libxml1
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+ \
glib.1.2,gmodule.1.2::devel/glib
SEPARATE_BUILD= concurrent
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-libiconv=${LOCALBASE} \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

3
devel/gal/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (gal-0.19.2.tar.bz2) = 6f17b857bc69fde0902481b3d2af475e
RMD160 (gal-0.19.2.tar.bz2) = 65ba3c2ec170ab5ae5b6ecca1b795889d6095689
SHA1 (gal-0.19.2.tar.bz2) = 9dfe9f5ca45ff61a10d4bb89679babcd5c38f7dc

View File

@ -0,0 +1,45 @@
$OpenBSD: patch-configure,v 1.1.1.1 2002/05/21 19:43:55 nino Exp $
--- configure.orig Thu Apr 18 23:58:31 2002
+++ configure Mon May 20 20:00:19 2002
@@ -3901,8 +3901,8 @@ else
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
export_dynamic_flag_spec='${wl}-E'
else
case "$host_os" in
@@ -3911,8 +3911,8 @@ else
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
;;
esac
fi
@@ -4427,6 +4427,8 @@ openbsd*)
version_type=sunos
need_lib_prefix=no
need_version=no
+ sys_lib_search_path_spec="/usr/lib"
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
case "$host_os" in
openbsd2.[89] | openbsd2.[89].*)
@@ -8021,6 +8023,10 @@ else
echo "$ac_t""no" 1>&6
fi
+ fi
+
+ if test "$gt_cv_func_gettext_libintl" = "yes"; then
+ LIBS="$LIBS -lintl";
fi
if test "$gt_cv_func_gettext_libc" = "yes" \

View File

@ -0,0 +1,62 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2002/05/21 19:43:55 nino Exp $
--- ltmain.sh.orig Thu Apr 18 23:58:25 2002
+++ ltmain.sh Mon May 20 20:01:57 2002
@@ -1062,6 +1062,17 @@ compiler."
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -4491,40 +4502,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = ":" && exit 0
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
exit 0
;;

7
devel/gal/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
This module contains some library functions that came from Gnumeric
and Evolution. The idea is to reuse the code across various larger
GNOME applications that might want to use it. The API is not frozen
and might change at any time. Larger class renaming might happen
at any point without notice. Use this library at your own risk.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2002/05/21 19:43:55 nino Exp $
lib/libgal.so.19.2
DYNLIBDIR(%D/lib)

273
devel/gal/pkg/PLIST Normal file
View File

@ -0,0 +1,273 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/05/21 19:43:55 nino Exp $
include/gal/e-paned/e-hpaned.h
include/gal/e-paned/e-paned.h
include/gal/e-paned/e-vpaned.h
include/gal/e-table/e-cell-checkbox.h
include/gal/e-table/e-cell-combo.h
include/gal/e-table/e-cell-date.h
include/gal/e-table/e-cell-float.h
include/gal/e-table/e-cell-number.h
include/gal/e-table/e-cell-pixbuf.h
include/gal/e-table/e-cell-popup.h
include/gal/e-table/e-cell-size.h
include/gal/e-table/e-cell-spin-button.h
include/gal/e-table/e-cell-text.h
include/gal/e-table/e-cell-toggle.h
include/gal/e-table/e-cell-tree.h
include/gal/e-table/e-cell.h
include/gal/e-table/e-table-click-to-add.h
include/gal/e-table/e-table-col-dnd.h
include/gal/e-table/e-table-col.h
include/gal/e-table/e-table-column-specification.h
include/gal/e-table/e-table-config.h
include/gal/e-table/e-table-defines.h
include/gal/e-table/e-table-extras.h
include/gal/e-table/e-table-field-chooser-dialog.h
include/gal/e-table/e-table-field-chooser-item.h
include/gal/e-table/e-table-field-chooser.h
include/gal/e-table/e-table-group-container.h
include/gal/e-table/e-table-group-leaf.h
include/gal/e-table/e-table-group.h
include/gal/e-table/e-table-header-item.h
include/gal/e-table/e-table-header-utils.h
include/gal/e-table/e-table-header.h
include/gal/e-table/e-table-item.h
include/gal/e-table/e-table-memory-callbacks.h
include/gal/e-table/e-table-memory.h
include/gal/e-table/e-table-model.h
include/gal/e-table/e-table-one.h
include/gal/e-table/e-table-scrolled.h
include/gal/e-table/e-table-selection-model.h
include/gal/e-table/e-table-simple.h
include/gal/e-table/e-table-sort-info.h
include/gal/e-table/e-table-sorted-variable.h
include/gal/e-table/e-table-sorted.h
include/gal/e-table/e-table-sorter.h
include/gal/e-table/e-table-sorting-utils.h
include/gal/e-table/e-table-specification.h
include/gal/e-table/e-table-state.h
include/gal/e-table/e-table-subset-variable.h
include/gal/e-table/e-table-subset.h
include/gal/e-table/e-table-tooltip.h
include/gal/e-table/e-table-utils.h
include/gal/e-table/e-table-without.h
include/gal/e-table/e-table.h
include/gal/e-table/e-tree-memory-callbacks.h
include/gal/e-table/e-tree-memory.h
include/gal/e-table/e-tree-model.h
include/gal/e-table/e-tree-scrolled.h
include/gal/e-table/e-tree-selection-model.h
include/gal/e-table/e-tree-sorted.h
include/gal/e-table/e-tree-table-adapter.h
include/gal/e-table/e-tree.h
include/gal/e-text/e-completion-match.h
include/gal/e-text/e-completion-view.h
include/gal/e-text/e-completion.h
include/gal/e-text/e-entry.h
include/gal/e-text/e-table-text-model.h
include/gal/e-text/e-text-model-repos.h
include/gal/e-text/e-text-model-uri.h
include/gal/e-text/e-text-model.h
include/gal/e-text/e-text.h
include/gal/menus/gal-define-views-dialog.h
include/gal/menus/gal-define-views-model.h
include/gal/menus/gal-view-collection.h
include/gal/menus/gal-view-etable.h
include/gal/menus/gal-view-factory-etable.h
include/gal/menus/gal-view-factory.h
include/gal/menus/gal-view-new-dialog.h
include/gal/menus/gal-view.h
include/gal/shortcut-bar/e-group-bar.h
include/gal/shortcut-bar/e-icon-bar-bg-item.h
include/gal/shortcut-bar/e-icon-bar.h
include/gal/shortcut-bar/e-shortcut-bar.h
include/gal/shortcut-bar/e-shortcut-model.h
include/gal/shortcut-bar/e-vscrolled-bar.h
include/gal/unicode/gunicode.h
include/gal/util/e-bit-array.h
include/gal/util/e-cache.h
include/gal/util/e-i18n.h
include/gal/util/e-iconv.h
include/gal/util/e-sorter-array.h
include/gal/util/e-sorter.h
include/gal/util/e-text-event-processor-emacs-like.h
include/gal/util/e-text-event-processor-types.h
include/gal/util/e-text-event-processor.h
include/gal/util/e-unicode-i18n.h
include/gal/util/e-util.h
include/gal/util/e-xml-utils.h
include/gal/widgets/color-group.h
include/gal/widgets/color-palette.h
include/gal/widgets/e-canvas-background.h
include/gal/widgets/e-canvas-utils.h
include/gal/widgets/e-canvas-vbox.h
include/gal/widgets/e-canvas.h
include/gal/widgets/e-categories-master-list-array.h
include/gal/widgets/e-categories-master-list-combo.h
include/gal/widgets/e-categories-master-list-dialog-model.h
include/gal/widgets/e-categories-master-list-dialog.h
include/gal/widgets/e-categories-master-list.h
include/gal/widgets/e-categories.h
include/gal/widgets/e-colors.h
include/gal/widgets/e-cursors.h
include/gal/widgets/e-font.h
include/gal/widgets/e-gui-utils.h
include/gal/widgets/e-hscrollbar.h
include/gal/widgets/e-hsv-utils.h
include/gal/widgets/e-popup-menu.h
include/gal/widgets/e-printable.h
include/gal/widgets/e-reflow-model.h
include/gal/widgets/e-reflow.h
include/gal/widgets/e-scroll-frame.h
include/gal/widgets/e-selection-model-array.h
include/gal/widgets/e-selection-model-simple.h
include/gal/widgets/e-selection-model.h
include/gal/widgets/e-unicode.h
include/gal/widgets/e-vscrollbar.h
include/gal/widgets/gtk-combo-box.h
include/gal/widgets/gtk-combo-stack.h
include/gal/widgets/gtk-combo-text.h
include/gal/widgets/widget-color-combo.h
include/gal/widgets/widget-pixmap-combo.h
lib/galConf.sh
lib/libgal.a
lib/libgal.la
share/etable/0.19.2/glade/e-table-config-no-group.glade
share/etable/0.19.2/glade/e-table-config.glade
share/etable/0.19.2/glade/e-table-field-chooser.glade
share/etable/0.19.2/glade/e-table-group.glade
share/gal/0.19.2/glade/e-categories-master-list-dialog.glade
share/gal/0.19.2/glade/gal-categories.glade
share/gal/0.19.2/glade/gal-define-views.glade
share/gal/0.19.2/glade/gal-view-new-dialog.glade
share/gal/html/gal-api.sgml
share/gal/html/gal-decl.txt
share/gal/html/gal-sections.txt
share/gal/html/gal.hierarchy
share/gal/html/gal.signals
share/gal/html/gal.types
share/locale/az/LC_MESSAGES/gal.mo
share/locale/ca/LC_MESSAGES/gal.mo
share/locale/cs/LC_MESSAGES/gal.mo
share/locale/da/LC_MESSAGES/gal.mo
share/locale/de/LC_MESSAGES/gal.mo
share/locale/en_GB/LC_MESSAGES/gal.mo
share/locale/es/LC_MESSAGES/gal.mo
share/locale/fi/LC_MESSAGES/gal.mo
share/locale/fr/LC_MESSAGES/gal.mo
share/locale/gl/LC_MESSAGES/gal.mo
share/locale/hu/LC_MESSAGES/gal.mo
share/locale/it/LC_MESSAGES/gal.mo
share/locale/ja/LC_MESSAGES/gal.mo
share/locale/ko/LC_MESSAGES/gal.mo
share/locale/lt/LC_MESSAGES/gal.mo
share/locale/nn/LC_MESSAGES/gal.mo
share/locale/no/LC_MESSAGES/gal.mo
share/locale/pl/LC_MESSAGES/gal.mo
share/locale/pt/LC_MESSAGES/gal.mo
share/locale/pt_BR/LC_MESSAGES/gal.mo
share/locale/ro/LC_MESSAGES/gal.mo
share/locale/ru/LC_MESSAGES/gal.mo
share/locale/sk/LC_MESSAGES/gal.mo
share/locale/sv/LC_MESSAGES/gal.mo
share/locale/ta/LC_MESSAGES/gal.mo
share/locale/tr/LC_MESSAGES/gal.mo
share/locale/uk/LC_MESSAGES/gal.mo
share/locale/zh_TW/LC_MESSAGES/gal.mo
share/pixmaps/gal/categories/category_birthday_16.png
share/pixmaps/gal/categories/category_business_16.png
share/pixmaps/gal/categories/category_favorites_16.png
share/pixmaps/gal/categories/category_gifts_16.png
share/pixmaps/gal/categories/category_goals_16.png
share/pixmaps/gal/categories/category_holiday-cards_16.png
share/pixmaps/gal/categories/category_holiday_16.png
share/pixmaps/gal/categories/category_hot-contacts_16.png
share/pixmaps/gal/categories/category_ideas_16.png
share/pixmaps/gal/categories/category_international_16.png
share/pixmaps/gal/categories/category_key-customer_16.png
share/pixmaps/gal/categories/category_miscellaneous_16.png
share/pixmaps/gal/categories/category_personal_16.png
share/pixmaps/gal/categories/category_phonecalls_16.png
share/pixmaps/gal/categories/category_status_16.png
share/pixmaps/gal/categories/category_strategies_16.png
share/pixmaps/gal/categories/category_suppliers_16.png
share/pixmaps/gal/categories/category_time-and-expenses_16.png
%%SHARED%%
@dirrm share/pixmaps/gal/categories
@dirrm share/pixmaps/gal
@comment @dirrm share/pixmaps
@comment @dirrm share/locale/zh_TW/LC_MESSAGES
@comment @dirrm share/locale/zh_TW
@comment @dirrm share/locale/uk/LC_MESSAGES
@comment @dirrm share/locale/uk
@comment @dirrm share/locale/tr/LC_MESSAGES
@comment @dirrm share/locale/tr
@comment @dirrm share/locale/ta/LC_MESSAGES
@comment @dirrm share/locale/ta
@comment @dirrm share/locale/sv/LC_MESSAGES
@comment @dirrm share/locale/sv
@comment @dirrm share/locale/sk/LC_MESSAGES
@comment @dirrm share/locale/sk
@comment @dirrm share/locale/ru/LC_MESSAGES
@comment @dirrm share/locale/ru
@comment @dirrm share/locale/ro/LC_MESSAGES
@comment @dirrm share/locale/ro
@comment @dirrm share/locale/pt_BR/LC_MESSAGES
@comment @dirrm share/locale/pt_BR
@comment @dirrm share/locale/pt/LC_MESSAGES
@comment @dirrm share/locale/pt
@comment @dirrm share/locale/pl/LC_MESSAGES
@comment @dirrm share/locale/pl
@comment @dirrm share/locale/no/LC_MESSAGES
@comment @dirrm share/locale/no
@comment @dirrm share/locale/nn/LC_MESSAGES
@comment @dirrm share/locale/nn
@comment @dirrm share/locale/lt/LC_MESSAGES
@comment @dirrm share/locale/lt
@comment @dirrm share/locale/ko/LC_MESSAGES
@comment @dirrm share/locale/ko
@comment @dirrm share/locale/ja/LC_MESSAGES
@comment @dirrm share/locale/ja
@comment @dirrm share/locale/it/LC_MESSAGES
@comment @dirrm share/locale/it
@comment @dirrm share/locale/hu/LC_MESSAGES
@comment @dirrm share/locale/hu
@comment @dirrm share/locale/gl/LC_MESSAGES
@comment @dirrm share/locale/gl
@comment @dirrm share/locale/fr/LC_MESSAGES
@comment @dirrm share/locale/fr
@comment @dirrm share/locale/fi/LC_MESSAGES
@comment @dirrm share/locale/fi
@comment @dirrm share/locale/es/LC_MESSAGES
@comment @dirrm share/locale/es
@comment @dirrm share/locale/en_GB/LC_MESSAGES
@comment @dirrm share/locale/en_GB
@comment @dirrm share/locale/de/LC_MESSAGES
@comment @dirrm share/locale/de
@comment @dirrm share/locale/da/LC_MESSAGES
@comment @dirrm share/locale/da
@comment @dirrm share/locale/cs/LC_MESSAGES
@comment @dirrm share/locale/cs
@comment @dirrm share/locale/ca/LC_MESSAGES
@comment @dirrm share/locale/ca
@comment @dirrm share/locale/az/LC_MESSAGES
@comment @dirrm share/locale/az
@comment @dirrm share/locale
@comment @exec mkdir -p %D/share/gal/html/gal
@comment @dirrm share/gal/html/gal
@dirrm share/gal/html
@dirrm share/gal/0.19.2/glade
@dirrm share/gal/0.19.2
@dirrm share/gal
@dirrm share/etable/0.19.2/glade
@dirrm share/etable/0.19.2
@dirrm share/etable
@dirrm include/gal/widgets
@dirrm include/gal/util
@dirrm include/gal/unicode
@dirrm include/gal/shortcut-bar
@dirrm include/gal/menus
@dirrm include/gal/e-text
@dirrm include/gal/e-table
@dirrm include/gal/e-paned
@dirrm include/gal