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.
This commit is contained in:
Sergio Durigan Junior 2015-08-24 20:40:31 -04:00
parent 7fa139b241
commit 91090b3e92
3 changed files with 77 additions and 0 deletions

37
debian/midori.lintian-overrides vendored Normal file
View file

@ -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

31
debian/midori.shlibs vendored Normal file
View file

@ -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

9
debian/source/lintian-overrides vendored Normal file
View file

@ -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