Import bonobo-activation-1.0.4

--
Bonobo Activation is an object activation framework for GNOME. It uses ORBit.

From marcm for gnome2
This commit is contained in:
todd 2003-01-31 18:43:33 +00:00
parent c1d533b841
commit 1c1a62c12f
10 changed files with 479 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/01/31 18:43:33 todd Exp $
COMMENT= "Bonobo object activation framework for GNOME"
DISTNAME= bonobo-activation-1.0.4
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/bonobo-activation/1.0/}
EXTRACT_SUFX= .tar.bz2
MODULES= gettext
BUILD_DEPENDS= :pkgconfig->=0.12.0p1:devel/pkgconfig
LIB_DEPENDS= ORBit-2,ORBitCosNaming-2::devel/ORBit2 \
glib-2.0.0.0,gmodule-2.0.0.0,gobject-2.0.0.0,gthread-2.0.0.7::devel/glib2 \
xml2.6::textproc/libxml
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bonobo-activation; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/bonobo-activation/
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (bonobo-activation-1.0.4.tar.bz2) = 2b68d7a94d195cbcca15fcb63e55fb6a
RMD160 (bonobo-activation-1.0.4.tar.bz2) = 2e4d5e45d41e4395424bde04e2a1be851b6df78a
SHA1 (bonobo-activation-1.0.4.tar.bz2) = 7a14b24a9e79afa53cb860a3953cadd6e70ed481

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-bonobo-activation_bonobo-activation-fork-server_c,v 1.1.1.1 2003/01/31 18:43:33 todd Exp $
--- bonobo-activation/bonobo-activation-fork-server.c.orig Tue Oct 29 02:51:18 2002
+++ bonobo-activation/bonobo-activation-fork-server.c Wed Nov 27 20:51:55 2002
@@ -396,6 +396,8 @@ bonobo_activation_server_by_forking (
} else if ((childpid = fork ())) {
_exit (0); /* de-zombifier process, just exit */
} else {
+ sigprocmask (SIG_SETMASK, &omask, NULL);
+
if (display)
bonobo_activation_setenv ("DISPLAY", display);
if (session_manager)

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/01/31 18:43:33 todd Exp $
--- configure.orig Tue Oct 29 02:54:08 2002
+++ configure Wed Nov 27 20:48:36 2002
@@ -4637,8 +4637,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
@@ -4647,8 +4647,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

View File

@ -0,0 +1,72 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/01/31 18:43:33 todd Exp $
--- ltmain.sh.orig Thu Jul 18 14:23:31 2002
+++ ltmain.sh Thu Jul 18 14:24:58 2002
@@ -1071,6 +1071,17 @@ compiler."
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -1507,6 +1518,9 @@ compiler."
fi
continue
;;
+ -pthread)
+ continue
+ ;;
%DEPLIBS%)
alldeplibs=yes
continue
@@ -4498,40 +4512,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,30 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/01/31 18:43:33 todd Exp $
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
FILES='
bonobo-activation/bonobo-activation-config.xml
'
echo
echo "+--------------- $1"
echo "| To really remove $1 from your system you should also"
echo "| remove the configuration files from the ${SYSCONFDIR} directory."
echo "| Remove the directories in which the files reside as well if empty."
echo "|"
echo "| If you are planning on installing $1 again in the future"
echo "| you can leave it as it is."
echo "|"
echo "| FYI, the following configuration files belong to this package:"
echo "|"
for f in ${FILES}; do
echo "| ${SYSCONFDIR}/$f"
done
echo "+--------------- $1"
echo
exit 0

View File

@ -0,0 +1 @@
Bonobo Activation is an object activation framework for GNOME. It uses ORBit.

View File

@ -0,0 +1,98 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.1.1.1 2003/01/31 18:43:33 todd Exp $
P_NAME=bonobo-activation
set -e
PREFIX=${PKG_PREFIX:-/usr/local}
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DEST_PFX=${SYSCONFDIR}
SOURCE_PFX=${PREFIX}/share/examples/${P_NAME}
DIRS='
bonobo-activation
'
FILES='
bonobo-activation/bonobo-activation-config.xml
'
do_post() {
echo
echo "+--------------- ${P_NAME}"
# install dirs if neccessary
for d in ${DIRS}; do
if [ ! -d "${DEST_PFX}/$d" ]; then
install -d ${DEST_PFX}/$d
fi
done
# install or take note of existing config files
for f in ${FILES}; do
if [ -f "${DEST_PFX}/$f" ]; then
OLD_CONFS="${OLD_CONFS} $f"
else
if ! install -m 644 ${SOURCE_PFX}/$f ${DEST_PFX}/$f; then
echo "| ERROR: The following file could not be installed, exiting: ${DEST_PFX}/$f"
exit 1
fi
NEW_CONFS="${NEW_CONFS} $f"
fi
done
# print status report
if [ -n "${NEW_CONFS}" ]; then
echo "| The following NEW configuration files have been installed:"
echo "|"
for f in ${NEW_CONFS}; do
echo "| ${DEST_PFX}/$f"
done
fi
if [ -n "${OLD_CONFS}" ]; then
if [ -n "${NEW_CONFS}" ]; then
echo "|"
fi
echo "| The following OLD configuration files were found and have NOT been"
echo "| overwritten:"
echo "|"
for f in ${OLD_CONFS}; do
echo "| ${DEST_PFX}/$f"
done
echo "|"
echo "| You should however manually compare them to their equivalents in"
echo "|"
echo "| ${SOURCE_PFX}"
echo "|"
echo "| and update your configuration as needed."
fi
echo "+--------------- ${P_NAME}"
echo
}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
do_post
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/01/31 18:43:33 todd Exp $
lib/libbonobo-activation.so.4.0
DYNLIBDIR(%D/lib)

