[csw-devel] SF.net SVN: gar:[20987] csw/mgar/pkg
slowfranklin at users.sourceforge.net
slowfranklin at users.sourceforge.net
Sat May 4 15:52:48 CEST 2013
Revision: 20987
http://gar.svn.sourceforge.net/gar/?rev=20987&view=rev
Author: slowfranklin
Date: 2013-05-04 13:52:47 +0000 (Sat, 04 May 2013)
Log Message:
-----------
New package Gnome dconf
Added Paths:
-----------
csw/mgar/pkg/dconf/
csw/mgar/pkg/dconf/Makefile
csw/mgar/pkg/dconf/branches/
csw/mgar/pkg/dconf/tags/
csw/mgar/pkg/dconf/trunk/
csw/mgar/pkg/dconf/trunk/Makefile
csw/mgar/pkg/dconf/trunk/checksums
csw/mgar/pkg/dconf/trunk/files/
csw/mgar/pkg/dconf/trunk/files/0001-Use-statvfs-for-checking-filesystem-type.patch
csw/mgar/pkg/dconf/trunk/files/0002-Remove-linker-flags-remove-c89-request.patch
csw/mgar/pkg/dconf/trunk/files/0003-Add-gio-includes.patch
Added: csw/mgar/pkg/dconf/Makefile
===================================================================
--- csw/mgar/pkg/dconf/Makefile (rev 0)
+++ csw/mgar/pkg/dconf/Makefile 2013-05-04 13:52:47 UTC (rev 20987)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/dconf/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/dconf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dconf/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/dconf/trunk/Makefile 2013-05-04 13:52:47 UTC (rev 20987)
@@ -0,0 +1,59 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = dconf
+VERSION = 0.5.1
+GARTYPE = v2
+
+DESCRIPTION = low-level configuration system for glib
+define BLURB
+ dconf is a low-level configuration system. Its main purpose is to
+ provide a backend to GSettings on platforms that dont already have
+ configuration storage systems.
+endef
+
+MASTER_SITES = $(GNOME_MIRROR)
+DISTFILES = $(NAME)-$(VERSION).tar.bz2
+GARCOMPILER = GNU
+
+EXTRA_PKG_CONFIG_DIRS = $(prefix)/X11/lib
+EXTRA_INC = $(prefix)/include/gtk-2.0
+EXTRA_INC += $(prefix)/include/cairo
+EXTRA_INC += $(prefix)/include/pango-1.0
+EXTRA_INC += $(prefix)/lib/gtk-2.0/include/
+EXTRA_INC += $(prefix)/include/gdk-pixbuf-2.0/
+EXTRA_INC += $(prefix)/include/atk-1.0/
+
+BUILD_DEP_PKGS += CSWlibdbusdev
+BUILD_DEP_PKGS += CSWpkgconfig
+BUILD_DEP_PKGS += CSWglib2devel
+BUILD_DEP_PKGS += CSWgtk2devel
+
+RUNTIME_DEP_PKGS += CSWlibgio2-0-0
+RUNTIME_DEP_PKGS += CSWglib2
+RUNTIME_DEP_PKGS += CSWlibdbus
+
+PACKAGES += CSWdconf
+SPKG_DESC_CSWdconf = $(DESCRIPTION)
+RUNTIME_DEP_PKGS_CSWdconf += CSWlibdconf0
+
+PACKAGES += CSWlibdconf0
+SPKG_DESC_CSWlibdconf0 = $(DESCRIPTION), library
+PKGFILES_CSWlibdconf0 += $(call pkgfiles_lib,libdconf.so)
+
+PACKAGES += CSWlibdconf-dev
+SPKG_DESC_CSWlibdconf-dev = $(DESCRIPTION), development files
+PKGFILES_CSWlibdconf-dev += $(PKGFILES_DEVEL)
+PKGFILES_CSWlibdconf-dev += $(call baseisadirs,$(datadir),vala/vapi/dconf\.deps)
+PKGFILES_CSWlibdconf-dev += $(call baseisadirs,$(datadir),vala/vapi/dconf\.vapi)
+RUNTIME_DEP_PKGS_CSWlibdconf-dev += CSWlibdconf0
+
+PATCHFILES += 0001-Use-statvfs-for-checking-filesystem-type.patch
+PATCHFILES += 0002-Remove-linker-flags-remove-c89-request.patch
+PATCHFILES += 0003-Add-gio-includes.patch
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += CFLAGS="-std=c99 -D__EXTENSIONS__"
+
+include gar/category.mk
+
Property changes on: csw/mgar/pkg/dconf/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/dconf/trunk/checksums
===================================================================
--- csw/mgar/pkg/dconf/trunk/checksums (rev 0)
+++ csw/mgar/pkg/dconf/trunk/checksums 2013-05-04 13:52:47 UTC (rev 20987)
@@ -0,0 +1 @@
+c905497d0255fe2ba58564f9655908ab dconf-0.5.1.tar.bz2
Added: csw/mgar/pkg/dconf/trunk/files/0001-Use-statvfs-for-checking-filesystem-type.patch
===================================================================
--- csw/mgar/pkg/dconf/trunk/files/0001-Use-statvfs-for-checking-filesystem-type.patch (rev 0)
+++ csw/mgar/pkg/dconf/trunk/files/0001-Use-statvfs-for-checking-filesystem-type.patch 2013-05-04 13:52:47 UTC (rev 20987)
@@ -0,0 +1,44 @@
+From fb34695aa0196076e19343701430b3ffa838c075 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Sat, 4 May 2013 13:43:57 +0200
+Subject: [PATCH] Use statvfs for checking filesystem type
+
+---
+ common/dconf-shmdir.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/common/dconf-shmdir.c b/common/dconf-shmdir.c
+index e1e8fdf..f8c163f 100644
+--- a/common/dconf-shmdir.c
++++ b/common/dconf-shmdir.c
+@@ -32,11 +32,11 @@
+ static gboolean
+ is_local (const gchar *filename)
+ {
+- struct statfs buf;
++ struct statvfs buf;
+ gint s;
+
+ do
+- s = statfs (filename, &buf);
++ s = statvfs (filename, &buf);
+ while (s < 0 && errno == EINTR);
+
+ if (s < 0 && errno == ENOENT)
+@@ -44,11 +44,11 @@ is_local (const gchar *filename)
+ g_mkdir_with_parents (filename, 0700);
+
+ do
+- s = statfs (filename, &buf);
++ s = statvfs (filename, &buf);
+ while (s < 0 && errno == EINTR);
+ }
+
+- return s == 0 && buf.f_type != NFS_SUPER_MAGIC;
++ return s == 0 && (strcmp(buf.f_basetype, "nfs") != 0);
+ }
+
+ gchar *
+--
+1.8.1.4
+
Added: csw/mgar/pkg/dconf/trunk/files/0002-Remove-linker-flags-remove-c89-request.patch
===================================================================
--- csw/mgar/pkg/dconf/trunk/files/0002-Remove-linker-flags-remove-c89-request.patch (rev 0)
+++ csw/mgar/pkg/dconf/trunk/files/0002-Remove-linker-flags-remove-c89-request.patch 2013-05-04 13:52:47 UTC (rev 20987)
@@ -0,0 +1,29 @@
+From d13c3a880c1dda31398e8a46e7072bdaf285ac31 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Sat, 4 May 2013 14:06:19 +0200
+Subject: [PATCH] Remove linker flags, remove c89 request
+
+---
+ gsettings/Makefile.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gsettings/Makefile.in b/gsettings/Makefile.in
+index 8439295..57525b1 100644
+--- a/gsettings/Makefile.in
++++ b/gsettings/Makefile.in
+@@ -191,10 +191,10 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-AM_CFLAGS = -std=c89 -Wall -Wmissing-prototypes -Wwrite-strings -fPIC -DPIC
++AM_CFLAGS = -Wall -Wmissing-prototypes -Wwrite-strings -fPIC -DPIC
+ INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/gvdb -I$(top_srcdir)/engine $(gio_CFLAGS)
+ libdconfsettings_so_LDADD = $(gio_LIBS)
+-libdconfsettings_so_LDFLAGS = -module -avoid-version -shared
++libdconfsettings_so_LDFLAGS = -shared
+ libdconfsettings_so_SOURCES = \
+ ../engine/dconf-engine.c \
+ ../common/dconf-shmdir.c \
+--
+1.8.1.4
+
Added: csw/mgar/pkg/dconf/trunk/files/0003-Add-gio-includes.patch
===================================================================
--- csw/mgar/pkg/dconf/trunk/files/0003-Add-gio-includes.patch (rev 0)
+++ csw/mgar/pkg/dconf/trunk/files/0003-Add-gio-includes.patch 2013-05-04 13:52:47 UTC (rev 20987)
@@ -0,0 +1,25 @@
+From d0cbd2b17933abb82a89ad2b7779f2ecf791cb04 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Sat, 4 May 2013 15:22:59 +0200
+Subject: [PATCH] Add gio includes
+
+---
+ editor/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/editor/Makefile.in b/editor/Makefile.in
+index f89f0cd..1e31ceb 100644
+--- a/editor/Makefile.in
++++ b/editor/Makefile.in
+@@ -192,7 +192,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-AM_CFLAGS = $(gtk_CFLAGS) $(libxml_CFLAGS) -I$(top_srcdir)/common -I$(top_srcdir)/client
++AM_CFLAGS = $(gio_CFLAGS) $(gtk_CFLAGS) $(libxml_CFLAGS) -I$(top_srcdir)/common -I$(top_srcdir)/client
+ AM_VALAFLAGS = --vapidir ../client --pkg gtk+-2.0 --pkg libxml-2.0 --pkg dconf
+ dconf_editor_LDADD = ../client/libdconf.so.0 $(gtk_LIBS) $(gee_LIBS) $(libxml_LIBS)
+ dconf_editor_SOURCES = dconf-editor.vala dconf-model.vala dconf-schema.vala dconf-view.vala
+--
+1.8.1.4
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list