Import bonobo-conf 0.14:

The Bonobo Configuration System (BCS) consists of several parts.
An API to access configuration data, a database to store configuration
values in XML format and a system to visualise and edit configuration
data. The whole system is built on top of bonobo and ORBit (CORBA).

Submitted by Marc Matteo <marcm@lectroid.net>, with additional 
polishing from me.
This commit is contained in:
nino 2002-05-30 12:56:59 +00:00
parent e8c1062941
commit 7ed2b311c9
9 changed files with 271 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/05/30 12:56:59 nino Exp $
COMMENT= "bonobo configuration system"
DISTNAME= bonobo-conf-0.14
CATEGORIES= x11/gnome
NEED_VERSION= 1.530
HOMEPAGE= http://developer.gnome.org/arch/component/bonobo.html
MAINTAINER= Marc Matteo <marcm@lectroid.net>
#GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=unstable/sources/bonobo-conf/}
MODULES= gettext
LIB_DEPENDS= bonobo.2,bonobox.2::x11/gnome/bonobo \
gconf-1.1,gconf-gtk-1.1::devel/gconf
SEPARATE_BUILD= concurrent
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (bonobo-conf-0.14.tar.gz) = ba37bffe8b6ac5c9281e0112de548b9d
RMD160 (bonobo-conf-0.14.tar.gz) = 6516fad7e95b41908c9ae4847347d7b7f2c1d1ac
SHA1 (bonobo-conf-0.14.tar.gz) = 9e33ec9eb7553cca90e4e1f9e018e2a7f2740d7a

View File

@ -0,0 +1,47 @@
$OpenBSD: patch-configure,v 1.1.1.1 2002/05/30 12:56:59 nino Exp $
--- configure.orig Thu Nov 1 12:25:50 2001
+++ configure Fri May 24 21:09:31 2002
@@ -2354,6 +2354,16 @@ newos6*)
lt_cv_file_magic_test_file=/usr/lib/libnls.so
;;
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
+
osf3* | osf4* | osf5*)
# this will be overridden with pass_all, but let us keep it just in case
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
@@ -4020,8 +4030,8 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
;;
@@ -4500,10 +4510,11 @@ newsos6)
openbsd*)
version_type=sunos
- if test "$with_gnu_ld" = yes; then
- need_lib_prefix=no
- need_version=no
- fi
+ need_version=no
+ need_lib_prefix=no
+ sys_lib_search_path_spec="/usr/lib"
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
+ shlibpath_overrides_runpath=yes
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-doc_Makefile_in,v 1.1.1.1 2002/05/30 12:56:59 nino Exp $
--- doc/Makefile.in.orig Fri May 24 21:23:12 2002
+++ doc/Makefile.in Fri May 24 21:23:36 2002
@@ -155,7 +155,7 @@ DOC_MAIN_SGML_FILE = $(DOC_MODULE).sgml
# The directory containing the source code (if it contains documentation).
DOC_SOURCE_DIR = ../bonobo-conf
-TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
+TARGET_DIR = $(DESTDIR)$(HTML_DIR)/$(DOC_MODULE)
DOC_FILES = $(DOC_SOURCE_DIR)/bonobo-config-database.h $(DOC_SOURCE_DIR)/bonobo-config-utils.h $(DOC_SOURCE_DIR)/bonobo-property-editor.h

View File

@ -0,0 +1,84 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2002/05/30 12:56:59 nino Exp $
--- ltmain.sh.orig Thu Nov 1 03:25:46 2001
+++ ltmain.sh Fri Apr 26 19:18:50 2002
@@ -1037,6 +1037,17 @@ compiler."
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -1473,6 +1484,9 @@ compiler."
fi
continue
;;
+ -pthread)
+ continue
+ ;;
%DEPLIBS%)
alldeplibs=yes
continue
@@ -1714,11 +1728,6 @@ compiler."
continue
fi
- if test "$installed" = no; then
- notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
- fi
-
if test -n "$old_archive_from_expsyms_cmds"; then
# figure out the soname
set dummy $library_names
@@ -4416,40 +4425,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
;;

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-monikers_Makefile_in,v 1.1.1.1 2002/05/30 12:56:59 nino Exp $
--- monikers/Makefile.in.orig Fri Apr 26 18:51:39 2002
+++ monikers/Makefile.in Fri Apr 26 18:52:55 2002
@@ -195,10 +195,10 @@ LTLIBRARIES = $(moniker_LTLIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir) -I..
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
-libmoniker_config_la_LDFLAGS =
+libmoniker_config_la_LDFLAGS = -module -avoid-version
libmoniker_config_la_DEPENDENCIES = ../bonobo-conf/libbonobo_conf.la
libmoniker_config_la_OBJECTS = bonobo-moniker-config.lo
-libmoniker_gconf_la_LDFLAGS =
+libmoniker_gconf_la_LDFLAGS = -module -avoid-version
@ENABLE_GCONF_TRUE@libmoniker_gconf_la_DEPENDENCIES =
@ENABLE_GCONF_TRUE@libmoniker_gconf_la_OBJECTS = \
@ENABLE_GCONF_TRUE@bonobo-moniker-gconf.lo bonobo-config-gconfdb.lo

