Bug#1001787: intltool-merge filter the copyright line in xml

xiao sheng wen (=?UTF-8?Q?=E8=82=96=E7=9B=9B=E6=96=87?=) atzlinux at sina.com
Thu Dec 16 09:16:18 GMT 2021


Package: intltool
Version: 0.51.0-6
Severity: normal
X-Debbugs-Cc: atzlinux at sina.com

Hi,

        intltool-merge filter the copyright line in xml.

For example, the orig file is:
https://sources.debian.org/src/stardict/3.0.7+git20210701.96b96d8+dfsg-2/dict/data/stardict.appdata.xml.in/#L2

After run:

LC_ALL=C /usr/bin/intltool-merge  -x -u -c ../po/.intltool-merge-cache ../po
stardict.appdata.xml.in stardict.appdata.xml
Found cached translation database
Merging translations into stardict.appdata.xml.
CREATED stardict.appdata.xml

The output file stardict.appdata.xml has not copyright line:

<!-- Copyright 2015 Hu Zheng <huzheng001 at gmail.com> -->


The Copyright line need to reserve, otherwise, there are following errors:

appstream-util validate-strict stardict.appdata.xml
stardict.appdata.xml:
FAILED:
• value-missing         : <!-- Copyright [year] [name] --> is not present
• tag-missing           : <release> required
Validation of files failed


Thanks!

-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'buildd-unstable'), (500, 'unstable'), (500,
'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8, LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages intltool depends on:
ii  automake [automaken]  1:1.16.3-2
ii  file                  1:5.39-3
ii  gettext               0.21-4
ii  libxml-parser-perl    2.46-2
ii  patch                 2.7.6-7
ii  perl                  5.32.1-4+deb11u2

intltool recommends no packages.

intltool suggests no packages.

-- debconf information excluded


More information about the pkg-gnome-maintainers mailing list