[eom] 02/03: Rename GIR package to match Debian Policy.

Mike Gabriel sunweaver at debian.org
Wed Jan 24 21:28:00 UTC 2018


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

sunweaver pushed a commit to branch master
in repository eom.

commit 068543c5b3d462cba617d02c6d4adcb5730b0162
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jan 24 22:18:46 2018 +0100

    Rename GIR package to match Debian Policy.
---
 debian/control                                        | 17 ++++++++++++++++-
 debian/eom-dev.install                                |  1 +
 debian/{gir1.2-eom.install => gir1.2-eom-1.0.install} |  1 -
 debian/source.lintian-overrides                       |  2 ++
 4 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 57e6f1f..cb66a7f 100644
--- a/debian/control
+++ b/debian/control
@@ -74,8 +74,11 @@ Section: libdevel
 Architecture: any
 Depends: eom (= ${binary:Version}),
          ${misc:Depends},
+         gir1.2-eom-1.0 (= ${binary:Version}),
 Breaks: mate-image-viewer (<= 1.0.0-1),
+        gir1.2-eom (<< 1.8.3-2~),
 Replaces: mate-image-viewer (<= 1.0.0-1),
+          gir1.2-eom (<< 1.8.3-2~),
 Description: Eye of MATE graphics viewer program (development files)
  eom or the Eye of MATE is a simple graphics viewer for the MATE
  desktop which uses the gdk-pixbuf library. It can deal with large
@@ -84,11 +87,14 @@ Description: Eye of MATE graphics viewer program (development files)
  .
  This package contains the development files for building eom plugins.
 
-Package: gir1.2-eom
+Package: gir1.2-eom-1.0
+Section: introspection
 Architecture: any
 Depends: ${gir:Depends},
          ${misc:Depends},
          ${shlibs:Depends},
+Breaks: gir1.2-eom (<< 1.8.3-2~),
+Replaces: gir1.2-eom (<< 1.8.3-2~),
 Description: GObject introspection data for the eom library
  eom or the Eye of MATE is a simple graphics viewer for the MATE
  desktop which uses the gdk-pixbuf library.  It can deal with large
@@ -99,3 +105,12 @@ Description: GObject introspection data for the eom library
  .
  It can be used by packages using the GIRepository format to generate
  dynamic bindings.
+
+Package: gir1.2-eom
+Section: oldlibs
+Architecture: any
+Depends: ${misc:Depends},
+         gir1.2-eom-1.0 (= ${binary:Version}),
+Description: GObject introspection data for eom (transitional package)
+ This package is a transitional package to gir1.2-eom-1.0. The package
+ can be safely removed.
diff --git a/debian/eom-dev.install b/debian/eom-dev.install
index 7f10b81..e780189 100644
--- a/debian/eom-dev.install
+++ b/debian/eom-dev.install
@@ -1,2 +1,3 @@
 usr/include/
 usr/lib/*/pkgconfig/
+usr/share/gir-1.0/
diff --git a/debian/gir1.2-eom.install b/debian/gir1.2-eom-1.0.install
similarity index 60%
rename from debian/gir1.2-eom.install
rename to debian/gir1.2-eom-1.0.install
index 477e82a..49d71c9 100644
--- a/debian/gir1.2-eom.install
+++ b/debian/gir1.2-eom-1.0.install
@@ -1,2 +1 @@
 usr/lib/*/girepository-1.0
-usr/share/gir-1.0
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..9243373
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+# ignore lintian about gir1.2-eom complaints, the package is a transitional package
+source: typelib-missing-gir-depends gir1.2-eom

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



More information about the pkg-mate-commits mailing list