From 4b388163b8fc4d9ec04a81960c496bb9a4f0355e Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Mon, 31 Jul 2006 17:08:55 +0100 Subject: [PATCH 1/4] Mention dependency on libutf8 in pkgconf.in --- src/libutf8++/pkgconf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutf8++/pkgconf.in b/src/libutf8++/pkgconf.in index a569072..0d0ddd7 100644 --- a/src/libutf8++/pkgconf.in +++ b/src/libutf8++/pkgconf.in @@ -14,7 +14,7 @@ Description: C++ wrapper around libutf8 (library for handling UTF-8) Version: @VERSION@ # Requirements -Requires: +Requires: libutf8 # Compilation information Libs: -L@LIBDIR@ -lutf8++ From 0dc93ec0137cca7ed3a75eec42e2c1840b70bc1e Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Mon, 31 Jul 2006 17:12:16 +0100 Subject: [PATCH 2/4] Use proper name for pkgconfig file. --- src/libutf8++/build.install-lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutf8++/build.install-lib b/src/libutf8++/build.install-lib index b3e6f20..4e227dd 100644 --- a/src/libutf8++/build.install-lib +++ b/src/libutf8++/build.install-lib @@ -22,7 +22,7 @@ install_header ${libutf8pp_HEADER} ${INCLUDEDIR} 0644 || return 1 # install pkgconfig file echo "Installing package config file into ${PKGCONFDIR}" -PKGCONFFILE=${PKGCONFDIR}/libutf8pp.pc +PKGCONFFILE=${PKGCONFDIR}/libutf8++.pc do_cmd rm -f ${PKGCONFFILE} do_cmd_redir ${PKGCONFFILE} sed \ -e "s,@VERSION@,${VERSION}," \ From 12ecf4f11ff4264639a9504c13ef9a0be3b86523 Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Mon, 31 Jul 2006 17:14:06 +0100 Subject: [PATCH 3/4] Bump version. --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 93f682a..14c1302 100644 --- a/version +++ b/version @@ -12,7 +12,7 @@ # suffixed with a string. VERMAJOR=1 VERMINOR=2 -VERMICRO=0 +VERMICRO=1 VEREXTRA="" # kate: replace-trailing-space-save true; space-indent true; tab-width 4; From b5338bd81e77d30e090228a91505a14ac2d56c4d Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Fri, 25 Aug 2006 11:01:11 +0100 Subject: [PATCH 4/4] Upgrade build system, bump version. --- make.sh | 6 +++++- scripts/.gitignore | 1 + src/libutf8++/build.lib | 2 +- src/libutf8++/build.monolithic | 2 +- src/libutf8++/soversion | 2 +- version | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/make.sh b/make.sh index 350a1ad..008ed85 100755 --- a/make.sh +++ b/make.sh @@ -64,6 +64,7 @@ OUTPUT_DIRS="obj html" # none no special processing happens before each file # C #line directives are inserted before each file # and VERSION, VERMAJOR etc. are #defined +# Ch Like C, but for header files (no VERSION #defines) # make_monolithic() { if [ $# -ne 2 ] @@ -82,6 +83,9 @@ make_monolithic() { then HASHLINE=1 VERDEFINE=1 + elif [ "$2" == "Ch" ] + then + HASHLINE=1 elif [ "$2" == "none" ] then HASHLINE=0 # dummy command @@ -261,7 +265,7 @@ else targets="$@" fi -for func in "${targets}" +for func in ${targets} do case ${func} in clean) diff --git a/scripts/.gitignore b/scripts/.gitignore index ce33425..a540f48 100644 --- a/scripts/.gitignore +++ b/scripts/.gitignore @@ -1,5 +1,6 @@ build.c++.app build.c++.lib +build.c++.qtapp build.c++.tests build.c.app build.c.lib diff --git a/src/libutf8++/build.lib b/src/libutf8++/build.lib index 484ee47..f206e6b 100644 --- a/src/libutf8++/build.lib +++ b/src/libutf8++/build.lib @@ -31,7 +31,7 @@ then echo " Compiling" SONAME="${libutf8pp_BASE}.so.${SOMAJOR}.${SOMINOR}" - do_cmd ${CXX} ${CFLAGS} -shared -fpic -o "${libutf8pp}" \ + do_cmd ${CXX} ${CFLAGS} -Iobj -shared -fpic -o "${libutf8pp}" \ -Wl,-soname,${SONAME} \ ${SRC} ${SO_EXTRA} || return 1 diff --git a/src/libutf8++/build.monolithic b/src/libutf8++/build.monolithic index d584710..d9fa1b4 100644 --- a/src/libutf8++/build.monolithic +++ b/src/libutf8++/build.monolithic @@ -9,7 +9,7 @@ MONOLITHIC_TESTS="src/libutf8++/build.lib src/libutf8++/build.monolithic" if [ -z "${libutf8pp_MONOLITHIC}" ] then MONOLITHIC_SOURCE="$(echo src/libutf8++/{TopHeader,ForwardDeclare,exception,string,{en,de}coder,BottomHeader}.h)" - make_monolithic ${HDR} C || return 1 + make_monolithic ${HDR} Ch || return 1 MONOLITHIC_SOURCE="$(echo src/libutf8++/{TopSource,exception,string,{en,de}coder}.cpp)" make_monolithic ${SRC} C || return 1 diff --git a/src/libutf8++/soversion b/src/libutf8++/soversion index edec6ee..b900c10 100644 --- a/src/libutf8++/soversion +++ b/src/libutf8++/soversion @@ -14,4 +14,4 @@ SOMAJOR=0 SOMINOR=0 # SOMICRO is bumped every time there is a binary-compatible release. -SOMICRO=0 +SOMICRO=1 diff --git a/version b/version index 14c1302..14eddd8 100644 --- a/version +++ b/version @@ -12,7 +12,7 @@ # suffixed with a string. VERMAJOR=1 VERMINOR=2 -VERMICRO=1 +VERMICRO=2 VEREXTRA="" # kate: replace-trailing-space-save true; space-indent true; tab-width 4;