New upstream release 3.0.3

Update to latest WebKit2 patch (#1428997)
epel8
Scott Talbert 8 years ago
parent e31717383b
commit 1d26276d39

1
.gitignore vendored

@ -7,3 +7,4 @@
/wxWidgets-9518d52.tar.gz
/wxWidgets-f90b768.tar.gz
/wxWidgets-e4293e9.tar.gz
/wxWidgets-3.0.3.tar.bz2

@ -1 +1 @@
SHA512 (wxWidgets-e4293e9.tar.gz) = 30206398dfa6687ca9092fbf372a794cd739a063065a8574ce65494d6bb059b93454d9e79a8e1e552872b16fd025d192b9455b618c9a40e64a816e0c9821499e
SHA512 (wxWidgets-3.0.3.tar.bz2) = dfe53682d7cda1d460f336a890603c4e823078be4b05e7cf43ab36cb49247f702808aa939d9311705bdf5f96eaa076e7a8f77f4415bc07c5bfdc19e5deff1dd1

File diff suppressed because it is too large Load Diff

@ -10,17 +10,17 @@
%endif
#For git snapshots, set to 0 to use release instead:
%global usesnapshot 1
%global usesnapshot 0
%if 0%{?usesnapshot}
%global commit0 e4293e9e39d2d6e7757ed5907ce66d2847d8e16a
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
#What doc version to use with the snapshot (usually last release):
%global builddocs 1
%global snapshottag .git%{shortcommit0}
%endif
%global builddocs 1
Name: %{wxgtkname}
Version: 3.0.3
Release: 0.8%{?usesnapshot:.git%{shortcommit0}}%{?dist}
Release: 1%{?snapshottag}%{?dist}
Summary: GTK port of the wxWidgets GUI library
License: wxWidgets
Group: System Environment/Libraries
@ -39,7 +39,7 @@ Source10: wx-config
# remove abort when ABI check fails
# Backport from wxGTK
Patch0: %{name}-%{version}-abicheck.patch
# Temporary patch to port to webkit2gtk
# Patch to port to webkit2gtk
%if 0%{?fedora} > 26
Patch1: %{name}-%{version}-webkit2.patch
%endif
@ -47,7 +47,7 @@ Patch1: %{name}-%{version}-webkit2.patch
BuildRequires: gtk%{gtkver}-devel
#Note webkitgtk (GTK2) does not appear to be supported
%if %{gtkver} == 3
%if 0%{?fedora} < 27
%if 0%{?fedora} < 26
BuildRequires: webkitgtk3-devel
%else
BuildRequires: webkitgtk4-devel
@ -58,10 +58,18 @@ BuildRequires: libpng-devel
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: expat-devel
%if 0%{?fedora} < 26
BuildRequires: SDL-devel
%else
BuildRequires: SDL2-devel
%endif
BuildRequires: libGLU-devel
BuildRequires: libSM-devel
%if 0%{?fedora} < 26
BuildRequires: gstreamer-plugins-base-devel
%else
BuildRequires: gstreamer1-plugins-base-devel
%endif
BuildRequires: GConf2-devel
BuildRequires: gettext
BuildRequires: cppunit-devel
@ -185,9 +193,6 @@ This package provides XML documentation for the %{srcname} library.
%autosetup -n %{srcname}-%{version} %{!?builddocs:-a 1} -p1
%endif
# Run autogen since we're patching configure.in
./autogen.sh
# patch some installed files to avoid conflicts with 2.8.*
sed -i -e 's|aclocal)|aclocal/wxwin3.m4)|' Makefile.in
sed -i -e 's|wxstd.mo|wxstd3.mo|' Makefile.in
@ -209,8 +214,6 @@ CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export LDFLAGS="-Wl,--as-needed"
# Trick configure into using pkg-config for cppunit-config
export CPPUNIT_CONFIG="/usr/bin/pkg-config cppunit"
# Trick configure into building with SDL2
export SDL_CONFIG=/usr/bin/sdl2-config
%if 0%{?usesnapshot}
#For snapshots, mo files need to be generated
@ -342,6 +345,9 @@ fi
%exclude %{_datadir}/bakefile/presets/wx3/*.pyc
%exclude %{_datadir}/bakefile/presets/wx3/*.pyo
%{_libexecdir}/%{name}
%if 0%{?fedora} > 25
%exclude %{_libdir}/wx/3.0
%endif
%files gl
%{_libdir}/libwx_gtk%{gtkver}u_gl-*.so.*
@ -352,6 +358,8 @@ fi
%if 0%{?fedora} > 25
%files webview
%{_libdir}/libwx_gtk%{gtkver}u_webview-*.so.*
%dir %{_libdir}/wx
%{_libdir}/wx/3.0
%endif
%files -n %{wxbasename}
@ -368,6 +376,10 @@ fi
%doc docs/doxygen/out/xml/*
%changelog
* Wed May 03 2017 Scott Talbert <swt@techie.net> - 3.0.3-1
- New upstream release 3.0.3
- Update to latest WebKit2 patch (#1428997)
* Mon Apr 17 2017 Scott Talbert <swt@techie.net> - 3.0.3-0.8.gite4293e9
- Rebuild against SDL2

Loading…
Cancel
Save