View File

@ -0,0 +1,6 @@
The Bonobo Configuration System (BCS) consists of several parts.
An API to access configuration data, a database to store configuration
values in XML format and a system to visualise and edit configuration
data. The whole system is built on top of bonobo and ORBit (CORBA).
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2002/05/30 12:56:59 nino Exp $
lib/libbonobo_conf.so.0.0
lib/bonobo/monikers/libmoniker_config.so
lib/bonobo/monikers/libmoniker_gconf.so
DYNLIBDIR(%D/lib)

View File

@ -0,0 +1,63 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/05/30 12:56:59 nino Exp $
bin/bonobo-moniker-xmldb
bin/cedit
include/bonobo-conf/Bonobo_Config.h
include/bonobo-conf/bonobo-config-control.h
include/bonobo-conf/bonobo-config-database.h
include/bonobo-conf/bonobo-config-subdir.h
include/bonobo-conf/bonobo-config-utils.h
include/bonobo-conf/bonobo-preferences.h
include/bonobo-conf/bonobo-property-bag-proxy.h
include/bonobo-conf/bonobo-property-editor.h
include/bonobo-conf/bonobo-property-frame.h
lib/bonobo/monikers/libmoniker_config.a
lib/bonobo/monikers/libmoniker_config.la
lib/bonobo/monikers/libmoniker_gconf.a
lib/bonobo/monikers/libmoniker_gconf.la
lib/bonobo_confConf.sh
lib/libbonobo_conf.a
lib/libbonobo_conf.la
share/idl/Bonobo_Config.idl
share/locale/da/LC_MESSAGES/bonobo-conf.mo
share/locale/de/LC_MESSAGES/bonobo-conf.mo
share/locale/es/LC_MESSAGES/bonobo-conf.mo
share/locale/fr/LC_MESSAGES/bonobo-conf.mo
share/locale/it/LC_MESSAGES/bonobo-conf.mo
share/locale/nn/LC_MESSAGES/bonobo-conf.mo
share/locale/no/LC_MESSAGES/bonobo-conf.mo
share/locale/pl/LC_MESSAGES/bonobo-conf.mo
share/locale/sv/LC_MESSAGES/bonobo-conf.mo
share/locale/tr/LC_MESSAGES/bonobo-conf.mo
share/locale/zh_TW/LC_MESSAGES/bonobo-conf.mo
share/oaf/Bonobo_Moniker_config.oaf
share/oaf/Bonobo_Moniker_gconf.oaf
share/oaf/Bonobo_Moniker_xmldb.oaf
%%SHARED%%
@comment @dirrm share/locale/zh_TW/LC_MESSAGES
@comment @dirrm share/locale/zh_TW
@comment @dirrm share/locale/tr/LC_MESSAGES
@comment @dirrm share/locale/tr
@comment @dirrm share/locale/sv/LC_MESSAGES
@comment @dirrm share/locale/sv
@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/it/LC_MESSAGES
@comment @dirrm share/locale/it
@comment @dirrm share/locale/fr/LC_MESSAGES
@comment @dirrm share/locale/fr
@comment @dirrm share/locale/es/LC_MESSAGES
@comment @dirrm share/locale/es
@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
@comment @exec mkdir -p %D/share/bonobo-conf/html/bonobo-conf
@comment @dirrm share/bonobo-conf/html/bonobo-conf
@comment @dirrm share/bonobo-conf/html
@comment @dirrm share/bonobo-conf
@dirrm include/bonobo-conf