Import libslab-2.30.0.

Libslab is a small library of user interface components for application
choosers similar to gnome-control-center's user interface.

ok jasper@
This commit is contained in:
ajacoutot 2010-10-25 10:23:29 +00:00
parent 5954c6b95a
commit 846c386fbd
6 changed files with 227 additions and 0 deletions

View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/10/25 10:23:29 ajacoutot Exp $
COMMENT= interface components library
GNOME_PROJECT= libslab
GNOME_VERSION= 2.30.0
SHARED_LIBS += slab 0.0 # 2.0
# bring in some fixes from upstream GIT
MASTER_SITES0= http://www.bsdfrog.org/OpenBSD/distfiles/
PATCHFILES= libslab-git-20101025.diff:0
PATCH_DIST_STRIP= -p1
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm drm
WANTLIB += expat fontconfig freetype m pixman-1 pthread-stubs
WANTLIB += xcb xcb-atom xcb-aux xcb-event xcb-render xcb-shm z
WANTLIB += ORBit-2 atk-1.0 cairo croco-0.6 execinfo gconf-2 gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gnome-desktop-2
WANTLIB += gnome-menu gobject-2.0 gthread-2.0 gtk-x11-2.0 pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 xml2 pcre png rsvg-2
WANTLIB += startup-notification-1
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= ::x11/gnome/menus \
::x11/gnome/desktop \
::x11/gnome/librsvg
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
MD5 (gnome/libslab-2.30.0.tar.bz2) = y2k1YzBXqsGZE+Jf0lwWsw==
MD5 (gnome/libslab-git-20101025.diff) = AlCjk/f3Ap7IpFVqWq1/pQ==
RMD160 (gnome/libslab-2.30.0.tar.bz2) = XUdIoNRv0RWQRcb2yvzpOGPKMYI=
RMD160 (gnome/libslab-git-20101025.diff) = YrAZ1cVYAwwe0FQ600NYCt+hIn8=
SHA1 (gnome/libslab-2.30.0.tar.bz2) = PadFqKOobBao1FKcdYZEZTPmf0c=
SHA1 (gnome/libslab-git-20101025.diff) = tVE8MUetmyNeb08utEhi0xooivo=
SHA256 (gnome/libslab-2.30.0.tar.bz2) = pkwcCCnj8ZNrNpYg6OIzpnN3Ia71L0NDRMQrk+UoWlk=
SHA256 (gnome/libslab-git-20101025.diff) = jSRFBPhdNz/ih9ZfOGL/b8DWynEopNlGss2XiD/xt+0=
SIZE (gnome/libslab-2.30.0.tar.bz2) = 435384
SIZE (gnome/libslab-git-20101025.diff) = 28846

View File

