Import ORBit2-2.4.4

--
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker). It allows programs to
send requests and receive replies from other programs, regardless
of the locations of the two programs. CORBA is an architecture that
enables communication between program objects, regardless of the
programming language they're written in or the operating system they
run on.

WWW: http://www.labs.redhat.com/orbit/

From marcm for gnome2
This commit is contained in:
todd 2003-01-31 18:25:37 +00:00
parent 8d84fe6db0
commit 8c4b10bce1
8 changed files with 259 additions and 0 deletions

41
devel/ORBit2/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/01/31 18:25:37 todd Exp $
COMMENT= "a high-performance CORBA Object Request Broker"
DISTNAME= ORBit2-2.4.4
CATEGORIES= devel
HOMEPAGE= http://www.labs.redhat.com/orbit/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ORBit2/2.4/}
EXTRACT_SUFX= .tar.bz2
# fix for Alpha
.if (${MACHINE_ARCH} == "alpha")
PATCH_LIST= patch-* sup-alpha-*
.endif
MODULES= gettext
BUILD_DEPENDS= :pkgconfig->=0.12.0p1:devel/pkgconfig
LIB_DEPENDS= IDL-2::devel/libIDL \
gmodule-2.0.0.0::devel/glib2 \
linc::devel/linc \
popt::devel/popt
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-indent
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

3
devel/ORBit2/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (ORBit2-2.4.4.tar.bz2) = e487accae11949d606938e2678191f05
RMD160 (ORBit2-2.4.4.tar.bz2) = 58bdab3005059d33659844f4d6ee6bda785ca547
SHA1 (ORBit2-2.4.4.tar.bz2) = 69a73eff7d3fe0a0c80c79c541ff86aa10306212

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/01/31 18:25:37 todd Exp $
--- configure.orig Mon Nov 11 02:38:08 2002
+++ configure Wed Nov 27 20:41:38 2002
@@ -4524,8 +4524,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
@@ -4534,8 +4534,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,84 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/01/31 18:25:37 todd Exp $
--- ltmain.sh.orig Mon May 27 08:42:29 2002
+++ ltmain.sh Tue Jul 16 21:53:05 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
@@ -1748,11 +1762,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
@@ -4498,40 +4507,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,12 @@
$OpenBSD: sup-alpha-src_idl-compiler_Makefile_in,v 1.1.1.1 2003/01/31 18:25:37 todd Exp $
--- src/idl-compiler/Makefile.in.orig Sun Sep 1 23:07:22 2002
+++ src/idl-compiler/Makefile.in Sun Sep 1 23:06:55 2002
@@ -267,7 +267,7 @@ maintainer-clean-libtool:
orbit-idl-2$(EXEEXT): $(orbit_idl_2_OBJECTS) $(orbit_idl_2_DEPENDENCIES)
@rm -f orbit-idl-2$(EXEEXT)
- $(LINK) $(orbit_idl_2_LDFLAGS) $(orbit_idl_2_OBJECTS) $(orbit_idl_2_LDADD) $(LIBS)
+ $(LINK) $(orbit_idl_2_LDFLAGS) $(orbit_idl_2_OBJECTS) $(orbit_idl_2_LDADD) $(LIBS) -static
tags: TAGS

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

@ -0,0 +1,7 @@
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker). It allows programs to
send requests and receive replies from other programs, regardless
of the locations of the two programs. CORBA is an architecture that
enables communication between program objects, regardless of the
programming language they're written in or the operating system they
run on.

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/01/31 18:25:37 todd Exp $
lib/libORBit-2.so.0.0
lib/libORBitCosNaming-2.so.0.0
lib/orbit-2.0/Everything_module.so.0.0
DYNLIBDIR(%D/lib)
@comment NEWDYNLIBDIR(%D/lib/orbit-2.0)

81
devel/ORBit2/pkg/PLIST Normal file
View File

