Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rehar:kicad
wxGTK-2.8.x
wxGTK.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wxGTK.spec of Package wxGTK-2.8.x
# # spec file for package wxGTK (Version 2.8.7.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: wxGTK BuildRequires: SDL-devel cppunit-devel esound-devel gcc-c++ gnome-vfs2-devel gtk2-devel libgnomeprintui-devel libmspack-devel libtiff-devel python-devel python-xml unixODBC-devel License: GPL v2 or later Group: System/Libraries AutoReqProv: on Version: 2.8.7.1 Release: 20.1 %define wx_version %(echo %{version} | sed 's/\.[0-9][0-9]*\.[0-9][0-9]*$//') Summary: C++ Framework for Cross-Platform Development Source0: wxGTK-2.8.7.1.tar.gz Source1: wxGTK-clear-source Source2: README.unicode Url: http://www.wxwidgets.org/ Provides: wxgtk Obsoletes: wxgtk BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: wxGTK-2.6.3.3-decl.patch Patch1: wxGTK-enable-wxrc.patch Patch3: wxGTK-datarootdir.patch # PATCH-FIX-UPSTREAM Don't unload libgnomevfs-2.so.0 bnc380267 gentoo203389 wxGTK-2.8.7.1-gvfs.patch Patch4: wxGTK-2.8.7.1-gvfs.patch # compile with debug stuff (adds lots of asserts, which can help finding # problems in applications) %define usedebug 0 %description wxWidgets is a free C++ framework to make cross-platform programming easy. It supports Windows 3.1/95/98/NT, and Unix with GTK/Motif/Lesstif. This is the version for GTK+. This package only contains the runtime libraries and other data needed by the runtime libraries. Additional documentation is available in the package wxGTK-doc and you can find some examples in the package wxGTK-examples. Authors: -------- Robert Roebling <robert@roebling.de> %package devel License: GPL v2 or later Summary: Everything needed for development with wxGTK Group: Development/Libraries/GNOME Provides: wxgtk:/usr/bin/wx-config Requires: wxGTK = %{version} Requires: wxGTK-gl = %{version} Requires: gtk2-devel %description devel This package contains all files needed for developing with wxGTK (headers, *.so symbolic links, etc.) Authors: -------- Robert Roebling <robert@roebling.de> %package gl License: GPL v2 or later Summary: OpenGl add-on for wxGTK Group: Development/Libraries/GNOME Requires: wxGTK %description gl This package contains the OpenGl add-on library for wxGTK, the GTK+ port of wxWidgets. Authors: -------- Robert Roebling <robert@roebling.de> %package compat License: GPL v2 or later Summary: Non-Unicode wxWidgets Compatibility Package Group: System/Libraries Requires: wxGTK %description compat wxWidgets is a free C++ framework to make cross-platform programming easy. It supports Windows 3.1/95/98/NT, and UNIX with GTK/Motif/Lesstif. This is the version for GTK+. This package only contains the runtime libraries and other data needed by the runtime libraries. This package contains a library compiled without Unicode support, which is needed for some improperly written applications. Authors: -------- Robert Roebling <robert@roebling.de> %package -n python-wxGTK License: GPL v2 or later Group: Development/Libraries/Python Requires: wxGTK Provides: wxPython Url: http://www.wxpython.org/ Summary: Cross Platform GUI Toolkit for Python Using wxGTK %{py_requires} %description -n python-wxGTK wxPython is a GUI toolkit for Python that is a wrapper around the wxWidgets C++ GUI library. wxPython provides a large variety of window types and controls, all implemented with a native look and feel (and native runtime speed) on the platforms it is supported on. Additional documentation is available in package python-wxGTK-doc and demos and examples are in package python-wxGTK-examples. Authors: -------- Robin Dunn <robin@alldunn.com> %prep %setup -q -n wxGTK-%{version} %patch0 %patch1 %patch3 %patch4 cp %{S:2} . mkdir wxWidgets-unicode mkdir wxWidgets-ansi %build %{suse_update_config -f} autoconf export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" # build ANSI version pushd wxWidgets-ansi ../configure \ --prefix=%{_prefix} \ --datadir=%{_datadir} \ --libdir=%{_libdir} \ --enable-rpath=%{_libdir} \ --with-opengl \ --with-libmspack \ --with-odbc \ --with-sdl \ --enable-sound \ --with-gnomeprint \ --with-gnomevfs \ --enable-iff \ --enable-geometry \ --enable-optimise \ --with-gtk=2 \ %if %{usedebug} --enable-debug \ %endif --disable-unicode \ --enable-controls \ --enable-calendar \ --enable-tabdialog \ --enable-std_iostreams \ --enable-stl \ --enable-plugins # can support maemo hildon make %{?jobs:-j%jobs} make %{?jobs:-j%jobs} -C contrib popd # build Unicode version pushd wxWidgets-unicode ../configure \ --prefix=%{_prefix} \ --datadir=%{_datadir} \ --libdir=%{_libdir} \ --enable-rpath=%{_libdir} \ --with-opengl \ --with-libmspack \ --with-sdl \ --enable-sound \ --with-gnomeprint \ --with-gnomevfs \ --enable-iff \ --enable-geometry \ --enable-optimise \ --with-gtk=2 \ %if %{usedebug} --enable-debug \ %endif --enable-unicode \ --enable-controls \ --enable-calendar \ --enable-tabdialog \ --enable-std_iostreams\ --enable-plugins # doesn't work with unicode: --with-odbc \ #../src/common/db.cpp: In member function 'bool wxDb::Open(const wxString&, void*, bool)': #../src/common/db.cpp:873: error: ambiguous overload for 'operator=' in '((wxDb*)this)->wxDb::outConnectionStr = outConnectBuffer' # breaks wxPython: --enable-stl \ #In file included from src/helpers.cpp:17: #include/wx/wxPython/wxPython_int.h:154: error: 'wxListBase' was not declared in this scope #include/wx/wxPython/wxPython_int.h:154: error: 'list' was not declared in this scope #include/wx/wxPython/wxPython_int.h:385: error: expected ';' before '(' token # can support maemo hildon make %{?jobs:-j%jobs} make %{?jobs:-j%jobs} -C contrib popd %install # install ANSI version pushd wxWidgets-ansi make DESTDIR=$RPM_BUILD_ROOT install make -C contrib DESTDIR=$RPM_BUILD_ROOT install popd # install Unicode version (after ANSI!) pushd wxWidgets-unicode make DESTDIR=$RPM_BUILD_ROOT install make -C contrib DESTDIR=$RPM_BUILD_ROOT install popd # wxPython export CFLAGS="$RPM_OPT_FLAGS -I$RPM_BUILD_ROOT%{_libdir}/wx/include/gtk2-unicode-release-2.8" export CXXFLAGS="$CFLAGS" export LDFLAGS=-L$RPM_BUILD_ROOT%{_libdir} pushd wxPython python setup.py \ WX_CONFIG="$RPM_BUILD_ROOT%{_libdir}/wx/config/gtk2-unicode-release-2.8 --prefix=$RPM_BUILD_ROOT%{_prefix}" \ EP_ADD_OPTS=1 \ NO_SCRIPTS=1 \ WXPORT=gtk2 \ UNICODE=1 \ build \ install \ --prefix=%{_prefix} \ --root=$RPM_BUILD_ROOT \ --record-rpm=INSTALLED_FILES build_options=%{py_sitedir}/wx-2.8-gtk2-unicode/wx/build/build_options.py sed -i 's/^WX_CONFIG=.*/WX_CONFIG="wx-config --unicode"/' $RPM_BUILD_ROOT$build_options python -c "import py_compile; py_compile.compile('$RPM_BUILD_ROOT$build_options', None, '$build_options', True);" popd # generate filelists (cd $RPM_BUILD_ROOT; ls .%{_libdir}/libwx_*.so.*) | grep -v _gl- | sed 's/^\.//' > FILELIST %if %{usedebug} %define mask ud %else %define mask u %endif grep '%{mask}[-_]' FILELIST > FILELIST.unicode grep -v '%{mask}[-_]' FILELIST > FILELIST.ansi (cd $RPM_BUILD_ROOT; ls .%{_libdir}/libwx_*.so.*) | grep _gl- | sed 's/^\.//' > FILELIST.gl (cd $RPM_BUILD_ROOT; find .%{_includedir}/wx-%{wx_version}/wx -type f -maxdepth 1) | grep -v /wxPython | sed 's/^\.//' > FILELIST.devel (cd $RPM_BUILD_ROOT; find .%{_includedir}/wx-%{wx_version}/wx -type d -mindepth 1 -maxdepth 1) | grep -v /wxPython | sed 's/^\.//' >> FILELIST.devel (cd $RPM_BUILD_ROOT; find .%{_bindir} -type f -mindepth 1 -maxdepth 1) | grep -v -e '\(-config\|wxrc\)' | sed 's/^\.//' > FILELIST.python %find_lang wxstd %find_lang wxmsw cat wxstd.lang wxmsw.lang >> FILELIST.unicode # Create %%lang tags for mo files in non-standard path: for LNG_DIR in $RPM_BUILD_ROOT%{py_sitedir}/wx*/wx/tools/Editra/locale/* ; do LNG=${LNG_DIR##*/} echo "%%lang($LNG) %%{py_sitedir}${LNG_DIR#$RPM_BUILD_ROOT%{py_sitedir}}" >>FILELIST.python done %post -p /sbin/ldconfig %post gl -p /sbin/ldconfig %post compat -p /sbin/ldconfig %postun -p /sbin/ldconfig %postun gl -p /sbin/ldconfig %postun compat -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -f FILELIST.unicode %defattr (644, root, root, 755) %doc docs/*.txt %doc docs/base docs/gtk docs/publicity %doc README.1st.txt README.unicode %dir %{_libdir}/wx %dir %{_libdir}/wx/2.8 %{_libdir}/wx/2.8/*.so %files compat -f FILELIST.ansi %defattr(755, root, root) %files devel -f FILELIST.devel %defattr (755, root, root, 755) %{_bindir}/wxrc %{_bindir}/wxrc-%{wx_version} %{_bindir}/*-config* %{_libdir}/wx/config %defattr (644, root, root, 755) %doc docs/tech %dir %{_includedir}/wx-%{wx_version} %dir %{_includedir}/wx-%{wx_version}/wx %{_libdir}/wx/include %{_libdir}/lib*.so %{_datadir}/aclocal/wxwin.m4 %{_datadir}/bakefile %files gl -f FILELIST.gl %defattr(755, root, root) %files -n python-wxGTK -f FILELIST.python %defattr(-, root, root) %doc wxPython/docs/*.txt wxPython/docs/*.html wxPython/docs/screenshots wxPython/licence %dir %{_includedir}/wx-%{wx_version}/wx %{_includedir}/wx-%{wx_version}/wx/wxPython %{py_sitedir}/* %exclude %{py_sitedir}/wx*/wx/tools/Editra/locale/* %changelog * Fri May 2 2008 sbrabec@suse.cz - Don't unload libgnomevfs-2.so.0 on exit (bnc#380267). - Removed obsolete configure options (bnc#380267#c7). * Fri Mar 28 2008 sbrabec@suse.cz - Updated to version 2.8.7.1: * many API-compatible crash fixes, improvements and other fixes, see docs/changes.txt for complete list * Tue Oct 2 2007 sbrabec@suse.cz - Updated to version 2.8.6.0: * many API-compatible crash fixes, improvements and orger fixes, see docs/changes.txt for complete list * fixed bugs and inconsistencies in wxWidgets and wxPython * Thu Sep 13 2007 prusnak@suse.cz - corrected last patch (gtk_border_free.patch) [#294693] * Wed Sep 5 2007 bwalle@suse.de - fix crash on startup on x86_64 (#294693) * Wed Aug 29 2007 prusnak@suse.cz - pack non-unicode libraries as wxGTK-compat package (again) - run ldconfig in post/postun scriptlets * Wed May 23 2007 prusnak@suse.cz - update to 2.8.4.0 * changes are too numerous to list, see changes.txt for full list - drop non-unicode libraries (not used anymore) - cleaned spec file * Mon Mar 5 2007 pth@suse.de - Don't hardcode lib64 in .spec file. - Replace contrib/samples/applet/monitors.c once again (see #203607). * Thu Mar 1 2007 pth@suse.de - Update to 2.8.1.1. Changes are too numerous to list, see changes.txt for a full list. - fix use of uninitialised variables wxPython_int.h - Correct spelling in README.unicode * Mon Dec 11 2006 sbrabec@suse.cz - Source code cleanup (#226403). * Tue Sep 5 2006 sbrabec@suse.cz - Repackaged without undistributable monitors.c (#203607). * Mon Aug 7 2006 sbrabec@suse.cz - Updated to version 2.6.3.3 (#162198): * Fixed crash when loading message catalogs in Unicode build. * Fixed crash in wxList code when building with wxUSE_STL=1 * Spurious error message from wxLaunchDefaultBrowser fixed. * Compilation fixes for (more strict) g++ 4.1 * Speed improvements to wxRegEx * Fix regerror and regfree name conficts * wxCondition::WaitTimeout() now returns correct value * Bug in wxLogStream::DoLogString in Unicode builds fixed * wxFileName now also looks for TMPDIR on Unix * Fixed occasional wxThread cleanup crash * wxImage::Copy() forgot the alpha channel * Fixed wxSocketBase::InterruptWait on wxBase * wxSocket::_Read continues reading from socket after exhausting pushback buffer * Fixed abort() on loading invalid PNG image * Added space after list item number in wxHTML * wxCalendarCtrl drawing, positioning and hit-testing fixes * More checking of image validity before loading into wxImage * Added double-buffering to wxVListBox and fixed scrolling * More than one filter allowed in in wxDocTemplate filter * Fixed infinite loop in tab traversal code with wxUSE_STL==1 * In wxScrolledWindow:DoGetBestSize, no longer adds difference between client and total size * Fixed problem with zoom setting in print preview * Fixed problem with choice editor in wxGrid * Fixed problem trying to print from a preview * Polygon and line drawing speeded up if there is no scaling * Fixed problems with CJK input method (reverted) * Fixed wxNotebook::HitTest when the leftmost visible tab is not the actual first tab * Send wxSetCursorEvent * Fix RequestMore for idle events * Implement user dashes for PS and GNOME printing * Correct update region code * Change wxMimeTypesManager code to just read the MIME-types * Speed up reading MIME database * wxClipboard fixes * Support underlined fonts in wxTextCtrl * wxWindow and wxScrolledWindow now generate all scroll events * Implemented wxToggleButton * Fixed wxDb::DBMS() indicating DB2 dBase databases * Fixed buffer overflow problem in Unicode builds - Fixed slash typo patch. - Do not delete no more generated doslex.c. * Mon Jul 17 2006 mkudlvasr@suse.cz - fixed a problem in makefiles.in and configure.in. In many cases the variable top_builddir was not separated by a slash. This caused many 'file not found' errors. * Fri Apr 7 2006 mmarek@suse.cz - fix array subscript out of range in src/common/db.cpp * Thu Mar 9 2006 bk@suse.de - Add esound-devel to BuildRequires (was implicily by SDL-devel) - Add explicit gcc-c++ to BuildRequires (was implicit by SDL-devel) * Tue Feb 28 2006 jmatejek@suse.cz - updated to reflect python changes due to #149809 * Wed Feb 22 2006 sbrabec@suse.cz - Moved pywxrc to python-wxGTK (Andreas Hanke, #152573). * Sun Feb 19 2006 aj@suse.de - Reduce BuildRequires. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 20 2006 sbrabec@suse.cz - Package wxrc (#143258, Andreas Hanke). - Updated README.unicode (#144090, Andreas Hanke). - Moved bakefile to devel subpackage (#144094, Andreas Hanke). * Mon Jan 16 2006 sbrabec@suse.cz - Updated to version 2.6.2.1. * Mon Sep 19 2005 sbrabec@suse.cz - Force re-creating the old lex code in doslex.c. * Fri Aug 19 2005 sbrabec@suse.cz - Removed references to no more provided PangoRenderX calls. * Mon Aug 1 2005 sbrabec@suse.cz - Updated to version 2.6.1.0. * Sat May 14 2005 schwab@suse.de - Fix undefined operation. * Wed Apr 27 2005 mcihar@suse.cz - update to 2.6.0.0 * Fri Apr 15 2005 mcihar@suse.de - build with system libtiff - enabled SDL and sound support * Wed Apr 13 2005 mcihar@suse.cz - fix filelist - fix build on 64-bit machines * Tue Apr 12 2005 mcihar@suse.cz - disable SDL support, it seems to be broken in this version * Tue Apr 12 2005 mcihar@suse.cz - update to 2.5.5.1 * Fri Feb 4 2005 tiwai@suse.de - fixed the confliction of ATTRIBUTE_PRINTF* macros. * Wed Dec 22 2004 mcihar@suse.cz - fix python-wxGTK requires * Fri Nov 19 2004 mcihar@suse.cz - update to 2.5.3.1 * Wed Oct 20 2004 mcihar@suse.cz - fixed file conflict between python-wxGTK and wxGTK-devel * Fri Sep 17 2004 mcihar@suse.cz - really build wxPython version against unicode wxGTK (bug #45539) * Tue Aug 31 2004 mcihar@suse.cz - update to 2.5.2.8 * Mon Aug 16 2004 mcihar@suse.cz - update to 2.5.2.7 * Fri Jul 30 2004 mcihar@suse.cz - also build non unicode libraries and ship them in wxGTK-compat package to allow compilation of application, that weren't written in respect to unicode possibility * Wed Jun 2 2004 mcihar@suse.cz - add missing wxPython licenses * Thu Apr 22 2004 mcihar@suse.cz - ${prefix} was intentional * Wed Apr 21 2004 mcihar@suse.cz - correct libdir on lib64 * Tue Apr 20 2004 mcihar@suse.cz - solved conflict between wxGTK-devel and python-wxGTK * Wed Apr 14 2004 mcihar@suse.cz - moved sound_sdl-2.5.1.so from devel package * Wed Apr 14 2004 mcihar@suse.cz - build with -fPIC - add libmspack support (enables access to MS HTML help files - *.chm) * Tue Apr 13 2004 mcihar@suse.cz - update to 2.5.1.5 - enable unicode support - enabled build of contrib libraries * Thu Mar 18 2004 mcihar@suse.cz - make files in bin executable (bug #36331) * Fri Mar 5 2004 mcihar@suse.cz - little spec file cleanup, debug build can be enabled * Wed Mar 3 2004 tiwai@suse.de - fixed wxwin.m4 for the recent autoconf. - moved wxwin.m4 to devel subpackage. * Tue Jan 13 2004 mcihar@suse.cz - enabled build with GTK 2 * Thu Oct 16 2003 mcihar@suse.cz - do not build as root - remove orig and rej files that should not be installed * Wed Oct 15 2003 mcihar@suse.cz - update to 2.4.2.4 * Fri Aug 29 2003 tiwai@suse.de - fixed the segfault on 64bit architectures. * Sat Aug 23 2003 ro@suse.de - fix build on lib64 * Wed Aug 20 2003 mcihar@suse.cz - now builds together with wxPython - created patch for DESTDIR support - now lives in /usr and not /usr/X11 - build all python bindings (fixes #26138 and #27349) * Wed Jul 30 2003 adrian@suse.de - update to version 2.4.1 - add %%run_ldconfig * Tue May 13 2003 mmj@suse.de - Package forgotten files * Tue Mar 4 2003 mmj@suse.de - Add patch to have wxFileConfigGroup::DeleteSubgroup() not seg- fault with pGroup == 0. Triggered by audacity but might affect other wxGTK programs. [#24401] * Tue Feb 25 2003 hhetter@suse.de - devel package requires gtk-devel (Bug Id#22479) * Mon Feb 17 2003 hhetter@suse.de - package gl-header files too ( Bug Id#23094 ) * Wed Jan 22 2003 meissner@suse.de - Fixed for lib64 platforms. * Tue Jan 14 2003 hhetter@suse.de - updated to version 2.4.0 - updated documentation to 2.4.0 revision - remove all outdated patches * Tue Nov 12 2002 tcrhak@suse.cz - fixed for bison 1.75: end rules with semicolons * Mon Aug 12 2002 garloff@suse.de - Fix multiple delete[] in wxHtmlTagsModule::OnExit(). * Fri Jul 26 2002 adrian@suse.de - fix neededforbuild * Wed May 1 2002 kukuk@suse.de - Remove superfluous libmpeg from neededforbuild * Fri Apr 26 2002 coolo@suse.de - use %%_libdir * Mon Apr 15 2002 tiwai@suse.de - fixed build with gcc 3.1. * Tue Feb 19 2002 hhetter@suse.de - applied the real patch for the wxgtk-mutex performance problem * Fri Feb 15 2002 hhetter@suse.de - configure with --enable-std_iostreams for better support for C++ sources using C++ iostreams - apply patch to fix perfomance problem with multithreaded apps (accepted and already in the wxGTK CVS) * Fri Feb 1 2002 ro@suse.de - changed neededforbuild <libpng> to <libpng-devel-packages> * Thu Jan 24 2002 tiwai@suse.de - updated to version 2.2.9. - fixed neededforbuild for libwx_gtk_gl. - added locale files to filelist. - added --enable-soname to ensure the correct linking. - clean up the spec file. * Tue May 8 2001 mfabian@suse.de - bzip2 source * Fri Mar 30 2001 pthomas@suse.de - Update to 2.2.6 - Renamed to wxGTK - Split off devel package. - Build the OpenGl add-on lib. - Install sample code in docdir. - Change Makefiles to use DESTDIR. - Include both HTML and PDF Versions of the manuals. - Eliminate warnings in C++ code. - Build with -W -Wall -Wstrict-prototypes -Wpointer-aritth * Fri Jan 26 2001 hhetter@suse.de - Update to 2.2.4 * Sat Dec 9 2000 mfabian@suse.de - Add /usr/X11R6/bin/wxgtk-config to filelist * Mon Nov 6 2000 ro@suse.de - fixed neededforbuild * Fri Jun 9 2000 ro@suse.de - up to 2.1.16 * Mon Feb 21 2000 uli@suse.de - now builds with RPM_OPT_FLAGS * Mon Feb 21 2000 ro@suse.de - update to 2.1.13 - use suse_update_config macro - patch to compile with newest gtk * Fri Jan 14 2000 freitag@suse.de - update to 2.1.12, URL, doc in seperate tarball * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Thu Aug 19 1999 kukuk@suse.de - Add /usr/X11R6/bin/wx-config to filelist * Tue Jul 13 1999 bs@suse.de - use gtk and glib instead of gtkn and glibn * Mon May 31 1999 ray@suse.de - new package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor