[mate-polkit] 01/03: Rename GIR package to match Debian Policy.

Mike Gabriel sunweaver at debian.org
Thu Dec 14 11:32:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository mate-polkit.

commit d4f9799b2b14c4dfe8734a533cc9effceea0ad8f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Dec 14 12:17:01 2017 +0100

    Rename GIR package to match Debian Policy.
---
 debian/control                                       | 20 ++++++++++++++++++--
 ...lkit.install => gir1.2-polkitgtkmate-1.0.install} |  1 -
 debian/libmatepolkit-dev.install                     |  1 +
 debian/source.lintian-overrides                      |  3 +++
 4 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index f768e39..353f0de 100644
--- a/debian/control
+++ b/debian/control
@@ -86,12 +86,15 @@ Package: libmatepolkit-dev
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libpolkit-gobject-1-dev,
+Depends: gir1.2-polkitgtkmate-1.0 (= ${binary:Version}),
+         libpolkit-gobject-1-dev,
          libpolkit-gtk-mate-1-0 (= ${binary:Version}),
          mate-polkit,
          policykit-1,
          ${misc:Depends},
          ${shlibs:Depends},
+Breaks: gir1.2-mate-polkit (<< 1.18.2-2~),
+Replaces: gir1.2-mate-polkit (<< 1.18.2-2~),
 Description: MATE authentication agent for PolicyKit-1 (development files)
  The mate-polkit package provides a D-Bus session bus service that is used to
  bring up authentication dialogs used for obtaining privileges.
@@ -109,11 +112,15 @@ Description: MATE authentication agent for PolicyKit-1 (shared library API docum
  This package contains the API documentation files of the mate-polkit shared
  library.
 
-Package: gir1.2-mate-polkit
+Package: gir1.2-polkitgtkmate-1.0
+Section: introspection
+Multi-Arch: same
 Architecture: any
 Depends: ${gir:Depends},
          ${misc:Depends},
          ${shlibs:Depends},
+Breaks: gir1.2-mate-polkit (<< 1.18.2-2~),
+Replaces: gir1.2-mate-polkit (<< 1.18.2-2~),
 Description: GObject introspection data for mate-polkit
  The mate-polkit package provides a D-Bus session bus service that is used to
  bring up authentication dialogs used for obtaining privileges.
@@ -122,3 +129,12 @@ Description: GObject introspection data for mate-polkit
  .
  It can be used by packages using the GIRepository format to generate
  dynamic bindings.
+
+Package: gir1.2-mate-polkit
+Section: oldlibs
+Architecture: any
+Depends: ${misc:Depends},
+         gir1.2-polkitgtkmate-1.0 (= ${binary:Version}),
+Description: GObject introspection data for mate-polkit (transitional package)
+ This package is a transitional package to gir1.2-polkitgtkmate-1.0. The package
+ can be safely removed.
diff --git a/debian/gir1.2-mate-polkit.install b/debian/gir1.2-polkitgtkmate-1.0.install
similarity index 59%
rename from debian/gir1.2-mate-polkit.install
rename to debian/gir1.2-polkitgtkmate-1.0.install
index a7d874f..9038727 100644
--- a/debian/gir1.2-mate-polkit.install
+++ b/debian/gir1.2-polkitgtkmate-1.0.install
@@ -1,2 +1 @@
 usr/lib/*/girepository-1.0/
-usr/share/gir-1.0/
diff --git a/debian/libmatepolkit-dev.install b/debian/libmatepolkit-dev.install
index 5be5463..989686b 100644
--- a/debian/libmatepolkit-dev.install
+++ b/debian/libmatepolkit-dev.install
@@ -1,3 +1,4 @@
 usr/include/
 usr/lib/*/*.so
 usr/lib/*/pkgconfig/
+usr/share/gir-1.0/
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..270a1ba
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,3 @@
+# ignore lintian about gir1.2-caja complaints, the package is a transitional package
+source: typelib-missing-gir-depends gir1.2-mate-polkit
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-polkit.git



More information about the pkg-mate-commits mailing list