[postgis-tickets] [PostGIS] #5453: 3.4.0 beta1 does not honor --datadir

PostGIS trac at osgeo.org
Thu Jul 20 00:31:38 PDT 2023


#5453: 3.4.0 beta1 does not honor --datadir
--------------------------+---------------------------
 Reporter:  devrimgunduz  |      Owner:  pramsey
     Type:  defect        |     Status:  new
 Priority:  medium        |  Milestone:  PostGIS 3.4.0
Component:  postgis       |    Version:  3.3.x
 Keywords:                |
--------------------------+---------------------------
 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
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5453>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list