forked from pool/wxWidgets-3_2
Accepting request 831918 from X11:wxWidgets
- Update to new upstream release 3.1.4: OBS-URL: https://build.opensuse.org/request/show/831918 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wxWidgets-3_2?expand=0&rev=11
This commit is contained in:
commit
d1caa2e0ce
@ -1,39 +0,0 @@
|
|||||||
From 823af8e13d94e6466535fd81b233e8e4b4da2035 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
|
||||||
Date: Mon, 1 Jun 2020 14:05:46 +0200
|
|
||||||
Subject: [PATCH] Add missing QPainterPath include required with Qt 5.15
|
|
||||||
|
|
||||||
The header is no longer pulled in by QPainter, omitting it causes
|
|
||||||
failing builds due to incomplete type QPainterPath.
|
|
||||||
---
|
|
||||||
src/qt/dc.cpp | 1 +
|
|
||||||
src/qt/graphics.cpp | 1 +
|
|
||||||
2 files changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/qt/dc.cpp b/src/qt/dc.cpp
|
|
||||||
index 5f1324abe9..e304b54c37 100644
|
|
||||||
--- a/src/qt/dc.cpp
|
|
||||||
+++ b/src/qt/dc.cpp
|
|
||||||
@@ -15,6 +15,7 @@
|
|
||||||
#include <QtGui/QBitmap>
|
|
||||||
#include <QtGui/QPen>
|
|
||||||
#include <QtGui/QPainter>
|
|
||||||
+#include <QtGui/QPainterPath>
|
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
|
||||||
#include "wx/icon.h"
|
|
||||||
diff --git a/src/qt/graphics.cpp b/src/qt/graphics.cpp
|
|
||||||
index 9e0614807d..1c4d654acc 100644
|
|
||||||
--- a/src/qt/graphics.cpp
|
|
||||||
+++ b/src/qt/graphics.cpp
|
|
||||||
@@ -19,6 +19,7 @@
|
|
||||||
#include <QApplication>
|
|
||||||
#include <QDesktopWidget>
|
|
||||||
#include <QPainter>
|
|
||||||
+#include <QPainterPath>
|
|
||||||
#include <QPicture>
|
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
|
||||||
--
|
|
||||||
2.26.2
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
|||||||
From dd2f7c31716029171706ff70b56eb66fd082e296 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
|
||||||
Date: Sun, 31 May 2020 20:01:54 +0200
|
|
||||||
Subject: [PATCH 2/2] Make the wxUIActionSimulator::Text implementation match
|
|
||||||
the interface
|
|
||||||
|
|
||||||
interface/uiaction.h declares the parameter as 'const wxString&'. For
|
|
||||||
non-STL variants, this just makes the char* conversion explicit, while
|
|
||||||
for STL variants this actually allows to pass a wxString to the method.
|
|
||||||
|
|
||||||
This also fixes a compile error when building wxPython with a system
|
|
||||||
wxWidgets library which has been built with wxUSE_STL=1.
|
|
||||||
---
|
|
||||||
include/wx/uiaction.h | 1 +
|
|
||||||
src/common/uiactioncmn.cpp | 6 ++++++
|
|
||||||
2 files changed, 7 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/include/wx/uiaction.h b/include/wx/uiaction.h
|
|
||||||
index 9b8df1094f..c8d01f52df 100644
|
|
||||||
--- a/include/wx/uiaction.h
|
|
||||||
+++ b/include/wx/uiaction.h
|
|
||||||
@@ -60,6 +60,7 @@ public:
|
|
||||||
bool Char(int keycode, int modifiers = wxMOD_NONE);
|
|
||||||
|
|
||||||
bool Text(const char *text);
|
|
||||||
+ bool Text(const wxString& text);
|
|
||||||
|
|
||||||
// Select the item with the given text in the currently focused control.
|
|
||||||
bool Select(const wxString& text);
|
|
||||||
diff --git a/src/common/uiactioncmn.cpp b/src/common/uiactioncmn.cpp
|
|
||||||
index eeaf01ef93..092825681f 100644
|
|
||||||
--- a/src/common/uiactioncmn.cpp
|
|
||||||
+++ b/src/common/uiactioncmn.cpp
|
|
||||||
@@ -163,6 +163,12 @@ static bool MapUnshifted(char& ch)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
+bool wxUIActionSimulator::Text(const wxString& text)
|
|
||||||
+{
|
|
||||||
+ const wxScopedCharBuffer ascii = text.ToAscii();
|
|
||||||
+ return Text(ascii.data());
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
bool wxUIActionSimulator::Text(const char *s)
|
|
||||||
{
|
|
||||||
while ( *s != '\0' )
|
|
||||||
--
|
|
||||||
2.26.2
|
|
||||||
|
|
6
_multibuild
Normal file
6
_multibuild
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>GTK2</package>
|
||||||
|
<package>GTK3</package>
|
||||||
|
<package>GTK3-nostl</package>
|
||||||
|
<package>Qt</package>
|
||||||
|
</multibuild>
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
for i in GTK3 Qt; do
|
|
||||||
cp wxWidgets-3_2.changes "wx$i-3_2.changes"
|
|
||||||
done
|
|
@ -20,7 +20,7 @@ Index: wxWidgets-3.1.0.2244/Makefile.in
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- wxWidgets-3.1.0.2244.orig/Makefile.in
|
--- wxWidgets-3.1.0.2244.orig/Makefile.in
|
||||||
+++ wxWidgets-3.1.0.2244/Makefile.in
|
+++ wxWidgets-3.1.0.2244/Makefile.in
|
||||||
@@ -2105,6 +2105,7 @@ LOCALE_MSW_LINGUAS = it
|
@@ -2158,6 +2158,7 @@ LOCALE_MSW_LINGUAS = it
|
||||||
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@WXCOMPILER = _gcc
|
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@WXCOMPILER = _gcc
|
||||||
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@WXCOMPILER \
|
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@WXCOMPILER \
|
||||||
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@ = _gcc$(COMPILER_VERSION)
|
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@ = _gcc$(COMPILER_VERSION)
|
||||||
@ -28,7 +28,7 @@ Index: wxWidgets-3.1.0.2244/Makefile.in
|
|||||||
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@VENDORTAG = _$(VENDOR)
|
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@VENDORTAG = _$(VENDOR)
|
||||||
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@VENDORTAG =
|
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@VENDORTAG =
|
||||||
@COND_BUILD_debug@WXDEBUGFLAG = d
|
@COND_BUILD_debug@WXDEBUGFLAG = d
|
||||||
@@ -2116,7 +2117,7 @@ LOCALE_MSW_LINGUAS = it
|
@@ -2169,7 +2170,7 @@ LOCALE_MSW_LINGUAS = it
|
||||||
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
|
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
|
||||||
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = \
|
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = \
|
||||||
@COND_PLATFORM_WIN32_1@ wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)
|
@COND_PLATFORM_WIN32_1@ wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)
|
||||||
@ -37,15 +37,15 @@ Index: wxWidgets-3.1.0.2244/Makefile.in
|
|||||||
@COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
|
@COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
|
||||||
COND_wxUSE_REGEX_builtin___wxregex___depname = \
|
COND_wxUSE_REGEX_builtin___wxregex___depname = \
|
||||||
$(LIBDIRNAME)/$(LIBPREFIX)wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT)
|
$(LIBDIRNAME)/$(LIBPREFIX)wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT)
|
||||||
@@ -13690,7 +13691,7 @@ COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE
|
@@ -13775,7 +13776,7 @@ COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1___htmldll_library_link_LIBR_0 \
|
||||||
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .3.0.0.$(SO_SUFFIX)
|
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .4.0.0.$(SO_SUFFIX)
|
||||||
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@dll___targetsuf3 = -3.$(SO_SUFFIX)
|
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@dll___targetsuf3 = -4.$(SO_SUFFIX)
|
||||||
@COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX)
|
@COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX)
|
||||||
-@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).3
|
-@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).4
|
||||||
+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).3.1.3
|
+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).4.0.0
|
||||||
@COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \
|
@COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \
|
||||||
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
|
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
|
||||||
@COND_wxUSE_LIBTIFF_builtin@__INC_TIFF_BUILD_p_66 \
|
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
|
||||||
Index: wxWidgets-3.1.0.2244/build/aclocal/bakefile.m4
|
Index: wxWidgets-3.1.0.2244/build/aclocal/bakefile.m4
|
||||||
===================================================================
|
===================================================================
|
||||||
--- wxWidgets-3.1.0.2244.orig/build/aclocal/bakefile.m4
|
--- wxWidgets-3.1.0.2244.orig/build/aclocal/bakefile.m4
|
||||||
|
1067
wxGTK3-3_2.changes
1067
wxGTK3-3_2.changes
File diff suppressed because it is too large
Load Diff
417
wxGTK3-3_2.spec
417
wxGTK3-3_2.spec
@ -1,417 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package wxGTK3-3_2
|
|
||||||
#
|
|
||||||
# Copyright (c) 2020 SUSE LLC
|
|
||||||
#
|
|
||||||
# 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 https://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
Name: wxGTK3-3_2
|
|
||||||
%define base_name wxWidgets-3_2
|
|
||||||
%define tarball_name wxWidgets
|
|
||||||
%define variant suse
|
|
||||||
%define psonum 3_1_3
|
|
||||||
%define sonum 3.1.3
|
|
||||||
Version: 3.1.3
|
|
||||||
Release: 0
|
|
||||||
%define wx_minor 3.1
|
|
||||||
%define wx_micro 3.1.3
|
|
||||||
# build non-UI toolkit related packages
|
|
||||||
%define base_packages 0
|
|
||||||
Summary: C++ Library for Cross-Platform Development
|
|
||||||
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
URL: https://www.wxwidgets.org/
|
|
||||||
Source: https://github.com/wxWidgets/wxWidgets/releases/download/v%{version}/wxWidgets-%{version}.tar.bz2#/%tarball_name-%version.tar.bz2
|
|
||||||
Source2: README.SUSE
|
|
||||||
Source5: wxWidgets-3_2-rpmlintrc
|
|
||||||
# This script is not used during build, but it makes possible to
|
|
||||||
# identify and backport wxPython fixes to wxWidgets.
|
|
||||||
Source6: wxpython-mkdiff.sh
|
|
||||||
Patch1: soversion.diff
|
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1879
|
|
||||||
Patch2: 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
|
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1880
|
|
||||||
Patch3: 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: cppunit-devel
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: gstreamer-devel
|
|
||||||
BuildRequires: gstreamer-plugins-base-devel
|
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
|
||||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
|
||||||
%define gtk_version 3
|
|
||||||
%define toolkit gtk%gtk_version
|
|
||||||
BuildRequires: libSM-devel
|
|
||||||
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(liblzma)
|
|
||||||
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
|
|
||||||
BuildRequires: pkgconfig(sdl)
|
|
||||||
%else
|
|
||||||
BuildRequires: pkgconfig(sdl2)
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(xtst)
|
|
||||||
|
|
||||||
%description
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_baseu-%variant%psonum
|
|
||||||
Summary: wxWidgets base library
|
|
||||||
# Name up to openSUSE 11.3 and up to wxGTK-2.8:
|
|
||||||
Group: System/Libraries
|
|
||||||
Obsoletes: wxGTK <= %version.0
|
|
||||||
# Third party base package name:
|
|
||||||
Obsoletes: wxWidgets < %version
|
|
||||||
Provides: wxWidgets = %version
|
|
||||||
Recommends: wxWidgets-lang >= 3.0
|
|
||||||
|
|
||||||
%description -n libwx_baseu-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_baseu_net-%variant%psonum
|
|
||||||
Summary: wxWidgets networking library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_baseu_net-%variant%psonum
|
|
||||||
Classes for network access with wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_baseu_xml-%variant%psonum
|
|
||||||
Summary: wxWidgets XML parser library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_baseu_xml-%variant%psonum
|
|
||||||
This library contains classes for parsing XML documents.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
Summary: wxWidgets advanced widgets and rarely-used widgets
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
Advanced or rarely-used GUI classes for wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
Summary: wxWidgets advanced user interface docking library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
The Advanced User Interface docking library of wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
Summary: wxWidgets basic GUI class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
Summary: wxWidgets OpenGL integration library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
This library contains the wxGLCanvas class for integration of OpenGL
|
|
||||||
with wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
Summary: wxWidgets HTML parser and renderer library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
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
|
|
||||||
as a generic rich text viewer — for example, to display an About Box
|
|
||||||
or the result of a database search.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
Summary: wxWidgets media class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
wxMediaCtrl is a class for displaying types of media, such as videos,
|
|
||||||
audio files, natively through native codecs.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
Summary: wxWidgets property grid class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
wxPropertyGrid is a specialized grid for editing properties, in other
|
|
||||||
words, name=value pairs.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
Summary: wxWidgets quality assurance class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
Summary: wxWidgets's ribbon user interface library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
The wxRibbon library is a set of classes for writing a ribbon user
|
|
||||||
interface.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
Summary: wxWidgets Rich Text editor class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
Summary: wxWidgets styled text class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
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
|
|
||||||
(HTML / CSS / javascript) documents.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
Summary: wxWidgets's XML-based resource system
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package plugin-sound_sdlu-3_2
|
|
||||||
Summary: wxWidgets SDL Plugin
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description plugin-sound_sdlu-3_2
|
|
||||||
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Development files for GTK3-backed wxWidgets 3.2
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: gtk%gtk_version-devel
|
|
||||||
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
|
|
||||||
Requires: libwx_%{toolkit}u_webview-%variant%psonum = %version
|
|
||||||
Requires: libwx_%{toolkit}u_xrc-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu_net-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu_xml-%variant%psonum = %version
|
|
||||||
Requires: pkgconfig(gl)
|
|
||||||
Requires: pkgconfig(glu)
|
|
||||||
Provides: wxGTK3-devel = %version-%release
|
|
||||||
Provides: wxWidgets-any-devel
|
|
||||||
Conflicts: wxWidgets-any-devel
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
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 all files needed for developing with wxGTK%gtk_version.
|
|
||||||
|
|
||||||
Note: wxWidgets variant devel packages are mutually exclusive. Please
|
|
||||||
read %_docdir/%name/README.SUSE to pick a correct variant.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %tarball_name-%version
|
|
||||||
%patch -P 1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -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=%variant \
|
|
||||||
--with-gtk=%gtk_version \
|
|
||||||
--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-repro-build \
|
|
||||||
--enable-stl \
|
|
||||||
--enable-plugins
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
export VENDORTAG='-$variant' # only needed for non-MSW
|
|
||||||
make install DESTDIR="%buildroot"
|
|
||||||
%if !%base_packages
|
|
||||||
# Drop libraries already supplied by another packages
|
|
||||||
rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-%variant.so.%{sonum}* \
|
|
||||||
"%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so
|
|
||||||
%endif
|
|
||||||
rm -Rf %buildroot/%_datadir/locale
|
|
||||||
|
|
||||||
# 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-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_media-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_media-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_propgrid-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_propgrid-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_qa-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_qa-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_ribbon-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_ribbon-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_richtext-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_richtext-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_stc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_stc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_webview-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_webview-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%if %base_packages
|
|
||||||
%files -n libwx_baseu-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_baseu_net-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_baseu_xml-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_webview-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_webview-%variant.so.%{sonum}*
|
|
||||||
%dir %_libdir/wx
|
|
||||||
%dir %_libdir/wx/%wx_micro
|
|
||||||
%_libdir/wx/%wx_micro/web-extensions/
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%if %base_packages
|
|
||||||
%files 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
|
|
||||||
# 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
|
|
1067
wxQt-3_2.changes
1067
wxQt-3_2.changes
File diff suppressed because it is too large
Load Diff
410
wxQt-3_2.spec
410
wxQt-3_2.spec
@ -1,410 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package wxQt-3_2
|
|
||||||
#
|
|
||||||
# Copyright (c) 2020 SUSE LLC
|
|
||||||
#
|
|
||||||
# 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 https://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
Name: wxQt-3_2
|
|
||||||
%define base_name wxWidgets-3_2
|
|
||||||
%define tarball_name wxWidgets
|
|
||||||
%define variant suse
|
|
||||||
%define psonum 3_1_3
|
|
||||||
%define sonum 3.1.3
|
|
||||||
Version: 3.1.3
|
|
||||||
Release: 0
|
|
||||||
%define wx_minor 3.1
|
|
||||||
%define wx_micro 3.1.3
|
|
||||||
# build non-UI toolkit related packages
|
|
||||||
%define base_packages 0
|
|
||||||
Summary: C++ Library for Cross-Platform Development
|
|
||||||
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
URL: https://www.wxwidgets.org/
|
|
||||||
Source: https://github.com/wxWidgets/wxWidgets/releases/download/v%{version}/wxWidgets-%{version}.tar.bz2#/%tarball_name-%version.tar.bz2
|
|
||||||
Source2: README.SUSE
|
|
||||||
Source5: wxWidgets-3_2-rpmlintrc
|
|
||||||
# This script is not used during build, but it makes possible to
|
|
||||||
# identify and backport wxPython fixes to wxWidgets.
|
|
||||||
Source6: wxpython-mkdiff.sh
|
|
||||||
Patch1: soversion.diff
|
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1879
|
|
||||||
Patch2: 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
|
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1880
|
|
||||||
Patch3: 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: cppunit-devel
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: gstreamer-devel
|
|
||||||
BuildRequires: gstreamer-plugins-base-devel
|
|
||||||
%define toolkit qt
|
|
||||||
BuildRequires: libSM-devel
|
|
||||||
BuildRequires: libexpat-devel
|
|
||||||
BuildRequires: libjpeg-devel
|
|
||||||
BuildRequires: libmspack-devel
|
|
||||||
BuildRequires: libnotify-devel
|
|
||||||
BuildRequires: libpng-devel
|
|
||||||
BuildRequires: libtiff-devel
|
|
||||||
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(cairo)
|
|
||||||
BuildRequires: pkgconfig(glu)
|
|
||||||
BuildRequires: pkgconfig(liblzma)
|
|
||||||
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
|
|
||||||
BuildRequires: pkgconfig(sdl)
|
|
||||||
%else
|
|
||||||
BuildRequires: pkgconfig(sdl2)
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(xtst)
|
|
||||||
|
|
||||||
%description
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_baseu-%variant%psonum
|
|
||||||
Summary: wxWidgets base library
|
|
||||||
# Name up to openSUSE 11.3 and up to wxGTK-2.8:
|
|
||||||
Group: System/Libraries
|
|
||||||
Obsoletes: wxGTK <= %version.0
|
|
||||||
# Third party base package name:
|
|
||||||
Obsoletes: wxWidgets < %version
|
|
||||||
Provides: wxWidgets = %version
|
|
||||||
Recommends: wxWidgets-lang >= 3.0
|
|
||||||
|
|
||||||
%description -n libwx_baseu-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_baseu_net-%variant%psonum
|
|
||||||
Summary: wxWidgets networking library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_baseu_net-%variant%psonum
|
|
||||||
Classes for network access with wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_baseu_xml-%variant%psonum
|
|
||||||
Summary: wxWidgets XML parser library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_baseu_xml-%variant%psonum
|
|
||||||
This library contains classes for parsing XML documents.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
Summary: wxWidgets advanced widgets and rarely-used widgets
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
Advanced or rarely-used GUI classes for wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
Summary: wxWidgets advanced user interface docking library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
The Advanced User Interface docking library of wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
Summary: wxWidgets basic GUI class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
Summary: wxWidgets OpenGL integration library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
This library contains the wxGLCanvas class for integration of OpenGL
|
|
||||||
with wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
Summary: wxWidgets HTML parser and renderer library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
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
|
|
||||||
as a generic rich text viewer — for example, to display an About Box
|
|
||||||
or the result of a database search.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
Summary: wxWidgets media class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
wxMediaCtrl is a class for displaying types of media, such as videos,
|
|
||||||
audio files, natively through native codecs.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
Summary: wxWidgets property grid class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
wxPropertyGrid is a specialized grid for editing properties, in other
|
|
||||||
words, name=value pairs.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
Summary: wxWidgets quality assurance class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
Summary: wxWidgets's ribbon user interface library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
The wxRibbon library is a set of classes for writing a ribbon user
|
|
||||||
interface.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
Summary: wxWidgets Rich Text editor class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
Summary: wxWidgets styled text class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
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
|
|
||||||
(HTML / CSS / javascript) documents.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
Summary: wxWidgets's XML-based resource system
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package plugin-sound_sdlu-3_2
|
|
||||||
Summary: wxWidgets SDL Plugin
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description plugin-sound_sdlu-3_2
|
|
||||||
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Development files for Qt-backed wxWidgets 3.2
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
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
|
|
||||||
Requires: libwx_%{toolkit}u_xrc-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu_net-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu_xml-%variant%psonum = %version
|
|
||||||
Provides: wxQt-devel = %version-%release
|
|
||||||
Provides: wxWidgets-any-devel
|
|
||||||
Conflicts: wxWidgets-any-devel
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
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 all files needed for developing with wxQt.
|
|
||||||
|
|
||||||
Note: wxWidgets variant devel packages are mutually exclusive. Please
|
|
||||||
read %_docdir/%name/README.SUSE to pick a correct variant.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %tarball_name-%version
|
|
||||||
%patch -P 1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -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=%variant \
|
|
||||||
--with-qt \
|
|
||||||
--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-repro-build \
|
|
||||||
--enable-stl \
|
|
||||||
--enable-plugins
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
export VENDORTAG='-$variant' # only needed for non-MSW
|
|
||||||
make install DESTDIR="%buildroot"
|
|
||||||
%if !%base_packages
|
|
||||||
# Drop libraries already supplied by another packages
|
|
||||||
rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-%variant.so.%{sonum}* \
|
|
||||||
"%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so
|
|
||||||
%endif
|
|
||||||
rm -Rf %buildroot/%_datadir/locale
|
|
||||||
|
|
||||||
# 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-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_media-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_media-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_propgrid-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_propgrid-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_qa-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_qa-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_ribbon-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_ribbon-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_richtext-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_richtext-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_stc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_stc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_webview-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_webview-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%if %base_packages
|
|
||||||
%files -n libwx_baseu-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_baseu_net-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_baseu_xml-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%if %base_packages
|
|
||||||
%files 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
|
|
||||||
# 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
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fffc1d34dac54ff7008df327907984b156c50cff5a2f36ee3da6052744ab554a
|
|
||||||
size 21345268
|
|
3
wxWidgets-3.1.4.tar.bz2
Normal file
3
wxWidgets-3.1.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3ca3a19a14b407d0cdda507a7930c2e84ae1c8e74f946e0144d2fa7d881f1a94
|
||||||
|
size 21581661
|
File diff suppressed because it is too large
Load Diff
@ -1,406 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package wxWidgets-3_2-nostl
|
|
||||||
#
|
|
||||||
# Copyright (c) 2020 SUSE LLC
|
|
||||||
#
|
|
||||||
# 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 https://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
Name: wxWidgets-3_2-nostl
|
|
||||||
%define base_name wxWidgets-3_2
|
|
||||||
%define tarball_name wxWidgets
|
|
||||||
%define variant suse-nostl
|
|
||||||
%define psonum 3_1_3
|
|
||||||
%define sonum 3.1.3
|
|
||||||
Version: 3.1.3
|
|
||||||
Release: 0
|
|
||||||
%define wx_minor 3.1
|
|
||||||
%define wx_micro 3.1.3
|
|
||||||
# build non-UI toolkit related packages
|
|
||||||
%define base_packages 1
|
|
||||||
Summary: C++ Library for Cross-Platform Development
|
|
||||||
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
URL: https://www.wxwidgets.org/
|
|
||||||
Source: https://github.com/wxWidgets/wxWidgets/releases/download/v%{version}/wxWidgets-%{version}.tar.bz2#/%tarball_name-%version.tar.bz2
|
|
||||||
Source2: README.SUSE
|
|
||||||
Source5: wxWidgets-3_2-rpmlintrc
|
|
||||||
# This script is not used during build, but it makes possible to
|
|
||||||
# identify and backport wxPython fixes to wxWidgets.
|
|
||||||
Source6: wxpython-mkdiff.sh
|
|
||||||
Patch1: soversion.diff
|
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1879
|
|
||||||
Patch2: 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
|
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1880
|
|
||||||
Patch3: 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: cppunit-devel
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: gnome-vfs2-devel
|
|
||||||
BuildRequires: gstreamer-devel
|
|
||||||
BuildRequires: gstreamer-plugins-base-devel
|
|
||||||
%define gtk_version 3
|
|
||||||
%define toolkit gtk%gtk_version
|
|
||||||
BuildRequires: gtk%{gtk_version}-devel
|
|
||||||
BuildRequires: libSM-devel
|
|
||||||
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(liblzma)
|
|
||||||
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
|
|
||||||
BuildRequires: pkgconfig(sdl)
|
|
||||||
%else
|
|
||||||
BuildRequires: pkgconfig(sdl2)
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(xtst)
|
|
||||||
|
|
||||||
%description
|
|
||||||
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 varaint 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.
|
|
||||||
|
|
||||||
%package -n libwx_baseu-%variant%psonum
|
|
||||||
Summary: wxWidgets base library
|
|
||||||
# Name up to openSUSE 11.3 and up to wxGTK-2.8:
|
|
||||||
Group: System/Libraries
|
|
||||||
Obsoletes: wxGTK <= %version.0
|
|
||||||
# Third party base package name:
|
|
||||||
Obsoletes: wxWidgets < %version
|
|
||||||
Provides: wxWidgets = %version
|
|
||||||
Recommends: wxWidgets-lang >= 3.0
|
|
||||||
|
|
||||||
%description -n libwx_baseu-%variant%psonum
|
|
||||||
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.
|
|
||||||
This varaint 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.
|
|
||||||
|
|
||||||
%package -n libwx_baseu_net-%variant%psonum
|
|
||||||
Summary: wxWidgets networking library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_baseu_net-%variant%psonum
|
|
||||||
Classes for network access with wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_baseu_xml-%variant%psonum
|
|
||||||
Summary: wxWidgets XML parser library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_baseu_xml-%variant%psonum
|
|
||||||
This library contains classes for parsing XML documents.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
Summary: wxWidgets advanced widgets and rarely-used widgets
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
Advanced or rarely-used GUI classes for wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
Summary: wxWidgets advanced user interface docking library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
The Advanced User Interface docking library of wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
Summary: wxWidgets basic GUI class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
Summary: wxWidgets OpenGL integration library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
This library contains the wxGLCanvas class for integration of OpenGL
|
|
||||||
with wxWidgets.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
Summary: wxWidgets HTML parser and renderer library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
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
|
|
||||||
as a generic rich text viewer - for example, to display an About Box
|
|
||||||
or the result of a database search.
|
|
||||||
This varaint 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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
Summary: wxWidgets media class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
wxMediaCtrl is a class for displaying types of media, such as videos,
|
|
||||||
audio files, natively through native codecs.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
Summary: wxWidgets property grid class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
wxPropertyGrid is a specialized grid for editing properties, in other
|
|
||||||
words, name=value pairs.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
Summary: wxWidgets quality assurance class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
Summary: wxWidgets's ribbon user interface library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
The wxRibbon library is a set of classes for writing a ribbon user
|
|
||||||
interface.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
Summary: wxWidgets Rich Text editor class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
Summary: wxWidgets styled text class library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
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
|
|
||||||
(HTML / CSS / javascript) documents.
|
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
Summary: wxWidgets's XML-based resource system
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
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.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Development files for GTK2-backed wxWidgets 3.2
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: gtk%gtk_version-devel
|
|
||||||
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
|
|
||||||
Requires: libwx_%{toolkit}u_xrc-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu_net-%variant%psonum = %version
|
|
||||||
Requires: libwx_baseu_xml-%variant%psonum = %version
|
|
||||||
Requires: pkgconfig(gl)
|
|
||||||
Requires: pkgconfig(glu)
|
|
||||||
Provides: wxWidgets-any-devel
|
|
||||||
Conflicts: wxWidgets-any-devel
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
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 all files needed for developing with wxGTK%gtk_version.
|
|
||||||
This varaint 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.
|
|
||||||
|
|
||||||
Note: wxWidgets variant devel packages are mutually exclusive. Please
|
|
||||||
read %_docdir/%name/README.SUSE to pick a correct variant.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %tarball_name-%version
|
|
||||||
%patch -P 1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -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=%variant \
|
|
||||||
--with-gtk=%gtk_version \
|
|
||||||
--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-repro-build \
|
|
||||||
--disable-stl \
|
|
||||||
--disable-plugins
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
export VENDORTAG='-$variant' # only needed for non-MSW
|
|
||||||
make install DESTDIR="%buildroot"
|
|
||||||
%if !%base_packages
|
|
||||||
# Drop libraries already supplied by another packages
|
|
||||||
rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-%variant.so.%{sonum}* \
|
|
||||||
"%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so
|
|
||||||
%endif
|
|
||||||
rm -Rf %buildroot/%_datadir/locale
|
|
||||||
|
|
||||||
# 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-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_media-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_media-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_propgrid-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_propgrid-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_qa-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_qa-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_ribbon-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_ribbon-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_richtext-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_richtext-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_stc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_stc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_webview-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_webview-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%post -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
%postun -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%if %base_packages
|
|
||||||
%files -n libwx_baseu-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_baseu_net-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_baseu_xml-%variant%psonum
|
|
||||||
%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_adv-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_aui-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_core-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_gl-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_html-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_media-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_qa-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_richtext-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
|
||||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
|
||||||
|
|
||||||
%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
|
|
||||||
%dir %_libdir/wx
|
|
||||||
%_libdir/wx/config
|
|
||||||
%_libdir/wx/include
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,3 +1,53 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 19 18:01:10 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Use _multibuild to avoid changes and spec files of the variants
|
||||||
|
getting out of sync.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Update to new upstream release 3.1.4:
|
||||||
|
* Incompatible to 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.
|
||||||
|
* Add natural sort functions.
|
||||||
|
* Add wxTempFFile class (Dummy).
|
||||||
|
* Fix bug with multiple leading ".." in wxFileName::Normalize().
|
||||||
|
* Improve brush transparency support in wxSVGFileDC.
|
||||||
|
* Optionally forbid implicit wxString/char* conversions.
|
||||||
|
* Add support for wxGenericAnimationCtrl to XRC.
|
||||||
|
* Add wxDD_SHOW_HIDDEN and wxDD_MULTIPLE wxDirDialog flags.
|
||||||
|
* Add wxWebView::SetZoomFactor(float).
|
||||||
|
* Add wxWindow::DisableFocusFromKeyboard().
|
||||||
|
* Allow overriding wxDataViewModal::HasValue().
|
||||||
|
* Call wxAuiManager::UnInit() automatically now.
|
||||||
|
* Fix crash and layout problem in wxGenericDirCtrl
|
||||||
|
* wxQt: Fix build with Qt 5.15
|
||||||
|
* GTK backend:
|
||||||
|
* Add native wxSearchCtrl implementation.
|
||||||
|
* Implement wxBU_EXACTFIT support in wxButton.
|
||||||
|
* 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
|
||||||
|
* Fix caret colour in wxTextCtrl with custom colours.
|
||||||
|
- Drop obsolete patches:
|
||||||
|
* 0001-Add-missing-QPainterPath-include-required-with-Qt-5..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>
|
||||||
|
|
||||||
|
@ -16,18 +16,66 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == ""
|
||||||
Name: wxWidgets-3_2
|
Name: wxWidgets-3_2
|
||||||
|
ExclusiveArch: do_not_build
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" == "GTK2"
|
||||||
|
Name: wxWidgets-3_2
|
||||||
|
%define pkgname wxWidgets-3_2
|
||||||
|
%define variant suse
|
||||||
|
%define gtk_version 2
|
||||||
|
%define toolkit gtk%gtk_version
|
||||||
|
%define base_packages 0
|
||||||
|
%bcond_with webview
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" == "GTK3"
|
||||||
|
Name: wxGTK3-3_2
|
||||||
|
%define pkgname wxGTK3-3_2
|
||||||
|
%define variant suse
|
||||||
|
%define gtk_version 3
|
||||||
|
%define toolkit gtk%gtk_version
|
||||||
|
# build non-UI toolkit related packages
|
||||||
|
%define base_packages 1
|
||||||
|
%bcond_without webview
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" == "GTK3-nostl"
|
||||||
|
Name: wxWidgets-3_2-nostl
|
||||||
|
%define pkgname wxWidgets-3_2-nostl
|
||||||
|
%define variant suse-nostl
|
||||||
|
%define gtk_version 3
|
||||||
|
%define toolkit gtk%gtk_version
|
||||||
|
%define base_packages 1
|
||||||
|
%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
|
||||||
|
|
||||||
|
%if "%{flavor}" == "Qt"
|
||||||
|
Name: wxQt-3_2
|
||||||
|
%define pkgname wxQt-3_2
|
||||||
|
%define variant suse
|
||||||
|
%define toolkit qt
|
||||||
|
%define base_packages 0
|
||||||
|
%bcond_with webview
|
||||||
|
%endif
|
||||||
|
|
||||||
%define base_name wxWidgets-3_2
|
%define base_name wxWidgets-3_2
|
||||||
%define tarball_name wxWidgets
|
%define tarball_name wxWidgets
|
||||||
%define variant suse
|
# Use default debug level, enabling exceptions
|
||||||
%define psonum 3_1_3
|
# Other valid values: yes/no/max
|
||||||
%define sonum 3.1.3
|
%define wx_debug %{nil}
|
||||||
Version: 3.1.3
|
%define psonum 4_0_0
|
||||||
|
%define sonum 4.0.0
|
||||||
|
Version: 3.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
%define wx_minor 3.1
|
%define wx_minor 3.1
|
||||||
%define wx_micro 3.1.3
|
%define wx_micro 3.1.4
|
||||||
# build non-UI toolkit related packages
|
|
||||||
%define base_packages 1
|
|
||||||
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++
|
||||||
@ -39,19 +87,11 @@ Source5: wxWidgets-3_2-rpmlintrc
|
|||||||
# identify and backport wxPython fixes to wxWidgets.
|
# identify and backport wxPython fixes to wxWidgets.
|
||||||
Source6: wxpython-mkdiff.sh
|
Source6: wxpython-mkdiff.sh
|
||||||
Patch1: soversion.diff
|
Patch1: soversion.diff
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1879
|
|
||||||
Patch2: 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
|
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1880
|
|
||||||
Patch3: 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: cppunit-devel
|
BuildRequires: cppunit-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gnome-vfs2-devel
|
|
||||||
BuildRequires: gstreamer-devel
|
BuildRequires: gstreamer-devel
|
||||||
BuildRequires: gstreamer-plugins-base-devel
|
BuildRequires: gstreamer-plugins-base-devel
|
||||||
BuildRequires: gtk2-devel
|
|
||||||
%define gtk_version 2
|
|
||||||
%define toolkit gtk%gtk_version
|
|
||||||
BuildRequires: libSM-devel
|
BuildRequires: libSM-devel
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
@ -60,6 +100,24 @@ BuildRequires: libnotify-devel
|
|||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
%if %{toolkit} == "gtk2"
|
||||||
|
BuildRequires: gnome-vfs2-devel
|
||||||
|
BuildRequires: gtk2-devel
|
||||||
|
%endif
|
||||||
|
%if %{toolkit} == "gtk3"
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
|
%if %{with webview}
|
||||||
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%if %{toolkit} == "qt"
|
||||||
|
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
|
||||||
BuildRequires: pkgconfig(glu)
|
BuildRequires: pkgconfig(glu)
|
||||||
BuildRequires: pkgconfig(liblzma)
|
BuildRequires: pkgconfig(liblzma)
|
||||||
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
|
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
|
||||||
@ -90,6 +148,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.
|
||||||
|
%{?extra_description}
|
||||||
|
|
||||||
%package -n libwx_baseu_net-%variant%psonum
|
%package -n libwx_baseu_net-%variant%psonum
|
||||||
Summary: wxWidgets networking library
|
Summary: wxWidgets networking library
|
||||||
@ -143,8 +202,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.
|
||||||
|
%{?extra_description}
|
||||||
|
|
||||||
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
%package -n libwx_%{toolkit}u_media-%variant%psonum
|
||||||
Summary: wxWidgets media class library
|
Summary: wxWidgets media class library
|
||||||
@ -203,7 +263,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
|
||||||
@ -214,17 +274,26 @@ 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
|
||||||
Summary: Development files for GTK2-backed wxWidgets 3.2
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: gtk%gtk_version-devel
|
%if %{toolkit} == "gtk2"
|
||||||
|
Requires: gtk2-devel
|
||||||
|
%endif
|
||||||
|
%if %{toolkit} == "gtk3"
|
||||||
|
Requires: pkgconfig(gtk+-3.0)
|
||||||
|
%endif
|
||||||
|
%if %{toolkit} == "qt"
|
||||||
|
Requires: pkgconfig(Qt5OpenGL) >= 5.2.1
|
||||||
|
Requires: pkgconfig(Qt5Widgets) >= 5.2.1
|
||||||
|
%endif
|
||||||
Requires: libwx_%{toolkit}u_adv-%variant%psonum = %version
|
Requires: libwx_%{toolkit}u_adv-%variant%psonum = %version
|
||||||
Requires: libwx_%{toolkit}u_aui-%variant%psonum = %version
|
Requires: libwx_%{toolkit}u_aui-%variant%psonum = %version
|
||||||
Requires: libwx_%{toolkit}u_core-%variant%psonum = %version
|
Requires: libwx_%{toolkit}u_core-%variant%psonum = %version
|
||||||
@ -236,19 +305,32 @@ Requires: libwx_%{toolkit}u_qa-%variant%psonum = %version
|
|||||||
Requires: libwx_%{toolkit}u_ribbon-%variant%psonum = %version
|
Requires: libwx_%{toolkit}u_ribbon-%variant%psonum = %version
|
||||||
Requires: libwx_%{toolkit}u_richtext-%variant%psonum = %version
|
Requires: libwx_%{toolkit}u_richtext-%variant%psonum = %version
|
||||||
Requires: libwx_%{toolkit}u_stc-%variant%psonum = %version
|
Requires: libwx_%{toolkit}u_stc-%variant%psonum = %version
|
||||||
|
%if %{with webview}
|
||||||
|
Requires: libwx_%{toolkit}u_webview-%variant%psonum = %version
|
||||||
|
%endif
|
||||||
Requires: libwx_%{toolkit}u_xrc-%variant%psonum = %version
|
Requires: libwx_%{toolkit}u_xrc-%variant%psonum = %version
|
||||||
Requires: libwx_baseu-%variant%psonum = %version
|
Requires: libwx_baseu-%variant%psonum = %version
|
||||||
Requires: libwx_baseu_net-%variant%psonum = %version
|
Requires: libwx_baseu_net-%variant%psonum = %version
|
||||||
Requires: libwx_baseu_xml-%variant%psonum = %version
|
Requires: libwx_baseu_xml-%variant%psonum = %version
|
||||||
Requires: pkgconfig(gl)
|
Requires: pkgconfig(gl)
|
||||||
Requires: pkgconfig(glu)
|
Requires: pkgconfig(glu)
|
||||||
Provides: wxGTK2-devel = %version-%release
|
|
||||||
Provides: wxWidgets-any-devel
|
Provides: wxWidgets-any-devel
|
||||||
Provides: wxWidgets-devel = %version-%release
|
|
||||||
Conflicts: wxWidgets-any-devel
|
Conflicts: wxWidgets-any-devel
|
||||||
|
%if %{toolkit} == "gtk2"
|
||||||
|
Provides: wxGTK2-devel = %version-%release
|
||||||
|
Provides: wxWidgets-devel = %version-%release
|
||||||
# Name up to openSUSE 11.3 and up to wxGTK-2.8.x:
|
# Name up to openSUSE 11.3 and up to wxGTK-2.8.x:
|
||||||
Provides: wxGTK-devel = %version-%release
|
Provides: wxGTK-devel = %version-%release
|
||||||
Obsoletes: wxGTK-devel <= %version-%release
|
Obsoletes: wxGTK-devel < %version-%release
|
||||||
|
%endif
|
||||||
|
%if %{toolkit} == "gtk3"
|
||||||
|
%if "%{flavor}" != "GTK3-nostl"
|
||||||
|
Provides: wxGTK3-devel = %version-%release
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%if %{toolkit} == "qt"
|
||||||
|
Provides: wxQt-devel = %version-%release
|
||||||
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
wxWidgets is a C++ library abstraction layer for a number of GUI
|
wxWidgets is a C++ library abstraction layer for a number of GUI
|
||||||
@ -256,20 +338,20 @@ 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 package contains all files needed for developing with wxGTK%gtk_version.
|
This package contains all files needed for developing with %{name}.
|
||||||
|
%{?extra_description}
|
||||||
|
|
||||||
Note: wxWidgets variant devel packages are mutually exclusive. Please
|
Note: wxWidgets variant devel packages are mutually exclusive. Please
|
||||||
read %_docdir/%name/README.SUSE to pick a correct variant.
|
read %_docdir/%name/README.SUSE to pick a correct variant.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %tarball_name-%version
|
%autosetup -n %tarball_name-%version -p1
|
||||||
%patch -P 1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -p1
|
|
||||||
cp %{S:2} .
|
cp %{S:2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoconf -f -i
|
autoconf -f -i
|
||||||
|
# NOTE: gnome-vfs is deprecated. Disabled for GTK3 build
|
||||||
|
#
|
||||||
# With 2.9.1:
|
# With 2.9.1:
|
||||||
# --enable-objc_uniquifying is relevant only for Cocoa
|
# --enable-objc_uniquifying is relevant only for Cocoa
|
||||||
# --enable-accessibility is currently supported only in msw
|
# --enable-accessibility is currently supported only in msw
|
||||||
@ -277,23 +359,31 @@ autoconf -f -i
|
|||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-vendor=%variant \
|
--enable-vendor=%variant \
|
||||||
|
%if %{toolkit} == "qt"
|
||||||
|
--with-qt \
|
||||||
|
%else
|
||||||
--with-gtk=%gtk_version \
|
--with-gtk=%gtk_version \
|
||||||
|
%if %{gtk_version} == 2
|
||||||
|
--with-gnomevfs \
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--with-opengl \
|
--with-opengl \
|
||||||
--with-libmspack \
|
--with-libmspack \
|
||||||
--with-sdl \
|
--with-sdl \
|
||||||
--with-gnomevfs \
|
|
||||||
--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 \
|
||||||
|
%if "%{flavor}" == "GTK3-nostl"
|
||||||
|
--disable-stl \
|
||||||
|
--disable-plugins
|
||||||
|
%else
|
||||||
--enable-stl \
|
--enable-stl \
|
||||||
--enable-plugins
|
--enable-plugins
|
||||||
|
%endif
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -386,15 +476,25 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
|||||||
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
||||||
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
||||||
|
|
||||||
|
%if %{with webview}
|
||||||
|
%files -n libwx_%{toolkit}u_webview-%variant%psonum
|
||||||
|
%_libdir/libwx_%{toolkit}u_webview-%variant.so.%{sonum}*
|
||||||
|
%dir %_libdir/wx
|
||||||
|
%dir %_libdir/wx/%wx_micro
|
||||||
|
%_libdir/wx/%wx_micro/web-extensions/
|
||||||
|
%endif
|
||||||
|
|
||||||
%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
|
%if %base_packages
|
||||||
%files plugin-sound_sdlu-3_2
|
%if "%{flavor}" != "GTK3-nostl"
|
||||||
|
%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
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
# Complete documentation is available in the docs packages.
|
# Complete documentation is available in the docs packages.
|
||||||
|
Loading…
Reference in New Issue
Block a user