[mygui] rebuild to include libCommon

Tom Callaway spot at fedoraproject.org
Thu Apr 25 18:57:25 UTC 2013


commit 39a6140f28a43f75154845b52a7ecbebaf900454
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Apr 25 14:56:45 2013 -0400

    rebuild to include libCommon

 mygui-libCommon-fixup.patch |   11 +++++++++++
 mygui.spec                  |   10 +++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/mygui-libCommon-fixup.patch b/mygui-libCommon-fixup.patch
new file mode 100644
index 0000000..55d6149
--- /dev/null
+++ b/mygui-libCommon-fixup.patch
@@ -0,0 +1,11 @@
+diff -up MyGUI_3.2.0/Common/CMakeLists.txt.fixup MyGUI_3.2.0/Common/CMakeLists.txt
+--- MyGUI_3.2.0/Common/CMakeLists.txt.fixup	2013-04-25 14:47:11.128845465 -0400
++++ MyGUI_3.2.0/Common/CMakeLists.txt	2013-04-25 14:47:16.497845545 -0400
+@@ -82,6 +82,7 @@ elseif(MYGUI_SAMPLES_INPUT EQUAL 3)
+ endif()
+ 
+ add_library(${PROJECTNAME} ${HEADER_FILES} ${SOURCE_FILES})
++set_target_properties(${PROJECTNAME} PROPERTIES VERSION ${MYGUI_VERSION} SOVERSION ${MYGUI_VERSION_MAJOR})
+ 
+ if(MYGUI_RENDERSYSTEM EQUAL 1)
+ 	add_dependencies(${PROJECTNAME} MyGUI.DirectXPlatform)
diff --git a/mygui.spec b/mygui.spec
index b104ebc..b94bedb 100644
--- a/mygui.spec
+++ b/mygui.spec
@@ -1,6 +1,6 @@
 Name:           mygui
 Version:        3.2.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Fast, simple and flexible GUI library for Ogre
 Group:          Development/Libraries
 # UnitTests include agg-2.4, which is under a BSD variant (not built or installed here)
@@ -17,6 +17,8 @@ Source3:        resources.xml
 Source4:        mygui-layouteditor.desktop
 # Fix multilib and flags with cmake
 Patch0:         mygui_multilib_cflags.patch
+# Fixup libCommon
+Patch1:		mygui-libCommon-fixup.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  automake, autoconf, libtool, freetype-devel, desktop-file-utils
@@ -83,6 +85,7 @@ An helper script MyGUI-Tools is provided and installed in %{_bindir}.
 %prep
 %setup -n MyGUI_%{version}
 %patch0 -p0 -b .multilib
+%patch1 -p1 -b .fixup
 # Fix eol 
 sed -i 's/\r//' COPYING.LESSER
 # Fix non-UTF8 files
@@ -188,6 +191,8 @@ ln -fs %{_datadir}/fonts/dejavu/DejaVuSans.ttf \
 ln -fs %{_datadir}/fonts/dejavu/DejaVuSans-ExtraLight.ttf \
   %{buildroot}%{_datadir}/MyGUI/Media/MyGUI_Media/DejaVuSans-ExtraLight.ttf
 
+# CMake hurts my brain.
+cp -a %{_lib}/libCommon.so* %{buildroot}%{_libdir}/
 
 %clean
 rm -rf %{buildroot}
@@ -241,6 +246,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Apr 25 2013 Tom Callaway <spot at fedoraproject.org> - 3.2.0-5
+- rebuild to include libCommon
+
 * Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora at m4x.org> - 3.2.0-4
 - Rebuild for Boost-1.53.0
 


More information about the scm-commits mailing list