Hello community,

here is the log from the commit of package icc_examin for openSUSE:Factory 
checked in at 2013-04-23 15:09:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/icc_examin (Old)
 and      /work/SRC/openSUSE:Factory/.icc_examin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "icc_examin", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/icc_examin/icc_examin.changes    2013-02-04 
20:18:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.icc_examin.new/icc_examin.changes       
2013-04-23 15:09:57.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Apr 22 22:16:07 UTC 2013 - [email protected]
+
+- Add icc_examin-xcm-detection.patch: fix XCM Detection: the
+  original test fails if pkg-config --cflags xcm does not return
+  any special flags to be added. Additionally, the original version
+  check was just wrong anyway.
+
+-------------------------------------------------------------------

New:
----
  icc_examin-xcm-detection.patch

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

Other differences:
------------------
++++++ icc_examin.spec ++++++
--- /var/tmp/diff_new_pack.6UBbwS/_old  2013-04-23 15:09:58.000000000 +0200
+++ /var/tmp/diff_new_pack.6UBbwS/_new  2013-04-23 15:09:58.000000000 +0200
@@ -19,6 +19,7 @@
 Version:        0.54
 Release:        0
 Source:         icc_examin-%{version}.tar.bz2
+Patch0:         icc_examin-xcm-detection.patch
 %define pixmapdir       /usr/share/pixmaps
 %define desktopdir      /usr/share/applications
 Summary:        ICC profile viewer and colour visualisation
@@ -160,6 +161,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"

++++++ icc_examin-xcm-detection.patch ++++++
Index: icc_examin-0.54/configure_tests.sh
===================================================================
--- icc_examin-0.54.orig/configure_tests.sh
+++ icc_examin-0.54/configure_tests.sh
@@ -541,9 +541,10 @@ if [ -n "$XCM" ] && [ $XCM -gt 0 ]; then
     ID_H="$ID"_H
     ID_LIBS="$ID"_LIBS
     if [ -z "$found" ]; then
-      pkg-config  --atleast-version=0.2 $pc_package
+      pkg-config  --atleast-version=${minversion} $pc_package
       if [ $? = 0 ]; then
-        found=`pkg-config --cflags $pc_package`
+        found="yes"
+        cflags=`pkg-config --cflags $pc_package`
         version=`pkg-config --modversion $pc_package`
       fi
     fi
@@ -557,7 +558,7 @@ if [ -n "$XCM" ] && [ $XCM -gt 0 ]; then
       if [ -n "$MAKEFILE_DIR" ]; then
         for i in $MAKEFILE_DIR; do
           test -f "$ROOT_DIR/$i/makefile".in && echo "XCM = 1" >> "$i/makefile"
-          test -f "$ROOT_DIR/$i/makefile".in && echo "XCM_H = $found" >> 
"$i/makefile"
+          test -f "$ROOT_DIR/$i/makefile".in && echo "XCM_H = $cflags" >> 
"$i/makefile"
           test -f "$ROOT_DIR/$i/makefile".in && echo "$ID_LIBS = `pkg-config 
--libs $name | sed \"$STRIPOPT\"`" >> "$i/makefile"
         done
       fi
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to