2014-12-07 01:34:49 +01:00
|
|
|
|
#
|
2024-05-16 15:46:32 +02:00
|
|
|
|
# spec file for package wxWidgets-3_2
|
2014-12-07 01:34:49 +01:00
|
|
|
|
#
|
2024-01-08 14:31:01 +01:00
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-12-07 01:34:49 +01:00
|
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-01-13 17:55:01 +01:00
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-12-07 01:34:49 +01:00
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%global flavor @BUILD_FLAVOR@%nil
|
|
|
|
|
%if "%flavor" == ""
|
2020-10-09 18:49:28 +02:00
|
|
|
|
# default flavor is GTK2
|
2023-12-16 17:58:40 +01:00
|
|
|
|
%define this_spec wxWidgets-3_2
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%define variant suse
|
|
|
|
|
%define gtk_version 2
|
|
|
|
|
%define toolkit gtk%gtk_version
|
2023-12-27 17:38:42 +01:00
|
|
|
|
%define base_packages 0
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%bcond_with webview
|
|
|
|
|
%endif
|
|
|
|
|
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%if "%{flavor}" == "doc"
|
2023-12-16 17:58:40 +01:00
|
|
|
|
%define this_spec wxWidgets-3_2-doc
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%define variant %{nil}
|
|
|
|
|
%define toolkit %{nil}
|
|
|
|
|
%endif
|
|
|
|
|
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%flavor" == "GTK3"
|
2023-12-16 17:58:40 +01:00
|
|
|
|
%define this_spec wxGTK3-3_2
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%define variant suse
|
|
|
|
|
%define gtk_version 3
|
|
|
|
|
%define toolkit gtk%gtk_version
|
2023-12-27 17:38:42 +01:00
|
|
|
|
%define base_packages 1
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%bcond_without webview
|
|
|
|
|
%endif
|
|
|
|
|
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%flavor" == "GTK3-nostl"
|
2023-12-16 17:58:40 +01:00
|
|
|
|
%define this_spec wxWidgets-3_2-nostl
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%define variant suse-nostl
|
|
|
|
|
%define gtk_version 3
|
|
|
|
|
%define toolkit gtk%gtk_version
|
2023-12-27 17:38:42 +01:00
|
|
|
|
%define base_packages 1
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%bcond_with webview
|
|
|
|
|
%define extra_description 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. \
|
|
|
|
|
wxString and instead rely on the wxChar pointer API.
|
|
|
|
|
%endif
|
|
|
|
|
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%flavor" == "Qt"
|
2023-12-16 17:58:40 +01:00
|
|
|
|
%define this_spec wxQt-3_2
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%define variant suse
|
|
|
|
|
%define toolkit qt
|
|
|
|
|
%define base_packages 0
|
|
|
|
|
%bcond_with webview
|
|
|
|
|
%endif
|
|
|
|
|
|
2023-12-16 17:58:40 +01:00
|
|
|
|
# At most one Name: line to not confuse quilt(1)
|
2017-12-22 18:15:31 +01:00
|
|
|
|
%define base_name wxWidgets-3_2
|
2022-07-07 18:13:52 +02:00
|
|
|
|
%define wx_minor 3.2
|
2024-09-09 18:47:10 +02:00
|
|
|
|
%define psonum 12_0_0
|
|
|
|
|
%define sonum 12.0.0
|
2023-12-16 17:58:40 +01:00
|
|
|
|
Name: %this_spec
|
2024-09-09 18:47:10 +02:00
|
|
|
|
Version: 3.2.6
|
2023-12-16 17:58:40 +01:00
|
|
|
|
Release: 0
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Summary: C++ Library for Cross-Platform Development
|
2020-05-29 16:59:17 +02:00
|
|
|
|
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: Development/Libraries/C and C++
|
2019-04-15 20:35:58 +02:00
|
|
|
|
URL: https://www.wxwidgets.org/
|
2020-11-16 15:05:03 +01:00
|
|
|
|
Source: https://github.com/wxWidgets/wxWidgets/releases/download/v%version/wxWidgets-%version.tar.bz2
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Source2: README.SUSE
|
2017-12-05 17:25:10 +01:00
|
|
|
|
Source5: wxWidgets-3_2-rpmlintrc
|
2014-12-07 01:34:49 +01:00
|
|
|
|
# This script is not used during build, but it makes possible to
|
|
|
|
|
# identify and backport wxPython fixes to wxWidgets.
|
|
|
|
|
Source6: wxpython-mkdiff.sh
|
2024-01-08 14:31:01 +01:00
|
|
|
|
Patch0: soversion.diff
|
|
|
|
|
Patch1: autoconf-2_72.diff
|
2024-08-20 23:41:25 +02:00
|
|
|
|
Patch2: textfiletest-fix-file-exists.diff
|
2024-10-01 11:34:53 +02:00
|
|
|
|
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/24814 Fix docs generation for datetime with doxygen 1.11.0
|
|
|
|
|
Patch3: doxygen111.patch
|
2024-10-07 12:38:16 +02:00
|
|
|
|
Patch4: fix_webkit_tests.patch
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%if "%{flavor}" == "doc"
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
%else
|
2014-12-07 01:34:49 +01:00
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: cppunit-devel
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
2023-05-24 12:17:53 +02:00
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
|
BuildRequires: pkgconfig(libmspack)
|
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
|
BuildRequires: pkgconfig(sm)
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "gtk2"
|
2023-05-24 12:17:53 +02:00
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%endif
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "gtk3"
|
2020-08-20 00:32:06 +02:00
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
|
%if %{with webview}
|
|
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "qt"
|
2020-08-20 00:32:06 +02:00
|
|
|
|
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(cairo)
|
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
BuildRequires: pkgconfig(glu)
|
2020-06-01 16:47:15 +02:00
|
|
|
|
BuildRequires: pkgconfig(liblzma)
|
2020-05-29 16:59:17 +02:00
|
|
|
|
BuildRequires: pkgconfig(sdl2)
|
2020-06-01 16:47:15 +02:00
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%endif
|
2023-12-16 17:58:40 +01:00
|
|
|
|
# Use default debug level, enabling exceptions
|
|
|
|
|
# Other valid values: yes/no/max
|
|
|
|
|
%define wx_debug %nil
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
|
|
%description
|
2019-04-15 20:35:58 +02:00
|
|
|
|
wxWidgets is a C++ library abstraction layer for a number of GUI
|
|
|
|
|
backends. Applications can be created for different GUIs (GTK+,
|
|
|
|
|
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
|
|
|
|
|
code.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2020-11-20 12:55:56 +01:00
|
|
|
|
%package -n libwx_base-%variant-devel
|
2020-11-16 15:05:03 +01:00
|
|
|
|
Summary: Development files for %name
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: libwx_baseu-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_baseu_net-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_baseu_xml-%variant%psonum = %version
|
2020-11-20 14:29:52 +01:00
|
|
|
|
Provides: libwx_base-devel
|
|
|
|
|
Conflicts: libwx_base-devel
|
2020-11-16 15:05:03 +01:00
|
|
|
|
|
2020-11-20 12:55:56 +01:00
|
|
|
|
%description -n libwx_base-%variant-devel
|
2020-11-16 15:05:03 +01:00
|
|
|
|
wxWidgets is a C++ library abstraction layer for a number of GUI
|
|
|
|
|
backends.
|
|
|
|
|
This package is a build artifact and need not be manually installed.
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_baseu-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets base library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
# Name up to openSUSE 11.3 and up to wxGTK-2.8:
|
2017-12-22 18:15:31 +01:00
|
|
|
|
Group: System/Libraries
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Obsoletes: wxGTK <= %version.0
|
|
|
|
|
# Third party base package name:
|
|
|
|
|
Obsoletes: wxWidgets < %version
|
|
|
|
|
Provides: wxWidgets = %version
|
2017-12-22 18:15:31 +01:00
|
|
|
|
Recommends: wxWidgets-lang >= 3.0
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_baseu-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Every wxWidgets application must link against this library. It
|
|
|
|
|
contains mandatory classes that any wxWidgets code depends on (e.g.
|
|
|
|
|
wxString) and portability classes that abstract differences between
|
|
|
|
|
platforms. wxBase can be used to develop console-only applications.
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%{?extra_description}
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_baseu_net-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets networking library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_baseu_net-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Classes for network access with wxWidgets.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_baseu_xml-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets XML parser library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_baseu_xml-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
This library contains classes for parsing XML documents.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_adv-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets advanced widgets and rarely-used widgets
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_adv-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Advanced or rarely-used GUI classes for wxWidgets.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_aui-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets advanced user interface docking library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_aui-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
The Advanced User Interface docking library of wxWidgets.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_core-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets basic GUI class library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_core-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Basic GUI classes such as GDI classes or controls are in this
|
|
|
|
|
library. All wxWidgets GUI applications must link against this
|
|
|
|
|
library, only console mode applications need not.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_gl-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets OpenGL integration library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_gl-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
This library contains the wxGLCanvas class for integration of OpenGL
|
|
|
|
|
with wxWidgets.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_html-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets HTML parser and renderer library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
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
|
2022-05-11 18:18:24 +02:00
|
|
|
|
as a generic rich text viewer – for example, to display an About Box
|
2019-04-15 20:35:58 +02:00
|
|
|
|
or the result of a database search.
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%{?extra_description}
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets media class library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_media-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
wxMediaCtrl is a class for displaying types of media, such as videos,
|
|
|
|
|
audio files, natively through native codecs.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets property grid class library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
wxPropertyGrid is a specialized grid for editing properties, in other
|
|
|
|
|
words, name=value pairs.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_qa-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets quality assurance class library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_qa-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
This is the library containing extra classes for quality
|
|
|
|
|
assurance, containing the wxDebugReport class. wxDebugReport is
|
|
|
|
|
used to generate a debug report, containing information about the
|
|
|
|
|
program current state.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets's ribbon user interface library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
The wxRibbon library is a set of classes for writing a ribbon user
|
|
|
|
|
interface.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_richtext-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets Rich Text editor class library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_richtext-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
wxRichTextCtrl provides a generic implementation of a rich text
|
|
|
|
|
editor that can handle different character styles, paragraph
|
|
|
|
|
formatting, and images. It is intended for "natural" text in the
|
|
|
|
|
sense that source code is better served by wxStyledTextCtrl.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_stc-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets styled text class library
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_stc-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
A wxWidgets implementation of the Scintilla source code editing component.
|
|
|
|
|
|
|
|
|
|
%package -n libwx_%{toolkit}u_webview-%variant%psonum
|
|
|
|
|
Summary: wxWidgets HTML/browser class library
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n libwx_%{toolkit}u_webview-%variant%psonum
|
|
|
|
|
Library for a wxWidgets control that can be used to render web
|
2022-05-11 18:18:24 +02:00
|
|
|
|
(HTML / CSS / JavaScript) documents.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
Summary: wxWidgets's XML-based resource system
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%description -n libwx_%{toolkit}u_xrc-%variant%psonum
|
2019-04-15 20:35:58 +02:00
|
|
|
|
The XML-based resource system of wxWidgets, known as XRC, allows user
|
|
|
|
|
interface elements such as dialogs, menu bars and toolbars, to be
|
|
|
|
|
stored in text files and loaded into the application at run-time.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2020-08-15 15:19:14 +02:00
|
|
|
|
%package -n %{base_name}-plugin-sound_sdlu-3_2
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Summary: wxWidgets SDL Plugin
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
2020-08-15 15:19:14 +02:00
|
|
|
|
%description -n %{base_name}-plugin-sound_sdlu-3_2
|
2020-05-29 16:59:17 +02:00
|
|
|
|
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
|
|
%package devel
|
2020-11-16 15:05:03 +01:00
|
|
|
|
Summary: Development files for %name
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Group: Development/Libraries/C and C++
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "gtk2"
|
2020-08-20 00:32:06 +02:00
|
|
|
|
Requires: gtk2-devel
|
|
|
|
|
%endif
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "gtk3"
|
2020-08-20 00:32:06 +02:00
|
|
|
|
Requires: pkgconfig(gtk+-3.0)
|
|
|
|
|
%endif
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "qt"
|
2020-08-20 00:32:06 +02:00
|
|
|
|
Requires: pkgconfig(Qt5OpenGL) >= 5.2.1
|
|
|
|
|
Requires: pkgconfig(Qt5Widgets) >= 5.2.1
|
|
|
|
|
%endif
|
2018-04-17 12:58:44 +02:00
|
|
|
|
Requires: libwx_%{toolkit}u_adv-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_aui-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_core-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_gl-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_html-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_media-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_propgrid-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_qa-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_ribbon-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_richtext-%variant%psonum = %version
|
|
|
|
|
Requires: libwx_%{toolkit}u_stc-%variant%psonum = %version
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%if %{with webview}
|
|
|
|
|
Requires: libwx_%{toolkit}u_webview-%variant%psonum = %version
|
|
|
|
|
%endif
|
2018-04-17 12:58:44 +02:00
|
|
|
|
Requires: libwx_%{toolkit}u_xrc-%variant%psonum = %version
|
2020-11-20 12:55:56 +01:00
|
|
|
|
Requires: libwx_base-%variant-devel = %version
|
2017-12-22 18:15:31 +01:00
|
|
|
|
Requires: pkgconfig(gl)
|
2014-12-07 01:34:49 +01:00
|
|
|
|
Requires: pkgconfig(glu)
|
2018-01-24 10:14:26 +01:00
|
|
|
|
Provides: wxWidgets-any-devel
|
|
|
|
|
Conflicts: wxWidgets-any-devel
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "gtk2"
|
2020-08-20 12:08:10 +02:00
|
|
|
|
Provides: wxGTK2-devel = %version-%release
|
|
|
|
|
Provides: wxWidgets-devel = %version-%release
|
2014-12-07 01:34:49 +01:00
|
|
|
|
# Name up to openSUSE 11.3 and up to wxGTK-2.8.x:
|
|
|
|
|
Provides: wxGTK-devel = %version-%release
|
Accepting request 822799 from home:StefanBruens:branches:X11:wxWidgets
- Update to new upstream release 3.1.4:
+ INCOMPATIBLE CHANGES SINCE 3.1.3:
* CMake library targets were renamed and now start with 'wx'. In addition,
aliases for the libraries have been added using the 'wx::' namespace. For
example, the core library is now named wxcore and has alias wx::core.
+ All:
* Add natural sort functions (Hugo Elias, PB).
* Add wxTempFFile class (Dummy).
* Fix bug with multiple leading ".." in wxFileName::Normalize() (Fabian Cenedese).
* Improve brush transparency support in wxSVGFileDC (Maarten Bent).
* Optionally forbid implicit wxString/char* conversions (Arrigo Marchiori).
* Add --disable-tests configure option (Hertatijanto Hartono).
+ All (GUI):
* Many wxGrid improvements:
- Live-resize wxGrid columns/rows, making it work with wxGTK3 and wxOSX too.
- Add activatable editors support, use it for boolean cells.
- 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.
* Fix crash and layout problem in wxGenericDirCtrl (Maarten Bent).
* Improve AUI appearance in dark mode (Daniel Kulp, Michel Le Bihan).
+ wxGTK:
* Add native wxSearchCtrl implementation (AliKet).
* Several bug fixes and improvements in wxSpinCtrl.
* Implement wxBU_EXACTFIT support in wxButton (Artur Wieczorek).
* Allow using generic wxAnimationCtrl if wanted.
* Fix a regression with crashes when using wxBufferedPaintDC.
* Fix drawing bitmaps with masks using wxGraphicsContext under GTK2.
* Fix position of popup menus on non-primary display.
* Make wxUIActionSimulator much more reliable (AliKet).
* Fix caret colour in wxTextCtrl with custom colours.
+ wxQt:
* Fix build with Qt 5.15 (Stefan Brüns).
- Drop obsolete patches:
+ 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
+ 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
- Build nostl package against gtk3, audacity crashes with gtk2
- Add nostl package for audacity
- Update to new upstream release 3.1.4:
+ INCOMPATIBLE CHANGES SINCE 3.1.3:
* CMake library targets were renamed and now start with 'wx'. In addition,
aliases for the libraries have been added using the 'wx::' namespace. For
example, the core library is now named wxcore and has alias wx::core.
+ All:
* Add natural sort functions (Hugo Elias, PB).
* Add wxTempFFile class (Dummy).
* Fix bug with multiple leading ".." in wxFileName::Normalize() (Fabian Cenedese).
* Improve brush transparency support in wxSVGFileDC (Maarten Bent).
* Optionally forbid implicit wxString/char* conversions (Arrigo Marchiori).
* Add --disable-tests configure option (Hertatijanto Hartono).
+ All (GUI):
* Many wxGrid improvements:
- Live-resize wxGrid columns/rows, making it work with wxGTK3 and wxOSX too.
- Add activatable editors support, use it for boolean cells.
- 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.
* Fix crash and layout problem in wxGenericDirCtrl (Maarten Bent).
* Improve AUI appearance in dark mode (Daniel Kulp, Michel Le Bihan).
+ wxGTK:
* Add native wxSearchCtrl implementation (AliKet).
* Several bug fixes and improvements in wxSpinCtrl.
* Implement wxBU_EXACTFIT support in wxButton (Artur Wieczorek).
* Allow using generic wxAnimationCtrl if wanted.
* Fix a regression with crashes when using wxBufferedPaintDC.
* Fix drawing bitmaps with masks using wxGraphicsContext under GTK2.
* Fix position of popup menus on non-primary display.
* Make wxUIActionSimulator much more reliable (AliKet).
* Fix caret colour in wxTextCtrl with custom colours.
+ wxQt:
* Fix build with Qt 5.15 (Stefan Brüns).
- Drop obsolete patches:
+ 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
+ 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
- Build nostl package against gtk3, audacity crashes with gtk2
- Add nostl package for audacity
- Update to new upstream release 3.1.4:
+ INCOMPATIBLE CHANGES SINCE 3.1.3:
* CMake library targets were renamed and now start with 'wx'. In addition,
aliases for the libraries have been added using the 'wx::' namespace. For
example, the core library is now named wxcore and has alias wx::core.
+ All:
* Add natural sort functions (Hugo Elias, PB).
* Add wxTempFFile class (Dummy).
* Fix bug with multiple leading ".." in wxFileName::Normalize() (Fabian Cenedese).
* Improve brush transparency support in wxSVGFileDC (Maarten Bent).
* Optionally forbid implicit wxString/char* conversions (Arrigo Marchiori).
* Add --disable-tests configure option (Hertatijanto Hartono).
+ All (GUI):
* Many wxGrid improvements:
- Live-resize wxGrid columns/rows, making it work with wxGTK3 and wxOSX too.
- Add activatable editors support, use it for boolean cells.
- 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.
* Fix crash and layout problem in wxGenericDirCtrl (Maarten Bent).
* Improve AUI appearance in dark mode (Daniel Kulp, Michel Le Bihan).
+ wxGTK:
* Add native wxSearchCtrl implementation (AliKet).
* Several bug fixes and improvements in wxSpinCtrl.
* Implement wxBU_EXACTFIT support in wxButton (Artur Wieczorek).
* Allow using generic wxAnimationCtrl if wanted.
* Fix a regression with crashes when using wxBufferedPaintDC.
* Fix drawing bitmaps with masks using wxGraphicsContext under GTK2.
* Fix position of popup menus on non-primary display.
* Make wxUIActionSimulator much more reliable (AliKet).
* Fix caret colour in wxTextCtrl with custom colours.
+ wxQt:
* Fix build with Qt 5.15 (Stefan Brüns).
- Drop obsolete patches:
+ 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
+ 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
- Update to new upstream release 3.1.4:
+ INCOMPATIBLE CHANGES SINCE 3.1.3:
* CMake library targets were renamed and now start with 'wx'. In addition,
aliases for the libraries have been added using the 'wx::' namespace. For
example, the core library is now named wxcore and has alias wx::core.
+ All:
* Add natural sort functions (Hugo Elias, PB).
* Add wxTempFFile class (Dummy).
* Fix bug with multiple leading ".." in wxFileName::Normalize() (Fabian Cenedese).
* Improve brush transparency support in wxSVGFileDC (Maarten Bent).
* Optionally forbid implicit wxString/char* conversions (Arrigo Marchiori).
* Add --disable-tests configure option (Hertatijanto Hartono).
+ All (GUI):
* Many wxGrid improvements:
- Live-resize wxGrid columns/rows, making it work with wxGTK3 and wxOSX too.
- Add activatable editors support, use it for boolean cells.
- 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.
* Fix crash and layout problem in wxGenericDirCtrl (Maarten Bent).
* Improve AUI appearance in dark mode (Daniel Kulp, Michel Le Bihan).
+ wxGTK:
* Add native wxSearchCtrl implementation (AliKet).
* Several bug fixes and improvements in wxSpinCtrl.
* Implement wxBU_EXACTFIT support in wxButton (Artur Wieczorek).
* Allow using generic wxAnimationCtrl if wanted.
* Fix a regression with crashes when using wxBufferedPaintDC.
* Fix drawing bitmaps with masks using wxGraphicsContext under GTK2.
* Fix position of popup menus on non-primary display.
* Make wxUIActionSimulator much more reliable (AliKet).
* Fix caret colour in wxTextCtrl with custom colours.
+ wxQt:
* Fix build with Qt 5.15 (Stefan Brüns).
- Drop obsolete patches:
+ 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
+ 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
OBS-URL: https://build.opensuse.org/request/show/822799
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=62
2020-08-05 01:00:04 +02:00
|
|
|
|
Obsoletes: wxGTK-devel < %version-%release
|
2020-08-20 12:08:10 +02:00
|
|
|
|
%endif
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "gtk3"
|
|
|
|
|
%if "%flavor" != "GTK3-nostl"
|
2020-08-20 12:08:10 +02:00
|
|
|
|
Provides: wxGTK3-devel = %version-%release
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "qt"
|
2020-08-20 12:08:10 +02:00
|
|
|
|
Provides: wxQt-devel = %version-%release
|
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
|
|
%description devel
|
2019-04-15 20:35:58 +02:00
|
|
|
|
wxWidgets is a C++ library abstraction layer for a number of GUI
|
|
|
|
|
backends. Applications can be created for different GUIs (GTK+,
|
|
|
|
|
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
|
|
|
|
|
code.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2020-11-16 15:05:03 +01:00
|
|
|
|
This package contains all files needed for developing with %name.
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%{?extra_description}
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
|
|
Note: wxWidgets variant devel packages are mutually exclusive. Please
|
|
|
|
|
read %_docdir/%name/README.SUSE to pick a correct variant.
|
|
|
|
|
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%package xml
|
|
|
|
|
Summary: wxWidgets interface description
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description xml
|
|
|
|
|
wxWidgets is a C++ library abstraction layer for a number of GUI
|
|
|
|
|
backends. Applications can be created for different GUIs (GTK+,
|
|
|
|
|
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
|
|
|
|
|
code.
|
|
|
|
|
|
|
|
|
|
This package contains the interface description in XML format,
|
|
|
|
|
useful for generating bindings.
|
|
|
|
|
|
|
|
|
|
%package html
|
|
|
|
|
Summary: wxWidgets API documentation
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description html
|
|
|
|
|
wxWidgets is a C++ library abstraction layer for a number of GUI
|
|
|
|
|
backends. Applications can be created for different GUIs (GTK+,
|
|
|
|
|
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
|
|
|
|
|
code.
|
|
|
|
|
|
|
|
|
|
This package contains the API documentation in HTML format.
|
|
|
|
|
|
2014-12-07 01:34:49 +01:00
|
|
|
|
%prep
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%autosetup -n wxWidgets-%version -p1
|
2014-12-07 01:34:49 +01:00
|
|
|
|
cp %{S:2} .
|
|
|
|
|
|
|
|
|
|
%build
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%if "%{flavor}" == "doc"
|
|
|
|
|
pushd docs/doxygen
|
|
|
|
|
echo "DOT_IMAGE_FORMAT = svg" >> Doxyfile
|
|
|
|
|
WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh xml
|
|
|
|
|
WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh html
|
|
|
|
|
|
|
|
|
|
%else
|
2014-12-07 01:34:49 +01:00
|
|
|
|
autoconf -f -i
|
2022-02-16 15:38:42 +01:00
|
|
|
|
# NOTE: gnome-vfs is deprecated. Disabled by default upstream.
|
2020-08-20 00:32:06 +02:00
|
|
|
|
#
|
2014-12-07 01:34:49 +01:00
|
|
|
|
# With 2.9.1:
|
|
|
|
|
# --enable-accessibility is currently supported only in msw
|
|
|
|
|
# --enable-extended_rtti does not compile
|
|
|
|
|
|
2018-01-24 11:12:50 +01:00
|
|
|
|
%configure \
|
2017-11-28 11:19:42 +01:00
|
|
|
|
--enable-vendor=%variant \
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%toolkit" == "qt"
|
2020-08-20 00:32:06 +02:00
|
|
|
|
--with-qt \
|
|
|
|
|
%else
|
2018-01-24 11:12:50 +01:00
|
|
|
|
--with-gtk=%gtk_version \
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%endif
|
2018-01-24 11:12:50 +01:00
|
|
|
|
--enable-unicode \
|
|
|
|
|
--with-opengl \
|
|
|
|
|
--with-libmspack \
|
|
|
|
|
--with-sdl \
|
|
|
|
|
--enable-ipv6 \
|
|
|
|
|
--enable-mediactrl \
|
|
|
|
|
--enable-optimise \
|
2020-08-15 15:19:14 +02:00
|
|
|
|
%{wx_debug:--enable-debug=%{wx_debug}} \
|
2020-05-29 16:59:17 +02:00
|
|
|
|
--enable-repro-build \
|
2021-08-22 01:15:20 +02:00
|
|
|
|
--disable-glcanvasegl \
|
2023-05-04 09:44:14 +02:00
|
|
|
|
--enable-webrequest \
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%flavor" == "GTK3-nostl"
|
2020-08-20 00:32:06 +02:00
|
|
|
|
--disable-stl \
|
|
|
|
|
--disable-plugins
|
|
|
|
|
%else
|
2018-01-24 11:12:50 +01:00
|
|
|
|
--enable-stl \
|
2014-12-07 01:34:49 +01:00
|
|
|
|
--enable-plugins
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%endif
|
|
|
|
|
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%make_build
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
|
|
%install
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%if "%{flavor}" == "doc"
|
|
|
|
|
find docs/doxygen/out/xml/ -iname \*.png -print -delete
|
|
|
|
|
find docs/doxygen/out/html/ -iname \*.dot -print -delete
|
|
|
|
|
%fdupes -s docs/doxygen/out/html/
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
|
export VENDORTAG='-$variant' # only needed for non-MSW
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%make_install
|
2023-12-27 18:08:44 +01:00
|
|
|
|
%if !%base_packages
|
2017-11-28 10:57:09 +01:00
|
|
|
|
# Drop libraries already supplied by another packages
|
2020-11-16 15:58:26 +01:00
|
|
|
|
rm -fv "%buildroot/%_libdir"/libwx_baseu*.so* \
|
2022-07-07 18:13:52 +02:00
|
|
|
|
"%buildroot/%_libdir/wx/%wx_minor"/sound_sdlu-*.so
|
2017-11-28 10:57:09 +01:00
|
|
|
|
%endif
|
2020-11-20 12:55:56 +01:00
|
|
|
|
rm -Rfv %buildroot/%_datadir/locale
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
|
|
# 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
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if "%{flavor}" != "doc"
|
|
|
|
|
%make_build -C tests all
|
|
|
|
|
pushd tests
|
2023-05-04 09:44:14 +02:00
|
|
|
|
# Disable webrequest tests requiring network access
|
|
|
|
|
export WX_TEST_WEBREQUEST_URL=0
|
2022-06-28 17:43:38 +02:00
|
|
|
|
# Non-gui tests
|
|
|
|
|
./test -l || true
|
|
|
|
|
# ExecTestCase depends on xclock, and is fragile
|
|
|
|
|
./test exclude:ExecTestCase exclude:[.]
|
|
|
|
|
# Tests depending on a running X server
|
|
|
|
|
# ./test_gui -l || true
|
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2024-09-09 18:47:10 +02:00
|
|
|
|
%ldconfig_scriptlets -n libwx_baseu-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_baseu_net-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_baseu_xml-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_core-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_html-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_media-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_webview-%variant%psonum
|
|
|
|
|
%ldconfig_scriptlets -n libwx_%{toolkit}u_xrc-%variant%psonum
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%if "%{flavor}" == "doc"
|
|
|
|
|
%files xml
|
|
|
|
|
%doc docs/doxygen/out/xml/*.{xml,xslt}
|
|
|
|
|
|
|
|
|
|
%files html
|
|
|
|
|
%doc docs/doxygen/out/html/*.css
|
|
|
|
|
%doc docs/doxygen/out/html/*.html
|
|
|
|
|
%doc docs/doxygen/out/html/*.js
|
|
|
|
|
%doc docs/doxygen/out/html/*.png
|
|
|
|
|
%doc docs/doxygen/out/html/*.svg
|
|
|
|
|
%doc docs/doxygen/out/html/generic
|
|
|
|
|
%doc docs/doxygen/out/html/search
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
2023-12-27 18:08:44 +01:00
|
|
|
|
%if %base_packages
|
2020-11-20 12:55:56 +01:00
|
|
|
|
%files -n libwx_base-%variant-devel
|
2020-11-16 15:58:26 +01:00
|
|
|
|
%_libdir/libwx_baseu*.so
|
2020-11-16 15:05:03 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_baseu-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_baseu-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_baseu_net-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_baseu_xml-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
|
2017-11-28 10:57:09 +01:00
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_adv-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_aui-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_core-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_gl-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_html-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_media-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_qa-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_richtext-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%if %{with webview}
|
|
|
|
|
%files -n libwx_%{toolkit}u_webview-%variant%psonum
|
|
|
|
|
%_libdir/libwx_%{toolkit}u_webview-%variant.so.%{sonum}*
|
|
|
|
|
%dir %_libdir/wx
|
2022-07-07 18:13:52 +02:00
|
|
|
|
%dir %_libdir/wx/%wx_minor
|
|
|
|
|
%_libdir/wx/%wx_minor/web-extensions/
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%endif
|
|
|
|
|
|
2018-04-17 12:58:44 +02:00
|
|
|
|
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
2017-11-28 11:19:42 +01:00
|
|
|
|
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
2023-12-27 18:08:44 +01:00
|
|
|
|
%if %base_packages
|
2020-11-16 15:05:03 +01:00
|
|
|
|
%if "%flavor" != "GTK3-nostl"
|
2020-08-15 15:19:14 +02:00
|
|
|
|
%files -n %{base_name}-plugin-sound_sdlu-3_2
|
2014-12-07 01:34:49 +01:00
|
|
|
|
%dir %_libdir/wx
|
2022-07-07 18:13:52 +02:00
|
|
|
|
%dir %_libdir/wx/%wx_minor
|
|
|
|
|
%_libdir/wx/%wx_minor/sound_sdlu-%wx_minor.so
|
2017-11-28 10:57:09 +01:00
|
|
|
|
%endif
|
2020-08-20 00:32:06 +02:00
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
# 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
|
2023-12-27 18:08:44 +01:00
|
|
|
|
%if %base_packages
|
2020-11-20 12:55:56 +01:00
|
|
|
|
%exclude %_libdir/libwx_baseu*
|
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
%dir %_libdir/wx
|
|
|
|
|
%_libdir/wx/config
|
|
|
|
|
%_libdir/wx/include
|
2022-06-28 17:43:38 +02:00
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
|
|
%changelog
|