Subpackage between -main and -editor (which depends on gtk).

Required for the upcoming dconf MODULE.
This commit is contained in:
ajacoutot 2011-03-25 08:30:56 +00:00
parent 0f50adc725
commit 2d784afc7b
5 changed files with 46 additions and 12 deletions

View File

@ -1,13 +1,17 @@
# $OpenBSD: Makefile,v 1.7 2011/03/25 07:37:15 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.8 2011/03/25 08:30:56 ajacoutot Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
COMMENT= configuration backend system COMMENT-main= configuration backend system
COMMENT-editor= editor for the dconf configuration storage system
GNOME_PROJECT= dconf GNOME_PROJECT= dconf
GNOME_VERSION= 0.5.1 GNOME_VERSION= 0.5.1
REVISION= 4 PKGNAME-main= ${DISTNAME}
PKGNAME-editor= dconf-editor-${GNOME_VERSION}
REVISION-main= 5
SHARED_LIBS+= dconf 0.0 # 0.0.0 SHARED_LIBS+= dconf 0.0 # 0.0.0
@ -24,18 +28,33 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes WANTLIB += c gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm c drm expat fontconfig WANTLIB += pthread
WANTLIB += freetype m pixman-1 pthread pthread-stubs xcb xcb-render
WANTLIB += xcb-shm z atk-1.0 cairo gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 WANTLIB-editor += ${WANTLIB} ${MODGETTEXT_WANTLIB}
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 WANTLIB-editor += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 png xml2 WANTLIB-editor += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo drm
WANTLIB-editor += expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB-editor += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB-editor += pixman-1 png pthread-stubs xcb xcb-render xcb-shm xml2
WANTLIB-editor += z
MULTI_PACKAGES= -main
PSEUDO_FLAVORS= no_editor
FLAVOR?=
MODULES= devel/gettext \ MODULES= devel/gettext \
x11/gnome x11/gnome
BUILD_DEPENDS= lang/vala BUILD_DEPENDS= lang/vala
LIB_DEPENDS= x11/gtk+2
RUN_DEPENDS-main= # empty
LIB_DEPENDS-main= devel/glib2
RUN_DEPENDS-editor= ${MODGETTEXT_RUN_DEPENDS} \
${BASE_PKGPATH},-main
LIB_DEPENDS-editor= x11/gtk+2
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@ -43,6 +62,13 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --disable-gtk-doc \ CONFIGURE_ARGS= --disable-gtk-doc \
--disable-introspection --disable-introspection
.if ${FLAVOR:L:Mno_editor}
CONFIGURE_ARGS += --disable-editor
.else
MULTI_PACKAGES += -editor
CONFIGURE_ARGS += --enable-editor
.endif
pre-configure: pre-configure:
${SUBST_CMD} ${WRKSRC}/{bin,client,editor}/Makefile.in \ ${SUBST_CMD} ${WRKSRC}/{bin,client,editor}/Makefile.in \
${WRKSRC}/editor/dconf-model.{c,vala} ${WRKSRC}/editor/dconf-model.{c,vala}

3
devel/dconf/pkg/DESCR-main Executable file
View File

@ -0,0 +1,3 @@
dconf is a low-level configuration system. Its main purpose is to
provide a backend to GSettings on platforms that don't already have
configuration storage systems.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-editor,v 1.1 2011/03/25 08:30:56 ajacoutot Exp $
@conflict dconf-<0.5.1p5
@bin bin/dconf-editor

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST,v 1.2 2010/12/19 10:25:05 ajacoutot Exp $ @comment $OpenBSD: PLIST-main,v 1.1 2011/03/25 08:30:56 ajacoutot Exp $
@conflict vala-<0.10 @conflict vala-<0.10
@pkgpath devel/dconf
@bin bin/dconf @bin bin/dconf
@bin bin/dconf-editor
include/dconf/ include/dconf/
include/dconf/dconf-client.h include/dconf/dconf-client.h
include/dconf/dconf-engine.h include/dconf/dconf-engine.h
@ -18,6 +18,8 @@ share/dbus-1/services/
share/dbus-1/services/ca.desrt.dconf.service share/dbus-1/services/ca.desrt.dconf.service
share/dbus-1/system-services/ share/dbus-1/system-services/
share/dbus-1/system-services/ca.desrt.dconf.service share/dbus-1/system-services/ca.desrt.dconf.service
share/gtk-doc/
share/gtk-doc/html/
share/gtk-doc/html/dconf/ share/gtk-doc/html/dconf/
share/gtk-doc/html/dconf/DConfClient.html share/gtk-doc/html/dconf/DConfClient.html
share/gtk-doc/html/dconf/annotation-glossary.html share/gtk-doc/html/dconf/annotation-glossary.html