[mate-menus] 01/03: Rename GIR package to match Debian Policy.
Mike Gabriel
sunweaver at debian.org
Thu Jan 25 00:51:27 UTC 2018
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository mate-menus.
commit 7f60d9795f26d0cc7e28571c8a35bd22f4605d79
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Jan 25 01:45:20 2018 +0100
Rename GIR package to match Debian Policy.
---
debian/control | 23 ++++++++++++++++++----
...te-menu.install => gir1.2-matemenu-2.0.install} | 1 -
debian/gir1.2-matemenu-2.0.lintian-overrides | 2 ++
debian/libmate-menu-dev.install | 1 +
debian/source.lintian-overrides | 2 ++
5 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index 63d1b3a..f731e61 100644
--- a/debian/control
+++ b/debian/control
@@ -60,11 +60,14 @@ Multi-Arch: same
Section: libdevel
Depends: libglib2.0-dev,
libmate-menu2 (= ${binary:Version}),
+ gir1.2-matemenu-2.0 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Breaks: libmatemenu-dev,
+ gir1.2-mate-menu (<< 1.18.1-2~),
Replaces: libmatemenu-dev,
-Description: implementation of the freedesktop menu specification for MATE (development files)
+ gir1.2-mate-menu (<< 1.18.1-2~),
+Description: implementation of the freedesktop menu specs for MATE (development files)
The package contains an implementation of the draft
"Desktop Menu Specification" from freedesktop.org:
.
@@ -72,20 +75,32 @@ Description: implementation of the freedesktop menu specification for MATE (deve
.
This package contains the development files.
-Package: gir1.2-mate-menu
+Package: gir1.2-matemenu-2.0
Section: introspection
Architecture: any
+Multi-Arch: same
Depends: ${gir:Depends},
${misc:Depends},
${shlibs:Depends},
+Breaks: gir1.2-mate-menu (<< 1.18.1-2~),
+Replaces: gir1.2-mate-menu (<< 1.18.1-2~),
Description: GObject introspection data for the MATE menu specification
- This package contains introspection data for MATE menu specification, an
+ This package contains introspection data for MATE menu specification,
an implementation of the draft "Desktop Menu Specification" from
- freedesktop.org
+ freedesktop.org.
.
It can be used by packages using the GIRepository format to generate dynamic
bindings.
+Package: gir1.2-mate-menu
+Section: oldlibs
+Architecture: any
+Depends: ${misc:Depends},
+ gir1.2-matemenu-2.0 (= ${binary:Version}),
+Description: GObject introspection data for libmatemenu (transitional package)
+ This package is a transitional package to gir1.2-matemenu-2.0. The package
+ can be safely removed.
+
Package: python-mate-menu
Section: python
Architecture: any
diff --git a/debian/gir1.2-mate-menu.install b/debian/gir1.2-matemenu-2.0.install
similarity index 50%
rename from debian/gir1.2-mate-menu.install
rename to debian/gir1.2-matemenu-2.0.install
index b644f6a..80d538b 100644
--- a/debian/gir1.2-mate-menu.install
+++ b/debian/gir1.2-matemenu-2.0.install
@@ -1,2 +1 @@
usr/lib/*/gir*
-usr/share/gir*
diff --git a/debian/gir1.2-matemenu-2.0.lintian-overrides b/debian/gir1.2-matemenu-2.0.lintian-overrides
new file mode 100644
index 0000000..b58c609
--- /dev/null
+++ b/debian/gir1.2-matemenu-2.0.lintian-overrides
@@ -0,0 +1,2 @@
+# no spelling error, but a surname of an Asian translator
+gir1.2-matemenu-2.0: spelling-error-in-copyright Nam Name
diff --git a/debian/libmate-menu-dev.install b/debian/libmate-menu-dev.install
index 90d8c98..e3694d9 100644
--- a/debian/libmate-menu-dev.install
+++ b/debian/libmate-menu-dev.install
@@ -1,3 +1,4 @@
usr/include
usr/lib/*/*.so
usr/lib/*/pkgconfig
+usr/share/gir*
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..035825a
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+# ignore lintian about gir1.2-mate-menu complaints, the package is a transitional package
+source: typelib-missing-gir-depends gir1.2-mate-menu
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-menus.git
More information about the pkg-mate-commits
mailing list