@ -0,0 +1,34 @@
$OpenBSD: patch-libslab_bookmark-agent_c,v 1.1.1.1 2010/10/25 10:23:29 ajacoutot Exp $
Bug 594164 - gnome-main-menu issues doesn't display correctly
https://bugzilla.gnome.org/show_bug.cgi?id=594164
--- libslab/bookmark-agent.c.orig Wed Mar 24 16:57:04 2010
+++ libslab/bookmark-agent.c Mon Oct 25 12:16:58 2010
@@ -26,6 +26,8 @@
# define PACKAGE "gnome-main-menu"
#endif
+#define MAIN_MENU "gnome-main-menu"
+
#include <gtk/gtk.h>
#include <string.h>
@@ -562,7 +564,7 @@ bookmark_agent_new (BookmarkStoreType type)
priv->user_modifiable = GPOINTER_TO_INT (libslab_get_gconf_value (priv->lockdown_key));
priv->user_store_path = g_build_filename (
- g_get_user_data_dir (), PACKAGE, priv->store_filename, NULL);
+ g_get_user_data_dir (), MAIN_MENU, priv->store_filename, NULL);
priv->update_path = update_user_spec_path;
@@ -959,7 +961,7 @@ find_package_data_file (const gchar *filename)
dirs = g_get_system_data_dirs ();
for (i = 0; ! path && dirs && dirs [i]; ++i) {
- path = g_build_filename (dirs [i], PACKAGE, filename, NULL);
+ path = g_build_filename (dirs [i], MAIN_MENU, filename, NULL);
if (! g_file_test (path, G_FILE_TEST_EXISTS)) {
g_free (path);

View File

@ -0,0 +1,2 @@
Libslab is a small library of user interface components for application
choosers similar to gnome-control-center's user interface.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2010/10/25 10:23:29 ajacoutot Exp $
@lib lib/libslab.so.${LIBslab_VERSION}

137
x11/gnome/libslab/pkg/PLIST Normal file
View File

@ -0,0 +1,137 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/25 10:23:29 ajacoutot Exp $
%%SHARED%%
include/libslab/
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.a
lib/libslab.la
lib/pkgconfig/
lib/pkgconfig/libslab.pc
share/locale/af/
share/locale/af/LC_MESSAGES/
share/locale/af/LC_MESSAGES/libslab.mo
share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/libslab.mo
share/locale/bg/LC_MESSAGES/libslab.mo
share/locale/bn/
share/locale/bn/LC_MESSAGES/
share/locale/bn/LC_MESSAGES/libslab.mo
share/locale/br/
share/locale/br/LC_MESSAGES/
share/locale/br/LC_MESSAGES/libslab.mo
share/locale/bs/
share/locale/bs/LC_MESSAGES/
share/locale/bs/LC_MESSAGES/libslab.mo
share/locale/ca/LC_MESSAGES/libslab.mo
share/locale/cs/LC_MESSAGES/libslab.mo
share/locale/cy/
share/locale/cy/LC_MESSAGES/
share/locale/cy/LC_MESSAGES/libslab.mo
share/locale/da/LC_MESSAGES/libslab.mo
share/locale/de/LC_MESSAGES/libslab.mo
share/locale/dz/
share/locale/dz/LC_MESSAGES/
share/locale/dz/LC_MESSAGES/libslab.mo
share/locale/el/LC_MESSAGES/libslab.mo
share/locale/en_CA/
share/locale/en_CA/LC_MESSAGES/
share/locale/en_CA/LC_MESSAGES/libslab.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/libslab.mo
share/locale/en_US/
share/locale/en_US/LC_MESSAGES/
share/locale/en_US/LC_MESSAGES/libslab.mo
share/locale/es/LC_MESSAGES/libslab.mo
share/locale/et/LC_MESSAGES/libslab.mo
share/locale/eu/LC_MESSAGES/libslab.mo
share/locale/fi/LC_MESSAGES/libslab.mo
share/locale/fr/LC_MESSAGES/libslab.mo
share/locale/gl/LC_MESSAGES/libslab.mo
share/locale/gu/
share/locale/gu/LC_MESSAGES/
share/locale/gu/LC_MESSAGES/libslab.mo
share/locale/he/LC_MESSAGES/libslab.mo
share/locale/hi/
share/locale/hi/LC_MESSAGES/
share/locale/hi/LC_MESSAGES/libslab.mo
share/locale/hr/LC_MESSAGES/libslab.mo
share/locale/hu/LC_MESSAGES/libslab.mo
share/locale/id/LC_MESSAGES/libslab.mo
share/locale/it/LC_MESSAGES/libslab.mo
share/locale/ja/LC_MESSAGES/libslab.mo
share/locale/ka/
share/locale/ka/LC_MESSAGES/
share/locale/ka/LC_MESSAGES/libslab.mo
share/locale/km/
share/locale/km/LC_MESSAGES/
share/locale/km/LC_MESSAGES/libslab.mo
share/locale/ko/LC_MESSAGES/libslab.mo
share/locale/lo/
share/locale/lo/LC_MESSAGES/
share/locale/lo/LC_MESSAGES/libslab.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/libslab.mo
share/locale/lv/LC_MESSAGES/libslab.mo
share/locale/mk/
share/locale/mk/LC_MESSAGES/
share/locale/mk/LC_MESSAGES/libslab.mo
share/locale/mr/
share/locale/mr/LC_MESSAGES/
share/locale/mr/LC_MESSAGES/libslab.mo
share/locale/nb/LC_MESSAGES/libslab.mo
share/locale/nl/LC_MESSAGES/libslab.mo
share/locale/oc/
share/locale/oc/LC_MESSAGES/
share/locale/oc/LC_MESSAGES/libslab.mo
share/locale/pa/
share/locale/pa/LC_MESSAGES/
share/locale/pa/LC_MESSAGES/libslab.mo
share/locale/pl/LC_MESSAGES/libslab.mo
share/locale/ps/
share/locale/ps/LC_MESSAGES/
share/locale/ps/LC_MESSAGES/libslab.mo
share/locale/pt/LC_MESSAGES/libslab.mo
share/locale/pt_BR/LC_MESSAGES/libslab.mo
share/locale/ro/LC_MESSAGES/libslab.mo
share/locale/ru/LC_MESSAGES/libslab.mo
share/locale/sk/LC_MESSAGES/libslab.mo
share/locale/sl/LC_MESSAGES/libslab.mo
share/locale/sr/LC_MESSAGES/libslab.mo
share/locale/sv/LC_MESSAGES/libslab.mo
share/locale/ta/
share/locale/ta/LC_MESSAGES/
share/locale/ta/LC_MESSAGES/libslab.mo
share/locale/tr/LC_MESSAGES/libslab.mo
share/locale/uk/LC_MESSAGES/libslab.mo
share/locale/vi/LC_MESSAGES/libslab.mo
share/locale/xh/
share/locale/xh/LC_MESSAGES/
share/locale/xh/LC_MESSAGES/libslab.mo
share/locale/zh_CN/LC_MESSAGES/libslab.mo
share/locale/zh_TW/LC_MESSAGES/libslab.mo
share/locale/zu/
share/locale/zu/LC_MESSAGES/
share/locale/zu/LC_MESSAGES/libslab.mo