Hello community,

here is the log from the commit of package libHX for openSUSE:Factory
checked in at Tue Jun 7 09:16:05 CEST 2011.



--------
--- libHX/libHX.changes 2011-04-06 23:44:25.000000000 +0200
+++ /mounts/work_src_done/STABLE/libHX/libHX.changes    2011-06-06 
12:19:49.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jun  6 10:19:21 UTC 2011 - [email protected]
+
+- Put the libHX directory into a versioned directory to detect
+  unwanted omission of libHX_CFLAGS in dependent projects
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  pkgincludedir.diff

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

Other differences:
------------------
++++++ libHX.spec ++++++
--- /var/tmp/diff_new_pack.NeW0xF/_old  2011-06-07 09:14:43.000000000 +0200
+++ /var/tmp/diff_new_pack.NeW0xF/_new  2011-06-07 09:14:43.000000000 +0200
@@ -23,12 +23,13 @@
 BuildRequires:  gcc-c++ xz
 Summary:        Useful collection of routines for C and C++ programming
 Version:        3.10.1
-Release:        1
+Release:        3
 License:        LGPL v2+
 Group:          System/Libraries
 Source:         http://downloads.sf.net/libhx/libHX-%version.tar.xz
 Source3:        http://downloads.sf.net/libhx/libHX-%version.tar.xz.asc
 Source2:        baselibs.conf
+Patch1:         pkgincludedir.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  pkg-config
 %define debug_package_requires %lname = %version-%release
@@ -54,7 +55,6 @@
 
 %package -n %lname
 
-
 License:        LGPL v2+
 Summary:        Useful collection of routines for C and C++ programming
 Group:          System/Libraries
@@ -103,11 +103,10 @@
 
 %prep
 %setup -q
+%patch -P 1 -p1
 
 %build
-if [ ! -e configure ]; then
-       ./autogen.sh
-fi
+./autogen.sh
 %configure
 make %{?_smp_mflags}
 



++++++ pkgincludedir.diff ++++++
From: Jan Engelhardt <[email protected]>

Put libHX into a versioned directory to detect omission of
"pkg-config libHX --cflags" in dependent projects.

---
 configure.ac        |    3 +++
 include/Makefile.am |    2 +-
 libHX.pc.in         |    3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)

Index: libHX-3.10.1/configure.ac
===================================================================
--- libHX-3.10.1.orig/configure.ac
+++ libHX-3.10.1/configure.ac
@@ -88,6 +88,9 @@ AC_CHECK_FUNCS([fork execv execvp pipe],
 AC_CHECK_FUNCS([clock_gettime getegid geteuid getpid getppid])
 AM_CONDITIONAL([B_PROC], [test "$b_proc" = 1])
 
+pkgincludedir='${includedir}'/"$PACKAGE_NAME-$PACKAGE_VERSION";
+AC_SUBST([pkgincludedir])
+
 regular_CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_REENTRANT"
 regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
        -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
Index: libHX-3.10.1/include/Makefile.am
===================================================================
--- libHX-3.10.1.orig/include/Makefile.am
+++ libHX-3.10.1/include/Makefile.am
@@ -1,6 +1,6 @@
 # -*- Makefile -*-
 
-nobase_include_HEADERS = libHX.h \
+nobase_pkginclude_HEADERS = libHX.h \
        libHX/ctype_helper.h libHX/defs.h libHX/deque.h libHX/init.h \
        libHX/io.h libHX/list.h \
        libHX/map.h libHX/misc.h libHX/option.h libHX/proc.h libHX/string.h \
Index: libHX-3.10.1/libHX.pc.in
===================================================================
--- libHX-3.10.1.orig/libHX.pc.in
+++ libHX-3.10.1/libHX.pc.in
@@ -3,10 +3,11 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
+pkgincludedir=@pkgincludedir@
 
 Name:          libHX
 Description:   Useful collection of routines for C and C++ programming
 Version:       @PACKAGE_VERSION@
-Cflags:                -I${includedir}
+Cflags:                -I${pkgincludedir}
 Libs:          -L${libdir} -lHX
 Libs.private:  -ldl -lpthread -lrt

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to