Package: poppler
Version: 0.5.4-4
Severity: serious
Tags: patch

Hi poppler developers!

Recently, the library names were renamed like libpoppler1-glib ->
libpoppler-glib1. However, the new packages do not
Conflicts:/Replaces: the old names and they cannot be installed side
by side. This will create a mess on upgrades.

Attached is the patch we use in Ubuntu. Ubuntu also had to do this for
the qt4 package; This is not actually necessary for Debian (since the
qt4 bindings weren't built in Debian before), but it would be great if
you could add them nevertheless, so that Ubuntu can avoid patching the
package just to add this C/R.

Thank you!

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org
diff -u poppler-0.5.4/debian/control poppler-0.5.4/debian/control
--- poppler-0.5.4/debian/control
+++ poppler-0.5.4/debian/control
@@ -1,7 +1,8 @@
 Source: poppler
 Section: devel
 Priority: optional
-Maintainer: Ondřej Surý <[EMAIL PROTECTED]>
+Maintainer: Ubuntu Core Developers <[EMAIL PROTECTED]>
+XSBC-Original-Maintainer: Ondřej Surý <[EMAIL PROTECTED]>
 Uploaders: Josselin Mouette <[EMAIL PROTECTED]>, Dave Beckett <[EMAIL PROTECTED]>, Loic Minier <[EMAIL PROTECTED]>, Ross Burton <[EMAIL PROTECTED]>
 Build-Depends: cdbs, debhelper (>= 5), gnome-pkg-tools, libglib2.0-dev (>= 2.6), libgtk2.0-dev (>= 2.4.0), libfontconfig1-dev, libqt3-mt-dev (>= 3:3.3.4-4), libqt4-dev, libglade2-dev, libcairo2-dev, gtk-doc-tools (>= 1.0)
 Standards-Version: 3.7.2.2
@@ -29,6 +30,8 @@
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libpoppler1-glib
+Replaces: libpoppler1-glib
 Description: PDF rendering library (GLib-based shared library)
  Poppler is a PDF rendering library based on xpdf PDF viewer.
  .
@@ -48,6 +51,8 @@
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libpoppler1-qt
+Replaces: libpoppler1-qt
 Description: PDF rendering library (Qt 3 based shared library)
  Poppler is a PDF rendering library based on xpdf PDF viewer.
  .
@@ -67,6 +72,8 @@
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libpoppler1-qt4
+Replaces: libpoppler1-qt4
 Description: PDF rendering library (Qt 4 based shared library)
  Poppler is a PDF rendering library based on xpdf PDF viewer.
  .
diff -u poppler-0.5.4/debian/changelog poppler-0.5.4/debian/changelog
--- poppler-0.5.4/debian/changelog
+++ poppler-0.5.4/debian/changelog
@@ -1,3 +1,9 @@
+poppler (0.5.4-4ubuntu1) gutsy; urgency=low
+
+  * debian/control: Add Conflicts/Replaces to the old library names.
+
+ -- Martin Pitt <[EMAIL PROTECTED]>  Fri, 25 May 2007 18:43:39 +0200
+
 poppler (0.5.4-4) unstable; urgency=low
 
   * The "Augean Stables" release.

Attachment: signature.asc
Description: Digital signature

Reply via email to