[Git][debian-gis-team/tirex][master] Don't use template for tirex.links.

Sebastiaan Couwenberg sebastic at xs4all.nl
Fri Oct 8 09:58:11 BST 2021


On 10/8/21 10:37 AM, Felix Delattre wrote:
> On 10/8/21 8:28 AM, Bas Couwenberg (@sebastic) wrote:
>> +echo "$(mapnik-plugin-base)/usr/share/tirex/mapnik/input"
> 
> `mapnik-plugin-base` is provided by the `libmapnik-dev` package. At the moment of installation of tirex on a user's computer, it usually won't be available.
> This is why I used `ls /usr/lib/mapnik/ -v` to make up the link.

The tirex.links script is only executed during the build when
libmapnik-dev is installed via the build dependencies.

The resulting package just contains the symlink:

 $ dpkg-deb -c ../tirex_0.7.0-1~exp1_amd64.deb | grep tirex/mapnik
 drwxr-xr-x root/root 0 2021-10-07 16:37 ./usr/share/tirex/mapnik/
 lrwxrwxrwx root/root 0 2021-10-07 16:37 ./usr/share/tirex/mapnik/input
-> ../../../lib/mapnik/3.1/input

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list