Installed icons are not listed in the --record file
FreeBSD Ports run the following commands to install Python packages:
cd /wrkdirs/usr/ports/devel/tortoisehg/work-py37/thg-1be900fc8505ed5a93c900d19d1d8700a1b22aee-69fd57f838ac26b5fa1b94560f388a783236c6d4
/usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/devel/tortoisehg/work-py37 XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/tortoisehg/work-py37 HOME=/wrkdirs/usr/ports/devel/tortoisehg/work-py37 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/tortoisehg/work-py37/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/local/bin/python3.7 \
-c "import sys; import setuptools; __file__='setup.py'; sys.argv[0]='setup.py'; exec(compile(open(__file__, 'rb').read().replace(b'\\r\\n', b'\\n'), __file__, 'exec'))" \
install --record /wrkdirs/usr/ports/devel/tortoisehg/work-py37/.PLIST.pymodtmp \
-c -O1 --prefix=/usr/local --single-version-externally-managed --root=/wrkdirs/usr/ports/devel/tortoisehg/work-py37/stage)
It then relies on the contents of --record
file to find out which files gets installed. However, in case of thg
, this file is missing every file installed under icons:
Missing: share/pixmaps/tortoisehg/icons/16x16
Missing: share/pixmaps/tortoisehg/icons/22x22
...
Missing: share/pixmaps/tortoisehg/icons/scalable
I've worked it around on our side, but it'd great to have this fixed upstream, in setup.py
.