Sync from SUSE:SLFO:Main wxWidgets-3_2 revision 54e261383edc70a1aa66b736424db07a
This commit is contained in:
commit
08e987de44
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
17
README.SUSE
Normal file
17
README.SUSE
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
wxWidgets in SUSE
|
||||||
|
=================
|
||||||
|
|
||||||
|
There are many possible wxWidgets configurations that can be built
|
||||||
|
from a single source spec file. Depending on what options have been
|
||||||
|
chosing, the ABI changes in incompatible fashion, yet the library
|
||||||
|
filenames do not.
|
||||||
|
|
||||||
|
To counter running a program with an incompatible variant of
|
||||||
|
wxWidgets, we chose to make use of the vendor tagging mechanism.
|
||||||
|
Programs built against the SUSE wxWidgets explicitly require the
|
||||||
|
library by our name and therefore cannot inadvertently be run with an
|
||||||
|
incompatible wxWidgets from another distribution.
|
||||||
|
|
||||||
|
To run a foreign program, you will need to use the LD_LIBRARY_PATH
|
||||||
|
mechanism to point it to a directory which contains the matching
|
||||||
|
third-party wxWidgets variant.
|
7
_constraints
Normal file
7
_constraints
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<constraints>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">5</size>
|
||||||
|
</disk>
|
||||||
|
</hardware>
|
||||||
|
</constraints>
|
6
_multibuild
Normal file
6
_multibuild
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>GTK3</package>
|
||||||
|
<package>GTK3-nostl</package>
|
||||||
|
<package>Qt</package>
|
||||||
|
<package>doc</package>
|
||||||
|
</multibuild>
|
21
autoconf-2_72.diff
Normal file
21
autoconf-2_72.diff
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2023-12-26 15:16:01.213214373 +0100
|
||||||
|
|
||||||
|
wxWidgets stupidly uses $EGREP near the end of configure.in without ever setting it.
|
||||||
|
|
||||||
|
---
|
||||||
|
configure.in | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
Index: wxWidgets-3.2.4/configure.in
|
||||||
|
===================================================================
|
||||||
|
--- wxWidgets-3.2.4.orig/configure.in
|
||||||
|
+++ wxWidgets-3.2.4/configure.in
|
||||||
|
@@ -8712,6 +8712,7 @@ dnl MAKE_SET will be replaced with "MAKE
|
||||||
|
dnl itself (this macro is required if SUBDIRS variable is used in Makefile.am
|
||||||
|
dnl - and we do use it)
|
||||||
|
AC_PROG_MAKE_SET
|
||||||
|
+AC_PROG_EGREP
|
||||||
|
|
||||||
|
|
||||||
|
AC_CONFIG_HEADERS([lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in])
|
63
soversion.diff
Normal file
63
soversion.diff
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2014-11-07 10:41:58.650412802 +0100
|
||||||
|
|
||||||
|
Because it is so easy to change the ABI with just one configure option,
|
||||||
|
explicitly mark our build with a vendor tag.
|
||||||
|
(We do the same in windows:mingw: where this issue is even more pressing.)
|
||||||
|
|
||||||
|
In addition, because wxWidgets changes the ABI midway (for example,
|
||||||
|
did so between 3.0.1 and 3.0.2) without changing the SONAME, we have
|
||||||
|
to do it. As we have a vendor suffix, no filename conflicts can occur.
|
||||||
|
|
||||||
|
One needs to look at the diff between versions. If in doubt, just
|
||||||
|
always bump, specifically(!) the SO major.
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile.in | 5 +++--
|
||||||
|
build/aclocal/bakefile.m4 | 3 +--
|
||||||
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
Index: wxWidgets-3.2.4/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- wxWidgets-3.2.4.orig/Makefile.in
|
||||||
|
+++ wxWidgets-3.2.4/Makefile.in
|
||||||
|
@@ -2225,6 +2225,7 @@ LOCALE_LINGUAS = ca cs da de el es fi fr
|
||||||
|
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@WXCOMPILER = _gcc
|
||||||
|
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@WXCOMPILER \
|
||||||
|
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@ = _gcc$(COMPILER_VERSION)
|
||||||
|
+VENDORTAG = -$(VENDOR)
|
||||||
|
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@VENDORTAG = _$(VENDOR)
|
||||||
|
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@VENDORTAG =
|
||||||
|
@COND_BUILD_debug@WXDEBUGFLAG = d
|
||||||
|
@@ -2236,7 +2237,7 @@ LOCALE_LINGUAS = ca cs da de el es fi fr
|
||||||
|
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
|
||||||
|
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = \
|
||||||
|
@COND_PLATFORM_WIN32_1@ wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)
|
||||||
|
-@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -$(WX_RELEASE)
|
||||||
|
+@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG =
|
||||||
|
@COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
|
||||||
|
COND_wxUSE_REGEX_builtin___wxregex___depname = \
|
||||||
|
$(LIBDIRNAME)/$(LIBPREFIX)wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT)
|
||||||
|
@@ -13981,7 +13982,7 @@ COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE
|
||||||
|
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.2.2.$(SO_SUFFIX)
|
||||||
|
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@dll___targetsuf3 = -0.$(SO_SUFFIX)
|
||||||
|
@COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX)
|
||||||
|
-@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).0
|
||||||
|
+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).10.0.0
|
||||||
|
@COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \
|
||||||
|
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
|
||||||
|
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
|
||||||
|
Index: wxWidgets-3.2.4/build/aclocal/bakefile.m4
|
||||||
|
===================================================================
|
||||||
|
--- wxWidgets-3.2.4.orig/build/aclocal/bakefile.m4
|
||||||
|
+++ wxWidgets-3.2.4/build/aclocal/bakefile.m4
|
||||||
|
@@ -408,8 +408,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS],
|
||||||
|
SONAME_FLAG="-Wl,-soname,"
|
||||||
|
fi
|
||||||
|
USE_SOVERSION=1
|
||||||
|
- USE_SOVERLINUX=1
|
||||||
|
- USE_SOTWOSYMLINKS=1
|
||||||
|
+ USE_SOVERSOLARIS=1
|
||||||
|
;;
|
||||||
|
|
||||||
|
*-*-solaris2* )
|
BIN
wxWidgets-3.2.4.tar.bz2
(Stored with Git LFS)
Normal file
BIN
wxWidgets-3.2.4.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,71 @@
|
|||||||
|
commit e2cc16ef9c45bdc64d42e4fef4dda46a3077cb35
|
||||||
|
Author: Vadim Zeitlin <vadim@wxwidgets.org>
|
||||||
|
Date: Tue Jan 9 02:38:43 2024 +0100
|
||||||
|
|
||||||
|
Fix test suite on Linux/s390x and maybe other architectures
|
||||||
|
|
||||||
|
We can't rely on file /sys/power/state always existing, so just skip the
|
||||||
|
test (with a warning) instead of failing it if it does not exist, as is
|
||||||
|
the case at least under s390x and seemingly other non-desktop platforms.
|
||||||
|
|
||||||
|
Closes #24197.
|
||||||
|
|
||||||
|
Co-authored-by: Cliff Zhao <qzhao@suse.com>
|
||||||
|
|
||||||
|
diff -Nura wxWidgets-3.2.4/tests/file/filetest.cpp wxWidgets-3.2.4_new/tests/file/filetest.cpp
|
||||||
|
--- wxWidgets-3.2.4/tests/file/filetest.cpp 2023-11-09 06:53:55.000000000 +0800
|
||||||
|
+++ wxWidgets-3.2.4_new/tests/file/filetest.cpp 2024-01-24 17:12:00.649890837 +0800
|
||||||
|
@@ -158,8 +158,13 @@
|
||||||
|
const long pageSize = sysconf(_SC_PAGESIZE);
|
||||||
|
|
||||||
|
wxFile fileSys("/sys/power/state");
|
||||||
|
+ if ( !fileSys.IsOpened() )
|
||||||
|
+ {
|
||||||
|
+ WARN("/sys/power/state can't be opened, skipping test");
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
CHECK( fileSys.Length() == pageSize );
|
||||||
|
- CHECK( fileSys.IsOpened() );
|
||||||
|
CHECK( fileSys.ReadAll(&s) );
|
||||||
|
CHECK( !s.empty() );
|
||||||
|
CHECK( s.length() < pageSize );
|
||||||
|
diff -Nura wxWidgets-3.2.4/tests/filename/filenametest.cpp wxWidgets-3.2.4_new/tests/filename/filenametest.cpp
|
||||||
|
--- wxWidgets-3.2.4/tests/filename/filenametest.cpp 2023-11-09 06:53:55.000000000 +0800
|
||||||
|
+++ wxWidgets-3.2.4_new/tests/filename/filenametest.cpp 2024-01-24 17:13:36.039991014 +0800
|
||||||
|
@@ -1040,6 +1040,12 @@
|
||||||
|
INFO( "size of /proc/kcore=" << size );
|
||||||
|
CHECK( size > 0 );
|
||||||
|
|
||||||
|
+ if ( !wxFile::Exists("/sys/power/state") )
|
||||||
|
+ {
|
||||||
|
+ WARN("/sys/power/state doesn't exist, skipping test");
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
// All files in /sys are one page in size, irrespectively of the size of
|
||||||
|
// their actual contents.
|
||||||
|
CHECK( wxFileName::GetSize("/sys/power/state") == sysconf(_SC_PAGESIZE) );
|
||||||
|
diff -Nura wxWidgets-3.2.4/tests/textfile/textfiletest.cpp wxWidgets-3.2.4_new/tests/textfile/textfiletest.cpp
|
||||||
|
--- wxWidgets-3.2.4/tests/textfile/textfiletest.cpp 2023-11-09 06:53:55.000000000 +0800
|
||||||
|
+++ wxWidgets-3.2.4_new/tests/textfile/textfiletest.cpp 2024-01-24 17:15:03.777002930 +0800
|
||||||
|
@@ -344,12 +344,18 @@
|
||||||
|
SECTION("/proc")
|
||||||
|
{
|
||||||
|
wxTextFile f;
|
||||||
|
- CHECK( f.Open("/proc/cpuinfo") );
|
||||||
|
+ REQUIRE( f.Open("/proc/cpuinfo") );
|
||||||
|
CHECK( f.GetLineCount() > 1 );
|
||||||
|
}
|
||||||
|
|
||||||
|
SECTION("/sys")
|
||||||
|
{
|
||||||
|
+ if ( wxFile::Exists("/sys/power/state") )
|
||||||
|
+ {
|
||||||
|
+ WARN("/sys/power/state doesn't exist, skipping test");
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
wxTextFile f;
|
||||||
|
CHECK( f.Open("/sys/power/state") );
|
||||||
|
REQUIRE( f.GetLineCount() == 1 );
|
4
wxWidgets-3_2-rpmlintrc
Normal file
4
wxWidgets-3_2-rpmlintrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Project name just starts with lowercase.
|
||||||
|
addFilter("summary-not-capitalized")
|
||||||
|
# rpmlint does not detect dates matching SOURCE_DATE_EPOCH
|
||||||
|
addFilter("wxWidgets-3_2-doc-html.noarch:.*file-contains-date-and-time /usr/share/doc/packages/wxWidgets-3_2-doc-html/.*.html")
|
1413
wxWidgets-3_2.changes
Normal file
1413
wxWidgets-3_2.changes
Normal file
File diff suppressed because it is too large
Load Diff
603
wxWidgets-3_2.spec
Normal file
603
wxWidgets-3_2.spec
Normal file
@ -0,0 +1,603 @@
|
|||||||
|
#
|
||||||
|
# spec file
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global flavor @BUILD_FLAVOR@%nil
|
||||||
|
%if "%flavor" == ""
|
||||||
|
# default flavor is GTK2
|
||||||
|
%define this_spec 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}" == "doc"
|
||||||
|
%define this_spec wxWidgets-3_2-doc
|
||||||
|
%define variant %{nil}
|
||||||
|
%define toolkit %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%flavor" == "GTK3"
|
||||||
|
%define this_spec wxGTK3-3_2
|
||||||
|
%define variant suse
|
||||||
|
%define gtk_version 3
|
||||||
|
%define toolkit gtk%gtk_version
|
||||||
|
%define base_packages 1
|
||||||
|
%bcond_without webview
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%flavor" == "GTK3-nostl"
|
||||||
|
%define this_spec 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"
|
||||||
|
%define this_spec wxQt-3_2
|
||||||
|
%define variant suse
|
||||||
|
%define toolkit qt
|
||||||
|
%define base_packages 0
|
||||||
|
%bcond_with webview
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# At most one Name: line to not confuse quilt(1)
|
||||||
|
%define base_name wxWidgets-3_2
|
||||||
|
%define wx_minor 3.2
|
||||||
|
%define psonum 10_0_0
|
||||||
|
%define sonum 10.0.0
|
||||||
|
Name: %this_spec
|
||||||
|
Version: 3.2.4
|
||||||
|
Release: 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
|
||||||
|
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
|
||||||
|
Patch0: soversion.diff
|
||||||
|
Patch1: autoconf-2_72.diff
|
||||||
|
Patch2: wxWidgets-3_2-Fix-test-suite-on-Linux-s390x-architectures.patch
|
||||||
|
%if "%{flavor}" == "doc"
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: graphviz
|
||||||
|
%else
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: cppunit-devel
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||||
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
||||||
|
BuildRequires: pkgconfig(libcurl)
|
||||||
|
BuildRequires: pkgconfig(libmspack)
|
||||||
|
BuildRequires: pkgconfig(libnotify)
|
||||||
|
BuildRequires: pkgconfig(sm)
|
||||||
|
%if "%toolkit" == "gtk2"
|
||||||
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
|
%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(liblzma)
|
||||||
|
BuildRequires: pkgconfig(sdl2)
|
||||||
|
BuildRequires: pkgconfig(xtst)
|
||||||
|
%endif
|
||||||
|
# Use default debug level, enabling exceptions
|
||||||
|
# Other valid values: yes/no/max
|
||||||
|
%define wx_debug %nil
|
||||||
|
|
||||||
|
%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_base-%variant-devel
|
||||||
|
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
|
||||||
|
Provides: libwx_base-devel
|
||||||
|
Conflicts: libwx_base-devel
|
||||||
|
|
||||||
|
%description -n libwx_base-%variant-devel
|
||||||
|
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.
|
||||||
|
|
||||||
|
%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.
|
||||||
|
%{?extra_description}
|
||||||
|
|
||||||
|
%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.
|
||||||
|
%{?extra_description}
|
||||||
|
|
||||||
|
%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 -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
|
Summary: wxWidgets SDL Plugin
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
|
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %name
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
%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_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
|
||||||
|
%if %{with webview}
|
||||||
|
Requires: libwx_%{toolkit}u_webview-%variant%psonum = %version
|
||||||
|
%endif
|
||||||
|
Requires: libwx_%{toolkit}u_xrc-%variant%psonum = %version
|
||||||
|
Requires: libwx_base-%variant-devel = %version
|
||||||
|
Requires: pkgconfig(gl)
|
||||||
|
Requires: pkgconfig(glu)
|
||||||
|
Provides: 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:
|
||||||
|
Provides: 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
|
||||||
|
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 %name.
|
||||||
|
%{?extra_description}
|
||||||
|
|
||||||
|
Note: wxWidgets variant devel packages are mutually exclusive. Please
|
||||||
|
read %_docdir/%name/README.SUSE to pick a correct variant.
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n wxWidgets-%version -p1
|
||||||
|
cp %{S:2} .
|
||||||
|
|
||||||
|
%build
|
||||||
|
%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
|
||||||
|
autoconf -f -i
|
||||||
|
# NOTE: gnome-vfs is deprecated. Disabled by default upstream.
|
||||||
|
#
|
||||||
|
# With 2.9.1:
|
||||||
|
# --enable-accessibility is currently supported only in msw
|
||||||
|
# --enable-extended_rtti does not compile
|
||||||
|
|
||||||
|
%configure \
|
||||||
|
--enable-vendor=%variant \
|
||||||
|
%if "%toolkit" == "qt"
|
||||||
|
--with-qt \
|
||||||
|
%else
|
||||||
|
--with-gtk=%gtk_version \
|
||||||
|
%endif
|
||||||
|
--enable-unicode \
|
||||||
|
--with-opengl \
|
||||||
|
--with-libmspack \
|
||||||
|
--with-sdl \
|
||||||
|
--enable-ipv6 \
|
||||||
|
--enable-mediactrl \
|
||||||
|
--enable-optimise \
|
||||||
|
%{wx_debug:--enable-debug=%{wx_debug}} \
|
||||||
|
--enable-repro-build \
|
||||||
|
--disable-glcanvasegl \
|
||||||
|
--enable-webrequest \
|
||||||
|
%if "%flavor" == "GTK3-nostl"
|
||||||
|
--disable-stl \
|
||||||
|
--disable-plugins
|
||||||
|
%else
|
||||||
|
--enable-stl \
|
||||||
|
--enable-plugins
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
%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
|
||||||
|
|
||||||
|
export VENDORTAG='-$variant' # only needed for non-MSW
|
||||||
|
%make_install
|
||||||
|
%if !%base_packages
|
||||||
|
# Drop libraries already supplied by another packages
|
||||||
|
rm -fv "%buildroot/%_libdir"/libwx_baseu*.so* \
|
||||||
|
"%buildroot/%_libdir/wx/%wx_minor"/sound_sdlu-*.so
|
||||||
|
%endif
|
||||||
|
rm -Rfv %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
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if "%{flavor}" != "doc"
|
||||||
|
%make_build -C tests all
|
||||||
|
pushd tests
|
||||||
|
# Disable webrequest tests requiring network access
|
||||||
|
export WX_TEST_WEBREQUEST_URL=0
|
||||||
|
# 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
|
||||||
|
|
||||||
|
%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 "%{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
|
||||||
|
|
||||||
|
%if %base_packages
|
||||||
|
%files -n libwx_base-%variant-devel
|
||||||
|
%_libdir/libwx_baseu*.so
|
||||||
|
|
||||||
|
%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}*
|
||||||
|
|
||||||
|
%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_minor
|
||||||
|
%_libdir/wx/%wx_minor/web-extensions/
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||||
|
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
||||||
|
|
||||||
|
%if %base_packages
|
||||||
|
%if "%flavor" != "GTK3-nostl"
|
||||||
|
%files -n %{base_name}-plugin-sound_sdlu-3_2
|
||||||
|
%dir %_libdir/wx
|
||||||
|
%dir %_libdir/wx/%wx_minor
|
||||||
|
%_libdir/wx/%wx_minor/sound_sdlu-%wx_minor.so
|
||||||
|
%endif
|
||||||
|
%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
|
||||||
|
%if %base_packages
|
||||||
|
%exclude %_libdir/libwx_baseu*
|
||||||
|
%endif
|
||||||
|
%dir %_libdir/wx
|
||||||
|
%_libdir/wx/config
|
||||||
|
%_libdir/wx/include
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
12
wxpython-mkdiff.sh
Normal file
12
wxpython-mkdiff.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This script helps to find important differences between
|
||||||
|
# wxWidgets/wxGTK and wxWidgets instance embedded in wxPython-src.
|
||||||
|
|
||||||
|
VER=2.9.4
|
||||||
|
PYREL=0
|
||||||
|
find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f | while read ; do tr -d '\r' <"$REPLY" >"$REPLY".new ; mv "$REPLY".new "$REPLY" ; done
|
||||||
|
find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f -exec sed -i /RCS-ID:/d {} \;
|
||||||
|
find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f -exec sed -i /\$Id/d {} \;
|
||||||
|
find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -name '*.wat' -exec rm {} \;
|
||||||
|
LANG=C diff -ur wxWidgets-${VER} wxPython-src-${VER}.${PYREL} | grep -v ^Only >wxWidgets-to-wxpython-${VER}.${PYREL}.patch
|
Loading…
Reference in New Issue
Block a user