Thread: pgA3 desktop integration

pgA3 desktop integration

From
Raphaël Enrici
Date:
Dear all,

did someone on the list made some icons that could be used to integrate
pgAdmin3 into our favorites desktops (Gnome, kde and so on) ?
I'm currently making some files to add to Debian packages so that
pgAdmin becomes available automatically in Gnome's menus after package
installation.

Regards,

Raphaël


Re: pgA3 desktop integration

From
Jean-Michel POURE
Date:
On Thursday 14 August 2003 15:59, Raphaël Enrici wrote:
> did someone on the list made some icons that could be used to integrate
> pgAdmin3 into our favorites desktops (Gnome, kde and so on) ?
> I'm currently making some files to add to Debian packages so that
> pgAdmin becomes available automatically in Gnome's menus after package
> installation.

Keep us informed about your scripts. I am interested...
Jean-Michel


Re: pgA3 desktop integration

From
Raphaël Enrici
Date:
Jean-Michel POURE wrote:

>On Thursday 14 August 2003 15:59, Raphaël Enrici wrote:
>
>
>>did someone on the list made some icons that could be used to integrate
>>pgAdmin3 into our favorites desktops (Gnome, kde and so on) ?
>>I'm currently making some files to add to Debian packages so that
>>pgAdmin becomes available automatically in Gnome's menus after package
>>installation.
>>
>>
>Keep us informed about your scripts. I am interested...
>Jean-Michel
>
>
debian uses a package called "menu" that provide a command called
"update-menus"
All you have to do is installing a file called pgadmin3 in
/usr/lib/menu/pgadmin3 and launch update-menus in postinstall and your
menu entry will be added to kde, gnome, wmaker and others...
The file looks like this :
?package(pgadmin3):needs="x11" section="Apps/Databases" \
        title="pgAdmin3" command="pgadmin3" hints="Graphical client for
PostgreSQL" \
        icon=/usr/share/pixmaps/pgadmin3.xpm

As I can remember I've seen similar things in recent redhat distros, I
did a quick search on redhat site and found some references to it for mdk :)
In spec file you can add such things:

%post
%{update_menus}

%postun
%{clean_menus}

You will find more detailed information concerning this at
http://rpm.redhat.com/hintskinks/buildtree/mdk-rpm/

Can you have a try by hand on RPM based distros (it would be cool that
suse does this too) and let me know if it works well ? Just try to copy
pgadmin3 in /usr/lib/menu and launch update-menus.

If it is ok for all distros, it would be nice to have an unique file in
CVS that we could add to linux and may be other unices packages.

We stay in touch.

Last but not least, do you have an icon (xpm, gif,...) ?

Raphaël


Re: pgA3 desktop integration

From
Andreas Pflug
Date:
Jean-Michel POURE wrote:

>On Thursday 14 August 2003 15:59, Raphaël Enrici wrote:
>
>
>>did someone on the list made some icons that could be used to integrate
>>pgAdmin3 into our favorites desktops (Gnome, kde and so on) ?
>>I'm currently making some files to add to Debian packages so that
>>pgAdmin becomes available automatically in Gnome's menus after package
>>installation.
>>
>>
I added elephant48.png to cvs under include/images, which is the same
image as used for the icon on win32.

Regards,
Andreas



Re: pgA3 desktop integration

From
blacknoz@club-internet.fr
Date:
Thank you Andreas.

I'll be out of my home for about 4 days, I'll continue my work on this when I'll be back.
If there is any problem concerning debian packages until saturday, can you please tell people that my answer will
surelylag. 

Regards,

Raphaël


----Message d'origine----
>Date: Sat, 16 Aug 2003 12:15:57 +0200
>De: Andreas Pflug <pgadmin@pse-consulting.de>
>A: jm@poure.com
>Copie à: Raphaël Enrici <blacknoz@club-internet.fr>,
>Sujet: Re: [pgadmin-hackers] pgA3 desktop integration

>I added elephant48.png to cvs under include/images, which is the same
>image as used for the icon on win32.
>
>Regards,
>Andreas
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>


Re: pgA3 desktop integration

From
Jean-Michel POURE
Date:
On Saturday 16 August 2003 12:15, Andreas Pflug wrote:
> I added elephant48.png to cvs under include/images, which is the same
> image as used for the icon on win32.

Thanks. Jean-Michel



Re: pgA3 desktop integration

From
Jean-Michel POURE
Date:
On Friday 15 August 2003 14:10, Raphaël Enrici wrote:
> You will find more detailed information concerning this at
> http://rpm.redhat.com/hintskinks/buildtree/mdk-rpm/
>
> Can you have a try by hand on RPM based distros (it would be cool that
> suse does this too) and let me know if it works well ? Just try to copy
> pgadmin3 in /usr/lib/menu and launch update-menus.
>
> If it is ok for all distros, it would be nice to have an unique file in
> CVS that we could add to linux and may be other unices packages.
>
> We stay in touch.

Thanks, I will have a look at it soon.

This makes me think we have two differents SRPMs, one for RedHat
(with-pgsql-include=/usr/include/pgsql) and another one for Mandrake/SuSE
(with-pgsql-include=/usr/include).

Normaly, there should be a single SRPM for all platforms. This is only
possible if "with-pgsql-include" can be found automatically in both cases.

Can anyone have a look at it or shall I do it myself?

Cheers,
Jean-Michel