@ -0,0 +1,81 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/01/31 18:25:37 todd Exp $
bin/ior-decode-2
bin/orbit-idl-2
bin/orbit2-config
bin/typelib-dump
include/orbit-2.0/ORBitservices/CosNaming.h
include/orbit-2.0/ORBitservices/CosNaming_impl.h
include/orbit-2.0/orbit/GIOP/giop-basics.h
include/orbit-2.0/orbit/GIOP/giop-connection.h
include/orbit-2.0/orbit/GIOP/giop-endian.h
include/orbit-2.0/orbit/GIOP/giop-recv-buffer.h
include/orbit-2.0/orbit/GIOP/giop-send-buffer.h
include/orbit-2.0/orbit/GIOP/giop-server.h
include/orbit-2.0/orbit/GIOP/giop-types.h
include/orbit-2.0/orbit/GIOP/giop.h
include/orbit-2.0/orbit/dynamic/dynamic-defs.h
include/orbit-2.0/orbit/dynamic/dynamic.h
include/orbit-2.0/orbit/orb-core/allocators.h
include/orbit-2.0/orbit/orb-core/corba-any-type.h
include/orbit-2.0/orbit/orb-core/corba-any.h
include/orbit-2.0/orbit/orb-core/corba-context-type.h
include/orbit-2.0/orbit/orb-core/corba-context.h
include/orbit-2.0/orbit/orb-core/corba-defs.h
include/orbit-2.0/orbit/orb-core/corba-environment-type.h
include/orbit-2.0/orbit/orb-core/corba-environment.h
include/orbit-2.0/orbit/orb-core/corba-nvlist.h
include/orbit-2.0/orbit/orb-core/corba-object-type.h
include/orbit-2.0/orbit/orb-core/corba-object.h
include/orbit-2.0/orbit/orb-core/corba-orb-type.h
include/orbit-2.0/orbit/orb-core/corba-orb.h
include/orbit-2.0/orbit/orb-core/corba-pobj.h
include/orbit-2.0/orbit/orb-core/corba-policy-type.h
include/orbit-2.0/orbit/orb-core/corba-string.h
include/orbit-2.0/orbit/orb-core/corba-typecode-type.h
include/orbit-2.0/orbit/orb-core/corba-typecode.h
include/orbit-2.0/orbit/orb-core/iop-defs.h
include/orbit-2.0/orbit/orb-core/orb-core-types.h
include/orbit-2.0/orbit/orb-core/orb-core.h
include/orbit-2.0/orbit/orb-core/orb-types.h
include/orbit-2.0/orbit/orb-core/orbit-interface.h
include/orbit-2.0/orbit/orb-core/orbit-object.h
include/orbit-2.0/orbit/orb-core/orbit-small.h
include/orbit-2.0/orbit/orbit-config.h
include/orbit-2.0/orbit/orbit-types.h
include/orbit-2.0/orbit/orbit.h
include/orbit-2.0/orbit/poa/orbit-adaptor.h
include/orbit-2.0/orbit/poa/poa-basics.h
include/orbit-2.0/orbit/poa/poa-defs.h
include/orbit-2.0/orbit/poa/poa-policy.h
include/orbit-2.0/orbit/poa/poa-types.h
include/orbit-2.0/orbit/poa/poa.h
include/orbit-2.0/orbit/poa/portableserver-current-type.h
include/orbit-2.0/orbit/poa/portableserver-poa-type.h
include/orbit-2.0/orbit/util/basic_types.h
include/orbit-2.0/orbit/util/orbit-genrand.h
include/orbit-2.0/orbit/util/orbit-util.h
lib/libORBit-2.a
lib/libORBit-2.la
lib/libORBitCosNaming-2.a
lib/libORBitCosNaming-2.la
lib/libname-server-2.a
lib/orbit-2.0/Everything_module.a
lib/orbit-2.0/Everything_module.la
lib/pkgconfig/ORBit-2.0.pc
lib/pkgconfig/ORBit-CosNaming-2.0.pc
share/aclocal/ORBit2.m4
share/idl/orbit-2.0/CosNaming.idl
%%SHARED%%
@dirrm share/idl/orbit-2.0
@comment @dirrm share/idl
@comment @dirrm share/aclocal
@comment @dirrm lib/pkgconfig
@dirrm lib/orbit-2.0
@dirrm include/orbit-2.0/orbit/util
@dirrm include/orbit-2.0/orbit/poa
@dirrm include/orbit-2.0/orbit/orb-core
@dirrm include/orbit-2.0/orbit/dynamic
@dirrm include/orbit-2.0/orbit/GIOP
@dirrm include/orbit-2.0/orbit
@dirrm include/orbit-2.0/ORBitservices
@dirrm include/orbit-2.0