View File

@ -0,0 +1,194 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/01/31 18:43:33 todd Exp $
bin/activation-client
bin/bonobo-activation-empty-server
bin/bonobo-activation-run-query
bin/bonobo-slay
include/bonobo-activation-2.0/bonobo-activation/Bonobo_Activation_types.h
include/bonobo-activation-2.0/bonobo-activation/Bonobo_GenericFactory.h
include/bonobo-activation-2.0/bonobo-activation/Bonobo_Unknown.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-activate.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-async.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-base-service.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-id.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-init.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-register.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-server-info.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-shlib.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-version.h
include/bonobo-activation-2.0/bonobo-activation/bonobo-activation.h
lib/bonobo/servers/Bonobo_CosNaming_NamingContext.server
lib/bonobo/servers/broken.server
lib/bonobo/servers/empty.server
lib/bonobo/servers/plugin.server
lib/libbonobo-activation.a
lib/libbonobo-activation.la
lib/pkgconfig/bonobo-activation-2.0.pc
libexec/bonobo-activation-server
man/man1/bonobo-activation-server.1
sbin/bonobo-activation-sysconf
share/examples/bonobo-activation/bonobo-activation/bonobo-activation-config.xml
share/gtk-doc/html/bonobo-activation/api-reference.html
share/gtk-doc/html/bonobo-activation/architecture.html
share/gtk-doc/html/bonobo-activation/async-activation.html
share/gtk-doc/html/bonobo-activation/attribute-tag.html
share/gtk-doc/html/bonobo-activation/bonobo-activation-debugging.html
share/gtk-doc/html/bonobo-activation/bonobo-activation-initialization.html
share/gtk-doc/html/bonobo-activation/bonobo-activation-query-and-activation.html
share/gtk-doc/html/bonobo-activation/bonobo-activation-registration.html
share/gtk-doc/html/bonobo-activation/bonobo-activation-utilities.html
share/gtk-doc/html/bonobo-activation/bonobo-activation.png
share/gtk-doc/html/bonobo-activation/checklist.html
share/gtk-doc/html/bonobo-activation/configuring.html
share/gtk-doc/html/bonobo-activation/fdl-section1.html
share/gtk-doc/html/bonobo-activation/fdl-section10.html
share/gtk-doc/html/bonobo-activation/fdl-section2.html
share/gtk-doc/html/bonobo-activation/fdl-section3.html
share/gtk-doc/html/bonobo-activation/fdl-section4.html
share/gtk-doc/html/bonobo-activation/fdl-section5.html
share/gtk-doc/html/bonobo-activation/fdl-section6.html
share/gtk-doc/html/bonobo-activation/fdl-section7.html
share/gtk-doc/html/bonobo-activation/fdl-section8.html
share/gtk-doc/html/bonobo-activation/fdl-section9.html
share/gtk-doc/html/bonobo-activation/fdl-using.html
share/gtk-doc/html/bonobo-activation/fdl.html
share/gtk-doc/html/bonobo-activation/index.html
share/gtk-doc/html/bonobo-activation/index.sgml
share/gtk-doc/html/bonobo-activation/migrating.html
share/gtk-doc/html/bonobo-activation/query-langage.html
share/gtk-doc/html/bonobo-activation/query-syntax.html
share/gtk-doc/html/bonobo-activation/server-arch.html
share/gtk-doc/html/bonobo-activation/server-xml-reference.html
share/gtk-doc/html/bonobo-activation/tutorial.html
share/idl/bonobo-activation-2.0/Bonobo_ActivationContext.idl
share/idl/bonobo-activation-2.0/Bonobo_Activation_types.idl
share/idl/bonobo-activation-2.0/Bonobo_GenericFactory.idl
share/idl/bonobo-activation-2.0/Bonobo_ObjectDirectory.idl
share/idl/bonobo-activation-2.0/Bonobo_Unknown.idl
share/locale/ar/LC_MESSAGES/bonobo-activation.mo
share/locale/az/LC_MESSAGES/bonobo-activation.mo
share/locale/bg/LC_MESSAGES/bonobo-activation.mo
share/locale/ca/LC_MESSAGES/bonobo-activation.mo
share/locale/cs/LC_MESSAGES/bonobo-activation.mo
share/locale/da/LC_MESSAGES/bonobo-activation.mo
share/locale/de/LC_MESSAGES/bonobo-activation.mo
share/locale/el/LC_MESSAGES/bonobo-activation.mo
share/locale/es/LC_MESSAGES/bonobo-activation.mo
share/locale/fi/LC_MESSAGES/bonobo-activation.mo
share/locale/fr/LC_MESSAGES/bonobo-activation.mo
share/locale/ga/LC_MESSAGES/bonobo-activation.mo
share/locale/gl/LC_MESSAGES/bonobo-activation.mo
share/locale/hi/LC_MESSAGES/bonobo-activation.mo
share/locale/hu/LC_MESSAGES/bonobo-activation.mo
share/locale/it/LC_MESSAGES/bonobo-activation.mo
share/locale/ja/LC_MESSAGES/bonobo-activation.mo
share/locale/ko/LC_MESSAGES/bonobo-activation.mo
share/locale/lv/LC_MESSAGES/bonobo-activation.mo
share/locale/ms/LC_MESSAGES/bonobo-activation.mo
share/locale/nl/LC_MESSAGES/bonobo-activation.mo
share/locale/nn/LC_MESSAGES/bonobo-activation.mo
share/locale/no/LC_MESSAGES/bonobo-activation.mo
share/locale/pl/LC_MESSAGES/bonobo-activation.mo
share/locale/pt/LC_MESSAGES/bonobo-activation.mo
share/locale/pt_BR/LC_MESSAGES/bonobo-activation.mo
share/locale/ro/LC_MESSAGES/bonobo-activation.mo
share/locale/ru/LC_MESSAGES/bonobo-activation.mo
share/locale/sk/LC_MESSAGES/bonobo-activation.mo
share/locale/sl/LC_MESSAGES/bonobo-activation.mo
share/locale/sq/LC_MESSAGES/bonobo-activation.mo
share/locale/sv/LC_MESSAGES/bonobo-activation.mo
share/locale/ta/LC_MESSAGES/bonobo-activation.mo
share/locale/tr/LC_MESSAGES/bonobo-activation.mo
share/locale/uk/LC_MESSAGES/bonobo-activation.mo
share/locale/vi/LC_MESSAGES/bonobo-activation.mo
share/locale/zh_CN/LC_MESSAGES/bonobo-activation.mo
share/locale/zh_TW/LC_MESSAGES/bonobo-activation.mo
%%SHARED%%
@comment @dirrm share/locale/zh_TW/LC_MESSAGES
@comment @dirrm share/locale/zh_TW
@comment @dirrm share/locale/zh_CN/LC_MESSAGES
@comment @dirrm share/locale/zh_CN
@comment @dirrm share/locale/vi/LC_MESSAGES
@comment @dirrm share/locale/vi
@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/sq/LC_MESSAGES
@comment @dirrm share/locale/sq
@comment @dirrm share/locale/sl/LC_MESSAGES
@comment @dirrm share/locale/sl
@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/nl/LC_MESSAGES
@comment @dirrm share/locale/nl
@comment @dirrm share/locale/ms/LC_MESSAGES
@comment @dirrm share/locale/ms
@comment @dirrm share/locale/lv/LC_MESSAGES
@comment @dirrm share/locale/lv
@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/hi/LC_MESSAGES
@comment @dirrm share/locale/hi
@comment @dirrm share/locale/gl/LC_MESSAGES
@comment @dirrm share/locale/gl
@comment @dirrm share/locale/ga/LC_MESSAGES
@comment @dirrm share/locale/ga
@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/el/LC_MESSAGES
@comment @dirrm share/locale/el
@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/bg/LC_MESSAGES
@comment @dirrm share/locale/bg
@comment @dirrm share/locale/az/LC_MESSAGES
@comment @dirrm share/locale/az
@comment @dirrm share/locale/ar/LC_MESSAGES
@comment @dirrm share/locale/ar
@comment @dirrm share/locale
@dirrm share/idl/bonobo-activation-2.0
@comment @dirrm share/idl
@dirrm share/gtk-doc/html/bonobo-activation
@comment @dirrm share/gtk-doc/html
@comment @dirrm share/gtk-doc
@dirrm share/examples/bonobo-activation/bonobo-activation
@dirrm share/examples/bonobo-activation
@comment @dirrm lib/pkgconfig
@dirrm lib/bonobo/servers
@comment (conflicts w/bonobo) @dirrm lib/bonobo
@dirrm include/bonobo-activation-2.0/bonobo-activation
@dirrm include/bonobo-activation-2.0