[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#791157: libproxy: library transition may be needed when GCC 5 is the default



user release.debian.org@packages.debian.org
usertag 791157 + transition
block 791157 by 790756
reassign 791157 release.debian.org
thanks

On Fri, Jul 03, 2015 at 01:12:02PM +0000, Matthias Klose wrote:
> […]
>  - If a library transition is needed, please prepare for the change.
>    Rename the library package, append "v5" to the name of the package
>    (e.g. libfoo2 -> libfoo2v5). Such a change can be avoided, if you
>    have a soversion bump and you upload this version instead of the
>    renamed package.  Prepare a patch and attach it to this issue (mark
>    this issue with patch), so that it is possible to NMU such a
>    package. We'll probably have more than hundred transitions
>    triggered. Then reassign the issue to release.debian.org and
>    properly tag it as a transition issue, by sending an email to
>    control@bugs.debian.org:
>    
>      user release.debian.org@packages.debian.org
>      usertag <this issue> + transition
>      block <this issue> by 790756
>      reassign <this issue> release.debian.org

I think that one is required. Seems that some symbols use
std::basic_string, e.g.

  libproxy::url::url(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)

Attached is a diff, taken from Ubuntu. IMO you (doko) or anyone should
NMU this when ready & let us know so we can commit to svn. Following the
instructions to reassign to release.d.o.

Cheers,

-- 
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]
diff -Nru libproxy-0.4.11/debian/control libproxy-0.4.11/debian/control
--- libproxy-0.4.11/debian/control	2014-11-14 22:13:50.000000000 +0000
+++ libproxy-0.4.11/debian/control	2015-07-29 16:02:00.000000000 +0100
@@ -28,12 +28,14 @@
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/libproxy/
 Homepage: http://code.google.com/p/libproxy/
 
-Package: libproxy1
+Package: libproxy1v5
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
          ${misc:Depends}
+Conflicts: libproxy1
+Replaces: libproxy1
 Description: automatic proxy configuration management library (shared)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -45,7 +47,7 @@
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (GSettings plugin)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -58,7 +60,7 @@
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (KConfig plugin)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -71,7 +73,7 @@
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (Network Manager plugin)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -84,7 +86,7 @@
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (Webkit plugin)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -99,7 +101,7 @@
 XS-Testsuite: autopkgtest
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (devel)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -123,7 +125,7 @@
 Section: python
 Depends: ${python:Depends},
          ${misc:Depends},
-         libproxy1 (>= ${source:Version})
+         libproxy1v5 (>= ${source:Version})
 Description: automatic proxy configuration management library (python)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
diff -Nru libproxy-0.4.11/debian/control.in libproxy-0.4.11/debian/control.in
--- libproxy-0.4.11/debian/control.in	2014-05-02 01:52:16.000000000 +0100
+++ libproxy-0.4.11/debian/control.in	2015-07-29 15:01:17.000000000 +0100
@@ -24,12 +24,14 @@
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/libproxy/
 Homepage: http://code.google.com/p/libproxy/
 
-Package: libproxy1
+Package: libproxy1v5
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
          ${misc:Depends}
+Conflicts: libproxy1
+Replaces: libproxy1
 Description: automatic proxy configuration management library (shared)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -41,7 +43,7 @@
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (GSettings plugin)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -54,7 +56,7 @@
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (KConfig plugin)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -67,7 +69,7 @@
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (Network Manager plugin)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -80,7 +82,7 @@
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (Webkit plugin)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -95,7 +97,7 @@
 XS-Testsuite: autopkgtest
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libproxy1 (= ${binary:Version})
+         libproxy1v5 (= ${binary:Version})
 Description: automatic proxy configuration management library (devel)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
@@ -119,7 +121,7 @@
 Section: python
 Depends: ${python:Depends},
          ${misc:Depends},
-         libproxy1 (>= ${source:Version})
+         libproxy1v5 (>= ${source:Version})
 Description: automatic proxy configuration management library (python)
  libproxy is a lightweight library which makes it easy to develop
  applications proxy-aware with a simple and stable API.
diff -Nru libproxy-0.4.11/debian/libproxy1.install libproxy-0.4.11/debian/libproxy1.install
--- libproxy-0.4.11/debian/libproxy1.install	2012-02-15 14:08:52.000000000 +0000
+++ libproxy-0.4.11/debian/libproxy1.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/*/libproxy.so.*
diff -Nru libproxy-0.4.11/debian/libproxy1v5.install libproxy-0.4.11/debian/libproxy1v5.install
--- libproxy-0.4.11/debian/libproxy1v5.install	1970-01-01 01:00:00.000000000 +0100
+++ libproxy-0.4.11/debian/libproxy1v5.install	2012-02-15 14:08:52.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libproxy.so.*
diff -Nru libproxy-0.4.11/debian/rules libproxy-0.4.11/debian/rules
--- libproxy-0.4.11/debian/rules	2014-05-02 01:47:06.000000000 +0100
+++ libproxy-0.4.11/debian/rules	2015-07-29 16:01:29.000000000 +0100
@@ -3,7 +3,7 @@
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 
 SHLIBVER := 0.4.11
-libproxy := $(shell sed -nr 's/^Package:[[:space:]]*(libproxy[0-9]+)[[:space:]]*$$/\1/p' debian/control.in)
+libproxy := $(shell sed -nr 's/^Package:[[:space:]]*(libproxy[0-9]+v5)[[:space:]]*$$/\1/p' debian/control.in)
 
 #export DH_VERBOSE=1
 

Attachment: signature.asc
Description: Digital signature


Reply to: