summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-03-01 11:47:22 +0000
committerjmmv <jmmv@pkgsrc.org>2003-03-01 11:47:22 +0000
commita22d4721ed0147cc4d3527896f92328ac574d799 (patch)
tree3935f32937f69e0c79e4a38db56b4b5e53359bb2
parentb683e52501602c9b2d1e95e7daddceb72bfa4ea6 (diff)
downloadpkgsrc-a22d4721ed0147cc4d3527896f92328ac574d799.tar.gz
Reimport of the libsigc++ 1.0 package as libsigc++10. The new 1.2 version
is incompatible with this old one, so we must keep both in pkgsrc. Description of libsigc++: libsigc++ implements a full callback system for use in widget libraries, abstract interfaces, and general programming. Originally part of the Gtk-- widget set, libsigc++ is now a seperate library to provide for more general use. It is the most complete library of its kind with the ablity to connect an abstract callback to a class method, function, or function object. It contains adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries. Libsigc++ is licensed under the GNU Library General Public License, LGPL.
-rw-r--r--devel/libsigc++10/DESCR9
-rw-r--r--devel/libsigc++10/Makefile27
-rw-r--r--devel/libsigc++10/PLIST55
-rw-r--r--devel/libsigc++10/buildlink2.mk22
-rw-r--r--devel/libsigc++10/distinfo6
-rw-r--r--devel/libsigc++10/patches/patch-aa22
-rw-r--r--devel/libsigc++10/patches/patch-ab22
7 files changed, 163 insertions, 0 deletions
diff --git a/devel/libsigc++10/DESCR b/devel/libsigc++10/DESCR
new file mode 100644
index 00000000000..8c3af923d34
--- /dev/null
+++ b/devel/libsigc++10/DESCR
@@ -0,0 +1,9 @@
+libsigc++ implements a full callback system for use in widget
+libraries, abstract interfaces, and general programming. Originally
+part of the Gtk-- widget set, libsigc++ is now a seperate library to
+provide for more general use. It is the most complete library of its
+kind with the ablity to connect an abstract callback to a class
+method, function, or function object. It contains adaptor classes for
+connection of dissimilar callbacks and has an ease of use unmatched by
+other C++ callback libraries. Libsigc++ is licensed under the GNU
+Library General Public License, LGPL.
diff --git a/devel/libsigc++10/Makefile b/devel/libsigc++10/Makefile
new file mode 100644
index 00000000000..3b3356e4834
--- /dev/null
+++ b/devel/libsigc++10/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/01 11:47:22 jmmv Exp $
+
+DISTNAME= libsigc++-1.0.4
+PKGNAME= ${DISTNAME:S/libsigc++/libsigc++10/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libsigc/}
+
+MAINTAINER= bsieker@freenet.de
+HOMEPAGE= http://libsigc.sourceforge.net/
+COMMENT= type-safe callback system for C++ programs
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/scripts/ltconfig
+
+.include "../../mk/pthread.buildlink2.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
+CONFIGURE_ARGS+= --disable-threads
+.endif
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/sigc++
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libsigc++10/PLIST b/devel/libsigc++10/PLIST
new file mode 100644
index 00000000000..6fe2edb1bf8
--- /dev/null
+++ b/devel/libsigc++10/PLIST
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/01 11:47:22 jmmv Exp $
+bin/sigc-config
+include/sigc++-1.0/sigc++/adaptor.h
+include/sigc++-1.0/sigc++/basic_signal.h
+include/sigc++-1.0/sigc++/bind.h
+include/sigc++-1.0/sigc++/class_slot.h
+include/sigc++-1.0/sigc++/convert.h
+include/sigc++-1.0/sigc++/func_slot.h
+include/sigc++-1.0/sigc++/generator.h
+include/sigc++-1.0/sigc++/handle.h
+include/sigc++-1.0/sigc++/handle_system.h
+include/sigc++-1.0/sigc++/macros/basic_signal.h.m4
+include/sigc++-1.0/sigc++/macros/bind.h.m4
+include/sigc++-1.0/sigc++/macros/class_slot.h.m4
+include/sigc++-1.0/sigc++/macros/convert.h.m4
+include/sigc++-1.0/sigc++/macros/func_slot.h.m4
+include/sigc++-1.0/sigc++/macros/object_slot.h.m4
+include/sigc++-1.0/sigc++/macros/retbind.h.m4
+include/sigc++-1.0/sigc++/macros/rettype.h.m4
+include/sigc++-1.0/sigc++/macros/slot.h.m4
+include/sigc++-1.0/sigc++/macros/template.macros.m4
+include/sigc++-1.0/sigc++/marshal.h
+include/sigc++-1.0/sigc++/object.h
+include/sigc++-1.0/sigc++/object_slot.h
+include/sigc++-1.0/sigc++/retbind.h
+include/sigc++-1.0/sigc++/rettype.h
+include/sigc++-1.0/sigc++/scope.h
+include/sigc++-1.0/sigc++/signal_system.h
+include/sigc++-1.0/sigc++/slot.h
+include/sigc++-1.0/sigc++/thread.h
+include/sigc++-1.0/sigc++/type.h
+lib/sigc++-1.0/include/sigc++config.h
+lib/libsigc.a
+lib/libsigc.la
+lib/libsigc.so
+lib/libsigc.so.0
+lib/libsigc.so.0.0
+share/aclocal/sigc++.m4
+share/doc/sigc++/API
+share/doc/sigc++/FAQ
+share/doc/sigc++/UML
+share/doc/sigc++/conventions
+share/doc/sigc++/diagrams
+share/doc/sigc++/marshal
+share/doc/sigc++/powerusers
+share/doc/sigc++/requirements
+share/doc/sigc++/riscos
+share/doc/sigc++/signals
+share/doc/sigc++/win32
+@dirrm share/doc/sigc++
+@dirrm lib/sigc++-1.0/include
+@dirrm lib/sigc++-1.0
+@dirrm include/sigc++-1.0/sigc++/macros
+@dirrm include/sigc++-1.0/sigc++
+@dirrm include/sigc++-1.0
diff --git a/devel/libsigc++10/buildlink2.mk b/devel/libsigc++10/buildlink2.mk
new file mode 100644
index 00000000000..caddc509787
--- /dev/null
+++ b/devel/libsigc++10/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/03/01 11:47:22 jmmv Exp $
+
+.if !defined(LIBSIGCXX10_BUILDLINK2_MK)
+LIBSIGCXX10_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libsigcxx10
+BUILDLINK_DEPENDS.libsigcxx10?= libsigc++10>=1.0.4
+BUILDLINK_PKGSRCDIR.libsigcxx10?= ../../devel/libsigc++10
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libsigcxx10=libsigc++10
+BUILDLINK_PREFIX.libsigcxx10_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libsigcxx10= include/sigc++-1.0/sigc++/*
+BUILDLINK_FILES.libsigcxx10+= lib/sigc++-1.0/include/sigc++config.h
+BUILDLINK_FILES.libsigcxx10+= lib/libsigc.*
+
+.include "../../mk/pthread.buildlink2.mk"
+
+BUILDLINK_TARGETS+= libsigcxx10-buildlink
+
+libsigcxx10-buildlink: _BUILDLINK_USE
+
+.endif # LIBSIGCXX10_BUILDLINK2_MK
diff --git a/devel/libsigc++10/distinfo b/devel/libsigc++10/distinfo
new file mode 100644
index 00000000000..f4b69533d34
--- /dev/null
+++ b/devel/libsigc++10/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/03/01 11:47:22 jmmv Exp $
+
+SHA1 (libsigc++-1.0.4.tar.gz) = 15a687edc5f64a317ef40f4df04dc5adeccfb88d
+Size (libsigc++-1.0.4.tar.gz) = 212089 bytes
+SHA1 (patch-aa) = 5e4bf439221264c9997e3491e461efcb87cf7849
+SHA1 (patch-ab) = c5938da194d91e0608ecdfd6bc95f8ca1928fda4
diff --git a/devel/libsigc++10/patches/patch-aa b/devel/libsigc++10/patches/patch-aa
new file mode 100644
index 00000000000..6f5011e9443
--- /dev/null
+++ b/devel/libsigc++10/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/03/01 11:47:22 jmmv Exp $
+
+--- sigc++/Makefile.in.orig Tue Oct 23 04:40:58 2001
++++ sigc++/Makefile.in
+@@ -94,7 +94,7 @@ libsigc_la_SOURCES = object.cc sco
+
+ EXTRA_libsigc_la_SOURCES = sigc_res.rc
+
+-libsigc_la_LDFLAGS = -version-info $(LIBSIGC_SO_VERSION) -release $(SIGC_RELEASE) -no-undefined
++libsigc_la_LDFLAGS = -version-info $(LIBSIGC_SO_VERSION) -no-undefined
+
+
+ lib_LTLIBRARIES = libsigc.la
+@@ -121,7 +121,7 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I../sigc+
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+-libsigc_la_LIBADD =
++libsigc_la_LIBADD = $(THREAD_LIB)
+ @SIGCRC_TRUE@libsigc_la_OBJECTS = object.lo scope.lo marshal.lo slot.lo \
+ @SIGCRC_TRUE@basic_signal.lo adaptor.lo thread.lo sigc_res.lo
+ @SIGCRC_FALSE@libsigc_la_OBJECTS = object.lo scope.lo marshal.lo \
diff --git a/devel/libsigc++10/patches/patch-ab b/devel/libsigc++10/patches/patch-ab
new file mode 100644
index 00000000000..8f7aa619cda
--- /dev/null
+++ b/devel/libsigc++10/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/03/01 11:47:22 jmmv Exp $
+
+--- sigc-config.in.orig Sat Oct 20 17:38:36 2001
++++ sigc-config.in Tue May 28 14:33:11 2002
+@@ -150,7 +150,7 @@
+ case "$i" in
+ # a library, save it for later, in reverse order
+ -l*) af_rev_libs="$i $af_rev_libs" ;;
+- -L*|-R*)
++ -L*|-R*|-Wl,-R*)
+ if test "X$af_echo_libs_L" = "Xyes"; then
+ case " $af_lib_L_flags " in
+ *\ $i\ *) ;; # already there
+@@ -215,7 +215,7 @@
+
+
+ if test "@libdir@" != /usr/lib ; then
+- libs="-L@libdir@"
++ libs="-Wl,-R@libdir@ -L@libdir@"
+ fi
+ af_cflags="$af_cflags -I@libdir@/sigc++-1.0/include -I@includedir@/sigc++-1.0"
+ af_libs="$libs -lsigc @THREAD_LIB@ $af_libs"