[atril] 02/05: Rename GIR package to match Debian Policy.
Mike Gabriel
sunweaver at debian.org
Wed Jan 24 22:44:36 UTC 2018
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository atril.
commit d277bb8aec31010f0649d0360d4a67b61b395b30
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Jan 24 23:17:35 2018 +0100
Rename GIR package to match Debian Policy.
---
debian/control | 41 ++++++++++++++++++++++++++++---
debian/gir1.2-atril.install | 2 --
debian/gir1.2-atrildocument-1.5.0.install | 1 +
debian/gir1.2-atrilview-1.5.0.install | 1 +
debian/libatrildocument-dev.install | 1 +
debian/libatrilview-dev.install | 1 +
debian/source.lintian-overrides | 2 ++
7 files changed, 44 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index 11a1f77..104aba1 100644
--- a/debian/control
+++ b/debian/control
@@ -95,6 +95,7 @@ Package: libatrilview-dev
Section: libdevel
Architecture: any
Depends: libatrilview3 (= ${binary:Version}),
+ gir1.2-atrilview-1.5.0 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Breaks: libatril-dev (<< 1.9.0),
@@ -125,10 +126,13 @@ Package: libatrildocument-dev
Section: libdevel
Architecture: any
Depends: libatrildocument3 (= ${binary:Version}),
+ gir1.2-atrildocument-1.5.0 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Breaks: libatril-dev (<< 1.9.0),
+ gir1.2-atril (<< 1.18.3-2~),
Replaces: libatril-dev (<< 1.9.0),
+ gir1.2-atril (<< 1.18.3-2~),
Description: MATE document rendering library (development files)
Atril is a simple multi-page document viewer. It can display
and print PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI and
@@ -137,17 +141,48 @@ Description: MATE document rendering library (development files)
This package contains the development files for the libatrildocument
library.
-Package: gir1.2-atril
+Package: gir1.2-atrildocument-1.5.0
+Section: introspection
Architecture: any
Depends: ${gir:Depends},
${misc:Depends},
${shlibs:Depends},
-Description: GObject introspection data for Atril
+Breaks: gir1.2-atril (<< 1.18.3-2~),
+Replaces: gir1.2-atril (<< 1.18.3-2~),
+Description: GObject introspection data for libatrildocument
Atril is a simple multi-page document viewer. It can display
and print PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI and
Portable Document Format (PDF) files.
.
- This package contains introspection data for Atril.
+ This package contains introspection data for libatrildocument.
.
It can be used by packages using the GIRepository format to generate
dynamic bindings.
+
+Package: gir1.2-atrilview-1.5.0
+Section: introspection
+Architecture: any
+Depends: ${gir:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends},
+Breaks: gir1.2-atril (<< 1.18.3-2~),
+Replaces: gir1.2-atril (<< 1.18.3-2~),
+Description: GObject introspection data for libatrilview
+ Atril is a simple multi-page document viewer. It can display
+ and print PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI and
+ Portable Document Format (PDF) files.
+ .
+ This package contains introspection data for libatrilview.
+ .
+ It can be used by packages using the GIRepository format to generate
+ dynamic bindings.
+
+Package: gir1.2-atril
+Section: oldlibs
+Architecture: any
+Depends: ${misc:Depends},
+ gir1.2-atrildocument-1.5.0 (= ${binary:Version}),
+ gir1.2-atrilview-1.5.0 (= ${binary:Version}),
+Description: GObject introspection data for libatril* (transitional package)
+ This package is a transitional package to gir1.2-atrildocument-1.5.0 and
+ gir1.2-atrilview-1.5.0. This package can be safely removed.
diff --git a/debian/gir1.2-atril.install b/debian/gir1.2-atril.install
deleted file mode 100644
index 477e82a..0000000
--- a/debian/gir1.2-atril.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/*/girepository-1.0
-usr/share/gir-1.0
diff --git a/debian/gir1.2-atrildocument-1.5.0.install b/debian/gir1.2-atrildocument-1.5.0.install
new file mode 100644
index 0000000..361a236
--- /dev/null
+++ b/debian/gir1.2-atrildocument-1.5.0.install
@@ -0,0 +1 @@
+usr/lib/*/girepository-1.0/AtrilDocument*.typelib
diff --git a/debian/gir1.2-atrilview-1.5.0.install b/debian/gir1.2-atrilview-1.5.0.install
new file mode 100644
index 0000000..15f094c
--- /dev/null
+++ b/debian/gir1.2-atrilview-1.5.0.install
@@ -0,0 +1 @@
+usr/lib/*/girepository-1.0/AtrilView*.typelib
diff --git a/debian/libatrildocument-dev.install b/debian/libatrildocument-dev.install
index 0f3d654..5dc86d7 100644
--- a/debian/libatrildocument-dev.install
+++ b/debian/libatrildocument-dev.install
@@ -1,3 +1,4 @@
usr/include/atril/*/*document*
usr/lib/*/*document*.so
usr/lib/*/pkgconfig/*document*
+usr/share/gir-1.0/AtrilDocument*.gir
diff --git a/debian/libatrilview-dev.install b/debian/libatrilview-dev.install
index 53ee011..48e55ad 100644
--- a/debian/libatrilview-dev.install
+++ b/debian/libatrilview-dev.install
@@ -1,3 +1,4 @@
usr/include/atril/*/*view*
usr/lib/*/*view*.so
usr/lib/*/pkgconfig/*view*
+usr/share/gir-1.0/AtrilView*.gir
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..cc597c4
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+# ignore lintian about gir1.2-atril complaints, the package is a transitional package
+source: typelib-missing-gir-depends gir1.2-atril
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/atril.git
More information about the pkg-mate-commits
mailing list