pgAdmin3 icon under RPM platform - Mailing list pgadmin-hackers

From Jean-Michel POURE
Subject pgAdmin3 icon under RPM platform
Date
Msg-id 200309111527.36554.jm@poure.com
Whole thread Raw
List pgadmin-hackers
Dear friends,

I know this was discussed before, but I did not have the time to read all mail
in August. The RPM snapshots for RedHat, Mandrake and SuSE should now have an
icon (some are still rebuilding, do not downlad them 'right' now...). There
are several issues:

1) make install
In the spec file I added the following lines under %install:

cp ./src/include/images/elephant48.xpm
%{buildroot}/%{_datadir}/%{name}/%{name}.xpm

cp ./pkg/redhat/%{name}.desktop
%{buildroot}/%{_datadir}/%{name}/%{name}.desktop

Could it be done by make install by default. At least for the elephant48.xpm.
The installation of pgadmin3.desktop seems more problematic.

2) pgAdmin3 installation paths

It seems that Slackaware installation paths are not the same as RedHat,
Mandrake and SuSE. I don't know about Debian and FreeBSD.

Under RPM platforms, the paths are as follows:
/usr/bin/pgadmin3
/usr/share/applications
/usr/share/pgadmin3
/usr/share/pgadmin3/docs
/usr/share/pgadmin3/docs/en_US
/usr/share/pgadmin3/docs/en_US/bugreport.html
/usr/share/pgadmin3/docs/en_US/connect.html
/usr/share/pgadmin3/docs/en_US/cvs.html
/usr/share/pgadmin3/docs/en_US/editgrid.html
/usr/share/pgadmin3/docs/en_US/export.html
/usr/share/pgadmin3/docs/en_US/freebsd_notes.html
/usr/share/pgadmin3/docs/en_US/images
etc...

This (Slackware?) issue prevents us from providing a single pgadmin3.desktop
file. I am right or wrong?

3) Icon place
Under RPM platforms, pgAdmin3 icon can be found under Application/Development.
It appears near KDevelop, EMacs, etc... There is no "database" entry by
default, therefore I did not create one. To me, the icon seems quite visible
in Application/Development.

Any comments and help are welcome.
Cheers, Jean-Michel


pgadmin-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: autoconf compiling *.c
Next
From: "Hiroshi Saito"
Date:
Subject: pgadmin2_Operator_patch