From 91090b3e9270ffc2c917be4d5a57c2be6001abf0 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Mon, 24 Aug 2015 20:40:31 -0400 Subject: [PATCH] Adding shlibs and lintian-overrides files Due to the way libraries (i.e., plugins) are built by Midori (without a proper SONAME), it is necessary (or at least recommended) to provide a shlibs file that contains trustworthy information about the libraries being installed on the system. Unfortunately, it is also necessary to provide a lintian-overrides file in order to silence some lintian warnings (mostly about the shlibs mentioned above). We'll have to work with upstream in order to solve this problem. Another lintian error that needed to be silenced was related to the data/midori.swf file, present at the original tarball. This file is used just for testing (i.e., it is not installed in the system), and is actually generated using the png2swf utility (from the swftools package), which means it can be verified. --- debian/midori.lintian-overrides | 37 +++++++++++++++++++++++++++++++++ debian/midori.shlibs | 31 +++++++++++++++++++++++++++ debian/source/lintian-overrides | 9 ++++++++ 3 files changed, 77 insertions(+) create mode 100644 debian/midori.lintian-overrides create mode 100644 debian/midori.shlibs create mode 100644 debian/source/lintian-overrides diff --git a/debian/midori.lintian-overrides b/debian/midori.lintian-overrides new file mode 100644 index 00000000..ca3bfeb7 --- /dev/null +++ b/debian/midori.lintian-overrides @@ -0,0 +1,37 @@ +# Overrides the warnings given by the following shlibs. These +# warnings are wrong because these shlibs are private to the project; +# they are actually plugins that Midori offers. For the rationale +# behind these overrides, see Debian Policy, section 10.2. +unused-shlib-entry-in-control-file libabout 1 +unused-shlib-entry-in-control-file libadblock 1 +unused-shlib-entry-in-control-file libaddons 1 +unused-shlib-entry-in-control-file libapps 1 +unused-shlib-entry-in-control-file libcolorful-tabs 1 +unused-shlib-entry-in-control-file libcookie-manager 1 +unused-shlib-entry-in-control-file libcookie-permissions 1 +unused-shlib-entry-in-control-file libcopy-tabs 1 +unused-shlib-entry-in-control-file libdelayed-load 1 +unused-shlib-entry-in-control-file libdevpet 1 +unused-shlib-entry-in-control-file libdomain-keys 1 +unused-shlib-entry-in-control-file libexternal-download-manager 1 +unused-shlib-entry-in-control-file libfeed-panel 1 +unused-shlib-entry-in-control-file libflummi 1 +unused-shlib-entry-in-control-file libformhistory 1 +unused-shlib-entry-in-control-file libhistory-list 1 +unused-shlib-entry-in-control-file libmouse-gestures 1 +unused-shlib-entry-in-control-file libnojs 1 +unused-shlib-entry-in-control-file libnotes 1 +unused-shlib-entry-in-control-file libnsplugin-manager 1 +unused-shlib-entry-in-control-file libopen-with 1 +unused-shlib-entry-in-control-file libshortcuts 1 +unused-shlib-entry-in-control-file libstatusbar-features 1 +unused-shlib-entry-in-control-file libstatus-clock 1 +unused-shlib-entry-in-control-file libtabby 1 +unused-shlib-entry-in-control-file libtab-panel 1 +unused-shlib-entry-in-control-file libtabs-minimized 1 +unused-shlib-entry-in-control-file libtoolbar-editor 1 +unused-shlib-entry-in-control-file libtransfers 1 +unused-shlib-entry-in-control-file libwebmedia-now-playing 1 + +package-name-doesnt-match-sonames libmidori-core1 +non-dev-pkg-with-shlib-symlink usr/lib/libmidori-core.so.0.0.0 usr/lib/libmidori-core.so diff --git a/debian/midori.shlibs b/debian/midori.shlibs new file mode 100644 index 00000000..a0653009 --- /dev/null +++ b/debian/midori.shlibs @@ -0,0 +1,31 @@ +libmidori-core 1 midori +libabout 1 midori +libadblock 1 midori +libaddons 1 midori +libapps 1 midori +libcolorful-tabs 1 midori +libcookie-manager 1 midori +libcookie-permissions 1 midori +libcopy-tabs 1 midori +libdelayed-load 1 midori +libdevpet 1 midori +libdomain-keys 1 midori +libexternal-download-manager 1 midori +libfeed-panel 1 midori +libflummi 1 midori +libformhistory 1 midori +libhistory-list 1 midori +libmouse-gestures 1 midori +libnojs 1 midori +libnotes 1 midori +libnsplugin-manager 1 midori +libopen-with 1 midori +libshortcuts 1 midori +libstatusbar-features 1 midori +libstatus-clock 1 midori +libtabby 1 midori +libtab-panel 1 midori +libtabs-minimized 1 midori +libtoolbar-editor 1 midori +libtransfers 1 midori +libwebmedia-now-playing 1 midori diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 00000000..3cf7ab36 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,9 @@ +# This file is just used for testing, and is not installed with the +# package. Moreover, it is generated from a PNG image, using the +# following command: +# +# png2swf -z -j 1 -o data/midori.swf ./icons/16x16/midori.png +# +# Which means that it can be easily verified. The png2swf command can +# be found in the swftools package. +midori source: source-is-missing data/midori.swf