wxWidgets development branch that will eventually become 3.2

OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=1
This commit is contained in:
Jan Engelhardt 2014-12-07 00:34:49 +00:00 committed by Git OBS Bridge
commit fc7ab43dff
17 changed files with 4218 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

17
README.SUSE Normal file
View File

@ -0,0 +1,17 @@
wxWidgets in SUSE
=================
There are many possible wxWidgets configurations that can be built
from a single source spec file. Depending on what options have been
chosing, the ABI changes in incompatible fashion, yet the library
filenames do not.
To counter running a program with an incompatible variant of
wxWidgets, we chose to make use of the vendor tagging mechanism.
Programs built against the SUSE wxWidgets explicitly require the
library by our name and therefore cannot inadvertently be run with an
incompatible wxWidgets from another distribution.
To run a foreign program, you will need to use the LD_LIBRARY_PATH
mechanism to point it to a directory which contains the matching
third-party wxWidgets variant.

7
_constraints Normal file
View File

@ -0,0 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">5</size>
</disk>
</hardware>
</constraints>

35
baselibs.conf Normal file
View File

@ -0,0 +1,35 @@
libwx_baseu-suse2
libwx_baseu_net-suse2
libwx_baseu_xml-suse2
libwx_gtk2u_adv-suse2
libwx_gtk2u_aui-suse2
libwx_gtk2u_core-suse2
libwx_gtk2u_gl-suse2
libwx_gtk2u_html-suse2
libwx_gtk2u_media-suse2
libwx_gtk2u_propgrid-suse2
libwx_gtk2u_qa-suse2
libwx_gtk2u_ribbon-suse2
libwx_gtk2u_richtext-suse2
libwx_gtk2u_stc-suse2
libwx_gtk2u_webview-suse2
libwx_gtk2u_xrc-suse2
wxWidgets-3_2-devel
requires -wxWidgets-3_2-<targettype>
requires "libwx_baseu-suse2-<targettype> = <version>
requires "libwx_baseu_net-suse2-<targettype> = <version>"
requires "libwx_baseu_xml-suse2-<targettype> = <version>"
requires "libwx_gtk2u_adv-suse2-<targettype> = <version>"
requires "libwx_gtk2u_aui-suse2-<targettype> = <version>"
requires "libwx_gtk2u_core-suse2-<targettype> = <version>"
requires "libwx_gtk2u_gl-suse2-<targettype> = <version>"
requires "libwx_gtk2u_html-suse2-<targettype> = <version>"
requires "libwx_gtk2u_media-suse2-<targettype> = <version>"
requires "libwx_gtk2u_propgrid-suse2-<targettype> = <version>"
requires "libwx_gtk2u_qa-suse2-<targettype> = <version>"
requires "libwx_gtk2u_ribbon-suse2-<targettype> = <version>"
requires "libwx_gtk2u_richtext-suse2-<targettype> = <version>"
requires "libwx_gtk2u_stc-suse2-<targettype> = <version>"
requires "libwx_gtk2u_webview-suse2-<targettype> = <version>"
requires "libwx_gtk2u_xrc-suse2-<targettype> = <version>"
wxWidgets-3_2-plugin-sound_sdlu-3_2

4
pre_checkin.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
for i in GTK3 Qt Univ; do
cp wxWidgets-3_2.changes "wx$i-3_2.changes"
done

10
rpmlintrc Normal file
View File

@ -0,0 +1,10 @@
# Project name just starts with lowercase.
addFilter("summary-not-capitalized")
# We know what we are doing. %{wxlibdir}/wx can be owned by more package instances at once.
addFilter("shlib-policy-nonversioned-dir")
# There is no such package.
addFilter("no-dependency-on")
# Package splits to many library packages, we just need to obsolete old one.
addFilter("obsolete-not-provided")
# Yes, there are macros in comments.
addFilter("macro-in-comment")

68
soversion.diff Normal file
View File

@ -0,0 +1,68 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-11-07 10:41:58.650412802 +0100
Because it is so easy to change the ABI with just one configure option,
explicitly mark our build with a vendor tag.
(We do the same in windows:mingw: where this issue is even more pressing.)
In addition, because wxWidgets changes the ABI midway (for example,
did so between 3.0.1 and 3.0.2) without changing the SONAME, we have
to do it. As we have a vendor suffix, no filename conflicts can occur.
At the same time, it allows us to simplify the filename.
Record of names used in openSUSE:
wxWidgets 3.0.1: libwx_*-suse-3.0.so.0
wxWidgets 3.0.2: libwx_*-suse.so.1
wxWidgets 3.1.0~svn78217: libwx_*-suse.so.2
Since SOVERLINUX does not support TWOSYMLINKS=0, patch and use
a bit on SOVERSOLARIS instead.
---
Makefile.in | 5 +++--
build/aclocal/bakefile.m4 | 3 +--
2 files changed, 4 insertions(+), 4 deletions(-)
Index: wxWidgets-trunk/Makefile.in
===================================================================
--- wxWidgets-trunk.orig/Makefile.in
+++ wxWidgets-trunk/Makefile.in
@@ -2092,6 +2092,7 @@ LOCALE_MSW_LINGUAS = it
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@WXCOMPILER = _gcc
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@WXCOMPILER \
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@ = _gcc$(COMPILER_VERSION)
+VENDORTAG = -$(VENDOR)
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@VENDORTAG = _$(VENDOR)
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@VENDORTAG =
@COND_BUILD_debug@WXDEBUGFLAG = d
@@ -2103,7 +2104,7 @@ LOCALE_MSW_LINGUAS = it
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = \
@COND_PLATFORM_WIN32_1@ wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)
-@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -$(WX_RELEASE)
+@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG =
@COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
COND_wxUSE_REGEX_builtin___wxregex___depname = \
$(LIBDIRNAME)/$(LIBPREFIX)wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT)
@@ -15562,7 +15563,7 @@ COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.0.0.$(SO_SUFFIX)
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@dll___targetsuf3 = -0.$(SO_SUFFIX)
@COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX)
-@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).0
+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).2
@COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
@COND_wxUSE_LIBTIFF_builtin@__INC_TIFF_BUILD_p_66 \
Index: wxWidgets-trunk/build/aclocal/bakefile.m4
===================================================================
--- wxWidgets-trunk.orig/build/aclocal/bakefile.m4
+++ wxWidgets-trunk/build/aclocal/bakefile.m4
@@ -457,8 +457,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS],
SONAME_FLAG="-Wl,-soname,"
fi
USE_SOVERSION=1
- USE_SOVERLINUX=1
- USE_SOTWOSYMLINKS=1
+ USE_SOVERSOLARIS=1
;;
*-*-solaris2* )

944
wxGTK3-3_2.changes Normal file
View File

