[libcompizconfig] new release 0.9.5.0

leigh123linux leigh123linux at fedoraproject.org
Fri Jul 15 15:01:02 UTC 2011


commit 11d7b7c0949172d93e64f8ed2a6d6ea00aca52af
Author: Leigh Scott <leigh123linux at googlemail.com>
Date:   Fri Jul 15 16:00:43 2011 +0100

    new release 0.9.5.0

 fix_libdir.patch     |   23 +++++++++++++++++++++++
 libcompizconfig.spec |    4 ++++
 2 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/fix_libdir.patch b/fix_libdir.patch
new file mode 100644
index 0000000..15a1cb6
--- /dev/null
+++ b/fix_libdir.patch
@@ -0,0 +1,23 @@
+#revert 9d32d80e86dc820b512c7fb68a0191e5184762ed
+#http://gitweb.compiz.org/?p=compiz/compizconfig/libcompizconfig;a=commit;h=9d32d80e86dc820b512c7fb68a0191e5184762ed
+
+--- libcompizconfig-0.9.5.0/cmake/LibCompizConfigCommon.cmake	2011-07-13 23:11:56.000000000 +0100
++++ libcompizconfig-0.9.5.0/cmake/LibCompizConfigCommon1.cmake	2011-07-15 15:55:50.090266961 +0100
+@@ -106,7 +106,7 @@ function (compizconfig_backend bname)
+ 
+ 	set_target_properties (
+ 	    ${bname} PROPERTIES
+-	    INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib"
++	    INSTALL_RPATH "${COMPIZCONFIG_LIBDIR}"
+ 	    COMPILE_FLAGS "${${_BACKEND}_CFLAGSADD}"
+ 	    LINK_FLAGS "${${_BACKEND}_LDFLAGSADD}"
+ 	)
+@@ -122,7 +122,7 @@ function (compizconfig_backend bname)
+ 
+     install (
+ 	TARGETS ${bname}
+-	DESTINATION ${COMPIZ_DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/compizconfig/backends
++	DESTINATION ${COMPIZ_DESTDIR}${COMPIZCONFIG_LIBDIR}/compizconfig/backends
+     )
+ 
+     if (NOT _COMPIZCONFIG_INTERNAL)
diff --git a/libcompizconfig.spec b/libcompizconfig.spec
index 25bc44c..ed4b6f5 100644
--- a/libcompizconfig.spec
+++ b/libcompizconfig.spec
@@ -14,6 +14,9 @@ Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.
 # Set GNOME to use ini backend for now, while there's a bug with gconf
 # backend (compiz fails to reload correctly)
 Patch0:         libcompizconfig-0.9.2.1-gnome_ini.patch
+# revert upstream commit
+# http://gitweb.compiz.org/?p=compiz/compizconfig/libcompizconfig;a=commit;h=9d32d80e86dc820b512c7fb68a0191e5184762ed
+Patch1:         fix_libdir.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # libdrm is not available on these arches
@@ -48,6 +51,7 @@ developing applications that use %{name}.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 
 %build


More information about the scm-commits mailing list