forked from pool/wxWidgets-3_2
Accepting request 825825 from home:StefanBruens:branches:X11:wxWidgets
Fix uninstallable nostl variant in Staging:ADI:20 - Correct base_packages flag for nostl variant, it can not use the base libraries of the regular variant - Do not disable debugging completely, only recommended for constrained environments and breaks wxPython tests - Build base libraries from wxGTK3 build, wxWidgets (GTK2) is no longer used by any Factory package. OBS-URL: https://build.opensuse.org/request/show/825825 OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=66
This commit is contained in:
parent
71ff03dcbe
commit
c7b9cb41d2
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 26 07:45:42 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Do not disable debugging completely, only recommended for
|
||||||
|
constrained environments and breaks wxPython tests
|
||||||
|
- Correct base_packages flag for nostl variant, it can not use the
|
||||||
|
base libraries of the regular variant
|
||||||
|
- Build base libraries from wxGTK3 build, wxWidgets (GTK2) is no
|
||||||
|
longer used by any Factory package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -20,6 +20,9 @@ Name: wxGTK3-3_2
|
|||||||
%define base_name wxWidgets-3_2
|
%define base_name wxWidgets-3_2
|
||||||
%define tarball_name wxWidgets
|
%define tarball_name wxWidgets
|
||||||
%define variant suse
|
%define variant suse
|
||||||
|
# Use default debug level, enabling exceptions
|
||||||
|
# Other valid values: yes/no/max
|
||||||
|
%define wx_debug %{nil}
|
||||||
%define psonum 4_0_0
|
%define psonum 4_0_0
|
||||||
%define sonum 4.0.0
|
%define sonum 4.0.0
|
||||||
Version: 3.1.4
|
Version: 3.1.4
|
||||||
@ -139,7 +142,7 @@ Group: System/Libraries
|
|||||||
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
||||||
The wxHTML library provides classes for parsing and displaying HTML.
|
The wxHTML library provides classes for parsing and displaying HTML.
|
||||||
It is not intended to be a high-end HTML browser. wxHTML can be used
|
It is not intended to be a high-end HTML browser. wxHTML can be used
|
||||||
as a generic rich text viewer – for example, to display an About Box
|
as a generic rich text viewer - for example, to display an About Box
|
||||||
or the result of a database search.
|
or the result of a database search.
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
||||||
@ -199,7 +202,7 @@ Group: System/Libraries
|
|||||||
|
|
||||||
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
||||||
Library for a wxWidgets control that can be used to render web
|
Library for a wxWidgets control that can be used to render web
|
||||||
(HTML / CSS / JavaScript) documents.
|
(HTML / CSS / JavaScript) documents.
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||||
Summary: wxWidgets's XML-based resource system
|
Summary: wxWidgets's XML-based resource system
|
||||||
@ -249,7 +252,7 @@ read %_docdir/%name/README.SUSE to pick a correct variant.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %tarball_name-%version
|
%setup -q -n %tarball_name-%version
|
||||||
%patch -P 1 -p1
|
%patch1 -p1
|
||||||
cp %{S:2} .
|
cp %{S:2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -271,11 +274,7 @@ autoconf -f -i
|
|||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-mediactrl \
|
--enable-mediactrl \
|
||||||
--enable-optimise \
|
--enable-optimise \
|
||||||
%if 0%{?WX_DEBUG}
|
%{wx_debug:--enable-debug=%{wx_debug}} \
|
||||||
--enable-debug \
|
|
||||||
%else
|
|
||||||
--disable-debug \
|
|
||||||
%endif
|
|
||||||
--enable-repro-build \
|
--enable-repro-build \
|
||||||
--enable-stl \
|
--enable-stl \
|
||||||
--enable-plugins
|
--enable-plugins
|
||||||
@ -380,6 +379,13 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
|||||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
||||||
|
|
||||||
|
%if %base_packages
|
||||||
|
%files -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
|
%dir %_libdir/wx
|
||||||
|
%dir %_libdir/wx/%wx_micro
|
||||||
|
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
# Complete documentation is available in the docs packages.
|
# Complete documentation is available in the docs packages.
|
||||||
%doc docs/*.txt README.SUSE
|
%doc docs/*.txt README.SUSE
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 26 07:45:42 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Do not disable debugging completely, only recommended for
|
||||||
|
constrained environments and breaks wxPython tests
|
||||||
|
- Correct base_packages flag for nostl variant, it can not use the
|
||||||
|
base libraries of the regular variant
|
||||||
|
- Build base libraries from wxGTK3 build, wxWidgets (GTK2) is no
|
||||||
|
longer used by any Factory package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -20,6 +20,9 @@ Name: wxQt-3_2
|
|||||||
%define base_name wxWidgets-3_2
|
%define base_name wxWidgets-3_2
|
||||||
%define tarball_name wxWidgets
|
%define tarball_name wxWidgets
|
||||||
%define variant suse
|
%define variant suse
|
||||||
|
# Use default debug level, enabling exceptions
|
||||||
|
# Other valid values: yes/no/max
|
||||||
|
%define wx_debug %{nil}
|
||||||
%define psonum 4_0_0
|
%define psonum 4_0_0
|
||||||
%define sonum 4.0.0
|
%define sonum 4.0.0
|
||||||
Version: 3.1.4
|
Version: 3.1.4
|
||||||
@ -142,7 +145,7 @@ Group: System/Libraries
|
|||||||
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
||||||
The wxHTML library provides classes for parsing and displaying HTML.
|
The wxHTML library provides classes for parsing and displaying HTML.
|
||||||
It is not intended to be a high-end HTML browser. wxHTML can be used
|
It is not intended to be a high-end HTML browser. wxHTML can be used
|
||||||
as a generic rich text viewer – for example, to display an About Box
|
as a generic rich text viewer - for example, to display an About Box
|
||||||
or the result of a database search.
|
or the result of a database search.
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
||||||
@ -202,7 +205,7 @@ Group: System/Libraries
|
|||||||
|
|
||||||
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
||||||
Library for a wxWidgets control that can be used to render web
|
Library for a wxWidgets control that can be used to render web
|
||||||
(HTML / CSS / JavaScript) documents.
|
(HTML / CSS / JavaScript) documents.
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||||
Summary: wxWidgets's XML-based resource system
|
Summary: wxWidgets's XML-based resource system
|
||||||
@ -248,7 +251,7 @@ read %_docdir/%name/README.SUSE to pick a correct variant.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %tarball_name-%version
|
%setup -q -n %tarball_name-%version
|
||||||
%patch -P 1 -p1
|
%patch1 -p1
|
||||||
cp %{S:2} .
|
cp %{S:2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -270,11 +273,7 @@ autoconf -f -i
|
|||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-mediactrl \
|
--enable-mediactrl \
|
||||||
--enable-optimise \
|
--enable-optimise \
|
||||||
%if 0%{?WX_DEBUG}
|
%{wx_debug:--enable-debug=%{wx_debug}} \
|
||||||
--enable-debug \
|
|
||||||
%else
|
|
||||||
--disable-debug \
|
|
||||||
%endif
|
|
||||||
--enable-repro-build \
|
--enable-repro-build \
|
||||||
--enable-stl \
|
--enable-stl \
|
||||||
--enable-plugins
|
--enable-plugins
|
||||||
@ -373,6 +372,13 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
|||||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
||||||
|
|
||||||
|
%if %base_packages
|
||||||
|
%files -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
|
%dir %_libdir/wx
|
||||||
|
%dir %_libdir/wx/%wx_micro
|
||||||
|
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
# Complete documentation is available in the docs packages.
|
# Complete documentation is available in the docs packages.
|
||||||
%doc docs/*.txt README.SUSE
|
%doc docs/*.txt README.SUSE
|
||||||
|
@ -1,50 +1,46 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 26 07:45:42 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Do not disable debugging completely, only recommended for
|
||||||
|
constrained environments and breaks wxPython tests
|
||||||
|
- Correct base_packages flag for nostl variant, it can not use the
|
||||||
|
base libraries of the regular variant
|
||||||
|
- Build base libraries from wxGTK3 build, wxWidgets (GTK2) is no
|
||||||
|
longer used by any Factory package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
- Update to new upstream release 3.1.4:
|
- Update to new upstream release 3.1.4:
|
||||||
+ INCOMPATIBLE CHANGES SINCE 3.1.3:
|
* Incompatible to 3.1.3: CMake library targets were renamed and
|
||||||
* CMake library targets were renamed and now start with 'wx'. In addition,
|
now start with 'wx'. In addition, aliases for the libraries
|
||||||
aliases for the libraries have been added using the 'wx::' namespace. For
|
have been added using the 'wx::' namespace. For example, the
|
||||||
example, the core library is now named wxcore and has alias wx::core.
|
core library is now named wxcore and has alias wx::core.
|
||||||
+ All:
|
* Add natural sort functions.
|
||||||
* Add natural sort functions (Hugo Elias, PB).
|
|
||||||
* Add wxTempFFile class (Dummy).
|
* Add wxTempFFile class (Dummy).
|
||||||
* Fix bug with multiple leading ".." in wxFileName::Normalize() (Fabian Cenedese).
|
* Fix bug with multiple leading ".." in wxFileName::Normalize().
|
||||||
* Improve brush transparency support in wxSVGFileDC (Maarten Bent).
|
* Improve brush transparency support in wxSVGFileDC.
|
||||||
* Optionally forbid implicit wxString/char* conversions (Arrigo Marchiori).
|
* Optionally forbid implicit wxString/char* conversions.
|
||||||
* Add --disable-tests configure option (Hertatijanto Hartono).
|
* Add support for wxGenericAnimationCtrl to XRC.
|
||||||
+ All (GUI):
|
* Add wxDD_SHOW_HIDDEN and wxDD_MULTIPLE wxDirDialog flags.
|
||||||
* Many wxGrid improvements:
|
* Add wxWebView::SetZoomFactor(float).
|
||||||
- Live-resize wxGrid columns/rows, making it work with wxGTK3 and wxOSX too.
|
* Add wxWindow::DisableFocusFromKeyboard().
|
||||||
- Add activatable editors support, use it for boolean cells.
|
* Allow overriding wxDataViewModal::HasValue().
|
||||||
- Add support for copying selected cells to clipboard (Kvaz1r).
|
|
||||||
- Many bug fixes and usability improvements to selection.
|
|
||||||
- Improve wxGridCellChoiceEditor usability (Ian McInerney).
|
|
||||||
- Significantly optimize wxGrid::AutoSizeColumns() for big grids.
|
|
||||||
- Add ellipsization support.
|
|
||||||
* Add support for wxGenericAnimationCtrl to XRC (Ilya Sinitsin).
|
|
||||||
* Add wxDD_SHOW_HIDDEN and wxDD_MULTIPLE wxDirDialog flags (Ian McInerney, PB).
|
|
||||||
* Add wxWebView::SetZoomFactor(float) (Hertatijanto Hartono).
|
|
||||||
* Add wxWindow::DisableFocusFromKeyboard() (Tomay).
|
|
||||||
* Allow overriding wxDataViewModal::HasValue() (Jorge Moraleda).
|
|
||||||
* Call wxAuiManager::UnInit() automatically now.
|
* Call wxAuiManager::UnInit() automatically now.
|
||||||
* Fix crash and layout problem in wxGenericDirCtrl (Maarten Bent).
|
* Fix crash and layout problem in wxGenericDirCtrl
|
||||||
* Improve AUI appearance in dark mode (Daniel Kulp, Michel Le Bihan).
|
* wxQt: Fix build with Qt 5.15
|
||||||
+ wxGTK:
|
* GTK backend:
|
||||||
* Add native wxSearchCtrl implementation (AliKet).
|
* Add native wxSearchCtrl implementation.
|
||||||
* Several bug fixes and improvements in wxSpinCtrl.
|
* Implement wxBU_EXACTFIT support in wxButton.
|
||||||
* Implement wxBU_EXACTFIT support in wxButton (Artur Wieczorek).
|
|
||||||
* Allow using generic wxAnimationCtrl if wanted.
|
|
||||||
* Fix a regression with crashes when using wxBufferedPaintDC.
|
* Fix a regression with crashes when using wxBufferedPaintDC.
|
||||||
* Fix drawing bitmaps with masks using wxGraphicsContext under GTK2.
|
* Fix drawing bitmaps with masks using wxGraphicsContext under
|
||||||
|
GTK2.
|
||||||
* Fix position of popup menus on non-primary display.
|
* Fix position of popup menus on non-primary display.
|
||||||
* Make wxUIActionSimulator much more reliable (AliKet).
|
* Make wxUIActionSimulator much more reliable
|
||||||
* Fix caret colour in wxTextCtrl with custom colours.
|
* Fix caret colour in wxTextCtrl with custom colours.
|
||||||
+ wxQt:
|
|
||||||
* Fix build with Qt 5.15 (Stefan Brüns).
|
|
||||||
- Drop obsolete patches:
|
- Drop obsolete patches:
|
||||||
+ 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
|
* 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
|
||||||
+ 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
|
* 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 16 10:04:20 UTC 2020 - Dave Plater <davejplater@gmail.com>
|
Tue Jun 16 10:04:20 UTC 2020 - Dave Plater <davejplater@gmail.com>
|
||||||
|
@ -20,6 +20,9 @@ Name: wxWidgets-3_2-nostl
|
|||||||
%define base_name wxWidgets-3_2
|
%define base_name wxWidgets-3_2
|
||||||
%define tarball_name wxWidgets
|
%define tarball_name wxWidgets
|
||||||
%define variant suse-nostl
|
%define variant suse-nostl
|
||||||
|
# Use default debug level, enabling exceptions
|
||||||
|
# Other valid values: yes/no/max
|
||||||
|
%define wx_debug %{nil}
|
||||||
%define psonum 4_0_0
|
%define psonum 4_0_0
|
||||||
%define sonum 4.0.0
|
%define sonum 4.0.0
|
||||||
Version: 3.1.4
|
Version: 3.1.4
|
||||||
@ -69,7 +72,7 @@ wxWidgets is a C++ library abstraction layer for a number of GUI
|
|||||||
backends. Applications can be created for different GUIs (GTK+,
|
backends. Applications can be created for different GUIs (GTK+,
|
||||||
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
|
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
|
||||||
code.
|
code.
|
||||||
This varaint of wxWidgets is built without STL types (such as
|
This variant of wxWidgets is built without STL types (such as
|
||||||
std::string), and is provided for old programs which fail to use e.g.
|
std::string), and is provided for old programs which fail to use e.g.
|
||||||
wxString and instead rely on the wxChar pointer API.
|
wxString and instead rely on the wxChar pointer API.
|
||||||
|
|
||||||
@ -88,7 +91,7 @@ Every wxWidgets application must link against this library. It
|
|||||||
contains mandatory classes that any wxWidgets code depends on (e.g.
|
contains mandatory classes that any wxWidgets code depends on (e.g.
|
||||||
wxString) and portability classes that abstract differences between
|
wxString) and portability classes that abstract differences between
|
||||||
platforms. wxBase can be used to develop console-only applications.
|
platforms. wxBase can be used to develop console-only applications.
|
||||||
This varaint of wxWidgets is built without STL types (such as
|
This variant of wxWidgets is built without STL types (such as
|
||||||
std::string), and is provided for old programs which fail to use e.g.
|
std::string), and is provided for old programs which fail to use e.g.
|
||||||
wxString and instead rely on the wxChar pointer API.
|
wxString and instead rely on the wxChar pointer API.
|
||||||
|
|
||||||
@ -144,9 +147,9 @@ Group: System/Libraries
|
|||||||
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
||||||
The wxHTML library provides classes for parsing and displaying HTML.
|
The wxHTML library provides classes for parsing and displaying HTML.
|
||||||
It is not intended to be a high-end HTML browser. wxHTML can be used
|
It is not intended to be a high-end HTML browser. wxHTML can be used
|
||||||
as a generic rich text viewer – for example, to display an About Box
|
as a generic rich text viewer - for example, to display an About Box
|
||||||
or the result of a database search.
|
or the result of a database search.
|
||||||
This varaint of wxWidgets is built without STL types (such as
|
This variant of wxWidgets is built without STL types (such as
|
||||||
std::string), and is provided for old programs which fail to use e.g.
|
std::string), and is provided for old programs which fail to use e.g.
|
||||||
wxString and instead rely on the wxChar pointer API.
|
wxString and instead rely on the wxChar pointer API.
|
||||||
|
|
||||||
@ -207,7 +210,7 @@ Group: System/Libraries
|
|||||||
|
|
||||||
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
||||||
Library for a wxWidgets control that can be used to render web
|
Library for a wxWidgets control that can be used to render web
|
||||||
(HTML / CSS / JavaScript) documents.
|
(HTML / CSS / JavaScript) documents.
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||||
Summary: wxWidgets's XML-based resource system
|
Summary: wxWidgets's XML-based resource system
|
||||||
@ -249,7 +252,7 @@ Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
|
|||||||
code.
|
code.
|
||||||
|
|
||||||
This package contains all files needed for developing with wxGTK%gtk_version.
|
This package contains all files needed for developing with wxGTK%gtk_version.
|
||||||
This varaint of wxWidgets is built without STL types (such as
|
This variant of wxWidgets is built without STL types (such as
|
||||||
std::string), and is provided for old programs which fail to use e.g.
|
std::string), and is provided for old programs which fail to use e.g.
|
||||||
wxString and instead rely on the wxChar pointer API.
|
wxString and instead rely on the wxChar pointer API.
|
||||||
|
|
||||||
@ -258,7 +261,7 @@ read %_docdir/%name/README.SUSE to pick a correct variant.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %tarball_name-%version
|
%setup -q -n %tarball_name-%version
|
||||||
%patch -P 1 -p1
|
%patch1 -p1
|
||||||
cp %{S:2} .
|
cp %{S:2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -280,11 +283,7 @@ autoconf -f -i
|
|||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-mediactrl \
|
--enable-mediactrl \
|
||||||
--enable-optimise \
|
--enable-optimise \
|
||||||
%if 0%{?WX_DEBUG}
|
%{wx_debug:--enable-debug=%{wx_debug}} \
|
||||||
--enable-debug \
|
|
||||||
%else
|
|
||||||
--disable-debug \
|
|
||||||
%endif
|
|
||||||
--enable-repro-build \
|
--enable-repro-build \
|
||||||
--disable-stl \
|
--disable-stl \
|
||||||
--disable-plugins
|
--disable-plugins
|
||||||
@ -383,6 +382,13 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
|||||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
||||||
|
|
||||||
|
%if %base_packages
|
||||||
|
%files -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
|
%dir %_libdir/wx
|
||||||
|
%dir %_libdir/wx/%wx_micro
|
||||||
|
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
# Complete documentation is available in the docs packages.
|
# Complete documentation is available in the docs packages.
|
||||||
%doc docs/*.txt README.SUSE
|
%doc docs/*.txt README.SUSE
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 26 07:45:42 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Do not disable debugging completely, only recommended for
|
||||||
|
constrained environments and breaks wxPython tests
|
||||||
|
- Correct base_packages flag for nostl variant, it can not use the
|
||||||
|
base libraries of the regular variant
|
||||||
|
- Build base libraries from wxGTK3 build, wxWidgets (GTK2) is no
|
||||||
|
longer used by any Factory package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -20,6 +20,9 @@ Name: wxWidgets-3_2
|
|||||||
%define base_name wxWidgets-3_2
|
%define base_name wxWidgets-3_2
|
||||||
%define tarball_name wxWidgets
|
%define tarball_name wxWidgets
|
||||||
%define variant suse
|
%define variant suse
|
||||||
|
# Use default debug level, enabling exceptions
|
||||||
|
# Other valid values: yes/no/max
|
||||||
|
%define wx_debug %{nil}
|
||||||
%define psonum 4_0_0
|
%define psonum 4_0_0
|
||||||
%define sonum 4.0.0
|
%define sonum 4.0.0
|
||||||
Version: 3.1.4
|
Version: 3.1.4
|
||||||
@ -27,7 +30,7 @@ Release: 0
|
|||||||
%define wx_minor 3.1
|
%define wx_minor 3.1
|
||||||
%define wx_micro 3.1.4
|
%define wx_micro 3.1.4
|
||||||
# build non-UI toolkit related packages
|
# build non-UI toolkit related packages
|
||||||
%define base_packages 1
|
%define base_packages 0
|
||||||
Summary: C++ Library for Cross-Platform Development
|
Summary: C++ Library for Cross-Platform Development
|
||||||
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -139,7 +142,7 @@ Group: System/Libraries
|
|||||||
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
||||||
The wxHTML library provides classes for parsing and displaying HTML.
|
The wxHTML library provides classes for parsing and displaying HTML.
|
||||||
It is not intended to be a high-end HTML browser. wxHTML can be used
|
It is not intended to be a high-end HTML browser. wxHTML can be used
|
||||||
as a generic rich text viewer – for example, to display an About Box
|
as a generic rich text viewer - for example, to display an About Box
|
||||||
or the result of a database search.
|
or the result of a database search.
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
||||||
@ -199,7 +202,7 @@ Group: System/Libraries
|
|||||||
|
|
||||||
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
||||||
Library for a wxWidgets control that can be used to render web
|
Library for a wxWidgets control that can be used to render web
|
||||||
(HTML / CSS / JavaScript) documents.
|
(HTML / CSS / JavaScript) documents.
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||||
Summary: wxWidgets's XML-based resource system
|
Summary: wxWidgets's XML-based resource system
|
||||||
@ -210,11 +213,11 @@ The XML-based resource system of wxWidgets, known as XRC, allows user
|
|||||||
interface elements such as dialogs, menu bars and toolbars, to be
|
interface elements such as dialogs, menu bars and toolbars, to be
|
||||||
stored in text files and loaded into the application at run-time.
|
stored in text files and loaded into the application at run-time.
|
||||||
|
|
||||||
%package plugin-sound_sdlu-3_2
|
%package -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
Summary: wxWidgets SDL Plugin
|
Summary: wxWidgets SDL Plugin
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description plugin-sound_sdlu-3_2
|
%description -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -259,7 +262,7 @@ read %_docdir/%name/README.SUSE to pick a correct variant.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %tarball_name-%version
|
%setup -q -n %tarball_name-%version
|
||||||
%patch -P 1 -p1
|
%patch1 -p1
|
||||||
cp %{S:2} .
|
cp %{S:2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -280,11 +283,7 @@ autoconf -f -i
|
|||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-mediactrl \
|
--enable-mediactrl \
|
||||||
--enable-optimise \
|
--enable-optimise \
|
||||||
%if 0%{?WX_DEBUG}
|
%{wx_debug:--enable-debug=%{wx_debug}} \
|
||||||
--enable-debug \
|
|
||||||
%else
|
|
||||||
--disable-debug \
|
|
||||||
%endif
|
|
||||||
--enable-repro-build \
|
--enable-repro-build \
|
||||||
--enable-stl \
|
--enable-stl \
|
||||||
--enable-plugins
|
--enable-plugins
|
||||||
@ -384,7 +383,7 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
|||||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
||||||
|
|
||||||
%if %base_packages
|
%if %base_packages
|
||||||
%files plugin-sound_sdlu-3_2
|
%files -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
%dir %_libdir/wx
|
%dir %_libdir/wx
|
||||||
%dir %_libdir/wx/%wx_micro
|
%dir %_libdir/wx/%wx_micro
|
||||||
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
||||||
|
Loading…
Reference in New Issue
Block a user