[pgadmin-hackers] lwx_gtkd_stc-2.4

2003-05-29 Thread Jean-Michel POURE
Dear all,

Sorry to ask silly questions. Maybe it is a problem with my custom RPM. Could 
you point out the file lwx_gtkd_stc-2.4.

g++ -DDATA_DIR=\/usr/local/pgadmin3/share/pgadmin3/\ -Wall -g -I./include/ 
-I -g -O2  -L/usr/lib -L/usr/lib -o pgAdmin3  pgAdmin3.o pgConn.o pgSet.o 
pgAggregate.o pgCast.o pgCheck.o pgCollection.o pgColumn.o pgConstraints.o 
pgConversion.o pgDatabase.o pgDomain.o pgForeignKey.o pgFunction.o pgGroup.o 
pgIndex.o pgIndexConstraint.o pgLanguage.o pgObject.o pgOperator.o 
pgOperatorClass.o pgRule.o pgSchema.o pgSequence.o pgServer.o pgTable.o 
pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.o ctlSQLBox.o 
ctlSQLResult.o dlgAddTableView.o events.o frmAbout.o frmChildTableViewFrame.o 
frmConnect.o frmMain.o frmOptions.o frmPassword.o frmQuery.o 
frmQueryBuilder.o frmHelp.o frmQBJoin.o frmSplash.o frmVacuum.o frmEditGrid.o 
dlgProperty.o dlgUser.o dlgGroup.o dlgDatabase.o dlgLanguage.o dlgSchema.o 
dlgDomain.o dlgTable.o dlgColumn.o dlgIndex.o dlgFunction.o 
dlgIndexConstraint.o dlgForeignKey.o dlgSequence.o dlgTrigger.o dlgType.o 
dlgCheck.o frmStatus.o misc.o sysLogger.o sysSettings.o  -lpq 
-lwx_gtkd_stc-2.4 -lwx_gtkd_xrc-2.4 -pthread -lwx_gtk-2.4
/usr/bin/ld: ne peut trouver -lwx_gtkd_stc-2.4
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [pgAdmin3] Erreur 1
make[2]: Quitte le répertoire `/home/pgadmin/pgadmin3/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/pgadmin/pgadmin3'
make: *** [all] Erreur 2

The rpm contains the following files:
rpm -ql wxGTK-stc
/usr/lib/libwx_gtk_stc-2.4.so
/usr/lib/libwx_gtk_stc-2.4.so.0
/usr/lib/libwx_gtk_stc-2.4.so.0.0.0

Cheers,
Jean-Michel


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] lwx_gtkd_stc-2.4

2003-05-29 Thread Adam H . Pendleton
wx_gtkd_stc-2.4 is the debug version of the library.  Since the 
autoconf code exists largely to support the developers and not the end 
users (at this point), there is no support for the release versions of 
the library.  If we are interested in producing release versions of 
pgadmin3, then I can modify the autoconf code to support this.

ahp


PGP.sig
Description: PGP signature


Re: [pgadmin-hackers] lwx_gtkd_stc-2.4

2003-05-29 Thread Jean-Michel POURE
Le Mercredi 28 Mai 2003 23:06, Adam H.Pendleton a écrit :
 wx_gtkd_stc-2.4 is the debug version of the library.  Since the
 autoconf code exists largely to support the developers and not the end
 users (at this point), there is no support for the release versions of
 the library.  If we are interested in producing release versions of
 pgadmin3, then I can modify the autoconf code to support this.

Dear Adam,

I would like to produce standard wxGTK rpms for RedHat to enable any 
developper to install the required wxWindows libraries (including XRC and 
STC) and produce contributions for pgAdmin3. Then, I would also like to try 
releasing pgAdmin3 daily RPM snapshots.

Do you think it would be possible to do one of the following things:

- modify wxGTK spec file in order to produce the required libraries with 
debuging control. Please find included the spec file. If you explain me what 
are the configure or make options for stc, I can try to manage things myself.

- modify the autoconf code.

Cheers,
Jean-Michel

# $Id: wxGTK.spec,v 1.2 2003/05/27 16:37:43 dude Exp $

Summary: The GTK+ 1.2 port of the wxWindows library.
Name: wxGTK
Version: 2.4.0
Release: fr3
License: wxWindows Licence
Group: System Environment/Libraries
Source: wxGTK-%{version}.tar.bz2
URL: http://www.wxwindows.org/
BuildRoot: %{_tmppath}/%{name}-root
# all packages providing an implementation of wxWindows library (regardless of
# the toolkit used) should provide the (virtual) wxwin package, this makes it
# possible to require wxwin instead of requiring wxgtk or wxmotif or wxqt...
BuildRequires: gtk+-devel = 1.2.7, libjpeg-devel, libpng-devel, libtiff-devel
BuildRequires: zlib-devel
Provides: wxwin

%description
wxWindows is a free C++ library for cross-platform GUI development.
With wxWindows, you can create applications for different GUIs (GTK+,
Motif/LessTif, MS Windows, Mac) from the same source code.


%package devel
Summary: Develoment files of the GTK+ 1.2 port of the wxWindows library.
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
Header files for wxGTK, the GTK+ 1.2 port of the wxWindows library.


%package gl
Summary: OpenGL add-on of the the GTK+ 1.2 port of the wxWindows library.
Group: System Environment/Libraries
Requires: %{name} = %{version}

%description gl
OpenGL add-on library for wxGTK, the GTK+ 1.2 port of the wxWindows library.


%package xrc
Summary: The XML-based resource system for the wxWindows library.
Group: System Environment/Libraries
Requires: %{name} = %{version}

%description xrc
The XML-based resource system, known as XRC, allows user interface
elements such as dialogs, menu bars and toolbars, to be stored in
text files and loaded into the application at run-time.

%package stc
Summary: Styled text control add-on for wxGTK+, the GTK+ 1.2 port of the wxWindows 
library.

Group: System Environment/Libraries
Requires: %{name} = %{version}

%description stc
Styled text control add-on for wxGTK+. Based on the Scintillia project 
http://www.scintilla.org/.

%prep
%setup -q

%build
%configure --enable-optimise --with-opengl
make %{?_smp_mflags}

pushd contrib/src/xrc
make %{?_smp_mflags}
popd

pushd contrib/src/stc
make %{?_smp_mflags}
popd

%install
rm -rf %{buildroot}
%makeinstall
%find_lang wxstd

pushd contrib/src/xrc
%makeinstall
popd

pushd contrib/src/stc
%makeinstall
popd

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post gl -p /sbin/ldconfig

%postun gl -p /sbin/ldconfig

%post xrc -p /sbin/ldconfig

%postun xrc -p /sbin/ldconfig

%post stc -p /sbin/ldconfig

%postun stc -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files -f wxstd.lang
%defattr(-, root, root)
%doc COPYING.LIB *.txt
%{_libdir}/libwx_gtk-*
%{_datadir}/wx

%files devel
%defattr(-, root, root)
%{_bindir}/*-config
%{_includedir}/wx
%{_libdir}/wx
%{_datadir}/aclocal/*.m4

%files gl
%defattr(-, root, root)
%{_libdir}/libwx_gtk_gl-*

%files xrc
%defattr(-, root, root)
%{_libdir}/libwx_gtk_xrc-*

%files stc
%defattr(-, root, root)
%{_libdir}/libwx_gtk_stc-*

%changelog
* Tue May 27 2003 Matthias Saou [EMAIL PROTECTED]
- Added xrc sub-package thanks to Bruno Postle.

* Mon Mar 31 2003 Matthias Saou [EMAIL PROTECTED]
- Rebuilt for Red Hat Linux 9.

* Sun Mar 23 2003 Matthias Saou [EMAIL PROTECTED]
- Update to 2.4.0

* Sun Aug  4 2002 Matthias Saou [EMAIL PROTECTED]
- Rebuilt without the NVIDIA_GLX package to fix dependencies.

* Thu Aug  1 2002 Matthias Saou [EMAIL PROTECTED]
- Major spec file cleanup.


---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


[pgadmin-hackers] pga2: reserved keywords

2003-05-29 Thread frank_lupo
Hi Dave,

I have change the pgschema and pgadmin to fix problem on reserved keywords .
The reserved keywords in pgschema are added by the pgadmin2 using ctx.AUTOHIGHLIGHT.

In the DEFAULT_AUTOHIGHLIGHT  on pgadmin2 any reserved keywords are not present.
I have extracted on documentation the reserved keywords. 
Can You add a color on keywords in attachment file ?
I'll add these keywords in pgadmin2.

Bye !!
Frank Lupo (Wolf) !!

/\_ _/\
\ o o /
--ooo-ooo---

-- 
GPG Key: http://users.jc-hosting.co.uk/frank_lupo/files/publickey.txt

WebSite: http://users.jc-hosting.co.uk/frank_lupo


--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Enciclopedia tascabile: 50 libri di cultura generale a 16,01 Euro!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=818d=29-5

keyword.prc
Description: Binary data

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly


[pgadmin-hackers] Gettext support for pgAdmin3 and the web site

2003-05-29 Thread Jean-Michel POURE
Hi Andreas,

Just for information, do you think it would be difficult to add Gettext 
support to pgAdmin3? We could run an extract script on Snake and publish the 
.po files for translation everyday. I can handle po files merges for the team 
if you need someone.

A good example of translation process can be found on 
http://poedit.sourceforge.net/translations.php

poedit uses wxGTK against GTK2, which fully supports Unicode when compiled 
with the following options:

--enable-gtk2 --enable-unicode (not sure, I guess).

pgAdmin web site can be internationalized quite easily using Php and Gettext. 
Frankly, I think PhpPgAdmin translators would love to translated pgAdmin3.

If you need me to look at php source code and modify it in consequence, just 
let me know. 

Cheers,
Jean-Michel POURE

---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


[pgadmin-hackers] pgadmin2 ButtonMenus err

2003-05-29 Thread Hiroshi Saito
Hi Frank.

Now, it began to handle a Japanese user, too.
Your work is very wonderful.

There is a patch which wants to cope with it.
An error appears by the menu button icon.
Apply an attached patch.

Thank you in advance for your understanding.

With kindest regards,
Hiroshi-Saito
--
pgadmin-II Japanese Edition
http://cre-ent.skcapi.co.jp/~saito/pgadmin/index.html

--- frmMain.frm.origThu May 29 19:34:30 2003
+++ frmMain.frm Thu May 29 19:36:58 2003
@@ -1998,6 +1998,7 @@
   If ctx.CurrentObject.ObjectType  Server And _
  ctx.CurrentObject.ObjectType  Check And _
  ctx.CurrentObject.ObjectType  Column And _
+ ctx.CurrentObject.ObjectType  Schema And _
  ctx.CurrentObject.ObjectType  Foreign Key Then
 tb_ButtonMenuClick Button.ButtonMenus(LCase(ctx.CurrentObject.ObjectType))
   End If
@@ -2305,6 +2306,8 @@
   Select Case ButtonMenu.Key
 Case aggregate
   mnuPopupCreateAggregate_Click
+Case conversion
+  mnuPopupCreateConversion_Click
 Case cast
   mnuPopupCreateCast_Click
 Case database

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


Re: [pgadmin-hackers] pgadmin2 ButtonMenus err

2003-05-29 Thread Dave Page
Thanks, patch applied.

Regards, Dave.

 -Original Message-
 From: Hiroshi Saito [mailto:[EMAIL PROTECTED] 
 Sent: 29 May 2003 12:14
 To: frank_lupo
 Cc: pgadmin-hackers
 Subject: [pgadmin-hackers] pgadmin2 ButtonMenus err
 
 
 Hi Frank.
 
 Now, it began to handle a Japanese user, too.
 Your work is very wonderful.
 
 There is a patch which wants to cope with it.
 An error appears by the menu button icon.
 Apply an attached patch.
 
 Thank you in advance for your understanding.
 
 With kindest regards,
 Hiroshi-Saito
 --
 pgadmin-II Japanese Edition 
 http://cre-ent.skcapi.co.jp/ ~saito/pgadmin/index.html
 
 

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])