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