[csw-devel] SF.net SVN: gar:[21296] csw/mgar/pkg/glib2/trunk/Makefile
slowfranklin at users.sourceforge.net
slowfranklin at users.sourceforge.net
Fri Jun 7 11:21:38 CEST 2013
Revision: 21296
http://gar.svn.sourceforge.net/gar/?rev=21296&view=rev
Author: slowfranklin
Date: 2013-06-07 09:21:38 +0000 (Fri, 07 Jun 2013)
Log Message:
-----------
glib2/trunk: Add empty file gschemas.compiled to fix crash in gsettings
Modified Paths:
--------------
csw/mgar/pkg/glib2/trunk/Makefile
Modified: csw/mgar/pkg/glib2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/glib2/trunk/Makefile 2013-06-07 09:18:31 UTC (rev 21295)
+++ csw/mgar/pkg/glib2/trunk/Makefile 2013-06-07 09:21:38 UTC (rev 21296)
@@ -16,7 +16,7 @@
define BLURB
GLib is a library containing many useful C routines for things such as trees,
hashes, and lists. GLib was previously distributed with the GTK toolkit, but
- has been split off as of the developers' version 1.1.0.
+ has been split off as of the developers version 1.1.0.
endef
MASTER_SITES = $(GNOME_MIRROR)
@@ -192,6 +192,7 @@
RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWgio-fam-backend
CHECKPKG_OVERRIDES_CSWlibglib2-dev += surplus-dependency|CSWgio-fam-backend
PKGFILES_CSWlibglib2-dev += $(PKGFILES_DEVEL)
+# FIXME: at least glib-compile-schemas and gsettings should be moved to CSWglib2
PKGFILES_CSWlibglib2-dev += .*/glib-2.0/include/.*
PKGFILES_CSWlibglib2-dev += .*/gdbus-2.0.*
PKGFILES_CSWlibglib2-dev += .*/bash-completion.*
@@ -327,6 +328,14 @@
# without putting /opt/csw/bin first in PATH
PATH := /opt/csw/gnu:/opt/csw/bin:$(PATH)
+# fix a gsettings crash in case this file doesn't exist yet
+# it is normally created by glib-compile-schemas, packages like Tracker add such xml schema
+# files, but as long as no schema file exists, glib-compile-schemas doesn't create the file
+post-install-modulated:
+ @touch $(DESTDIR)/opt/csw/share/glib-2.0/schemas/gschemas.compiled
+ @chmod 0644 $(DESTDIR)/opt/csw/share/glib-2.0/schemas/gschemas.compiled
+ @$(MAKECOOKIE)
+
post-merge:
@echo "=== Cleanup stray bash_completion.d ==="
if [ -d $(PKGROOT)$(prefix)/bash_completion.d ] ; \
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