@ -0,0 +1,944 @@
-------------------------------------------------------------------
Fri Nov 7 09:05:48 UTC 2014 - jengelh@inai.de
- Update to new upstream release 3.0.2
* Fix silent data loss in wx[F]File::Write(wxString) if conversion
fails.
* Make wxString::FromCDouble() work when the global C++ locale is
not the C one.
* Fix mouse handling in wxNotebook containing wxListCtrl.
- Bump SONAME due to changed ABI, add soversion.diff.
- Don't let wxGTK3-3_0.spec build the SDL plugin (already done
by wxWidgets-3_0.spec)
-------------------------------------------------------------------
Thu Nov 6 13:35:08 UTC 2014 - jengelh@inai.de
- Restore libwx_base*.so devel symlinks [boo#904098]
-------------------------------------------------------------------
Wed Nov 5 09:51:01 UTC 2014 - jengelh@inai.de
- Replace broad Requires: Mesa-devel by pkgconfig(gl)
[Mesa-libGL-devel]
-------------------------------------------------------------------
Thu Jul 31 16:16:35 UTC 2014 - dimstar@opensuse.org
- Rename rpmlintrc to %{name}-rpmlintrc.
Follow the packaging guidelines.
-------------------------------------------------------------------
Wed Jul 16 16:16:26 UTC 2014 - jengelh@inai.de
- Remove the mechanism to support different variants, as it does
not support concurrent presence of multiple variants.
- Remove wxWidgets-3_0-config-force-rpath.patch,
wxWidgets-find-wx-provides-bash3.patch (no longer needed)
-------------------------------------------------------------------
Mon Jun 16 19:30:11 UTC 2014 - jengelh@inai.de
- Update to new upstream release 3.0.1
* wxHTML displays tables much faster now.
* Double clicking wxGrid columns does not make them too small
any more.
* Fix bugs when dragging columns in wxGrid with hidden columns.
* Loading ICO files with PNG data is now supported.
* Mouse wheel scrolling in wxListCtrl works again.
* wxStaticBoxSizer contents is not truncated any more.
* AUI panels may now be re-docked after floating them.
- Remove wxWidgets-3_0-fixGTK3-build.patch (no longer needed)
-------------------------------------------------------------------
Wed Jun 11 10:56:19 UTC 2014 - fcrozat@suse.com
- Add _constraints file to ensure enough disk space is available
for build.
-------------------------------------------------------------------
Mon Jun 9 10:57:47 UTC 2014 - jengelh@inai.de
- Revert the GTK3 change (there are rendering problems).
wxWidgets-3_0(-devel) is now wxGTK2 again, and the wxGTK3 backend
is available in wxGTK3(-devel).
-------------------------------------------------------------------
Fri Jun 6 19:44:52 UTC 2014 - jengelh@inai.de
- Continue to provide a wxGTK2 build in parallel to wxGTK3
(new specfile wxGTK2-3_0.spec; use BuildRequire wxGTK2-devel)
- Remove unused wxcontainer and wxcontainer26c subpackage logic
plus spec files
- Let /usr/lib(64)/wx be owned by packages that put files there
-------------------------------------------------------------------
Fri Jun 6 09:11:11 UTC 2014 - fcrozat@suse.com
- Switch build to GTK3 for SLE12 and openSUSE > 13.1
- Add wxWidgets-3_0-fixGTK3-build.patch: fix build with recent GTK3
(from upstream)
- Remove libgnomeprintui dependencies, GTK printing support is now
used.
- Disable gnomevfs support when building GTK3 version.
- Add/fix missing BuildRequires: xorg-x11-libSM-devel,
libnotify-devel.
- Do not build webview on SLE10 and SLE11
-------------------------------------------------------------------
Thu Jun 5 12:54:26 UTC 2014 - jengelh@inai.de
- Use system libraries instead of bundled versions:
libjpeg, libpng, zlib
- Enable use of libSM
-------------------------------------------------------------------
Fri Apr 25 21:53:59 UTC 2014 - jengelh@inai.de
- Remove unused "ansi" configuration: wxWidgets 3 in Unicode mode
supports both char* and wchar_t*.
-------------------------------------------------------------------
Tue Mar 11 09:48:36 UTC 2014 - jengelh@inai.de
- Exclude libwx_webview from SLE11 build
-------------------------------------------------------------------
Mon Feb 17 14:21:18 UTC 2014 - seiler@b1-systems.de
- added baselibs.conf to provide *-32bit packages
-------------------------------------------------------------------
Fri Feb 7 18:42:38 UTC 2014 - jengelh@inai.de
- Remove seemingly pointless patch wxGTK-enable-wxrc.patch.
wxrc is built and installed in any case.
-------------------------------------------------------------------
Thu Jan 30 13:57:06 UTC 2014 - jengelh@inai.de
- Patches wxGTK-enable-wxrc.patch,
wxWidgets-3_0-config-force-rpath.patch,
wxWidgets-find-wx-provides-bash3.patch were inherited from
wxWidgets-2_8 package but never mentioned in any package.
Here is a mention.
-------------------------------------------------------------------
Thu Nov 14 05:56:09 UTC 2013 - jengelh@inai.de
- Update to new upstream release 3.0.0
* wxWidgets is now always built with Unicode support but provides
the same simple (i.e. "char *"-tolerant) API as was available
in ANSI build in the past.
* wxWidgets may now use either wchar_t (UTF-16/32) or UTF-8
internally, depending on what is optimal for the target
platform.
* New webview library, implementing wxWebView: a wrapper for the
native platform web engine with full support for HTML and
JavaScript.
* New propgrid library containing wxPropertyGrid and related
classes.
* New ribbon library for advanced toolbars.
* Event loops, timers and sockets can now be used in wxBase,
without GUI.
* Events can now be connected to any functor, not necessarily a
method of wxEvtHandler-derived class. The compile-time safety
was also improved.
* Documentation for wxWidgets has been converted from LaTex to
C++ headers with Doxygen comments and significantly improved in
the process (screenshots of various controls were added, more
identifiers are now linked to their definition &c).
* Support for persistent objects automatically saving and
restoring their state was added.
- Drop wxWidgets-to-wxpython-2.9.4.0.patch (merged upstream)
-------------------------------------------------------------------
Thu Aug 22 13:38:01 UTC 2013 - jengelh@inai.de
- Use %_smp_mflags for parallel build and better make install call.
-------------------------------------------------------------------
Thu Apr 11 11:37:23 UTC 2013 - fisiu@opensuse.org
- Build wxWidgets with webview support.
-------------------------------------------------------------------
Thu Oct 25 20:35:35 CEST 2012 - sbrabec@suse.cz
- Provide wxWidgets-3_0*-devel for future compatibility.
- Add "API version" in %description.
- Backported fixes from 2.8 branch.
- Included post-release fixes from wxpython.
-------------------------------------------------------------------
Thu Sep 20 08:42:17 UTC 2012 - coolo@suse.com
- add explicit buildrequire on pkgconfig(glu)
-------------------------------------------------------------------
Mon Jul 23 16:18:10 CEST 2012 - sbrabec@suse.cz
- Fixed wx-config symlink (bnc#772528).
-------------------------------------------------------------------
Thu Jul 19 17:21:47 CEST 2012 - sbrabec@suse.cz
- Update to version 2.9.4.
-------------------------------------------------------------------
Fri Apr 27 18:37:40 CEST 2012 - sbrabec@suse.cz
- Backported fixes of the dependency generator from 2.8 branch
(bnc#757124, bnc#759287#c3).
-------------------------------------------------------------------
Thu Apr 19 17:08:50 CEST 2012 - sbrabec@suse.cz
- Added support for Fedora compatible 24c variants (bnc#660438).
- Change name of compat-lib-config virtual provide to not clash
with package name, fix requires/provides generator (bnc#757124).
-------------------------------------------------------------------
Mon Apr 2 16:21:37 CEST 2012 - sbrabec@suse.cz
- Update to version 2.9.3.
-------------------------------------------------------------------
Wed Dec 21 13:55:09 UTC 2011 - coolo@suse.com
- own aclocal directory, there is no other reason to buildrequire
automake
-------------------------------------------------------------------
Mon Oct 17 09:11:21 UTC 2011 - coolo@suse.com
- fix whitespace of spec file
-------------------------------------------------------------------
Wed Aug 3 17:33:36 CEST 2011 - sbrabec@suse.cz
- Updated to version 2.9.2.
-------------------------------------------------------------------
Tue Jul 26 08:01:48 UTC 2011 - aj@suse.de
- Recommend instead of require lang package.
-------------------------------------------------------------------
Tue May 17 20:24:51 CEST 2011 - sbrabec@suse.cz
- Create synthetic .la files to work-around libtool failures when
linking third level libraries or binaries (bnc#690952).
-------------------------------------------------------------------
Fri Apr 8 14:27:33 CEST 2011 - sbrabec@suse.cz
- Do not use bash coproc on system with bash-3.
-------------------------------------------------------------------
Tue Mar 29 19:35:10 CEST 2011 - sbrabec@suse.cz
- Fixed find-wx-requires to check directories instead of library
name. Provide find-wx-provides. (bnc#681409)
-------------------------------------------------------------------
Thu Dec 23 19:29:12 CET 2010 - sbrabec@suse.cz
- Updated to version 2.9.1.
- Rename package to wxWidgets to follow upstream base name.
- Split wxPython documentation to a separate package.
- Build Unicode/ANSI, standard/debug and STL/wx container versions
separately.
- Spec file completely rewritten.
-------------------------------------------------------------------
Sun Aug 15 00:15:52 UTC 2010 - termim@gmail.com
- Updated to version 2.8.11.0
Adds Python 2.7 builds, PySlices, new pubsub implementation,
lots of updates to AGW, and lots of bugs fixed.
- Removed wxGTK-GSocket-clash.patch and wxGTK-editra-ebmlib.patch
as already fixed.
-------------------------------------------------------------------
Tue Jun 15 16:15:11 CEST 2010 - sbrabec@suse.cz
- Added --enable-graphics_ctx to fix Editra (bnc#580060).
- Added ebmlib file required by Editra (bnc#580060,
patch from Salix).
-------------------------------------------------------------------
Mon Feb 22 14:58:36 UTC 2010 - crrodriguez@opensuse.org
- build with PIC
-------------------------------------------------------------------
Thu Jan 28 17:17:47 CET 2010 - sbrabec@suse.cz
- Enabled media libraries (bnc#565039).
-------------------------------------------------------------------
Fri Sep 25 17:53:00 CEST 2009 - sbrabec@suse.cz
- Disabled STL (bnc#530027). See also
http://lists.opensuse.org/opensuse-factory/2009-09/msg00386.html
- Removed obsolete RPATH.
- The GSocket symbol clash fix replaced by the upstream one.
-------------------------------------------------------------------
Thu Sep 17 18:33:20 CEST 2009 - matejcik@suse.cz
- fixed pth file to point to platlib
-------------------------------------------------------------------
Sat Sep 5 11:52:46 CEST 2009 - sbrabec@suse.cz
- Fixed for the latest python package.
-------------------------------------------------------------------
Fri Aug 7 16:51:39 CEST 2009 - sbrabec@suse.cz
- Updated to version 2.8.10.1:
* Incompatible change in wxTreeCtrl behaviour!
* Added several functions forward compatible with wxWidgets 3.0.
* Add wxBU_EXACTFIT support to wxToggleButton XRC handler.
* wxHashMap::insert() doesn't update the value if it didn't
insert the element any more.
* Correct bug in wxTimeSpan::Format() for negative spans.
* Correct several bugs in wxList using end() iterators.
* Translation updates.
* Fix wxURL::GetInputStream() for URLs with special characters in
credentials.
* Fix wxURI::GetUser() for URIs without password.
* Correct wxDateTime DST computation for 2006 and later.
* wxRTC: fixed a problem with HTML list generation.
* wxRTC: no longer deletes a character when content is selected
before pressing Delete.
* wxRTC: fixed inability to select no superscript and no
subscript in formatting dialog.
* wxRTC: fixed centering and right-justification when combined
with left indentation.
* wxRTC: fixed lack of right margin when centering or
right-justifying.
* wxRTC: fixed wrong descent when wrapping lines with different
font sizes.
* wxRTC: fixed wrapping problem for long lines.
* wxRTC: all buffer margins now respected.
* wxRTC: Added wxRE_CENTRE_CARET to centre the caret line
vertically.
* Fixed wxHTML's pagebreaks computation in tables.
* Fixed wxHtmlWindow::SelectionToText() to correctly insert
newlines after single-cell paragraphs.
* Fixed wxHTML's line breaks handling in <pre> blocks.
* wxHTML: don't include extra whitespace in table cells.
* Implemented wxWindow::DragAcceptFiles() on all platforms.
* Added wxAUI_MGR_LIVE_RESIZE flag to wxAuiManager.
* Use bitmap mask in wxSplashScreen.
* Translate "(c)" and "(C)" to the real copyright sign in
wxAboutBox.
* Fix painting of highlight border for merged cells in wxGrid.
* Fix handling of long lines in wxGridCellAutoWrapStringRenderer.
* Return false from wxSingleInstanceChecker::IsAnotherRunning()
if an error occurred while opening or reading the lock file.
* Fixed printing to use fonts sizes adjustment consistent with
wxMSW.
* Make colours used by list, tree and status bar controls more
consistent with the system theme settings.
* Worked around bug in GTK+ < 2.14 where enabling some controls
such as wxButton didn't re-enable sensitivity until the mouse
was moved.
-------------------------------------------------------------------
Thu Jun 18 19:16:27 CEST 2009 - sbrabec@suse.cz
- Worked-around GSocket name conflict with GIO.
-------------------------------------------------------------------
Tue Feb 17 17:29:57 CET 2009 - crrodriguez@suse.de
- build require libexpat-devel so we dont use the bundled one
-------------------------------------------------------------------
Wed Feb 4 13:58:35 CET 2009 - pth@suse.de
- Disable the use of precompiled headers as the way wxWidgets uses
them is not supported by current GCC.
-------------------------------------------------------------------
Tue Feb 3 13:03:20 CET 2009 - pth@suse.de
- Update to 2.8.9.1:
* Optimize wxString::Replace() for single character arguments.
* Updated Hindi translation.
* Use tr1::unordered_{map,set} for wxHash{Map,Set} implementation if available
in STL build; in particular do not use deprecated hash_{map,set} which
results in a lot of warnings from newer g++.
* Added support for reading alpha channel in BMP format.
* Fixed help viewer bug whereby the splitter sash in wxHtmlHelpWindow could
go underneath the left-hand pane, permanently, after resizing the
help window.
* Fixed wxHTML default font size for printing to be 12pt regardless of the
platform, instead of depending on GUI toolkit's screen configuration.
* Support wxDP_ALLOWNONE style in generic wxDatePickerCtrl version.
* Set wxKeyEvent::m_uniChar correctly in the events generated by generic
wxListCtrl.
* Fix changing size of merged cells in wxGrid.
* Fixed wrapping bug in wxRichTextCtrl when there were images present;
now sets the cursor to the next line after pressing Shift+Enter.
* Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
* Fix crash when reading malformed PCX images.
* Fix bug with wrong transparency in GIF animations.
* Store palette information for XPM images in wxImage.
* Fixed selection bugs and auto list numbering in wxRichTextCtrl.
* Significantly optimize wxGrid::BlockToDeviceRect() for large grids.
* Introduced new wxAuiToolBar class for better integration and look-and-feel.
* Fix a crash in wxAuiFrameManager when Update() was called in between mouse-up
and mouse-down events
* wxAUI: added various NULL-ptr asserts.
* Fixed problem with Floatable(false) not working in wxAuiFrameManager.
* Fixed maximize bug in wxAUI.
* Allow period in link anchors in wxHTML.
* Fixed memory corruption in wxHTML when parsing "&;" in the markup.
* Fixed event type in EVT_GRID_CMD_COL_MOVE and EVT_GRID_COL_MOVE.
* wxGrid doesn't steal focus when hiding editor any more.
* MIME types reading fixed when running under GNOME, reading .desktop
files and also the default application list.
* Added filesys.no-mimetypesmanager system option so that applications that
must load an XRC file at program startup don't have to incur the
mime types manager initialization penalty.
* Fixed masking of disabled bitmaps in wxMenuItem and wxStaticBitmap.
* Fixed generation of events for an initially empty wxDirPickerCtrl.
* Fixed detection of Meta key state so that NumLock isn't misdetected
as Meta (requires GTK+ 2.10).
* Fix changing font/colour of label in buttons with images.
- Make funtion return a value.
-------------------------------------------------------------------
Wed Sep 3 17:38:50 CEST 2008 - sbrabec@suse.cz
- Updated to version 2.8.8.1:
* many API-compatible fixes and improvements, see
docs/changes.txt for complete list
-------------------------------------------------------------------
Mon Sep 1 15:16:05 CEST 2008 - sbrabec@suse.cz
- Dropped obsolete ODBC support (bnc#397044).
-------------------------------------------------------------------
Fri May 2 12:36:23 CEST 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 15:19:40 CET 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 15:54:24 CEST 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 11:35:14 CEST 2007 - prusnak@suse.cz
- corrected last patch (gtk_border_free.patch) [#294693]
-------------------------------------------------------------------
Wed Sep 5 11:22:52 CEST 2007 - bwalle@suse.de
- fix crash on startup on x86_64 (#294693)
-------------------------------------------------------------------
Wed Aug 29 15:26:22 CEST 2007 - prusnak@suse.cz
- pack non-unicode libraries as wxGTK-compat package (again)
- run ldconfig in post/postun scriptlets
-------------------------------------------------------------------
Wed May 23 17:37:12 CEST 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 15:11:38 CET 2007 - pth@suse.de
- Don't hardcode lib64 in .spec file.
- Replace contrib/samples/applet/monitors.c once again (see #203607).
-------------------------------------------------------------------
Thu Mar 1 13:57:40 CET 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 15:37:59 CET 2006 - sbrabec@suse.cz
- Source code cleanup (#226403).
-------------------------------------------------------------------
Tue Sep 5 16:56:14 CEST 2006 - sbrabec@suse.cz
- Repackaged without undistributable monitors.c (#203607).
-------------------------------------------------------------------
Mon Aug 7 17:08:36 CEST 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 16:20:55 CEST 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 14:04:51 CEST 2006 - mmarek@suse.cz
- fix array subscript out of range in src/common/db.cpp
-------------------------------------------------------------------
Thu Mar 9 18:23:47 CET 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 16:46:04 CET 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
-------------------------------------------------------------------
Wed Feb 22 13:36:24 CET 2006 - sbrabec@suse.cz
- Moved pywxrc to python-wxGTK (Andreas Hanke, #152573).
-------------------------------------------------------------------
Sun Feb 19 17:51:18 CET 2006 - aj@suse.de
- Reduce BuildRequires.
-------------------------------------------------------------------
Wed Jan 25 21:42:54 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Jan 20 15:17:47 CET 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 19:49:40 CET 2006 - sbrabec@suse.cz
- Updated to version 2.6.2.1.
-------------------------------------------------------------------
Mon Sep 19 17:40:25 CEST 2005 - sbrabec@suse.cz
- Force re-creating the old lex code in doslex.c.
-------------------------------------------------------------------
Fri Aug 19 16:01:57 CEST 2005 - sbrabec@suse.cz
- Removed references to no more provided PangoRenderX calls.
-------------------------------------------------------------------
Mon Aug 1 18:11:20 CEST 2005 - sbrabec@suse.cz
- Updated to version 2.6.1.0.
-------------------------------------------------------------------
Sat May 14 12:21:23 CEST 2005 - schwab@suse.de
- Fix undefined operation.
-------------------------------------------------------------------
Wed Apr 27 16:39:04 CEST 2005 - mcihar@suse.cz
- update to 2.6.0.0
-------------------------------------------------------------------
Fri Apr 15 14:50:44 CEST 2005 - mcihar@suse.de
- build with system libtiff
- enabled SDL and sound support
-------------------------------------------------------------------
Wed Apr 13 17:18:22 CEST 2005 - mcihar@suse.cz
- fix filelist
- fix build on 64-bit machines
-------------------------------------------------------------------
Tue Apr 12 19:15:16 CEST 2005 - mcihar@suse.cz
- disable SDL support, it seems to be broken in this version
-------------------------------------------------------------------
Tue Apr 12 17:21:49 CEST 2005 - mcihar@suse.cz
- update to 2.5.5.1
-------------------------------------------------------------------
Fri Feb 4 19:02:20 CET 2005 - tiwai@suse.de
- fixed the confliction of ATTRIBUTE_PRINTF* macros.
-------------------------------------------------------------------
Wed Dec 22 15:38:30 CET 2004 - mcihar@suse.cz
- fix python-wxGTK requires
-------------------------------------------------------------------
Fri Nov 19 12:31:21 CET 2004 - mcihar@suse.cz
- update to 2.5.3.1
-------------------------------------------------------------------
Wed Oct 20 19:34:23 CEST 2004 - mcihar@suse.cz
- fixed file conflict between python-wxGTK and wxGTK-devel
-------------------------------------------------------------------
Fri Sep 17 15:21:08 CEST 2004 - mcihar@suse.cz
- really build wxPython version against unicode wxGTK (bug #45539)
-------------------------------------------------------------------
Tue Aug 31 15:57:44 CEST 2004 - mcihar@suse.cz
- update to 2.5.2.8
-------------------------------------------------------------------
Mon Aug 16 18:36:53 CEST 2004 - mcihar@suse.cz
- update to 2.5.2.7
-------------------------------------------------------------------
Fri Jul 30 10:32:13 CEST 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 02 12:23:24 CEST 2004 - mcihar@suse.cz
- add missing wxPython licenses
-------------------------------------------------------------------
Thu Apr 22 12:06:31 CEST 2004 - mcihar@suse.cz
- ${prefix} was intentional
-------------------------------------------------------------------
Wed Apr 21 15:27:49 CEST 2004 - mcihar@suse.cz
- correct libdir on lib64
-------------------------------------------------------------------
Tue Apr 20 14:46:39 CEST 2004 - mcihar@suse.cz
- solved conflict between wxGTK-devel and python-wxGTK
-------------------------------------------------------------------
Wed Apr 14 15:38:40 CEST 2004 - mcihar@suse.cz
- moved sound_sdl-2.5.1.so from devel package
-------------------------------------------------------------------
Wed Apr 14 11:44:58 CEST 2004 - mcihar@suse.cz
- build with -fPIC
- add libmspack support (enables access to MS HTML help files - *.chm)
-------------------------------------------------------------------
Tue Apr 13 17:44:56 CEST 2004 - mcihar@suse.cz
- update to 2.5.1.5
- enable unicode support
- enabled build of contrib libraries
-------------------------------------------------------------------
Thu Mar 18 09:26:59 CET 2004 - mcihar@suse.cz
- make files in bin executable (bug #36331)
-------------------------------------------------------------------
Fri Mar 05 09:43:25 CET 2004 - mcihar@suse.cz
- little spec file cleanup, debug build can be enabled
-------------------------------------------------------------------
Wed Mar 3 18:11:38 CET 2004 - tiwai@suse.de
- fixed wxwin.m4 for the recent autoconf.
- moved wxwin.m4 to devel subpackage.
-------------------------------------------------------------------
Tue Jan 13 16:41:53 CET 2004 - mcihar@suse.cz
- enabled build with GTK 2
-------------------------------------------------------------------
Thu Oct 16 16:54:22 CEST 2003 - mcihar@suse.cz
- do not build as root
- remove orig and rej files that should not be installed
-------------------------------------------------------------------
Wed Oct 15 13:35:24 CEST 2003 - mcihar@suse.cz
- update to 2.4.2.4
-------------------------------------------------------------------
Fri Aug 29 18:40:00 CEST 2003 - tiwai@suse.de
- fixed the segfault on 64bit architectures.
-------------------------------------------------------------------
Sat Aug 23 18:37:04 CEST 2003 - ro@suse.de
- fix build on lib64
-------------------------------------------------------------------
Wed Aug 20 18:54:38 CEST 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 15:37:58 CEST 2003 - adrian@suse.de
- update to version 2.4.1
- add %run_ldconfig
-------------------------------------------------------------------
Tue May 13 16:39:09 CEST 2003 - mmj@suse.de
- Package forgotten files
-------------------------------------------------------------------
Tue Mar 4 11:21:34 CET 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 10:03:50 CET 2003 - hhetter@suse.de
- devel package requires gtk-devel (Bug Id#22479)
-------------------------------------------------------------------
Mon Feb 17 11:48:02 CET 2003 - hhetter@suse.de
- package gl-header files too ( Bug Id#23094 )
-------------------------------------------------------------------
Wed Jan 22 16:13:32 CET 2003 - meissner@suse.de
- Fixed for lib64 platforms.
-------------------------------------------------------------------
Tue Jan 14 10:33:22 CET 2003 - hhetter@suse.de
- updated to version 2.4.0
- updated documentation to 2.4.0 revision
- remove all outdated patches
-------------------------------------------------------------------
Tue Nov 12 16:30:54 CET 2002 - tcrhak@suse.cz
- fixed for bison 1.75: end rules with semicolons
-------------------------------------------------------------------
Mon Aug 12 12:45:30 MEST 2002 - garloff@suse.de
- Fix multiple delete[] in wxHtmlTagsModule::OnExit().
-------------------------------------------------------------------
Fri Jul 26 23:14:16 CEST 2002 - adrian@suse.de
- fix neededforbuild
-------------------------------------------------------------------
Wed May 1 15:48:59 CEST 2002 - kukuk@suse.de
- Remove superfluous libmpeg from neededforbuild
-------------------------------------------------------------------
Fri Apr 26 16:40:37 CEST 2002 - coolo@suse.de
- use %_libdir
-------------------------------------------------------------------
Mon Apr 15 19:20:13 CEST 2002 - tiwai@suse.de
- fixed build with gcc 3.1.
-------------------------------------------------------------------
Tue Feb 19 14:23:36 CET 2002 - hhetter@suse.de
- applied the real patch for the wxgtk-mutex performance problem
-------------------------------------------------------------------
Fri Feb 15 08:39:08 CET 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 00:26:05 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Thu Jan 24 16:43:14 CET 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 01:59:29 CEST 2001 - mfabian@suse.de
- bzip2 source
-------------------------------------------------------------------
Fri Mar 30 16:09:21 CEST 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 08:42:40 CET 2001 - hhetter@suse.de
- Update to 2.2.4
-------------------------------------------------------------------
Sat Dec 9 06:10:12 CET 2000 - mfabian@suse.de
- Add /usr/X11R6/bin/wxgtk-config to filelist
-------------------------------------------------------------------
Mon Nov 6 00:07:29 CET 2000 - ro@suse.de
- fixed neededforbuild
-------------------------------------------------------------------
Fri Jun 9 08:40:03 CEST 2000 - ro@suse.de
- up to 2.1.16
-------------------------------------------------------------------
Mon Feb 21 19:13:50 CET 2000 - uli@suse.de
- now builds with RPM_OPT_FLAGS
-------------------------------------------------------------------
Mon Feb 21 08:15:21 CET 2000 - ro@suse.de
- update to 2.1.13
- use suse_update_config macro
- patch to compile with newest gtk
-------------------------------------------------------------------
Fri Jan 14 16:08:20 MET 2000 - freitag@suse.de
- update to 2.1.12, URL, doc in seperate tarball
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Thu Aug 19 16:24:47 MEST 1999 - kukuk@suse.de
- Add /usr/X11R6/bin/wx-config to filelist
-------------------------------------------------------------------
Tue Jul 13 12:42:22 MEST 1999 - bs@suse.de
- use gtk and glib instead of gtkn and glibn
-------------------------------------------------------------------
Mon May 31 14:00:45 MEST 1999 - ray@suse.de
- new package

370
wxGTK3-3_2.spec Normal file
View File

@ -0,0 +1,370 @@
#
# spec file for package wxGTK3-3_2
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: wxGTK3-3_2
%define base_name wxWidgets
%define tarball_name wxWidgets
Version: 3.1.0~svn78217
Release: 0
%define wx_minor %(echo "%version" | perl -pe 's{^(\d+\.\d+).*}{$1}')
%define wx_micro %(echo "%version" | perl -pe 's{^(\d+\.\d+\.\d+).*}{$1}')
# lang packages are exactly equal for all variants. Build it only once:
%if "%name" == "%base_name"
%define BUILD_LANG 1
%else
%define BUILD_LANG 0
%endif
Summary: C++ Library for Cross-Platform Development
License: GPL-2.0+
Group: Development/Libraries/C and C++
URL: http://www.wxwidgets.org/
Source: %tarball_name-%version.tar.xz
Source2: README.SUSE
Source5: rpmlintrc
# This script is not used during build, but it makes possible to
# identify and backport wxPython fixes to wxWidgets.
Source6: wxpython-mkdiff.sh
Source50: baselibs.conf
Patch1: soversion.diff
Patch2: wxqt-compile.diff
BuildRoot: %_tmppath/%name-%version-build
BuildRequires: SDL-devel
BuildRequires: autoconf
BuildRequires: cppunit-devel
BuildRequires: gcc-c++
BuildRequires: gstreamer-0_10-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
%if 0%{?suse_version} >= 1220
BuildRequires: libSM-devel
%else
%if 0%{?sles_version} >= 11
BuildRequires: xorg-x11-libSM-devel
%endif
%endif
BuildRequires: libexpat-devel
BuildRequires: libjpeg-devel
BuildRequires: libmspack-devel
BuildRequires: libnotify-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: zlib-devel
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(webkitgtk-3.0)
BuildRequires: xz
%define gtk_version 3
%description
wxWidgets is a free C++ library for cross-platform GUI.
With wxWidgets, you can create applications for different GUIs (GTK+,
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
%package -n libwx_gtk%{gtk_version}u_adv-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_adv-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_aui-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_aui-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_core-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_core-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_gl-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_gl-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_html-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_html-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_media-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_media-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_propgrid-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_propgrid-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_qa-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_qa-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_ribbon-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_ribbon-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_richtext-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_richtext-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_stc-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_stc-suse2
Library for the wxWidgets cross-platform GUI.
%if 0%{?suse_version} > 1110
%package -n libwx_gtk%{gtk_version}u_webview-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_webview-suse2
Library for the wxWidgets cross-platform GUI.
%endif
%package -n libwx_gtk%{gtk_version}u_xrc-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_xrc-suse2
Library for the wxWidgets cross-platform GUI.
%package devel
Summary: Everything needed for development with wxWidgets
Group: Development/Libraries/C and C++
Requires: gtk%gtk_version-devel
Requires: libwx_baseu-suse2 = %version
Requires: libwx_baseu_net-suse2 = %version
Requires: libwx_baseu_xml-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_adv-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_aui-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_core-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_gl-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_html-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_media-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_propgrid-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_qa-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_ribbon-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_richtext-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_stc-suse2 = %version
Requires: pkgconfig(gl)
%if 0%{?suse_version} > 1110
Requires: libwx_gtk%{gtk_version}u_webview-suse2 = %version
%endif
Requires: libwx_gtk%{gtk_version}u_xrc-suse2 = %version
Requires: pkgconfig(glu)
#not fit for general use yet#Provides: wxWidgets-devel = %version-%release
Conflicts: otherproviders(wxWidgets-devel)
Provides: wxGTK3-devel = %version-%release
%description devel
wxWidgets is a free C++ library for cross-platform GUI development.
With wxWidgets, you can create applications for different GUIs (GTK+,
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
This package contains all files needed for developing with wxGTK3.
Note: wxWidgets variant devel packages are mutually exclusive. Please
read %_docdir/%name/README.SUSE to pick a correct variant.
%if %BUILD_LANG
%lang_package -n %base_name
%endif
%prep
echo "=== RPM build flags: WX_DEBUG=0%{?WX_DEBUG}"
%setup -q -n %tarball_name-%version
%patch -P 1 -p1
cp %{S:2} .
%build
autoconf -f -i
# NOTE: gnome-vfs is deprecated. Disabled for GTK3 build
#
# With 2.9.1:
# --enable-objc_uniquifying is relevant only for Cocoa
# --enable-accessibility is currently supported only in msw
# --enable-extended_rtti does not compile
%configure\
--enable-vendor=suse \
--with-gtk=%gtk_version\
--disable-static\
--enable-unicode\
--with-opengl\
--with-libmspack\
--with-sdl\
--enable-ipv6\
--enable-mediactrl\
--enable-optimise\
%if 0%{?WX_DEBUG}
--enable-debug\
%else
--disable-debug\
%endif
--enable-stl\
--enable-plugins
make %{?_smp_mflags}
%if %BUILD_LANG
cd locale
make allmo
cd ..
%endif
%install
make install DESTDIR="%buildroot"
# Drop libraries already supplied by another packages
rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-suse.so.2* \
"%buildroot/%_libdir/wx/%wx_minor"/sound_sdlu-*.so
%if %BUILD_LANG
# Locales for MS Windows:
rm -Rf %buildroot/%_datadir/locale/*/LC_MESSAGES/wxmsw.mo
%find_lang wxstd
%else
rm -Rf %buildroot/%_datadir/locale
%endif
# HACK: Fix wx-config symlink (bug introduced in 2.9.4).
ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config
%post -n libwx_gtk%{gtk_version}u_adv-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_adv-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_aui-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_aui-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_core-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_core-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_gl-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_gl-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_html-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_html-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_media-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_media-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_propgrid-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_propgrid-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_qa-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_qa-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_ribbon-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_ribbon-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_richtext-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_richtext-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_stc-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_stc-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_webview-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_webview-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_xrc-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_xrc-suse2 -p /sbin/ldconfig
%if %BUILD_LANG
%files lang -f wxstd.lang
%endif
%files -n libwx_gtk%{gtk_version}u_adv-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_adv-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_aui-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_aui-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_core-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_core-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_gl-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_gl-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_html-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_html-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_media-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_media-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_propgrid-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_propgrid-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_qa-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_qa-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_ribbon-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_ribbon-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_richtext-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_richtext-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_stc-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_stc-suse.so.2*
%if 0%{?suse_version} > 1110
%files -n libwx_gtk%{gtk_version}u_webview-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_webview-suse.so.2*
%endif
%files -n libwx_gtk%{gtk_version}u_xrc-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_xrc-suse.so.2*
%files devel
%defattr (-,root,root)
# Complete documentation is available in the docs packages.
%doc docs/*.txt README.SUSE
%_bindir/wxrc
%_bindir/wxrc-%wx_minor
%_bindir/*-config*
%_datadir/aclocal
%_datadir/bakefile
%_includedir/wx-%wx_minor
%_libdir/*.so
%dir %_libdir/wx
%_libdir/wx/config
%_libdir/wx/include
%changelog

944
wxQt-3_2.changes Normal file
View File

@ -0,0 +1,944 @@
-------------------------------------------------------------------
Fri Nov 7 09:05:48 UTC 2014 - jengelh@inai.de
- Update to new upstream release 3.0.2
* Fix silent data loss in wx[F]File::Write(wxString) if conversion
fails.
* Make wxString::FromCDouble() work when the global C++ locale is
not the C one.
* Fix mouse handling in wxNotebook containing wxListCtrl.
- Bump SONAME due to changed ABI, add soversion.diff.
- Don't let wxGTK3-3_0.spec build the SDL plugin (already done
by wxWidgets-3_0.spec)
-------------------------------------------------------------------
Thu Nov 6 13:35:08 UTC 2014 - jengelh@inai.de
- Restore libwx_base*.so devel symlinks [boo#904098]
-------------------------------------------------------------------
Wed Nov 5 09:51:01 UTC 2014 - jengelh@inai.de
- Replace broad Requires: Mesa-devel by pkgconfig(gl)
[Mesa-libGL-devel]
-------------------------------------------------------------------
Thu Jul 31 16:16:35 UTC 2014 - dimstar@opensuse.org
- Rename rpmlintrc to %{name}-rpmlintrc.
Follow the packaging guidelines.
-------------------------------------------------------------------
Wed Jul 16 16:16:26 UTC 2014 - jengelh@inai.de
- Remove the mechanism to support different variants, as it does
not support concurrent presence of multiple variants.
- Remove wxWidgets-3_0-config-force-rpath.patch,
wxWidgets-find-wx-provides-bash3.patch (no longer needed)
-------------------------------------------------------------------
Mon Jun 16 19:30:11 UTC 2014 - jengelh@inai.de
- Update to new upstream release 3.0.1
* wxHTML displays tables much faster now.
* Double clicking wxGrid columns does not make them too small
any more.
* Fix bugs when dragging columns in wxGrid with hidden columns.
* Loading ICO files with PNG data is now supported.
* Mouse wheel scrolling in wxListCtrl works again.
* wxStaticBoxSizer contents is not truncated any more.
* AUI panels may now be re-docked after floating them.
- Remove wxWidgets-3_0-fixGTK3-build.patch (no longer needed)
-------------------------------------------------------------------
Wed Jun 11 10:56:19 UTC 2014 - fcrozat@suse.com
- Add _constraints file to ensure enough disk space is available
for build.
-------------------------------------------------------------------
Mon Jun 9 10:57:47 UTC 2014 - jengelh@inai.de
- Revert the GTK3 change (there are rendering problems).
wxWidgets-3_0(-devel) is now wxGTK2 again, and the wxGTK3 backend
is available in wxGTK3(-devel).
-------------------------------------------------------------------
Fri Jun 6 19:44:52 UTC 2014 - jengelh@inai.de
- Continue to provide a wxGTK2 build in parallel to wxGTK3
(new specfile wxGTK2-3_0.spec; use BuildRequire wxGTK2-devel)
- Remove unused wxcontainer and wxcontainer26c subpackage logic
plus spec files
- Let /usr/lib(64)/wx be owned by packages that put files there
-------------------------------------------------------------------
Fri Jun 6 09:11:11 UTC 2014 - fcrozat@suse.com
- Switch build to GTK3 for SLE12 and openSUSE > 13.1
- Add wxWidgets-3_0-fixGTK3-build.patch: fix build with recent GTK3
(from upstream)
- Remove libgnomeprintui dependencies, GTK printing support is now
used.
- Disable gnomevfs support when building GTK3 version.
- Add/fix missing BuildRequires: xorg-x11-libSM-devel,
libnotify-devel.
- Do not build webview on SLE10 and SLE11
-------------------------------------------------------------------
Thu Jun 5 12:54:26 UTC 2014 - jengelh@inai.de
- Use system libraries instead of bundled versions:
libjpeg, libpng, zlib
- Enable use of libSM
-------------------------------------------------------------------
Fri Apr 25 21:53:59 UTC 2014 - jengelh@inai.de
- Remove unused "ansi" configuration: wxWidgets 3 in Unicode mode
supports both char* and wchar_t*.
-------------------------------------------------------------------
Tue Mar 11 09:48:36 UTC 2014 - jengelh@inai.de
- Exclude libwx_webview from SLE11 build
-------------------------------------------------------------------
Mon Feb 17 14:21:18 UTC 2014 - seiler@b1-systems.de
- added baselibs.conf to provide *-32bit packages
-------------------------------------------------------------------
Fri Feb 7 18:42:38 UTC 2014 - jengelh@inai.de
- Remove seemingly pointless patch wxGTK-enable-wxrc.patch.
wxrc is built and installed in any case.
-------------------------------------------------------------------
Thu Jan 30 13:57:06 UTC 2014 - jengelh@inai.de
- Patches wxGTK-enable-wxrc.patch,
wxWidgets-3_0-config-force-rpath.patch,
wxWidgets-find-wx-provides-bash3.patch were inherited from
wxWidgets-2_8 package but never mentioned in any package.
Here is a mention.
-------------------------------------------------------------------
Thu Nov 14 05:56:09 UTC 2013 - jengelh@inai.de
- Update to new upstream release 3.0.0
* wxWidgets is now always built with Unicode support but provides
the same simple (i.e. "char *"-tolerant) API as was available
in ANSI build in the past.
* wxWidgets may now use either wchar_t (UTF-16/32) or UTF-8
internally, depending on what is optimal for the target
platform.
* New webview library, implementing wxWebView: a wrapper for the
native platform web engine with full support for HTML and
JavaScript.
* New propgrid library containing wxPropertyGrid and related
classes.
* New ribbon library for advanced toolbars.
* Event loops, timers and sockets can now be used in wxBase,
without GUI.
* Events can now be connected to any functor, not necessarily a
method of wxEvtHandler-derived class. The compile-time safety
was also improved.
* Documentation for wxWidgets has been converted from LaTex to
C++ headers with Doxygen comments and significantly improved in
the process (screenshots of various controls were added, more
identifiers are now linked to their definition &c).
* Support for persistent objects automatically saving and
restoring their state was added.
- Drop wxWidgets-to-wxpython-2.9.4.0.patch (merged upstream)
-------------------------------------------------------------------
Thu Aug 22 13:38:01 UTC 2013 - jengelh@inai.de
- Use %_smp_mflags for parallel build and better make install call.
-------------------------------------------------------------------
Thu Apr 11 11:37:23 UTC 2013 - fisiu@opensuse.org
- Build wxWidgets with webview support.
-------------------------------------------------------------------
Thu Oct 25 20:35:35 CEST 2012 - sbrabec@suse.cz
- Provide wxWidgets-3_0*-devel for future compatibility.
- Add "API version" in %description.
- Backported fixes from 2.8 branch.
- Included post-release fixes from wxpython.
-------------------------------------------------------------------
Thu Sep 20 08:42:17 UTC 2012 - coolo@suse.com
- add explicit buildrequire on pkgconfig(glu)
-------------------------------------------------------------------
Mon Jul 23 16:18:10 CEST 2012 - sbrabec@suse.cz
- Fixed wx-config symlink (bnc#772528).
-------------------------------------------------------------------
Thu Jul 19 17:21:47 CEST 2012 - sbrabec@suse.cz
- Update to version 2.9.4.
-------------------------------------------------------------------
Fri Apr 27 18:37:40 CEST 2012 - sbrabec@suse.cz
- Backported fixes of the dependency generator from 2.8 branch
(bnc#757124, bnc#759287#c3).
-------------------------------------------------------------------
Thu Apr 19 17:08:50 CEST 2012 - sbrabec@suse.cz
- Added support for Fedora compatible 24c variants (bnc#660438).
- Change name of compat-lib-config virtual provide to not clash
with package name, fix requires/provides generator (bnc#757124).
-------------------------------------------------------------------
Mon Apr 2 16:21:37 CEST 2012 - sbrabec@suse.cz
- Update to version 2.9.3.
-------------------------------------------------------------------
Wed Dec 21 13:55:09 UTC 2011 - coolo@suse.com
- own aclocal directory, there is no other reason to buildrequire
automake
-------------------------------------------------------------------
Mon Oct 17 09:11:21 UTC 2011 - coolo@suse.com
- fix whitespace of spec file
-------------------------------------------------------------------
Wed Aug 3 17:33:36 CEST 2011 - sbrabec@suse.cz
- Updated to version 2.9.2.
-------------------------------------------------------------------
Tue Jul 26 08:01:48 UTC 2011 - aj@suse.de
- Recommend instead of require lang package.
-------------------------------------------------------------------
Tue May 17 20:24:51 CEST 2011 - sbrabec@suse.cz
- Create synthetic .la files to work-around libtool failures when
linking third level libraries or binaries (bnc#690952).
-------------------------------------------------------------------
Fri Apr 8 14:27:33 CEST 2011 - sbrabec@suse.cz
- Do not use bash coproc on system with bash-3.
-------------------------------------------------------------------
Tue Mar 29 19:35:10 CEST 2011 - sbrabec@suse.cz
- Fixed find-wx-requires to check directories instead of library
name. Provide find-wx-provides. (bnc#681409)
-------------------------------------------------------------------
Thu Dec 23 19:29:12 CET 2010 - sbrabec@suse.cz
- Updated to version 2.9.1.
- Rename package to wxWidgets to follow upstream base name.
- Split wxPython documentation to a separate package.
- Build Unicode/ANSI, standard/debug and STL/wx container versions
separately.
- Spec file completely rewritten.
-------------------------------------------------------------------
Sun Aug 15 00:15:52 UTC 2010 - termim@gmail.com
- Updated to version 2.8.11.0
Adds Python 2.7 builds, PySlices, new pubsub implementation,
lots of updates to AGW, and lots of bugs fixed.
- Removed wxGTK-GSocket-clash.patch and wxGTK-editra-ebmlib.patch
as already fixed.
-------------------------------------------------------------------
Tue Jun 15 16:15:11 CEST 2010 - sbrabec@suse.cz
- Added --enable-graphics_ctx to fix Editra (bnc#580060).
- Added ebmlib file required by Editra (bnc#580060,
patch from Salix).
-------------------------------------------------------------------
Mon Feb 22 14:58:36 UTC 2010 - crrodriguez@opensuse.org
- build with PIC
-------------------------------------------------------------------
Thu Jan 28 17:17:47 CET 2010 - sbrabec@suse.cz
- Enabled media libraries (bnc#565039).
-------------------------------------------------------------------
Fri Sep 25 17:53:00 CEST 2009 - sbrabec@suse.cz
- Disabled STL (bnc#530027). See also
http://lists.opensuse.org/opensuse-factory/2009-09/msg00386.html
- Removed obsolete RPATH.
- The GSocket symbol clash fix replaced by the upstream one.
-------------------------------------------------------------------
Thu Sep 17 18:33:20 CEST 2009 - matejcik@suse.cz
- fixed pth file to point to platlib
-------------------------------------------------------------------
Sat Sep 5 11:52:46 CEST 2009 - sbrabec@suse.cz
- Fixed for the latest python package.
-------------------------------------------------------------------
Fri Aug 7 16:51:39 CEST 2009 - sbrabec@suse.cz
- Updated to version 2.8.10.1:
* Incompatible change in wxTreeCtrl behaviour!
* Added several functions forward compatible with wxWidgets 3.0.
* Add wxBU_EXACTFIT support to wxToggleButton XRC handler.
* wxHashMap::insert() doesn't update the value if it didn't
insert the element any more.
* Correct bug in wxTimeSpan::Format() for negative spans.
* Correct several bugs in wxList using end() iterators.
* Translation updates.
* Fix wxURL::GetInputStream() for URLs with special characters in
credentials.
* Fix wxURI::GetUser() for URIs without password.
* Correct wxDateTime DST computation for 2006 and later.
* wxRTC: fixed a problem with HTML list generation.
* wxRTC: no longer deletes a character when content is selected
before pressing Delete.
* wxRTC: fixed inability to select no superscript and no
subscript in formatting dialog.
* wxRTC: fixed centering and right-justification when combined
with left indentation.
* wxRTC: fixed lack of right margin when centering or
right-justifying.
* wxRTC: fixed wrong descent when wrapping lines with different
font sizes.
* wxRTC: fixed wrapping problem for long lines.
* wxRTC: all buffer margins now respected.
* wxRTC: Added wxRE_CENTRE_CARET to centre the caret line
vertically.
* Fixed wxHTML's pagebreaks computation in tables.
* Fixed wxHtmlWindow::SelectionToText() to correctly insert
newlines after single-cell paragraphs.
* Fixed wxHTML's line breaks handling in <pre> blocks.
* wxHTML: don't include extra whitespace in table cells.
* Implemented wxWindow::DragAcceptFiles() on all platforms.
* Added wxAUI_MGR_LIVE_RESIZE flag to wxAuiManager.
* Use bitmap mask in wxSplashScreen.
* Translate "(c)" and "(C)" to the real copyright sign in
wxAboutBox.
* Fix painting of highlight border for merged cells in wxGrid.
* Fix handling of long lines in wxGridCellAutoWrapStringRenderer.
* Return false from wxSingleInstanceChecker::IsAnotherRunning()
if an error occurred while opening or reading the lock file.
* Fixed printing to use fonts sizes adjustment consistent with
wxMSW.
* Make colours used by list, tree and status bar controls more
consistent with the system theme settings.
* Worked around bug in GTK+ < 2.14 where enabling some controls
such as wxButton didn't re-enable sensitivity until the mouse
was moved.
-------------------------------------------------------------------
Thu Jun 18 19:16:27 CEST 2009 - sbrabec@suse.cz
- Worked-around GSocket name conflict with GIO.
-------------------------------------------------------------------
Tue Feb 17 17:29:57 CET 2009 - crrodriguez@suse.de
- build require libexpat-devel so we dont use the bundled one
-------------------------------------------------------------------
Wed Feb 4 13:58:35 CET 2009 - pth@suse.de
- Disable the use of precompiled headers as the way wxWidgets uses
them is not supported by current GCC.
-------------------------------------------------------------------
Tue Feb 3 13:03:20 CET 2009 - pth@suse.de
- Update to 2.8.9.1:
* Optimize wxString::Replace() for single character arguments.
* Updated Hindi translation.
* Use tr1::unordered_{map,set} for wxHash{Map,Set} implementation if available
in STL build; in particular do not use deprecated hash_{map,set} which
results in a lot of warnings from newer g++.
* Added support for reading alpha channel in BMP format.
* Fixed help viewer bug whereby the splitter sash in wxHtmlHelpWindow could
go underneath the left-hand pane, permanently, after resizing the
help window.
* Fixed wxHTML default font size for printing to be 12pt regardless of the
platform, instead of depending on GUI toolkit's screen configuration.
* Support wxDP_ALLOWNONE style in generic wxDatePickerCtrl version.
* Set wxKeyEvent::m_uniChar correctly in the events generated by generic
wxListCtrl.
* Fix changing size of merged cells in wxGrid.
* Fixed wrapping bug in wxRichTextCtrl when there were images present;
now sets the cursor to the next line after pressing Shift+Enter.
* Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
* Fix crash when reading malformed PCX images.
* Fix bug with wrong transparency in GIF animations.
* Store palette information for XPM images in wxImage.
* Fixed selection bugs and auto list numbering in wxRichTextCtrl.
* Significantly optimize wxGrid::BlockToDeviceRect() for large grids.
* Introduced new wxAuiToolBar class for better integration and look-and-feel.
* Fix a crash in wxAuiFrameManager when Update() was called in between mouse-up
and mouse-down events
* wxAUI: added various NULL-ptr asserts.
* Fixed problem with Floatable(false) not working in wxAuiFrameManager.
* Fixed maximize bug in wxAUI.
* Allow period in link anchors in wxHTML.
* Fixed memory corruption in wxHTML when parsing "&;" in the markup.
* Fixed event type in EVT_GRID_CMD_COL_MOVE and EVT_GRID_COL_MOVE.
* wxGrid doesn't steal focus when hiding editor any more.
* MIME types reading fixed when running under GNOME, reading .desktop
files and also the default application list.
* Added filesys.no-mimetypesmanager system option so that applications that
must load an XRC file at program startup don't have to incur the
mime types manager initialization penalty.
* Fixed masking of disabled bitmaps in wxMenuItem and wxStaticBitmap.
* Fixed generation of events for an initially empty wxDirPickerCtrl.
* Fixed detection of Meta key state so that NumLock isn't misdetected
as Meta (requires GTK+ 2.10).
* Fix changing font/colour of label in buttons with images.
- Make funtion return a value.
-------------------------------------------------------------------
Wed Sep 3 17:38:50 CEST 2008 - sbrabec@suse.cz
- Updated to version 2.8.8.1:
* many API-compatible fixes and improvements, see
docs/changes.txt for complete list
-------------------------------------------------------------------
Mon Sep 1 15:16:05 CEST 2008 - sbrabec@suse.cz
- Dropped obsolete ODBC support (bnc#397044).
-------------------------------------------------------------------
Fri May 2 12:36:23 CEST 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 15:19:40 CET 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 15:54:24 CEST 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 11:35:14 CEST 2007 - prusnak@suse.cz
- corrected last patch (gtk_border_free.patch) [#294693]
-------------------------------------------------------------------
Wed Sep 5 11:22:52 CEST 2007 - bwalle@suse.de
- fix crash on startup on x86_64 (#294693)
-------------------------------------------------------------------
Wed Aug 29 15:26:22 CEST 2007 - prusnak@suse.cz
- pack non-unicode libraries as wxGTK-compat package (again)
- run ldconfig in post/postun scriptlets
-------------------------------------------------------------------
Wed May 23 17:37:12 CEST 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 15:11:38 CET 2007 - pth@suse.de
- Don't hardcode lib64 in .spec file.
- Replace contrib/samples/applet/monitors.c once again (see #203607).
-------------------------------------------------------------------
Thu Mar 1 13:57:40 CET 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 15:37:59 CET 2006 - sbrabec@suse.cz
- Source code cleanup (#226403).
-------------------------------------------------------------------
Tue Sep 5 16:56:14 CEST 2006 - sbrabec@suse.cz
- Repackaged without undistributable monitors.c (#203607).
-------------------------------------------------------------------
Mon Aug 7 17:08:36 CEST 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 16:20:55 CEST 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 14:04:51 CEST 2006 - mmarek@suse.cz
- fix array subscript out of range in src/common/db.cpp
-------------------------------------------------------------------
Thu Mar 9 18:23:47 CET 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 16:46:04 CET 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
-------------------------------------------------------------------
Wed Feb 22 13:36:24 CET 2006 - sbrabec@suse.cz
- Moved pywxrc to python-wxGTK (Andreas Hanke, #152573).
-------------------------------------------------------------------
Sun Feb 19 17:51:18 CET 2006 - aj@suse.de
- Reduce BuildRequires.
-------------------------------------------------------------------
Wed Jan 25 21:42:54 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Jan 20 15:17:47 CET 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 19:49:40 CET 2006 - sbrabec@suse.cz
- Updated to version 2.6.2.1.
-------------------------------------------------------------------
Mon Sep 19 17:40:25 CEST 2005 - sbrabec@suse.cz
- Force re-creating the old lex code in doslex.c.
-------------------------------------------------------------------
Fri Aug 19 16:01:57 CEST 2005 - sbrabec@suse.cz
- Removed references to no more provided PangoRenderX calls.
-------------------------------------------------------------------
Mon Aug 1 18:11:20 CEST 2005 - sbrabec@suse.cz
- Updated to version 2.6.1.0.
-------------------------------------------------------------------
Sat May 14 12:21:23 CEST 2005 - schwab@suse.de
- Fix undefined operation.
-------------------------------------------------------------------
Wed Apr 27 16:39:04 CEST 2005 - mcihar@suse.cz
- update to 2.6.0.0
-------------------------------------------------------------------
Fri Apr 15 14:50:44 CEST 2005 - mcihar@suse.de
- build with system libtiff
- enabled SDL and sound support
-------------------------------------------------------------------
Wed Apr 13 17:18:22 CEST 2005 - mcihar@suse.cz
- fix filelist
- fix build on 64-bit machines
-------------------------------------------------------------------
Tue Apr 12 19:15:16 CEST 2005 - mcihar@suse.cz
- disable SDL support, it seems to be broken in this version
-------------------------------------------------------------------
Tue Apr 12 17:21:49 CEST 2005 - mcihar@suse.cz
- update to 2.5.5.1
-------------------------------------------------------------------
Fri Feb 4 19:02:20 CET 2005 - tiwai@suse.de
- fixed the confliction of ATTRIBUTE_PRINTF* macros.
-------------------------------------------------------------------
Wed Dec 22 15:38:30 CET 2004 - mcihar@suse.cz
- fix python-wxGTK requires
-------------------------------------------------------------------
Fri Nov 19 12:31:21 CET 2004 - mcihar@suse.cz
- update to 2.5.3.1
-------------------------------------------------------------------
Wed Oct 20 19:34:23 CEST 2004 - mcihar@suse.cz
- fixed file conflict between python-wxGTK and wxGTK-devel
-------------------------------------------------------------------
Fri Sep 17 15:21:08 CEST 2004 - mcihar@suse.cz
- really build wxPython version against unicode wxGTK (bug #45539)
-------------------------------------------------------------------
Tue Aug 31 15:57:44 CEST 2004 - mcihar@suse.cz
- update to 2.5.2.8
-------------------------------------------------------------------
Mon Aug 16 18:36:53 CEST 2004 - mcihar@suse.cz
- update to 2.5.2.7
-------------------------------------------------------------------
Fri Jul 30 10:32:13 CEST 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 02 12:23:24 CEST 2004 - mcihar@suse.cz
- add missing wxPython licenses
-------------------------------------------------------------------
Thu Apr 22 12:06:31 CEST 2004 - mcihar@suse.cz
- ${prefix} was intentional
-------------------------------------------------------------------
Wed Apr 21 15:27:49 CEST 2004 - mcihar@suse.cz
- correct libdir on lib64
-------------------------------------------------------------------
Tue Apr 20 14:46:39 CEST 2004 - mcihar@suse.cz
- solved conflict between wxGTK-devel and python-wxGTK
-------------------------------------------------------------------
Wed Apr 14 15:38:40 CEST 2004 - mcihar@suse.cz
- moved sound_sdl-2.5.1.so from devel package
-------------------------------------------------------------------
Wed Apr 14 11:44:58 CEST 2004 - mcihar@suse.cz
- build with -fPIC
- add libmspack support (enables access to MS HTML help files - *.chm)
-------------------------------------------------------------------
Tue Apr 13 17:44:56 CEST 2004 - mcihar@suse.cz
- update to 2.5.1.5
- enable unicode support
- enabled build of contrib libraries
-------------------------------------------------------------------
Thu Mar 18 09:26:59 CET 2004 - mcihar@suse.cz
- make files in bin executable (bug #36331)
-------------------------------------------------------------------
Fri Mar 05 09:43:25 CET 2004 - mcihar@suse.cz
- little spec file cleanup, debug build can be enabled
-------------------------------------------------------------------
Wed Mar 3 18:11:38 CET 2004 - tiwai@suse.de
- fixed wxwin.m4 for the recent autoconf.
- moved wxwin.m4 to devel subpackage.
-------------------------------------------------------------------
Tue Jan 13 16:41:53 CET 2004 - mcihar@suse.cz
- enabled build with GTK 2
-------------------------------------------------------------------
Thu Oct 16 16:54:22 CEST 2003 - mcihar@suse.cz
- do not build as root
- remove orig and rej files that should not be installed
-------------------------------------------------------------------
Wed Oct 15 13:35:24 CEST 2003 - mcihar@suse.cz
- update to 2.4.2.4
-------------------------------------------------------------------
Fri Aug 29 18:40:00 CEST 2003 - tiwai@suse.de
- fixed the segfault on 64bit architectures.
-------------------------------------------------------------------
Sat Aug 23 18:37:04 CEST 2003 - ro@suse.de
- fix build on lib64
-------------------------------------------------------------------
Wed Aug 20 18:54:38 CEST 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 15:37:58 CEST 2003 - adrian@suse.de
- update to version 2.4.1
- add %run_ldconfig
-------------------------------------------------------------------
Tue May 13 16:39:09 CEST 2003 - mmj@suse.de
- Package forgotten files
-------------------------------------------------------------------
Tue Mar 4 11:21:34 CET 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 10:03:50 CET 2003 - hhetter@suse.de
- devel package requires gtk-devel (Bug Id#22479)
-------------------------------------------------------------------
Mon Feb 17 11:48:02 CET 2003 - hhetter@suse.de
- package gl-header files too ( Bug Id#23094 )
-------------------------------------------------------------------
Wed Jan 22 16:13:32 CET 2003 - meissner@suse.de
- Fixed for lib64 platforms.
-------------------------------------------------------------------
Tue Jan 14 10:33:22 CET 2003 - hhetter@suse.de
- updated to version 2.4.0
- updated documentation to 2.4.0 revision
- remove all outdated patches
-------------------------------------------------------------------
Tue Nov 12 16:30:54 CET 2002 - tcrhak@suse.cz
- fixed for bison 1.75: end rules with semicolons
-------------------------------------------------------------------
Mon Aug 12 12:45:30 MEST 2002 - garloff@suse.de
- Fix multiple delete[] in wxHtmlTagsModule::OnExit().
-------------------------------------------------------------------
Fri Jul 26 23:14:16 CEST 2002 - adrian@suse.de
- fix neededforbuild
-------------------------------------------------------------------
Wed May 1 15:48:59 CEST 2002 - kukuk@suse.de
- Remove superfluous libmpeg from neededforbuild
-------------------------------------------------------------------
Fri Apr 26 16:40:37 CEST 2002 - coolo@suse.de
- use %_libdir
-------------------------------------------------------------------
Mon Apr 15 19:20:13 CEST 2002 - tiwai@suse.de
- fixed build with gcc 3.1.
-------------------------------------------------------------------
Tue Feb 19 14:23:36 CET 2002 - hhetter@suse.de
- applied the real patch for the wxgtk-mutex performance problem
-------------------------------------------------------------------
Fri Feb 15 08:39:08 CET 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 00:26:05 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Thu Jan 24 16:43:14 CET 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 01:59:29 CEST 2001 - mfabian@suse.de
- bzip2 source
-------------------------------------------------------------------
Fri Mar 30 16:09:21 CEST 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 08:42:40 CET 2001 - hhetter@suse.de
- Update to 2.2.4
-------------------------------------------------------------------
Sat Dec 9 06:10:12 CET 2000 - mfabian@suse.de
- Add /usr/X11R6/bin/wxgtk-config to filelist
-------------------------------------------------------------------
Mon Nov 6 00:07:29 CET 2000 - ro@suse.de
- fixed neededforbuild
-------------------------------------------------------------------
Fri Jun 9 08:40:03 CEST 2000 - ro@suse.de
- up to 2.1.16
-------------------------------------------------------------------
Mon Feb 21 19:13:50 CET 2000 - uli@suse.de
- now builds with RPM_OPT_FLAGS
-------------------------------------------------------------------
Mon Feb 21 08:15:21 CET 2000 - ro@suse.de
- update to 2.1.13
- use suse_update_config macro
- patch to compile with newest gtk
-------------------------------------------------------------------
Fri Jan 14 16:08:20 MET 2000 - freitag@suse.de
- update to 2.1.12, URL, doc in seperate tarball
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Thu Aug 19 16:24:47 MEST 1999 - kukuk@suse.de
- Add /usr/X11R6/bin/wx-config to filelist
-------------------------------------------------------------------
Tue Jul 13 12:42:22 MEST 1999 - bs@suse.de
- use gtk and glib instead of gtkn and glibn
-------------------------------------------------------------------
Mon May 31 14:00:45 MEST 1999 - ray@suse.de
- new package

352
wxQt-3_2.spec Normal file
View File

@ -0,0 +1,352 @@
#
# spec file for package wxQt-3_2
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: wxQt-3_2
%define base_name wxWidgets
%define tarball_name wxWidgets
Version: 3.1.0~svn78217
Release: 0
%define wx_minor 3.1
%define wx_micro 3.1.0
# lang packages are exactly equal for all variants. Build it only once:
%if "%name" == "%base_name"
%define BUILD_LANG 1
%else
%define BUILD_LANG 0
%endif
Summary: C++ Library for Cross-Platform Development
License: GPL-2.0+
Group: Development/Libraries/C and C++
URL: http://www.wxwidgets.org/
Source: %tarball_name-%version.tar.xz
Source2: README.SUSE
Source5: rpmlintrc
# This script is not used during build, but it makes possible to
# identify and backport wxPython fixes to wxWidgets.
Source6: wxpython-mkdiff.sh
Source50: baselibs.conf
Patch1: soversion.diff
Patch2: wxqt-compile.diff
BuildRoot: %_tmppath/%name-%version-build
BuildRequires: SDL-devel
BuildRequires: autoconf
BuildRequires: cppunit-devel
BuildRequires: gcc-c++
BuildRequires: gstreamer-0_10-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
%if 0%{?suse_version} >= 1220
BuildRequires: libSM-devel
%else
%if 0%{?sles_version} >= 11
BuildRequires: xorg-x11-libSM-devel
%endif
%endif
BuildRequires: libexpat-devel
BuildRequires: libjpeg-devel
BuildRequires: libmspack-devel
BuildRequires: libnotify-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: xz
BuildRequires: zlib-devel
BuildRequires: pkgconfig(Qt5Core) >= 5.2.1
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.1
BuildRequires: pkgconfig(Qt5OpenGL) >= 5.2.1
BuildRequires: pkgconfig(Qt5Test) >= 5.2.1
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.1
BuildRequires: pkgconfig(glu)
%description
wxWidgets is a free C++ library for cross-platform GUI.
With wxWidgets, you can create applications for different GUIs (GTK+,
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
%package -n libwx_qtu_adv-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_adv-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_aui-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_aui-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_core-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_core-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_gl-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_gl-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_html-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_html-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_media-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_media-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_propgrid-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_propgrid-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_qa-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_qa-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_ribbon-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_ribbon-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_richtext-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_richtext-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_stc-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_stc-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_qtu_xrc-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_qtu_xrc-suse2
Library for the wxWidgets cross-platform GUI.
%package devel
Summary: Everything needed for development with wxWidgets
Group: Development/Libraries/C and C++
##Requires: gtk%gtk_version-devel
Requires: libwx_baseu-suse2 = %version
Requires: libwx_baseu_net-suse2 = %version
Requires: libwx_baseu_xml-suse2 = %version
Requires: libwx_qtu_adv-suse2 = %version
Requires: libwx_qtu_aui-suse2 = %version
Requires: libwx_qtu_core-suse2 = %version
Requires: libwx_qtu_gl-suse2 = %version
Requires: libwx_qtu_html-suse2 = %version
Requires: libwx_qtu_media-suse2 = %version
Requires: libwx_qtu_propgrid-suse2 = %version
Requires: libwx_qtu_qa-suse2 = %version
Requires: libwx_qtu_ribbon-suse2 = %version
Requires: libwx_qtu_richtext-suse2 = %version
Requires: libwx_qtu_stc-suse2 = %version
Requires: pkgconfig(gl)
Requires: libwx_qtu_xrc-suse2 = %version
Requires: pkgconfig(glu)
#not fit for general use yet#Provides: wxWidgets-devel = %version-%release
Conflicts: otherproviders(wxWidgets-devel)
Provides: wxGTK3-devel = %version-%release
%description devel
wxWidgets is a free C++ library for cross-platform GUI development.
With wxWidgets, you can create applications for different GUIs (GTK+,
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
This package contains all files needed for developing with wxGTK3.
Note: wxWidgets variant devel packages are mutually exclusive. Please
read %_docdir/%name/README.SUSE to pick a correct variant.
%if %BUILD_LANG
%lang_package -n %base_name
%endif
%prep
echo "=== RPM build flags: WX_DEBUG=0%{?WX_DEBUG}"
%setup -q -n %tarball_name-trunk
%patch -P 1 -P 2 -p1
cp %{S:2} .
%build
autoconf -f -i
# NOTE: gnome-vfs is deprecated. Disabled for GTK3 build
#
# With 2.9.1:
# --enable-objc_uniquifying is relevant only for Cocoa
# --enable-accessibility is currently supported only in msw
# --enable-extended_rtti does not compile
%configure\
--enable-vendor=suse \
--with-qt \
--disable-static\
--enable-unicode\
--with-opengl\
--with-libmspack\
--with-sdl\
--enable-ipv6\
--enable-mediactrl\
--enable-optimise\
%if 0%{?WX_DEBUG}
--enable-debug\
%else
--disable-debug\
%endif
--enable-stl\
--enable-plugins
make %{?_smp_mflags}
%if %BUILD_LANG
cd locale
make allmo
cd ..
%endif
%install
make install DESTDIR="%buildroot"
# Drop libraries already supplied by another packages
rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-suse.so.2* \
"%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so
%if %BUILD_LANG
# Locales for MS Windows:
rm -Rf %buildroot/%_datadir/locale/*/LC_MESSAGES/wxmsw.mo
%find_lang wxstd
%else
rm -Rf %buildroot/%_datadir/locale
%endif
# HACK: Fix wx-config symlink (bug introduced in 2.9.4).
ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config
%post -n libwx_qtu_adv-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_adv-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_aui-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_aui-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_core-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_core-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_gl-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_gl-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_html-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_html-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_media-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_media-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_propgrid-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_propgrid-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_qa-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_qa-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_ribbon-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_ribbon-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_richtext-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_richtext-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_stc-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_stc-suse2 -p /sbin/ldconfig
%post -n libwx_qtu_xrc-suse2 -p /sbin/ldconfig
%postun -n libwx_qtu_xrc-suse2 -p /sbin/ldconfig
%if %BUILD_LANG
%files lang -f wxstd.lang
%endif
%files -n libwx_qtu_adv-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_adv-suse.so.2*
%files -n libwx_qtu_aui-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_aui-suse.so.2*
%files -n libwx_qtu_core-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_core-suse.so.2*
%files -n libwx_qtu_gl-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_gl-suse.so.2*
%files -n libwx_qtu_html-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_html-suse.so.2*
%files -n libwx_qtu_media-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_media-suse.so.2*
%files -n libwx_qtu_propgrid-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_propgrid-suse.so.2*
%files -n libwx_qtu_qa-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_qa-suse.so.2*
%files -n libwx_qtu_ribbon-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_ribbon-suse.so.2*
%files -n libwx_qtu_richtext-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_richtext-suse.so.2*
%files -n libwx_qtu_stc-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_stc-suse.so.2*
%files -n libwx_qtu_xrc-suse2
%defattr (-,root,root)
%_libdir/libwx_qtu_xrc-suse.so.2*
%files devel
%defattr (-,root,root)
# Complete documentation is available in the docs packages.
%doc docs/*.txt README.SUSE
%_bindir/wxrc
%_bindir/wxrc-%wx_minor
%_bindir/*-config*
%_datadir/aclocal
%_datadir/bakefile
%_includedir/wx-%wx_minor
%_libdir/*.so
%dir %_libdir/wx
%_libdir/wx/config
%_libdir/wx/include
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59ce288d420aa9cfb09d12a124142e305bf2dd5d2c2354a9e2345f2e7d2ddb38
size 15694220

944
wxWidgets-3_2.changes Normal file
View File

@ -0,0 +1,944 @@
-------------------------------------------------------------------
Fri Nov 7 09:05:48 UTC 2014 - jengelh@inai.de
- Update to new upstream release 3.0.2
* Fix silent data loss in wx[F]File::Write(wxString) if conversion
fails.
* Make wxString::FromCDouble() work when the global C++ locale is
not the C one.
* Fix mouse handling in wxNotebook containing wxListCtrl.
- Bump SONAME due to changed ABI, add soversion.diff.
- Don't let wxGTK3-3_0.spec build the SDL plugin (already done
by wxWidgets-3_0.spec)
-------------------------------------------------------------------
Thu Nov 6 13:35:08 UTC 2014 - jengelh@inai.de
- Restore libwx_base*.so devel symlinks [boo#904098]
-------------------------------------------------------------------
Wed Nov 5 09:51:01 UTC 2014 - jengelh@inai.de
- Replace broad Requires: Mesa-devel by pkgconfig(gl)
[Mesa-libGL-devel]
-------------------------------------------------------------------
Thu Jul 31 16:16:35 UTC 2014 - dimstar@opensuse.org
- Rename rpmlintrc to %{name}-rpmlintrc.
Follow the packaging guidelines.
-------------------------------------------------------------------
Wed Jul 16 16:16:26 UTC 2014 - jengelh@inai.de
- Remove the mechanism to support different variants, as it does
not support concurrent presence of multiple variants.
- Remove wxWidgets-3_0-config-force-rpath.patch,
wxWidgets-find-wx-provides-bash3.patch (no longer needed)
-------------------------------------------------------------------
Mon Jun 16 19:30:11 UTC 2014 - jengelh@inai.de
- Update to new upstream release 3.0.1
* wxHTML displays tables much faster now.
* Double clicking wxGrid columns does not make them too small
any more.
* Fix bugs when dragging columns in wxGrid with hidden columns.
* Loading ICO files with PNG data is now supported.
* Mouse wheel scrolling in wxListCtrl works again.
* wxStaticBoxSizer contents is not truncated any more.
* AUI panels may now be re-docked after floating them.
- Remove wxWidgets-3_0-fixGTK3-build.patch (no longer needed)
-------------------------------------------------------------------
Wed Jun 11 10:56:19 UTC 2014 - fcrozat@suse.com
- Add _constraints file to ensure enough disk space is available
for build.
-------------------------------------------------------------------
Mon Jun 9 10:57:47 UTC 2014 - jengelh@inai.de
- Revert the GTK3 change (there are rendering problems).
wxWidgets-3_0(-devel) is now wxGTK2 again, and the wxGTK3 backend
is available in wxGTK3(-devel).
-------------------------------------------------------------------
Fri Jun 6 19:44:52 UTC 2014 - jengelh@inai.de
- Continue to provide a wxGTK2 build in parallel to wxGTK3
(new specfile wxGTK2-3_0.spec; use BuildRequire wxGTK2-devel)
- Remove unused wxcontainer and wxcontainer26c subpackage logic
plus spec files
- Let /usr/lib(64)/wx be owned by packages that put files there
-------------------------------------------------------------------
Fri Jun 6 09:11:11 UTC 2014 - fcrozat@suse.com
- Switch build to GTK3 for SLE12 and openSUSE > 13.1
- Add wxWidgets-3_0-fixGTK3-build.patch: fix build with recent GTK3
(from upstream)
- Remove libgnomeprintui dependencies, GTK printing support is now
used.
- Disable gnomevfs support when building GTK3 version.
- Add/fix missing BuildRequires: xorg-x11-libSM-devel,
libnotify-devel.
- Do not build webview on SLE10 and SLE11
-------------------------------------------------------------------
Thu Jun 5 12:54:26 UTC 2014 - jengelh@inai.de
- Use system libraries instead of bundled versions:
libjpeg, libpng, zlib
- Enable use of libSM
-------------------------------------------------------------------
Fri Apr 25 21:53:59 UTC 2014 - jengelh@inai.de
- Remove unused "ansi" configuration: wxWidgets 3 in Unicode mode
supports both char* and wchar_t*.
-------------------------------------------------------------------
Tue Mar 11 09:48:36 UTC 2014 - jengelh@inai.de
- Exclude libwx_webview from SLE11 build
-------------------------------------------------------------------
Mon Feb 17 14:21:18 UTC 2014 - seiler@b1-systems.de
- added baselibs.conf to provide *-32bit packages
-------------------------------------------------------------------
Fri Feb 7 18:42:38 UTC 2014 - jengelh@inai.de
- Remove seemingly pointless patch wxGTK-enable-wxrc.patch.
wxrc is built and installed in any case.
-------------------------------------------------------------------
Thu Jan 30 13:57:06 UTC 2014 - jengelh@inai.de
- Patches wxGTK-enable-wxrc.patch,
wxWidgets-3_0-config-force-rpath.patch,
wxWidgets-find-wx-provides-bash3.patch were inherited from
wxWidgets-2_8 package but never mentioned in any package.
Here is a mention.
-------------------------------------------------------------------
Thu Nov 14 05:56:09 UTC 2013 - jengelh@inai.de
- Update to new upstream release 3.0.0
* wxWidgets is now always built with Unicode support but provides
the same simple (i.e. "char *"-tolerant) API as was available
in ANSI build in the past.
* wxWidgets may now use either wchar_t (UTF-16/32) or UTF-8
internally, depending on what is optimal for the target
platform.
* New webview library, implementing wxWebView: a wrapper for the
native platform web engine with full support for HTML and
JavaScript.
* New propgrid library containing wxPropertyGrid and related
classes.
* New ribbon library for advanced toolbars.
* Event loops, timers and sockets can now be used in wxBase,
without GUI.
* Events can now be connected to any functor, not necessarily a
method of wxEvtHandler-derived class. The compile-time safety
was also improved.
* Documentation for wxWidgets has been converted from LaTex to
C++ headers with Doxygen comments and significantly improved in
the process (screenshots of various controls were added, more
identifiers are now linked to their definition &c).
* Support for persistent objects automatically saving and
restoring their state was added.
- Drop wxWidgets-to-wxpython-2.9.4.0.patch (merged upstream)
-------------------------------------------------------------------
Thu Aug 22 13:38:01 UTC 2013 - jengelh@inai.de
- Use %_smp_mflags for parallel build and better make install call.
-------------------------------------------------------------------
Thu Apr 11 11:37:23 UTC 2013 - fisiu@opensuse.org
- Build wxWidgets with webview support.
-------------------------------------------------------------------
Thu Oct 25 20:35:35 CEST 2012 - sbrabec@suse.cz
- Provide wxWidgets-3_0*-devel for future compatibility.
- Add "API version" in %description.
- Backported fixes from 2.8 branch.
- Included post-release fixes from wxpython.
-------------------------------------------------------------------
Thu Sep 20 08:42:17 UTC 2012 - coolo@suse.com
- add explicit buildrequire on pkgconfig(glu)
-------------------------------------------------------------------
Mon Jul 23 16:18:10 CEST 2012 - sbrabec@suse.cz
- Fixed wx-config symlink (bnc#772528).
-------------------------------------------------------------------
Thu Jul 19 17:21:47 CEST 2012 - sbrabec@suse.cz
- Update to version 2.9.4.
-------------------------------------------------------------------
Fri Apr 27 18:37:40 CEST 2012 - sbrabec@suse.cz
- Backported fixes of the dependency generator from 2.8 branch
(bnc#757124, bnc#759287#c3).
-------------------------------------------------------------------
Thu Apr 19 17:08:50 CEST 2012 - sbrabec@suse.cz
- Added support for Fedora compatible 24c variants (bnc#660438).
- Change name of compat-lib-config virtual provide to not clash
with package name, fix requires/provides generator (bnc#757124).
-------------------------------------------------------------------
Mon Apr 2 16:21:37 CEST 2012 - sbrabec@suse.cz
- Update to version 2.9.3.
-------------------------------------------------------------------
Wed Dec 21 13:55:09 UTC 2011 - coolo@suse.com
- own aclocal directory, there is no other reason to buildrequire
automake
-------------------------------------------------------------------
Mon Oct 17 09:11:21 UTC 2011 - coolo@suse.com
- fix whitespace of spec file
-------------------------------------------------------------------
Wed Aug 3 17:33:36 CEST 2011 - sbrabec@suse.cz
- Updated to version 2.9.2.
-------------------------------------------------------------------
Tue Jul 26 08:01:48 UTC 2011 - aj@suse.de
- Recommend instead of require lang package.
-------------------------------------------------------------------
Tue May 17 20:24:51 CEST 2011 - sbrabec@suse.cz
- Create synthetic .la files to work-around libtool failures when
linking third level libraries or binaries (bnc#690952).
-------------------------------------------------------------------
Fri Apr 8 14:27:33 CEST 2011 - sbrabec@suse.cz
- Do not use bash coproc on system with bash-3.
-------------------------------------------------------------------
Tue Mar 29 19:35:10 CEST 2011 - sbrabec@suse.cz
- Fixed find-wx-requires to check directories instead of library
name. Provide find-wx-provides. (bnc#681409)
-------------------------------------------------------------------
Thu Dec 23 19:29:12 CET 2010 - sbrabec@suse.cz
- Updated to version 2.9.1.
- Rename package to wxWidgets to follow upstream base name.
- Split wxPython documentation to a separate package.
- Build Unicode/ANSI, standard/debug and STL/wx container versions
separately.
- Spec file completely rewritten.
-------------------------------------------------------------------
Sun Aug 15 00:15:52 UTC 2010 - termim@gmail.com
- Updated to version 2.8.11.0
Adds Python 2.7 builds, PySlices, new pubsub implementation,
lots of updates to AGW, and lots of bugs fixed.
- Removed wxGTK-GSocket-clash.patch and wxGTK-editra-ebmlib.patch
as already fixed.
-------------------------------------------------------------------
Tue Jun 15 16:15:11 CEST 2010 - sbrabec@suse.cz
- Added --enable-graphics_ctx to fix Editra (bnc#580060).
- Added ebmlib file required by Editra (bnc#580060,
patch from Salix).
-------------------------------------------------------------------
Mon Feb 22 14:58:36 UTC 2010 - crrodriguez@opensuse.org
- build with PIC
-------------------------------------------------------------------
Thu Jan 28 17:17:47 CET 2010 - sbrabec@suse.cz
- Enabled media libraries (bnc#565039).
-------------------------------------------------------------------
Fri Sep 25 17:53:00 CEST 2009 - sbrabec@suse.cz
- Disabled STL (bnc#530027). See also
http://lists.opensuse.org/opensuse-factory/2009-09/msg00386.html
- Removed obsolete RPATH.
- The GSocket symbol clash fix replaced by the upstream one.
-------------------------------------------------------------------
Thu Sep 17 18:33:20 CEST 2009 - matejcik@suse.cz
- fixed pth file to point to platlib
-------------------------------------------------------------------
Sat Sep 5 11:52:46 CEST 2009 - sbrabec@suse.cz
- Fixed for the latest python package.
-------------------------------------------------------------------
Fri Aug 7 16:51:39 CEST 2009 - sbrabec@suse.cz
- Updated to version 2.8.10.1:
* Incompatible change in wxTreeCtrl behaviour!
* Added several functions forward compatible with wxWidgets 3.0.
* Add wxBU_EXACTFIT support to wxToggleButton XRC handler.
* wxHashMap::insert() doesn't update the value if it didn't
insert the element any more.
* Correct bug in wxTimeSpan::Format() for negative spans.
* Correct several bugs in wxList using end() iterators.
* Translation updates.
* Fix wxURL::GetInputStream() for URLs with special characters in
credentials.
* Fix wxURI::GetUser() for URIs without password.
* Correct wxDateTime DST computation for 2006 and later.
* wxRTC: fixed a problem with HTML list generation.
* wxRTC: no longer deletes a character when content is selected
before pressing Delete.
* wxRTC: fixed inability to select no superscript and no
subscript in formatting dialog.
* wxRTC: fixed centering and right-justification when combined
with left indentation.
* wxRTC: fixed lack of right margin when centering or
right-justifying.
* wxRTC: fixed wrong descent when wrapping lines with different
font sizes.
* wxRTC: fixed wrapping problem for long lines.
* wxRTC: all buffer margins now respected.
* wxRTC: Added wxRE_CENTRE_CARET to centre the caret line
vertically.
* Fixed wxHTML's pagebreaks computation in tables.
* Fixed wxHtmlWindow::SelectionToText() to correctly insert
newlines after single-cell paragraphs.
* Fixed wxHTML's line breaks handling in <pre> blocks.
* wxHTML: don't include extra whitespace in table cells.
* Implemented wxWindow::DragAcceptFiles() on all platforms.
* Added wxAUI_MGR_LIVE_RESIZE flag to wxAuiManager.
* Use bitmap mask in wxSplashScreen.
* Translate "(c)" and "(C)" to the real copyright sign in
wxAboutBox.
* Fix painting of highlight border for merged cells in wxGrid.
* Fix handling of long lines in wxGridCellAutoWrapStringRenderer.
* Return false from wxSingleInstanceChecker::IsAnotherRunning()
if an error occurred while opening or reading the lock file.
* Fixed printing to use fonts sizes adjustment consistent with
wxMSW.
* Make colours used by list, tree and status bar controls more
consistent with the system theme settings.
* Worked around bug in GTK+ < 2.14 where enabling some controls
such as wxButton didn't re-enable sensitivity until the mouse
was moved.
-------------------------------------------------------------------
Thu Jun 18 19:16:27 CEST 2009 - sbrabec@suse.cz
- Worked-around GSocket name conflict with GIO.
-------------------------------------------------------------------
Tue Feb 17 17:29:57 CET 2009 - crrodriguez@suse.de
- build require libexpat-devel so we dont use the bundled one
-------------------------------------------------------------------
Wed Feb 4 13:58:35 CET 2009 - pth@suse.de
- Disable the use of precompiled headers as the way wxWidgets uses
them is not supported by current GCC.
-------------------------------------------------------------------
Tue Feb 3 13:03:20 CET 2009 - pth@suse.de
- Update to 2.8.9.1:
* Optimize wxString::Replace() for single character arguments.
* Updated Hindi translation.
* Use tr1::unordered_{map,set} for wxHash{Map,Set} implementation if available
in STL build; in particular do not use deprecated hash_{map,set} which
results in a lot of warnings from newer g++.
* Added support for reading alpha channel in BMP format.
* Fixed help viewer bug whereby the splitter sash in wxHtmlHelpWindow could
go underneath the left-hand pane, permanently, after resizing the
help window.
* Fixed wxHTML default font size for printing to be 12pt regardless of the
platform, instead of depending on GUI toolkit's screen configuration.
* Support wxDP_ALLOWNONE style in generic wxDatePickerCtrl version.
* Set wxKeyEvent::m_uniChar correctly in the events generated by generic
wxListCtrl.
* Fix changing size of merged cells in wxGrid.
* Fixed wrapping bug in wxRichTextCtrl when there were images present;
now sets the cursor to the next line after pressing Shift+Enter.
* Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
* Fix crash when reading malformed PCX images.
* Fix bug with wrong transparency in GIF animations.
* Store palette information for XPM images in wxImage.
* Fixed selection bugs and auto list numbering in wxRichTextCtrl.
* Significantly optimize wxGrid::BlockToDeviceRect() for large grids.
* Introduced new wxAuiToolBar class for better integration and look-and-feel.
* Fix a crash in wxAuiFrameManager when Update() was called in between mouse-up
and mouse-down events
* wxAUI: added various NULL-ptr asserts.
* Fixed problem with Floatable(false) not working in wxAuiFrameManager.
* Fixed maximize bug in wxAUI.
* Allow period in link anchors in wxHTML.
* Fixed memory corruption in wxHTML when parsing "&;" in the markup.
* Fixed event type in EVT_GRID_CMD_COL_MOVE and EVT_GRID_COL_MOVE.
* wxGrid doesn't steal focus when hiding editor any more.
* MIME types reading fixed when running under GNOME, reading .desktop
files and also the default application list.
* Added filesys.no-mimetypesmanager system option so that applications that
must load an XRC file at program startup don't have to incur the
mime types manager initialization penalty.
* Fixed masking of disabled bitmaps in wxMenuItem and wxStaticBitmap.
* Fixed generation of events for an initially empty wxDirPickerCtrl.
* Fixed detection of Meta key state so that NumLock isn't misdetected
as Meta (requires GTK+ 2.10).
* Fix changing font/colour of label in buttons with images.
- Make funtion return a value.
-------------------------------------------------------------------
Wed Sep 3 17:38:50 CEST 2008 - sbrabec@suse.cz
- Updated to version 2.8.8.1:
* many API-compatible fixes and improvements, see
docs/changes.txt for complete list
-------------------------------------------------------------------
Mon Sep 1 15:16:05 CEST 2008 - sbrabec@suse.cz
- Dropped obsolete ODBC support (bnc#397044).
-------------------------------------------------------------------
Fri May 2 12:36:23 CEST 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 15:19:40 CET 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 15:54:24 CEST 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 11:35:14 CEST 2007 - prusnak@suse.cz
- corrected last patch (gtk_border_free.patch) [#294693]
-------------------------------------------------------------------
Wed Sep 5 11:22:52 CEST 2007 - bwalle@suse.de
- fix crash on startup on x86_64 (#294693)
-------------------------------------------------------------------
Wed Aug 29 15:26:22 CEST 2007 - prusnak@suse.cz
- pack non-unicode libraries as wxGTK-compat package (again)
- run ldconfig in post/postun scriptlets
-------------------------------------------------------------------
Wed May 23 17:37:12 CEST 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 15:11:38 CET 2007 - pth@suse.de
- Don't hardcode lib64 in .spec file.
- Replace contrib/samples/applet/monitors.c once again (see #203607).
-------------------------------------------------------------------
Thu Mar 1 13:57:40 CET 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 15:37:59 CET 2006 - sbrabec@suse.cz
- Source code cleanup (#226403).
-------------------------------------------------------------------
Tue Sep 5 16:56:14 CEST 2006 - sbrabec@suse.cz
- Repackaged without undistributable monitors.c (#203607).
-------------------------------------------------------------------
Mon Aug 7 17:08:36 CEST 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 16:20:55 CEST 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 14:04:51 CEST 2006 - mmarek@suse.cz
- fix array subscript out of range in src/common/db.cpp
-------------------------------------------------------------------
Thu Mar 9 18:23:47 CET 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 16:46:04 CET 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
-------------------------------------------------------------------
Wed Feb 22 13:36:24 CET 2006 - sbrabec@suse.cz
- Moved pywxrc to python-wxGTK (Andreas Hanke, #152573).
-------------------------------------------------------------------
Sun Feb 19 17:51:18 CET 2006 - aj@suse.de
- Reduce BuildRequires.
-------------------------------------------------------------------
Wed Jan 25 21:42:54 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Jan 20 15:17:47 CET 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 19:49:40 CET 2006 - sbrabec@suse.cz
- Updated to version 2.6.2.1.
-------------------------------------------------------------------
Mon Sep 19 17:40:25 CEST 2005 - sbrabec@suse.cz
- Force re-creating the old lex code in doslex.c.
-------------------------------------------------------------------
Fri Aug 19 16:01:57 CEST 2005 - sbrabec@suse.cz
- Removed references to no more provided PangoRenderX calls.
-------------------------------------------------------------------
Mon Aug 1 18:11:20 CEST 2005 - sbrabec@suse.cz
- Updated to version 2.6.1.0.
-------------------------------------------------------------------
Sat May 14 12:21:23 CEST 2005 - schwab@suse.de
- Fix undefined operation.
-------------------------------------------------------------------
Wed Apr 27 16:39:04 CEST 2005 - mcihar@suse.cz
- update to 2.6.0.0
-------------------------------------------------------------------
Fri Apr 15 14:50:44 CEST 2005 - mcihar@suse.de
- build with system libtiff
- enabled SDL and sound support
-------------------------------------------------------------------
Wed Apr 13 17:18:22 CEST 2005 - mcihar@suse.cz
- fix filelist
- fix build on 64-bit machines
-------------------------------------------------------------------
Tue Apr 12 19:15:16 CEST 2005 - mcihar@suse.cz
- disable SDL support, it seems to be broken in this version
-------------------------------------------------------------------
Tue Apr 12 17:21:49 CEST 2005 - mcihar@suse.cz
- update to 2.5.5.1
-------------------------------------------------------------------
Fri Feb 4 19:02:20 CET 2005 - tiwai@suse.de
- fixed the confliction of ATTRIBUTE_PRINTF* macros.
-------------------------------------------------------------------
Wed Dec 22 15:38:30 CET 2004 - mcihar@suse.cz
- fix python-wxGTK requires
-------------------------------------------------------------------
Fri Nov 19 12:31:21 CET 2004 - mcihar@suse.cz
- update to 2.5.3.1
-------------------------------------------------------------------
Wed Oct 20 19:34:23 CEST 2004 - mcihar@suse.cz
- fixed file conflict between python-wxGTK and wxGTK-devel
-------------------------------------------------------------------
Fri Sep 17 15:21:08 CEST 2004 - mcihar@suse.cz
- really build wxPython version against unicode wxGTK (bug #45539)
-------------------------------------------------------------------
Tue Aug 31 15:57:44 CEST 2004 - mcihar@suse.cz
- update to 2.5.2.8
-------------------------------------------------------------------
Mon Aug 16 18:36:53 CEST 2004 - mcihar@suse.cz
- update to 2.5.2.7
-------------------------------------------------------------------
Fri Jul 30 10:32:13 CEST 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 02 12:23:24 CEST 2004 - mcihar@suse.cz
- add missing wxPython licenses
-------------------------------------------------------------------
Thu Apr 22 12:06:31 CEST 2004 - mcihar@suse.cz
- ${prefix} was intentional
-------------------------------------------------------------------
Wed Apr 21 15:27:49 CEST 2004 - mcihar@suse.cz
- correct libdir on lib64
-------------------------------------------------------------------
Tue Apr 20 14:46:39 CEST 2004 - mcihar@suse.cz
- solved conflict between wxGTK-devel and python-wxGTK
-------------------------------------------------------------------
Wed Apr 14 15:38:40 CEST 2004 - mcihar@suse.cz
- moved sound_sdl-2.5.1.so from devel package
-------------------------------------------------------------------
Wed Apr 14 11:44:58 CEST 2004 - mcihar@suse.cz
- build with -fPIC
- add libmspack support (enables access to MS HTML help files - *.chm)
-------------------------------------------------------------------
Tue Apr 13 17:44:56 CEST 2004 - mcihar@suse.cz
- update to 2.5.1.5
- enable unicode support
- enabled build of contrib libraries
-------------------------------------------------------------------
Thu Mar 18 09:26:59 CET 2004 - mcihar@suse.cz
- make files in bin executable (bug #36331)
-------------------------------------------------------------------
Fri Mar 05 09:43:25 CET 2004 - mcihar@suse.cz
- little spec file cleanup, debug build can be enabled
-------------------------------------------------------------------
Wed Mar 3 18:11:38 CET 2004 - tiwai@suse.de
- fixed wxwin.m4 for the recent autoconf.
- moved wxwin.m4 to devel subpackage.
-------------------------------------------------------------------
Tue Jan 13 16:41:53 CET 2004 - mcihar@suse.cz
- enabled build with GTK 2
-------------------------------------------------------------------
Thu Oct 16 16:54:22 CEST 2003 - mcihar@suse.cz
- do not build as root
- remove orig and rej files that should not be installed
-------------------------------------------------------------------
Wed Oct 15 13:35:24 CEST 2003 - mcihar@suse.cz
- update to 2.4.2.4
-------------------------------------------------------------------
Fri Aug 29 18:40:00 CEST 2003 - tiwai@suse.de
- fixed the segfault on 64bit architectures.
-------------------------------------------------------------------
Sat Aug 23 18:37:04 CEST 2003 - ro@suse.de
- fix build on lib64
-------------------------------------------------------------------
Wed Aug 20 18:54:38 CEST 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 15:37:58 CEST 2003 - adrian@suse.de
- update to version 2.4.1
- add %run_ldconfig
-------------------------------------------------------------------
Tue May 13 16:39:09 CEST 2003 - mmj@suse.de
- Package forgotten files
-------------------------------------------------------------------
Tue Mar 4 11:21:34 CET 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 10:03:50 CET 2003 - hhetter@suse.de
- devel package requires gtk-devel (Bug Id#22479)
-------------------------------------------------------------------
Mon Feb 17 11:48:02 CET 2003 - hhetter@suse.de
- package gl-header files too ( Bug Id#23094 )
-------------------------------------------------------------------
Wed Jan 22 16:13:32 CET 2003 - meissner@suse.de
- Fixed for lib64 platforms.
-------------------------------------------------------------------
Tue Jan 14 10:33:22 CET 2003 - hhetter@suse.de
- updated to version 2.4.0
- updated documentation to 2.4.0 revision
- remove all outdated patches
-------------------------------------------------------------------
Tue Nov 12 16:30:54 CET 2002 - tcrhak@suse.cz
- fixed for bison 1.75: end rules with semicolons
-------------------------------------------------------------------
Mon Aug 12 12:45:30 MEST 2002 - garloff@suse.de
- Fix multiple delete[] in wxHtmlTagsModule::OnExit().
-------------------------------------------------------------------
Fri Jul 26 23:14:16 CEST 2002 - adrian@suse.de
- fix neededforbuild
-------------------------------------------------------------------
Wed May 1 15:48:59 CEST 2002 - kukuk@suse.de
- Remove superfluous libmpeg from neededforbuild
-------------------------------------------------------------------
Fri Apr 26 16:40:37 CEST 2002 - coolo@suse.de
- use %_libdir
-------------------------------------------------------------------
Mon Apr 15 19:20:13 CEST 2002 - tiwai@suse.de
- fixed build with gcc 3.1.
-------------------------------------------------------------------
Tue Feb 19 14:23:36 CET 2002 - hhetter@suse.de
- applied the real patch for the wxgtk-mutex performance problem
-------------------------------------------------------------------
Fri Feb 15 08:39:08 CET 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 00:26:05 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Thu Jan 24 16:43:14 CET 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 01:59:29 CEST 2001 - mfabian@suse.de
- bzip2 source
-------------------------------------------------------------------
Fri Mar 30 16:09:21 CEST 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 08:42:40 CET 2001 - hhetter@suse.de
- Update to 2.2.4
-------------------------------------------------------------------
Sat Dec 9 06:10:12 CET 2000 - mfabian@suse.de
- Add /usr/X11R6/bin/wxgtk-config to filelist
-------------------------------------------------------------------
Mon Nov 6 00:07:29 CET 2000 - ro@suse.de
- fixed neededforbuild
-------------------------------------------------------------------
Fri Jun 9 08:40:03 CEST 2000 - ro@suse.de
- up to 2.1.16
-------------------------------------------------------------------
Mon Feb 21 19:13:50 CET 2000 - uli@suse.de
- now builds with RPM_OPT_FLAGS
-------------------------------------------------------------------
Mon Feb 21 08:15:21 CET 2000 - ro@suse.de
- update to 2.1.13
- use suse_update_config macro
- patch to compile with newest gtk
-------------------------------------------------------------------
Fri Jan 14 16:08:20 MET 2000 - freitag@suse.de
- update to 2.1.12, URL, doc in seperate tarball
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Thu Aug 19 16:24:47 MEST 1999 - kukuk@suse.de
- Add /usr/X11R6/bin/wx-config to filelist
-------------------------------------------------------------------
Tue Jul 13 12:42:22 MEST 1999 - bs@suse.de
- use gtk and glib instead of gtkn and glibn
-------------------------------------------------------------------
Mon May 31 14:00:45 MEST 1999 - ray@suse.de
- new package

440
wxWidgets-3_2.spec Normal file
View File

@ -0,0 +1,440 @@
#
# spec file for package wxWidgets-3_2
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: wxWidgets-3_2
%define base_name wxWidgets
%define tarball_name wxWidgets
Version: 3.1.0~svn78217
Release: 0
%define wx_minor %(echo "%version" | perl -pe 's{^(\d+\.\d+).*}{$1}')
%define wx_micro %(echo "%version" | perl -pe 's{^(\d+\.\d+\.\d+).*}{$1}')
# lang packages are exactly equal for all variants. Build it only once:
%if "%name" == "%base_name"
%define BUILD_LANG 1
%else
%define BUILD_LANG 0
%endif
Summary: C++ Library for Cross-Platform Development
License: GPL-2.0+
Group: Development/Libraries/C and C++
URL: http://www.wxwidgets.org/
#SVN-Clone: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk
Source: %tarball_name-%version.tar.xz
Source2: README.SUSE
Source5: rpmlintrc
# This script is not used during build, but it makes possible to
# identify and backport wxPython fixes to wxWidgets.
Source6: wxpython-mkdiff.sh
Source50: baselibs.conf
Patch1: soversion.diff
BuildRoot: %_tmppath/%name-%version-build
BuildRequires: SDL-devel
BuildRequires: autoconf
BuildRequires: cppunit-devel
BuildRequires: gcc-c++
BuildRequires: gnome-vfs2-devel
BuildRequires: gstreamer-0_10-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: gtk2-devel
%define gtk_version 2
%if 0%{?suse_version} >= 1220
BuildRequires: libSM-devel
%else
%if 0%{?sles_version} >= 11
BuildRequires: xorg-x11-libSM-devel
%endif
%endif
BuildRequires: libexpat-devel
BuildRequires: libjpeg-devel
BuildRequires: libmspack-devel
BuildRequires: libnotify-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: zlib-devel
BuildRequires: pkgconfig(glu)
%if 0%{?suse_version} >= 1140
BuildRequires: pkgconfig(webkit-1.0)
%else
%if 00%{?sles_version} == 0
BuildRequires: libwebkit-gtk-devel
%endif
%endif
%description
wxWidgets is a free C++ library for cross-platform GUI.
With wxWidgets, you can create applications for different GUIs (GTK+,
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
%package -n libwx_baseu-suse2
Summary: wxWidgets Library
Group: System/Libraries
# Name up to openSUSE 11.3 and up to wxGTK-2.8:
Obsoletes: wxGTK <= %version.0
# Third party base package name:
Obsoletes: wxWidgets < %version
# wxWidgets-lang requires wxWidgets. Provide them to fix dependencies:
Provides: wxWidgets = %version
Recommends: %base_name-lang >= %version
%description -n libwx_baseu-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_baseu_net-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_baseu_net-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_baseu_xml-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_baseu_xml-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_adv-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_adv-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_aui-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_aui-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_core-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_core-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_gl-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_gl-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_html-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_html-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_media-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_media-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_propgrid-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_propgrid-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_qa-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_qa-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_ribbon-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_ribbon-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_richtext-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_richtext-suse2
Library for the wxWidgets cross-platform GUI.
%package -n libwx_gtk%{gtk_version}u_stc-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_stc-suse2
Library for the wxWidgets cross-platform GUI.
%if 0%{?suse_version} > 1110
%package -n libwx_gtk%{gtk_version}u_webview-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_webview-suse2
Library for the wxWidgets cross-platform GUI.
%endif
%package -n libwx_gtk%{gtk_version}u_xrc-suse2
Summary: wxWidgets Library
Group: System/Libraries
%description -n libwx_gtk%{gtk_version}u_xrc-suse2
Library for the wxWidgets cross-platform GUI.
%package plugin-sound_sdlu-3_2
Summary: wxWidgets SDL Plugin
Group: System/Libraries
%description plugin-sound_sdlu-3_2
SDL Plugin for the wxWidgets cross-platform GUI.
%package devel
Summary: Everything needed for development with wxWidgets
Group: Development/Libraries/C and C++
Requires: gtk%gtk_version-devel
Requires: libwx_baseu-suse2 = %version
Requires: libwx_baseu_net-suse2 = %version
Requires: libwx_baseu_xml-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_adv-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_aui-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_core-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_gl-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_html-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_media-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_propgrid-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_qa-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_ribbon-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_richtext-suse2 = %version
Requires: libwx_gtk%{gtk_version}u_stc-suse2 = %version
Requires: pkgconfig(gl)
%if 0%{?suse_version} > 1110
Requires: libwx_gtk%{gtk_version}u_webview-suse2 = %version
%endif
Requires: libwx_gtk%{gtk_version}u_xrc-suse2 = %version
Requires: pkgconfig(glu)
Provides: wxWidgets-devel = %version-%release
Conflicts: otherproviders(wxWidgets-devel)
Provides: wxGTK3-devel = %version-%release
# Name up to openSUSE 11.3 and up to wxGTK-2.8.x:
Provides: wxGTK-devel = %version-%release
Obsoletes: wxGTK-devel <= %version-%release
%description devel
wxWidgets is a free C++ library for cross-platform GUI development.
With wxWidgets, you can create applications for different GUIs (GTK+,
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
This package contains all files needed for developing with wxGTK3.
Note: wxWidgets variant devel packages are mutually exclusive. Please
read %_docdir/%name/README.SUSE to pick a correct variant.
%if %BUILD_LANG
%lang_package -n %base_name
%endif
%prep
echo "=== RPM build flags: WX_DEBUG=0%{?WX_DEBUG}"
%setup -q -n %tarball_name-%version
%patch -P 1 -p1
cp %{S:2} .
%build
autoconf -f -i
# With 2.9.1:
# --enable-objc_uniquifying is relevant only for Cocoa
# --enable-accessibility is currently supported only in msw
# --enable-extended_rtti does not compile
%configure\
--enable-vendor=suse \
--with-gtk=%gtk_version\
--disable-static\
--enable-unicode\
--with-opengl\
--with-libmspack\
--with-sdl\
--with-gnomevfs\
--enable-ipv6\
--enable-mediactrl\
--enable-optimise\
%if 0%{?WX_DEBUG}
--enable-debug\
%else
--disable-debug\
%endif
--enable-stl\
--enable-plugins
make %{?_smp_mflags}
%if %BUILD_LANG
cd locale
make allmo
cd ..
%endif
%clean
:
%install
export VENDORTAG='-$VENDOR' # only needed for non-MSW
make install DESTDIR="%buildroot"
%if %BUILD_LANG
# Locales for MS Windows:
rm -Rf %buildroot/%_datadir/locale/*/LC_MESSAGES/wxmsw.mo
%find_lang wxstd
%else
rm -Rf %buildroot/%_datadir/locale
%endif
# HACK: Fix wx-config symlink (bug introduced in 2.9.4).
ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config
%post -n libwx_baseu-suse2 -p /sbin/ldconfig
%postun -n libwx_baseu-suse2 -p /sbin/ldconfig
%post -n libwx_baseu_net-suse2 -p /sbin/ldconfig
%postun -n libwx_baseu_net-suse2 -p /sbin/ldconfig
%post -n libwx_baseu_xml-suse2 -p /sbin/ldconfig
%postun -n libwx_baseu_xml-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_adv-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_adv-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_aui-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_aui-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_core-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_core-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_gl-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_gl-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_html-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_html-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_media-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_media-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_propgrid-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_propgrid-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_qa-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_qa-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_ribbon-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_ribbon-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_richtext-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_richtext-suse2 -p /sbin/ldconfig
%post -n libwx_gtk%{gtk_version}u_stc-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_stc-suse2 -p /sbin/ldconfig
%if 0%{?suse_version} > 1110
%post -n libwx_gtk%{gtk_version}u_webview-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_webview-suse2 -p /sbin/ldconfig
%endif
%post -n libwx_gtk%{gtk_version}u_xrc-suse2 -p /sbin/ldconfig
%postun -n libwx_gtk%{gtk_version}u_xrc-suse2 -p /sbin/ldconfig
%if %BUILD_LANG
%files lang -f wxstd.lang
%endif
%files -n libwx_baseu-suse2
%defattr (-,root,root)
%_libdir/libwx_baseu-suse.so.2*
%files -n libwx_baseu_net-suse2
%defattr (-,root,root)
%_libdir/libwx_baseu_net-suse.so.2*
%files -n libwx_baseu_xml-suse2
%defattr (-,root,root)
%_libdir/libwx_baseu_xml-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_adv-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_adv-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_aui-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_aui-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_core-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_core-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_gl-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_gl-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_html-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_html-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_media-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_media-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_propgrid-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_propgrid-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_qa-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_qa-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_ribbon-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_ribbon-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_richtext-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_richtext-suse.so.2*
%files -n libwx_gtk%{gtk_version}u_stc-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_stc-suse.so.2*
%if 0%{?suse_version} > 1110
%files -n libwx_gtk%{gtk_version}u_webview-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_webview-suse.so.2*
%endif
%files -n libwx_gtk%{gtk_version}u_xrc-suse2
%defattr (-,root,root)
%_libdir/libwx_gtk%{gtk_version}u_xrc-suse.so.2*
%files plugin-sound_sdlu-3_2
%defattr (-,root,root)
%dir %_libdir/wx
%dir %_libdir/wx/%wx_minor
%_libdir/wx/%wx_minor/sound_sdlu-%wx_minor.so
%files devel
%defattr (-,root,root)
# Complete documentation is available in the docs packages.
%doc docs/*.txt README.SUSE
%_bindir/wxrc
%_bindir/wxrc-%wx_minor
%_bindir/*-config*
%_datadir/aclocal
%_datadir/bakefile
%_includedir/wx-%wx_minor
%_libdir/*.so
%dir %_libdir/wx
%_libdir/wx/config
%_libdir/wx/include
%changelog

12
wxpython-mkdiff.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
# This script helps to find important differences between
# wxWidgets/wxGTK and wxWidgets instance embedded in wxPython-src.
VER=2.9.4
PYREL=0
find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f | while read ; do tr -d '\r' <"$REPLY" >"$REPLY".new ; mv "$REPLY".new "$REPLY" ; done
find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f -exec sed -i /RCS-ID:/d {} \;
find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f -exec sed -i /\$Id/d {} \;
find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -name '*.wat' -exec rm {} \;
LANG=C diff -ur wxWidgets-${VER} wxPython-src-${VER}.${PYREL} | grep -v ^Only >wxWidgets-to-wxpython-${VER}.${PYREL}.patch

44
wxqt-compile.diff Normal file
View File

@ -0,0 +1,44 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-12-05 19:29:16.174123839 +0100
build: fix compile errors/warnings
./src/qt/accel.cpp: In member function 'QList<QShortcut*>
wxAcceleratorTable::ConvertShortcutTable(QWidget*) const':
./src/qt/accel.cpp:88:11: error: 'Node' is not a member of
'wxAccelList'
gcc: ./src/qt/checkbox.cpp:122:1: warning: control reaches end of non-void function [-Wreturn-type]
rpmlint: I: Program returns random data in a function
rpmlint: E: wxQt-3_2 no-return-in-nonvoid-function ./src/qt/checkbox.cpp:122
---
src/qt/accel.cpp | 2 +-
src/qt/checkbox.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: wxWidgets-trunk/src/qt/accel.cpp
===================================================================
--- wxWidgets-trunk.orig/src/qt/accel.cpp
+++ wxWidgets-trunk/src/qt/accel.cpp
@@ -85,7 +85,7 @@ QList< QShortcut* > wxAcceleratorTable::
{
QList< QShortcut* > qtList;
- for ( wxAccelList::Node *node = M_ACCELDATA->m_accels.GetFirst(); node; node = node->GetNext() )
+ for ( wxAccelList::compatibility_iterator node = M_ACCELDATA->m_accels.GetFirst(); node; node = node->GetNext() )
{
qtList << ConvertAccelerator( node->GetData(), parent );
}
Index: wxWidgets-trunk/src/qt/checkbox.cpp
===================================================================
--- wxWidgets-trunk.orig/src/qt/checkbox.cpp
+++ wxWidgets-trunk/src/qt/checkbox.cpp
@@ -116,7 +116,7 @@ wxCheckBoxState wxCheckBox::DoGet3StateV
case Qt::Checked:
return wxCHK_CHECKED;
- case Qt::PartiallyChecked:
+ default:
return wxCHK_UNDETERMINED;
}
}