summaryrefslogtreecommitdiff
path: root/media-video/camorama/files/camorama-0.19-gconf.patch
blob: 5a1a19e9b576396e2c30f1843f9d3e761dd8758b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Make camorama respect --disable-schemas-install configure switch
# https://bugs.gentoo.org/show_bug.cgi?id=243274
#
# Makefile.am |    4 ++++
# Makefile.in |    7 ++++---
#  2 files changed, 8 insertions(+), 3 deletions(-)
#
#
--- a/data/Makefile.am	2008-11-30 12:39:56.000000000 +0100
+++ b/data/Makefile.am	2008-11-30 12:41:33.000000000 +0100
@@ -24,9 +24,13 @@
 	cp $(app_DATA) ~/.gnome/application-registry
 	cp $(keys_DATA) ~/.gnome/mime-info/
 
+if GCONF_SCHEMAS_INSTALL
 install-data-local:
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA) 
 	$(GCONFTOOL) --shutdown
+else
+install-data-local:
+endif
 
 EXTRA_DIST = $(glade_DATA) $(schema_in_files) $(stuff_DATA)
 
--- a/data/Makefile.in	2008-11-30 12:41:10.000000000 +0100
+++ b/data/Makefile.in	2008-11-30 12:42:24.000000000 +0100
@@ -448,9 +437,10 @@
 	cp $(app_DATA) ~/.gnome/application-registry
 	cp $(keys_DATA) ~/.gnome/mime-info/
 
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA) 
-	$(GCONFTOOL) --shutdown
+@GCONF_SCHEMAS_INSTALL_TRUE@install-data-local:
+@GCONF_SCHEMAS_INSTALL_TRUE@	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA) 
+@GCONF_SCHEMAS_INSTALL_TRUE@	$(GCONFTOOL) --shutdown
+@GCONF_SCHEMAS_INSTALL_FALSE@install-data-local:
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: