[Python-apps-team] Bug#959856: terminator: ships /usr/share/icons/hicolor/icon-theme.cache

Adrian Vondendriesch adrian.vondendriesch at credativ.de
Mon May 18 18:05:36 BST 2020


tags 959856 + patch

thanks

Am 06.05.20 um 10:45 schrieb Andreas Beckmann:
> Package: terminator
> Version: 1.92-1
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package has a file conflict
> on /usr/share/icons/hicolor/icon-theme.cache with other buggy packages
> shipping that file, too.

Looks like this wasn't the first time the terminator package installs
this file. #684873 was about the same problem.

Terminators setup.py offers a global argument called
"--without-icon-cache" which disables the build of icon-themen.cache.
#684873 was fixed by overwriting dh_auto_install and call "python
setup.py ..." directly (commit 2271ffc9).

I wasn't able to find any way to tell pybuild to pass any argument right
after "python3 setup.py" and the action it should call (for instance
"install"). Passing --install-args to pybuild doesn't work. Therefor I
did the same thing as in commit 2271ffc9. Overwrite dh_auto_-install.

Attached you will find a patch for debian/rules which contains the
orverwrite_dh_auto_install rule.

Cheers,
 - Adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: terminator_959856_icon-theme.cache.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20200518/e6277190/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x61F7985DB84E0B04.asc
Type: application/pgp-keys
Size: 14359 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20200518/e6277190/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20200518/e6277190/attachment-0001.sig>


More information about the Python-apps-team mailing list