Bug#971732: lintian: font-in-non-font-package triggers on non-font files

2021-06-28 Thread Felix Lechner
Hi Ross,

On Tue, Oct 6, 2020 at 7:28 PM Ross Vandegrift  wrote:
>
> I think it's
> better for me to add overrides for now.

Lintian gained a facility recently [1] that makes granting such
extensions a breeze. The goal is to accommodate toolchains or upstream
package sets that are out of Debian's control, and hence hard to fix.
Do you have a way to identify the class of packages affected?

For an example related to Emacs, please see here. [2] You can simply
respond to this bug if you would like to explore a solution for
Eolian.

Otherwise, please feel free to close this bug. Thank you!

Kind regards
Felix Lechner

[1] 
https://salsa.debian.org/lintian/lintian/-/commit/8c3d587559cfbdf5dd41e9ba1f66c9ab52de577e
[2] 
https://salsa.debian.org/lintian/lintian/-/commit/24c509ee83ab2a1530a52ab3875c57ab99ad2085



Bug#971732: lintian: font-in-non-font-package triggers on non-font files

2020-10-06 Thread Felix Lechner
Control: retitle -1 lintian: Centrally manage overrides for package families

Hi Ross,

On Tue, Oct 6, 2020 at 7:28 PM Ross Vandegrift  wrote:
>
> I think it's better for me to add overrides for now.

We hope to provide better facilities to manage overrides in package
families centrally in the future. I will get back in touch with you
when we are ready for an experiment and feedback.

Bug was retitled accordingly. Thank you!

Kind regards
Felix Lechner



Bug#971732: lintian: font-in-non-font-package triggers on non-font files

2020-10-06 Thread Ross Vandegrift
Hi Felix,

On Tue, Oct 06, 2020 at 01:29:27AM -0700, Felix Lechner wrote:
> On Mon, Oct 5, 2020 at 10:45 PM Ross Vandegrift  
> wrote:
> >
> > Lintian misidentifies the output of eolioan_gen as font files.
> 
> I will look for other distinguishing factors---perhaps based on file
> magic---but it may be easier to use a different extension, such as
> *.eo. EOT files are Embedded OpenType. [1]

I see - I assumed that lintian was already using some file magic.  I think it's
better for me to add overrides for now.  eolian isn't really used outside of
efl, so I think I'm the only one that would benefit from a fix.

Ross



Bug#971732: lintian: font-in-non-font-package triggers on non-font files

2020-10-06 Thread Felix Lechner
Hi Ross,

On Mon, Oct 5, 2020 at 10:45 PM Ross Vandegrift  wrote:
>
> Lintian misidentifies the output of eolioan_gen as font files.

I will look for other distinguishing factors---perhaps based on file
magic---but it may be easier to use a different extension, such as
*.eo. EOT files are Embedded OpenType. [1]

Kind regards
Felix Lechner

[1] https://en.wikipedia.org/wiki/Embedded_OpenType



Bug#971732: lintian: font-in-non-font-package triggers on non-font files

2020-10-05 Thread Ross Vandegrift
Package: lintian
Version: 2.97.0
Severity: minor

Hello,

Lintian misidentifies the output of eolioan_gen as font files.  This causes
font-in-non-font-package false positives.  Example case from libefl-all-dev is
attached.

