diff options
author | imil <imil@pkgsrc.org> | 2012-02-19 14:23:00 +0000 |
---|---|---|
committer | imil <imil@pkgsrc.org> | 2012-02-19 14:23:00 +0000 |
commit | 18382942995c3b0a4b13cc7756c0cce9e1454ad7 (patch) | |
tree | 14f0e01a847e407f214948d97560f2d2e90a7083 /x11/libdesktop-agnostic | |
parent | 91cdf4d3d668afbdc0a963c5a3e138ced18db84c (diff) | |
download | pkgsrc-18382942995c3b0a4b13cc7756c0cce9e1454ad7.tar.gz |
Initial import of libdesktop-agnostic, version 0.3.92, into the
NetBSD Packages Collection.
This library provides an extensible configuration API, a unified
virtual file system API, and a desktop item editor (all with
pluggable backends) for GLib-based projects. It is not tied to any one
desktop environment, although there are desktop-specific modules.
Diffstat (limited to 'x11/libdesktop-agnostic')
-rw-r--r-- | x11/libdesktop-agnostic/DESCR | 4 | ||||
-rw-r--r-- | x11/libdesktop-agnostic/Makefile | 62 | ||||
-rw-r--r-- | x11/libdesktop-agnostic/PLIST | 53 | ||||
-rw-r--r-- | x11/libdesktop-agnostic/buildlink3.mk | 19 | ||||
-rw-r--r-- | x11/libdesktop-agnostic/distinfo | 7 | ||||
-rw-r--r-- | x11/libdesktop-agnostic/patches/patch-data_wscript | 13 | ||||
-rw-r--r-- | x11/libdesktop-agnostic/patches/patch-gen__src_libdesktop-agnostic_vfs-glob.c | 13 |
7 files changed, 171 insertions, 0 deletions
diff --git a/x11/libdesktop-agnostic/DESCR b/x11/libdesktop-agnostic/DESCR new file mode 100644 index 00000000000..1de728a43c4 --- /dev/null +++ b/x11/libdesktop-agnostic/DESCR @@ -0,0 +1,4 @@ +This library provides an extensible configuration API, a unified +virtual file system API, and a desktop item editor (all with +pluggable backends) for GLib-based projects. It is not tied to any one +desktop environment, although there are desktop-specific modules. diff --git a/x11/libdesktop-agnostic/Makefile b/x11/libdesktop-agnostic/Makefile new file mode 100644 index 00000000000..f49abbc68de --- /dev/null +++ b/x11/libdesktop-agnostic/Makefile @@ -0,0 +1,62 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/02/19 14:23:00 imil Exp $ +# + +DISTNAME= libdesktop-agnostic-0.3.92 +CATEGORIES= x11 +MASTER_SITES= https://launchpad.net/libdesktop-agnostic/0.4/0.3.92/+download/ + +MAINTAINER= imil@NetBSD.org +HOMEPAGE= https://launchpad.net/libdesktop-agnostic +COMMENT= Desktop-agnostic library, apis and tools +LICENSE= gnu-lgpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +# Needed fo launchpad +FETCH_USING= curl + +USE_TOOLS+= intltool + +PKGCONFIG_OVERRIDE+= data/desktop-agnostic.pc.in + +CONFIGURE_ARGS= --config-backends=keyfile,gconf \ + --vfs-backends=gio \ + --desktop-entry-backends=glib + +PY_PATCHPLIST= yes + +EGDIR= ${PREFIX}/share/examples/libdesktop-agnostic +PKG_SYSCONFSUBDIR= xdg + +MAKE_DIRS+= ${EGDIR} +MAKE_DIRS+= ${PKG_SYSCONFDIR}/libdesktop-agnostic + +CONF_FILES+= ${EGDIR}/desktop-agnostic.ini \ + ${PKG_SYSCONFDIR}/libdesktop-agnostic/desktop-agnostic.ini + +WAF_ENV= CC=${CC:Q} CXX=${CXX:Q} PREFIX=${PREFIX:Q} \ + CFLAGS=${CFLAGS:Q} CXXFLAGS=${CXXFLAGS:Q} \ + LINKFLAGS=${LDFLAGS:Q} DESTDIR=${DESTDIR:Q} + +do-configure: + cd ${WRKSRC} && env ${WAF_ENV} ./waf configure ${CONFIGURE_ARGS} + +do-build: + cd ${WRKSRC} && env ${WAF_ENV} ./waf + +do-install: + cd ${WRKSRC} && env ${WAF_ENV} ./waf install + +post-install: + ${CHMOD} a+x ${DESTDIR}${PREFIX}/lib/desktop-agnostic/modules/*.so + ${CHMOD} a+x ${DESTDIR}${PREFIX}/lib/libdesktop-agnostic*.so.* + ${CHMOD} a+x ${DESTDIR}${PREFIX}/${PYSITELIB}/desktopagnostic/*.so + +.include "../../lang/vala014/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../devel/GConf/buildlink3.mk" +.include "../../devel/py-gobject/buildlink3.mk" +.include "../../devel/gobject-introspection/buildlink3.mk" +.include "../../lang/python/tool.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/libdesktop-agnostic/PLIST b/x11/libdesktop-agnostic/PLIST new file mode 100644 index 00000000000..ac2074e7f4a --- /dev/null +++ b/x11/libdesktop-agnostic/PLIST @@ -0,0 +1,53 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/19 14:23:00 imil Exp $ +bin/lda-desktop-entry-editor +bin/lda-schema-to-gconf +include/libdesktop-agnostic-1.0/libdesktop-agnostic/config.h +include/libdesktop-agnostic-1.0/libdesktop-agnostic/desktop-agnostic.h +include/libdesktop-agnostic-1.0/libdesktop-agnostic/fdo.h +include/libdesktop-agnostic-1.0/libdesktop-agnostic/ui.h +include/libdesktop-agnostic-1.0/libdesktop-agnostic/vfs.h +lib/desktop-agnostic/modules/libda-cfg-gconf.so +lib/desktop-agnostic/modules/libda-cfg-keyfile.so +lib/desktop-agnostic/modules/libda-cfg-type-color.so +lib/desktop-agnostic/modules/libda-fdo-glib.so +lib/desktop-agnostic/modules/libda-module-guesser.so +lib/desktop-agnostic/modules/libda-vfs-gio.so +lib/libdesktop-agnostic-cfg.so +lib/libdesktop-agnostic-cfg.so.0 +lib/libdesktop-agnostic-cfg.so.0.4.0 +lib/libdesktop-agnostic-fdo.so +lib/libdesktop-agnostic-fdo.so.0 +lib/libdesktop-agnostic-fdo.so.0.4.0 +lib/libdesktop-agnostic-ui.so +lib/libdesktop-agnostic-ui.so.0 +lib/libdesktop-agnostic-ui.so.0.4.0 +lib/libdesktop-agnostic-vfs.so +lib/libdesktop-agnostic-vfs.so.0 +lib/libdesktop-agnostic-vfs.so.0.4.0 +lib/libdesktop-agnostic.so +lib/libdesktop-agnostic.so.0 +lib/libdesktop-agnostic.so.0.4.0 +lib/pkgconfig/desktop-agnostic.pc +${PYSITELIB}/desktopagnostic/__init__.py +${PYSITELIB}/desktopagnostic/config.so +${PYSITELIB}/desktopagnostic/desktopagnostic.so +${PYSITELIB}/desktopagnostic/fdo.so +${PYSITELIB}/desktopagnostic/ui.so +${PYSITELIB}/desktopagnostic/vfs.so +share/examples/libdesktop-agnostic/desktop-agnostic.ini +share/locale/en_US@piglatin/LC_MESSAGES/libdesktop-agnostic.mo +share/pygtk/2.0/defs/desktopagnostic.defs +share/pygtk/2.0/defs/desktopagnostic_config.defs +share/pygtk/2.0/defs/desktopagnostic_fdo.defs +share/pygtk/2.0/defs/desktopagnostic_ui.defs +share/pygtk/2.0/defs/desktopagnostic_vfs.defs +share/vala/vapi/desktop-agnostic-cfg.deps +share/vala/vapi/desktop-agnostic-cfg.vapi +share/vala/vapi/desktop-agnostic-fdo.deps +share/vala/vapi/desktop-agnostic-fdo.vapi +share/vala/vapi/desktop-agnostic-ui.deps +share/vala/vapi/desktop-agnostic-ui.vapi +share/vala/vapi/desktop-agnostic-vfs.deps +share/vala/vapi/desktop-agnostic-vfs.vapi +share/vala/vapi/desktop-agnostic.deps +share/vala/vapi/desktop-agnostic.vapi diff --git a/x11/libdesktop-agnostic/buildlink3.mk b/x11/libdesktop-agnostic/buildlink3.mk new file mode 100644 index 00000000000..c1b1c32af7a --- /dev/null +++ b/x11/libdesktop-agnostic/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/02/19 14:23:00 imil Exp $ + +BUILDLINK_TREE+= libdesktop-agnostic + +.if !defined(LIBDESKTOP_AGNOSTIC_BUILDLINK3_MK) +LIBDESKTOP_AGNOSTIC_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libdesktop-agnostic+= libdesktop-agnostic>=0.3.92 +BUILDLINK_ABI_DEPENDS.libdesktop-agnostic+= libdesktop-agnostic>=0.3.92 +BUILDLINK_PKGSRCDIR.libdesktop-agnostic?= ../../x11/libdesktop-agnostic + +.include "../../lang/vala014/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../devel/GConf/buildlink3.mk" +.include "../../devel/py-gobject/buildlink3.mk" +.include "../../devel/gobject-introspection/buildlink3.mk" +.endif # LIBDESKTOP_AGNOSTIC_BUILDLINK3_MK + +BUILDLINK_TREE+= -libdesktop-agnostic diff --git a/x11/libdesktop-agnostic/distinfo b/x11/libdesktop-agnostic/distinfo new file mode 100644 index 00000000000..93a58305f90 --- /dev/null +++ b/x11/libdesktop-agnostic/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/02/19 14:23:00 imil Exp $ + +SHA1 (libdesktop-agnostic-0.3.92.tar.gz) = b8be6db7f6185f0d9ddbc632cd7211f1043c85b1 +RMD160 (libdesktop-agnostic-0.3.92.tar.gz) = 7936f6473ce06bc6ec01cf1cc6edd43418888b62 +Size (libdesktop-agnostic-0.3.92.tar.gz) = 442653 bytes +SHA1 (patch-data_wscript) = b43f9ee46a99f393236ed9a91386368045ad0ed2 +SHA1 (patch-gen__src_libdesktop-agnostic_vfs-glob.c) = 915cdfa4a1bd0c2112cdf5e63ba92e9f4ea377ab diff --git a/x11/libdesktop-agnostic/patches/patch-data_wscript b/x11/libdesktop-agnostic/patches/patch-data_wscript new file mode 100644 index 00000000000..430379cd8be --- /dev/null +++ b/x11/libdesktop-agnostic/patches/patch-data_wscript @@ -0,0 +1,13 @@ +$NetBSD: patch-data_wscript,v 1.1.1.1 2012/02/19 14:23:00 imil Exp $ + +--- data/wscript.orig 2011-03-12 14:14:23.000000000 +0000 ++++ data/wscript +@@ -46,7 +46,7 @@ def build(bld): + 'DESKTOP_ENTRY_BACKEND': bld.env['BACKENDS_DE'][0], + } + ini.fun = misc.subst_func +- ini.install_path = '${SYSCONFDIR}/xdg/libdesktop-agnostic' ++ ini.install_path = '${DATADIR}/examples/libdesktop-agnostic' + + if bld.env['GLADE_SUPPORT']: + bld.install_files('${GLADEUI_CATALOGDIR}', 'desktop-agnostic.xml') diff --git a/x11/libdesktop-agnostic/patches/patch-gen__src_libdesktop-agnostic_vfs-glob.c b/x11/libdesktop-agnostic/patches/patch-gen__src_libdesktop-agnostic_vfs-glob.c new file mode 100644 index 00000000000..c4f2fff595d --- /dev/null +++ b/x11/libdesktop-agnostic/patches/patch-gen__src_libdesktop-agnostic_vfs-glob.c @@ -0,0 +1,13 @@ +$NetBSD: patch-gen__src_libdesktop-agnostic_vfs-glob.c,v 1.1.1.1 2012/02/19 14:23:00 imil Exp $ + +--- gen_src/libdesktop-agnostic/vfs-glob.c.orig 2011-03-13 18:30:12.000000000 +0000 ++++ gen_src/libdesktop-agnostic/vfs-glob.c +@@ -365,7 +365,7 @@ static void desktop_agnostic_vfs_glob_cl + + static void desktop_agnostic_vfs_glob_instance_init (DesktopAgnosticVFSGlob * self) { + self->priv = DESKTOP_AGNOSTIC_VFS_GLOB_GET_PRIVATE (self); +- self->priv->_flags = (GLOB_MARK | GLOB_BRACE) | GLOB_TILDE_CHECK; ++ self->priv->_flags = (GLOB_MARK | GLOB_BRACE) | GLOB_TILDE; + } + + |