Sat Dec 8 23:20:07 2012 UTC ()
Import libgee0.8-0.8.2 as devel/libgee0.8.
libgee is a collection library providing GObject-based interfaces and classes
for commonly used data structures.
libgee provides the following interfaces:
* Iterable
o Collection
+ List
+ Set
* Iterator
* Map
The ArrayList, HashSet, and HashMap classes provide a reasonable sample
implementation of the List, Set, and Map interfaces. ReadOnlyCollection,
ReadOnlyList, ReadOnlySet, and ReadOnlyMap are read-only wrapper classes that
prevent modification of the underlying collection.
libgee is written in Vala and can be used like any GObject-based C library.
It's planned to provide bindings for further languages.
This package contains the 0.8 branch of the library.
(wiz)
diff -r0 -r1.1 pkgsrc/devel/libgee0.8/DESCR
diff -r0 -r1.1 pkgsrc/devel/libgee0.8/Makefile
diff -r0 -r1.1 pkgsrc/devel/libgee0.8/PLIST
diff -r0 -r1.1 pkgsrc/devel/libgee0.8/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/libgee0.8/distinfo
diff -r0 -r1.1 pkgsrc/devel/libgee0.8/patches/patch-gee_Makefile.in
libgee is a collection library providing GObject-based interfaces and classes
for commonly used data structures.
libgee provides the following interfaces:
* Iterable
o Collection
+ List
+ Set
* Iterator
* Map
The ArrayList, HashSet, and HashMap classes provide a reasonable sample
implementation of the List, Set, and Map interfaces. ReadOnlyCollection,
ReadOnlyList, ReadOnlySet, and ReadOnlyMap are read-only wrapper classes that
prevent modification of the underlying collection.
libgee is written in Vala and can be used like any GObject-based C library.
It's planned to provide bindings for further languages.
This package contains the 0.8 branch of the library.
# $NetBSD: Makefile,v 1.1 2012/12/08 23:20:07 wiz Exp $
DISTNAME= libgee-0.8.2
DISTNAME= libgee0.8-0.8.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgee/0.8/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://live.gnome.org/Libgee
COMMENT= Library providing GObject-based interfaces and classes (v0.8)
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
# to regenerate after patches
#BUILDLINK_DEPMETHOD.vala:= build
#.include "../../lang/vala018/buildlink3.mk"
PKGCONFIG_OVERRIDE+= gee-0.8.pc.in
TEST_TARGET= check
BUILDLINK_DEPMETHOD.gobject-introspection:= build
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2012/12/08 23:20:07 wiz Exp $
include/gee-0.8/gee.h
lib/girepository-1.0/Gee-0.8.typelib
lib/libgee-0.8.la
lib/pkgconfig/gee-0.8.pc
share/gir-1.0/Gee-0.8.gir
share/vala/vapi/gee-0.8.vapi
# $NetBSD: buildlink3.mk,v 1.1 2012/12/08 23:20:07 wiz Exp $
BUILDLINK_TREE+= libgee0.8
.if !defined(LIBGEE0.8_BUILDLINK3_MK)
LIBGEE0.8_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libgee0.8+= libgee0.8>=0.8.2
BUILDLINK_PKGSRCDIR.libgee0.8?= ../../devel/libgee0.8
.include "../../devel/glib2/buildlink3.mk"
.endif # LIBGEE0.8_BUILDLINK3_MK
BUILDLINK_TREE+= -libgee0.8
$NetBSD: distinfo,v 1.1 2012/12/08 23:20:07 wiz Exp $
SHA1 (libgee-0.8.2.tar.xz) = 762800f769fee6ff0d42c7d9772a9a036d020b67
RMD160 (libgee-0.8.2.tar.xz) = e484b9712a45a009829da49f677ca66bbe3f5f40
Size (libgee-0.8.2.tar.xz) = 583048 bytes
SHA1 (patch-gee_Makefile.in) = 344091da335523de69c934103fa9319ce7b0c1fb
$NetBSD: patch-gee_Makefile.in,v 1.1 2012/12/08 23:20:07 wiz Exp $
NetBSD's sed by default only supports basic regex (not extended)
where '+' is just a character like any other.
Another option would be using 'sed -r', but in this case * is simpler
and more portable.
--- gee/Makefile.in.orig 2012-11-10 22:37:32.000000000 +0000
+++ gee/Makefile.in
@@ -487,7 +487,7 @@ dist_vapi_DATA = \
# Extract dlname from libfolks.la; see bug #658002.
# This is what g-ir-scanner does.
@HAVE_INTROSPECTION_TRUE@libgee_dlname = \
-@HAVE_INTROSPECTION_TRUE@ `$(SED) -n "s/^dlname='\([A-Za-z0-9.+-]\+\)'/\1/p" libgee-0.8.la`
+@HAVE_INTROSPECTION_TRUE@ `$(SED) -n "s/^dlname='\([A-Za-z0-9.+-]*\)'/\1/p" libgee-0.8.la`
@HAVE_INTROSPECTION_TRUE@INTROSPECTION_COMPILER_ARGS = \
@HAVE_INTROSPECTION_TRUE@ -l $(libgee_dlname)