[med-svn] [Git][med-team/fis-gtm][master] 2 commits: Do not seek for icu-config which is removed from libicu-dev
Andreas Tille
gitlab at salsa.debian.org
Sat Feb 9 14:56:14 GMT 2019
Andreas Tille pushed to branch master at Debian Med / fis-gtm
Commits:
21436fb0 by Andreas Tille at 2019-02-09T14:47:10Z
Do not seek for icu-config which is removed from libicu-dev
- - - - -
2bb1c374 by Andreas Tille at 2019-02-09T14:53:49Z
Upload to unstable
- - - - -
3 changed files:
- debian/changelog
- debian/patches/no_icu-config.patch → debian/patches/fis-gtm_icu.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,10 @@
-fis-gtm (6.3-005-2) UNRELEASED; urgency=medium
+fis-gtm (6.3-005-2) unstable; urgency=medium
- * Do not seek for icu-config which is removed from libicu-dev
+ * Do not seek for icu-config which is removed from libicu-dev (Thanks
+ a lot for László Böszörményi for the patch)
Closes: #921781
- -- Andreas Tille <tille at debian.org> Sat, 09 Feb 2019 08:26:38 +0100
+ -- Andreas Tille <tille at debian.org> Sat, 09 Feb 2019 15:47:21 +0100
fis-gtm (6.3-005-1) unstable; urgency=medium
=====================================
debian/patches/no_icu-config.patch → debian/patches/fis-gtm_icu.patch
=====================================
@@ -1,13 +1,13 @@
+Date: Sat, 9 Feb 2019 10:31:23 +0100
+Author: "László Böszörményi (GCS)" <gcs at debian.org>
Description: icu-config is deprecated upstream and was removed from the
Debian package since it breaks multi-arch (see bugs #898820 and #920900)
This is an attempt to get rid of icu-config and replace it by pkg-config
Bug-Debian: https://bugs.debian.org/921781
-Author: Andreas Tille <tille at debian.org>
-Last-Update: Sat, 09 Feb 2019 08:26:38 +0100
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -737,24 +737,7 @@ install(FILES ${scripts}
+--- fis-gtm-6.3-005.orig/CMakeLists.txt
++++ fis-gtm-6.3-005/CMakeLists.txt
+@@ -737,24 +737,9 @@ install(FILES ${scripts}
PERMISSIONS ${install_permissions_script}
)
@@ -29,26 +29,26 @@ Last-Update: Sat, 09 Feb 2019 08:26:38 +0100
-else()
- message(FATAL_ERROR "Unable to find 'icu-config'. Set ICUCONFIG in CMake cache.")
-endif()
-+set(gtm_icu_version "0.29")
++find_package(PkgConfig REQUIRED)
++PKG_CHECK_MODULES(ICU REQUIRED icu-io)
++set(gtm_icu_version "${ICU_VERSION}")
find_program(LOCALECFG NAMES locale)
if(LOCALECFG)
---- a/sr_unix/gtmprofile.gtc
-+++ b/sr_unix/gtmprofile.gtc
-@@ -74,12 +74,12 @@ if [ $gtm_dist != "$old_gtm_dist" ] ; th
- if [ -f "$gtm_dist/libgtmutil.$tmp_gtm_shlib" ] ; then gtmroutines="$gtm_dist/libgtmutil.$tmp_gtm_shlib $gtm_dist"
+--- fis-gtm-6.3-005.orig/sr_unix/gtmprofile.gtc
++++ fis-gtm-6.3-005/sr_unix/gtmprofile.gtc
+@@ -75,11 +75,11 @@ if [ $gtm_dist != "$old_gtm_dist" ] ; th
else gtmroutines=$gtm_dist ; fi
export gtmroutines
-- # Set $gtm_icu_version if icu-config is available - should be set before checking for UTF-8 mode
+ # Set $gtm_icu_version if icu-config is available - should be set before checking for UTF-8 mode
- if [ -z "$gtm_icu_version" -a -n "`which icu-config`" ] ; then
- gtm_icu_version=`icu-config --version | gtm_chset=M $gtm_dist/mumps -run %XCMD 'Read x Write $FNumber(x*$Select(+x>5:.1,1:1),"",1)'`
-+ # Set $gtm_icu_version if icu-io is available - should be set before checking for UTF-8 mode
-+ if [ -z "$gtm_icu_version" -a -n "`pkg-config --version icu-io`" ] ; then
-+ gtm_icu_version=`pkg-config --version icu-io | gtm_chset=M $gtm_dist/mumps -run %XCMD 'Read x Write $FNumber(x*$Select(+x>5:.1,1:1),"",1)'`
++ if [ -z "$gtm_icu_version" -a -n "`which pkg-config`" ] ; then
++ gtm_icu_version=`pkg-config --modversion icu-io | gtm_chset=M $gtm_dist/mumps -run %XCMD 'Read x Write $FNumber(x*$Select(+x>5:.1,1:1),"",1)'`
export gtm_icu_version
# Add library path to LD_LIBRARY_PATH
- extendlibpath=`icu-config --libdir`
-+ extendlibpath=`pkg-config --libs icu-io`
++ extendlibpath=`pkg-config --libs-only-L icu-io`
if [ "" = "$LD_LIBRARY_PATH" ]; then LD_LIBRARY_PATH="$extendlibpath"; else LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$extendlibpath";fi; export LD_LIBRARY_PATH
if [ "ibm" = "$arch" ]; then
if [ "" = "$LIBPATH" ]; then LIBPATH="$extendlibpath"; else LIBPATH="$LIBPATH:$extendlibpath";fi; export LIBPATH;
=====================================
debian/patches/series
=====================================
@@ -1,4 +1,3 @@
-
upstream_disable_autorelink
upstream_donot_deploy_all_encryption_libs
-no_icu-config.patch
+fis-gtm_icu.patch
View it on GitLab: https://salsa.debian.org/med-team/fis-gtm/compare/cfc792b322e7371a08ef9308be80df6f89e82add...2bb1c37496da3884426b426d3ca7a477c3137052
--
View it on GitLab: https://salsa.debian.org/med-team/fis-gtm/compare/cfc792b322e7371a08ef9308be80df6f89e82add...2bb1c37496da3884426b426d3ca7a477c3137052
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190209/50064cde/attachment-0001.html>
More information about the debian-med-commit
mailing list