Re: [pgadmin-hackers] pgA3 desktop integration

2003-08-18 Thread blacknoz
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 surely lag.

Regards,

Raphaël


Message d'origine
Date: Sat, 16 Aug 2003 12:15:57 +0200
De: Andreas Pflug [EMAIL PROTECTED]
A: [EMAIL PROTECTED]
Copie à: Raphaël Enrici [EMAIL PROTECTED],
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 [EMAIL PROTECTED])




---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [pgadmin-hackers] pgA3 desktop integration

2003-08-18 Thread Jean-Michel POURE
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



---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [pgadmin-hackers] pgA3 desktop integration

2003-08-18 Thread Jean-Michel POURE
On Friday 15 August 2003 14:10, Raphal 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


---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [pgadmin-hackers] pgA3 desktop integration

2003-08-15 Thread Jean-Michel POURE
On Thursday 14 August 2003 15:59, Raphal 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


---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [pgadmin-hackers] pgA3 desktop integration

2003-08-15 Thread Raphal Enrici
Jean-Michel POURE wrote:

On Thursday 14 August 2003 15:59, Raphal 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,...) ?

Raphal

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
 joining column's datatypes do not match