Control: tags -1 + patch
* Rename libscim8c2a to libscim8v5 for the libstdc++6 triggered ABI change. Closes: #791275. * Add Conflict/Replaces to the old package.
diff -Nru scim-1.4.15/debian/control scim-1.4.15/debian/control --- scim-1.4.15/debian/control 2014-11-10 06:40:53.000000000 +0100 +++ scim-1.4.15/debian/control 2015-07-29 16:13:41.000000000 +0200 @@ -51,12 +51,14 @@ For development on SCIM platform, please see the description of scim-dev package. -Package: libscim8c2a +Package: libscim8v5 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: libscim8c2a +Replaces: libscim8c2a Description: library for SCIM platform SCIM (Smart Common Input Method) is an input method (IM) platform. . @@ -69,7 +71,7 @@ Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} -Depends: libscim8c2a (= ${binary:Version}), libx11-dev, libgtk2.0-dev, +Depends: libscim8v5 (= ${binary:Version}), libx11-dev, libgtk2.0-dev, libgtk-3-dev | libgtk2.0-dev (<< 2.21), libpango1.0-dev, ${misc:Depends} Description: development library for SCIM platform SCIM (Smart Common Input Method) is an input method (IM) platform. diff -Nru scim-1.4.15/debian/libscim8c2a.install.in scim-1.4.15/debian/libscim8c2a.install.in --- scim-1.4.15/debian/libscim8c2a.install.in 2014-10-25 09:11:34.000000000 +0200 +++ scim-1.4.15/debian/libscim8c2a.install.in 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -usr/lib/@DEB_HOST_MULTIARCH@/libscim-*[!ao] diff -Nru scim-1.4.15/debian/libscim8c2a.lintian-overrides scim-1.4.15/debian/libscim8c2a.lintian-overrides --- scim-1.4.15/debian/libscim8c2a.lintian-overrides 2014-10-25 09:11:34.000000000 +0200 +++ scim-1.4.15/debian/libscim8c2a.lintian-overrides 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -# packaging several libs into a single package as per -# http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-runtime -libscim8c2a binary: package-name-doesnt-match-sonames libscim-1.0-8 libscim-gtkutils-1.0-8 libscim-x11utils-1.0-8 diff -Nru scim-1.4.15/debian/libscim8v5.install.in scim-1.4.15/debian/libscim8v5.install.in --- scim-1.4.15/debian/libscim8v5.install.in 1970-01-01 01:00:00.000000000 +0100 +++ scim-1.4.15/debian/libscim8v5.install.in 2014-10-25 09:11:34.000000000 +0200 @@ -0,0 +1 @@ +usr/lib/@DEB_HOST_MULTIARCH@/libscim-*[!ao] diff -Nru scim-1.4.15/debian/libscim8v5.lintian-overrides scim-1.4.15/debian/libscim8v5.lintian-overrides --- scim-1.4.15/debian/libscim8v5.lintian-overrides 1970-01-01 01:00:00.000000000 +0100 +++ scim-1.4.15/debian/libscim8v5.lintian-overrides 2015-07-29 16:15:35.000000000 +0200 @@ -0,0 +1,3 @@ +# packaging several libs into a single package as per +# http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-runtime +libscim8v5 binary: package-name-doesnt-match-sonames libscim-1.0-8 libscim-gtkutils-1.0-8 libscim-x11utils-1.0-8 diff -Nru scim-1.4.15/debian/rules scim-1.4.15/debian/rules --- scim-1.4.15/debian/rules 2014-10-26 15:47:34.000000000 +0100 +++ scim-1.4.15/debian/rules 2015-07-29 16:15:02.000000000 +0200 @@ -36,11 +36,11 @@ dh_install sed -i -e 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' debian/scim/etc/X11/xinit/xinput.d/scim-immodule - LD_LIBRARY_PATH=debian/libscim8c2a/usr/lib/$(DEB_HOST_MULTIARCH):$(LD_LIBRARY_PATH) \ + LD_LIBRARY_PATH=debian/libscim8v5/usr/lib/$(DEB_HOST_MULTIARCH):$(LD_LIBRARY_PATH) \ dh_gtkmodules -p scim-gtk-immodule override_dh_makeshlibs: - dh_makeshlibs -p libscim8c2a -V "libscim8c2a (>= 1.4)" + dh_makeshlibs -p libscim8v5 -V "libscim8v5 (>= 1.4)" override_dh_shlibdeps: - dh_shlibdeps -l debian/libscim8c2a/usr/lib -L libscim8c2a + dh_shlibdeps -l debian/libscim8v5/usr/lib -L libscim8v5