Re: [pgadmin-hackers] lwx_gtkd_stc-2.4

2003-05-30 Thread Adam H . Pendleton
On Thursday, May 29, 2003, at 03:33 US/Eastern, Jean-Michel POURE wrote:

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.

Pass --enable-debug and --disable-shared to the 'configure' script that 
comes with wxWindows.

ahp


PGP.sig
Description: PGP signature


[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])