Thanks,
Ross


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'testing'), (40, 'unstable'), (30, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  binutils2.35.1-1
ii  bzip2   1.0.8-4
ii  diffstat1.63-1
ii  dpkg1.20.5
ii  dpkg-dev1.20.5
ii  file1:5.38-5
ii  gettext 0.19.8.1-10
ii  gpg 2.2.20-1
ii  intltool-debian 0.35.0+20060710.5
ii  libapt-pkg-perl 0.1.36+b3
ii  libarchive-zip-perl 1.68-1
ii  libcapture-tiny-perl0.48-1
ii  libclass-xsaccessor-perl1.19-3+b5
ii  libclone-perl   0.45-1
ii  libconfig-tiny-perl 2.24-1
ii  libcpanel-json-xs-perl  4.23-1
ii  libdata-dpath-perl  0.58-1
ii  libdata-validate-domain-perl0.10-1
ii  libdevel-size-perl  0.83-1+b1
ii  libdpkg-perl1.20.5
ii  libemail-address-xs-perl1.04-1+b2
ii  libfile-basedir-perl0.08-1
ii  libfile-find-rule-perl  0.34-1
ii  libfont-ttf-perl1.06-1
ii  libhtml-html5-entities-perl 0.004-1
ii  libipc-run3-perl0.048-2
ii  libjson-maybexs-perl1.004002-1
ii  liblist-compare-perl0.55-1
ii  liblist-moreutils-perl  0.416-1+b5
ii  liblist-utilsby-perl0.11-1
ii  libmoo-perl 2.004000-1
ii  libmoox-aliases-perl0.001006-1
ii  libnamespace-clean-perl 0.27-1
ii  libpath-tiny-perl   0.114-1
ii  libperlio-gzip-perl 0.19-1+b6
ii  libproc-processtable-perl   0.59-2
ii  libsereal-decoder-perl  4.018+ds-1
ii  libsereal-encoder-perl  4.018+ds-1
ii  libtext-glob-perl   0.11-1
ii  libtext-levenshteinxs-perl  0.03-4+b7
ii  libtext-markdown-discount-perl  0.12-1
ii  libtext-xslate-perl 3.5.8-1
ii  libtime-duration-perl   1.21-1
ii  libtime-moment-perl 0.44-1+b2
ii  libtimedate-perl2.3300-1
ii  libtry-tiny-perl0.30-1
ii  libtype-tiny-perl   1.010006-1
ii  libunicode-utf8-perl0.62-1+b1
ii  liburi-perl 1.76-2
ii  libxml-libxml-perl  2.0134+dfsg-2
ii  libyaml-libyaml-perl0.82+repack-1
ii  lzip1.21-8
ii  lzop1.04-1
ii  man-db  2.9.3-2
ii  patchutils  0.4.2-1
ii  perl [libdigest-sha-perl]   5.30.3-4
ii  t1utils 1.41-4
ii  unzip   6.0-25
ii  xz-utils5.2.4-1+b1

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch 2.35.1-1
ii  libtext-template-perl  1.59-1

-- no debconf information

struct @extern Efl.Time
{
   [[This type is a alias for struct tm.
 It is intended to be a standard way to reference
 it in .eo files.

 @since 1.22
   ]]

   tm_sec: int;   [[Seconds.[0-60] (1 leap second)]]
   tm_min: int;   [[Minutes.[0-59] ]]
   tm_hour: int;  [[Hours.  [0-23] ]]
   tm_mday: int;  [[Day.[1-31] ]]
   tm_mon: int;   [[Month.  [0-11] ]]
   tm_year: int;  [[Year- 1900.]]
   tm_wday: int;  [[Day of week.[0-6] ]]
   tm_yday: int;  [[Days in year.[0-365] ]]
   tm_isdst: int; [[DST. [-1/0/1] ]]
}

struct Efl.Version
{
   [[This type describes the version of EFL with an optional variant.

 This may be used to query the current running version of EFL. Or it can
 be passed by applications at startup time to inform EFL of the version
 a certain application was built for.

 @since 1.22
   ]]

   major: int; [[Major component of the version (>= 1).]]
   minor: int; [[Minor component of the version (>= 0).]]
   micro: int; [[Micro component of the version (>= 0).]]
   revision: int; [[Revision component of the version (>= 0).]]
   flavor: string; [[Special version string for this build of EFL, $null for
 vanilla (upstream) EFL. Contains $EFL_VERSION_FLAVOR.]]
   build_id: string;