Opened 16 months ago
Closed 15 months ago
#5453 closed defect (worksforme)
3.4.0 beta1 does not honor --datadir
Reported by: | devrimgunduz | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.4.0 |
Component: | build | Version: | master |
Keywords: | Cc: | devrimgunduz |
Description
Hi,
I'm passing --datadir=%{pginstdir}/share/ to configure script to determine the location for .desktop and .png files (desktop icons). However it still wants to install things under /usr/share directory.
This did not happen in earlier series and I did not even pass --datadir to configure script then. All I used was specifying pg_config binary, and it took care of the rest:
/usr/pgsql-15/share/applications/shp2pgsql-gui.desktop /usr/pgsql-15/share/icons/hicolor/16x16/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/22x22/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/24x24/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/32x32/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/36x36/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/40x40/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/42x42/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/48x48/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/64x64/apps/shp2pgsql-gui.png /usr/pgsql-15/share/icons/hicolor/8x8/apps/shp2pgsql-gui.png
Can you please take a look?
Thanks!
Devrim
Change History (4)
comment:1 by , 16 months ago
Component: | postgis → build/upgrade/install |
---|---|
Owner: | changed from | to
Version: | 3.3.x → master |
comment:2 by , 16 months ago
comment:4 by , 15 months ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Can you show what exactly is attempted to be installed in /usr/share ? From which directory ? The loader/ directory, which installs the .desktop and icon files, seem to respect the given --datadir for me:
The above happens when I configure with --prefix=/tmp/pgis --datadir=/tmp/pgis-share
I confirm we do not default to PG directories now, except for the extension files