pgAdmin3 icon under RPM platform

From: Jean-Michel POURE <jm(at)poure(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Cc: "dpage(at)vale-housing(dot)co(dot)uk" <dpage(at)vale-housing(dot)co(dot)uk>, blacknoz(at)club-internet(dot)fr, "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Subject: pgAdmin3 icon under RPM platform
Date: 2003-09-11 13:27:36
Message-ID: 200309111527.36554.jm@poure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgadmin-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2003-09-11 13:47:15 pgadmin2_Operator_patch
Previous Message Jean-Michel POURE 2003-09-11 12:13:08 Re: autoconf compiling *.c