Import libslab-2.30.0 as wip/libslab.

Since SUNOS has presented slab allocation theroy, many OSs have changed 
their own memory allocator into slab. But it requires kernel-layer 
interfaces such as page supply etc. So this library improves slab's 
algorithm and brings the interfaces of slab into application layer:
This commit is contained in:
Kamel Ibn Aziz Derouiche 2010-05-03 14:57:45 +00:00 committed by Thomas Klausner
parent 68adb1065a
commit cb8b748c58
5 changed files with 82 additions and 0 deletions

4
libslab/DESCR Normal file
View file

@ -0,0 +1,4 @@
Since SUNOS has presented slab allocation theroy, many OSs have changed
their own memory allocator into slab. But it requires kernel-layer
interfaces such as page supply etc. So this library improves slab's
algorithm and brings the interfaces of slab into application layer:

30
libslab/Makefile Normal file
View file

@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.1.1.1 2010/05/03 14:57:45 jihbed Exp $
#
DISTNAME= libslab-2.30.0
CATEGORIES= devel
MASTER_SITES= ftp://ftp.gnome.org/pub/gnome/sources/libslab/2.30/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://code.google.com/p/libslab/
COMMENT= Slab memory allocator in application layer
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config intltool
PKGCONFIG_OVERRIDE+= libslab.pc.in
.include "../../devel/GConf/schemas.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.18.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../sysutils/gnome-menus/buildlink3.mk"
.include "../../x11/gnome-desktop/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.14.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

25
libslab/PLIST Normal file
View file

@ -0,0 +1,25 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/03 14:57:45 jihbed Exp $
include/libslab/app-resizer.h
include/libslab/app-shell.h
include/libslab/application-tile.h
include/libslab/bookmark-agent.h
include/libslab/directory-tile.h
include/libslab/document-tile.h
include/libslab/double-click-detector.h
include/libslab/gnome-utils.h
include/libslab/libslab-utils.h
include/libslab/nameplate-tile.h
include/libslab/nld-marshal.c
include/libslab/nld-marshal.h
include/libslab/search-bar.h
include/libslab/search-context-picker.h
include/libslab/search-entry-watermark.h
include/libslab/search-entry.h
include/libslab/shell-window.h
include/libslab/slab-gnome-util.h
include/libslab/slab-section.h
include/libslab/slab.h
include/libslab/system-tile.h
include/libslab/tile.h
lib/libslab.la
lib/pkgconfig/libslab.pc

18
libslab/buildlink3.mk Normal file
View file

@ -0,0 +1,18 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/05/03 14:57:45 jihbed Exp $
BUILDLINK_TREE+= libslab
.if !defined(LIBSLAB_BUILDLINK3_MK)
LIBSLAB_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libslab+= libslab>=2.30.0
BUILDLINK_PKGSRCDIR.libslab?= ../../wip/libslab
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../sysutils/gnome-menus/buildlink3.mk"
.include "../../x11/gnome-desktop/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.endif # LIBSLAB_BUILDLINK3_MK
BUILDLINK_TREE+= -libslab

5
libslab/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2010/05/03 14:57:45 jihbed Exp $
SHA1 (libslab-2.30.0.tar.bz2) = 3da745a8a3a86c16a8d4529c7586446533e67f47
RMD160 (libslab-2.30.0.tar.bz2) = 5d4748a0d46fd1159045c6f6cafce93863ca3182
Size (libslab-2.30.0.tar.bz2) = 435384 bytes