Hello community,

here is the log from the commit of package graphite2 for openSUSE:Factory 
checked in at 2012-11-30 12:21:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/graphite2 (Old)
 and      /work/SRC/openSUSE:Factory/.graphite2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "graphite2", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/graphite2/graphite2.changes      2012-11-14 
09:13:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.graphite2.new/graphite2.changes 2012-11-30 
12:25:21.000000000 +0100
@@ -1,0 +2,8 @@
+Wed Nov 28 16:36:00 UTC 2012 - [email protected]
+
+- graphite2-arm.patch :Fix build in arm and possible other platforms, we should
+  notuse -nodefaultlibs as a linker flag and let the system
+  do its job automatically.
+- freetype-devel should be freetype2-devel
+
+-------------------------------------------------------------------

New:
----
  graphite2-arm.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ graphite2.spec ++++++
--- /var/tmp/diff_new_pack.whL4Bb/_old  2012-11-30 12:25:22.000000000 +0100
+++ /var/tmp/diff_new_pack.whL4Bb/_new  2012-11-30 12:25:22.000000000 +0100
@@ -1,5 +1,4 @@
 #
-#
 # spec file for package graphite2
 #
 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
@@ -22,16 +21,17 @@
 Name:           graphite2
 Version:        1.2.0
 Release:        0
-License:        LGPL-2.1+ or GPL-2.0+ or MPL-1.1
 Summary:        Font rendering capabilities for complex non-Roman writing 
systems
-Url:            http://sourceforge.net/projects/silgraphite/
+License:        LGPL-2.1+ or GPL-2.0+ or MPL-1.1
 Group:          Productivity/Publishing/Word
+Url:            http://sourceforge.net/projects/silgraphite/
 Source0:        
http://downloads.sourceforge.net/silgraphite/graphite2-%{version}.tgz
-BuildRequires:  pkgconfig
 BuildRequires:  cmake
+BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
-BuildRequires:  freetype-devel
+BuildRequires:  pkgconfig
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch0:         graphite2-arm.patch
 
 %description
 Graphite2 is a project within SIL’s Non-Roman Script Initiative and Language
@@ -57,6 +57,7 @@
 Summary:        Files for Developing with %{name}
 Group:          Development/Libraries/C and C++
 Requires:       %{libname} = %{version}
+Requires:       glibc-devel
 
 %description devel
 Graphite2 is a project within SIL’s Non-Roman Script Initiative and Language
@@ -70,10 +71,11 @@
 
 %prep
 %setup -q
-
+%patch0
 %build
 cmake \
-       -DCMAKE_C_FLAGS:STRING="%{optflags}" \
+       -DCMAKE_C_FLAGS:STRING="%{optflags} -D_GNU_SOURCE" \
+       -DCMAKE_CXX_FLAGS:STRING="%{optflags} -D_GNU_SOURCE" \
        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DCMAKE_SKIP_RPATH=ON \
        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
@@ -83,12 +85,12 @@
 %endif
        -DGRAPHITE2_COMPARE_RENDERER=OFF \
        -DVM_MACHINE_TYPE=direct \
-       .
+       -DCMAKE_VERBOSE_MAKEFILE=ON
+
 make %{?_smp_mflags}
 
 %install
 make DESTDIR=%{buildroot} install
-
 rm %{buildroot}%{_libdir}/*.la
 
 %post -n %{libname} -p /sbin/ldconfig

++++++ graphite2-arm.patch ++++++
--- tests/CMakeLists.txt.orig
+++ tests/CMakeLists.txt
@@ -39,14 +39,12 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windo
                             COMPILE_DEFINITIONS 
"GRAPHITE2_STATIC;GRAPHITE2_NTRACING;_SCL_SECURE_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;UNICODE")
 else (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
     set_target_properties(graphite2-base PROPERTIES 
-        COMPILE_FLAGS       "-Wall -Wextra -fdiagnostics-show-option -fno-rtti 
-fno-exceptions -fno-stack-protector"
+        COMPILE_FLAGS       "-Wall -Wextra -fdiagnostics-show-option -fno-rtti 
-fno-exceptions"
         COMPILE_DEFINITIONS "GRAPHITE2_STATIC"
-        LINK_FLAGS          "-nodefaultlibs" 
         LINKER_LANGUAGE     C)
     set_target_properties(graphite2-segcache PROPERTIES 
-        COMPILE_FLAGS       "-Wall -Wextra -fdiagnostics-show-option -fno-rtti 
-fno-exceptions -fno-stack-protector"
+        COMPILE_FLAGS       "-Wall -Wextra -fdiagnostics-show-option -fno-rtti 
-fno-exceptions"
         COMPILE_DEFINITIONS "GRAPHITE2_STATIC;GRAPHITE2_NTRACING"
-        LINK_FLAGS          "-nodefaultlibs" 
         LINKER_LANGUAGE     C)
 endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
 
--- gr2fonttest/CMakeLists.txt.orig
+++ gr2fonttest/CMakeLists.txt
@@ -16,7 +16,7 @@ target_link_libraries(gr2fonttest graphi
 if  (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
     # -lgcc LINKER_LANGUAGE C
     add_definitions(-fno-rtti -fno-exceptions)
-    set_target_properties(gr2fonttest PROPERTIES LINK_FLAGS "-nodefaultlibs" 
LINKER_LANGUAGE C)
+    set_target_properties(gr2fonttest PROPERTIES LINKER_LANGUAGE C)
     set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
     # This script just fails
     nolib_test(stdc++ $<TARGET_FILE:gr2fonttest>)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to