Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Michal Minář
82eecf9dc4
New upstream version
NV: wt-3.3.6

Signed-off-by: Michal Minář <miminar@redhat.com>
2016-08-08 16:37:41 +02:00
6 changed files with 15 additions and 55 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/wt-3.3.5-rc2-free.tar.xz
/wt-3.3.6-free.tar.xz

View file

@ -1,42 +0,0 @@
Index: wt-3.3.5-rc2/src/web/base64.cpp
===================================================================
--- wt-3.3.5-rc2.orig/src/web/base64.cpp
+++ wt-3.3.5-rc2/src/web/base64.cpp
@@ -18,24 +18,26 @@ namespace base64
const char* to_table_end =
_to_table + sizeof(_to_table);
+ const char _o = (char)(-1);
+
const char _from_table[128] =
{
- -1, -1, -1, -1, -1, -1, -1, -1, // 0
- -1, -1, -1, -1, -1, -1, -1, -1, // 8
- -1, -1, -1, -1, -1, -1, -1, -1, // 16
- -1, -1, -1, -1, -1, -1, -1, -1, // 24
- -1, -1, -1, -1, -1, -1, -1, -1, // 32
- -1, -1, -1, 62, -1, -1, -1, 63, // 40
+ _o, _o, _o, _o, _o, _o, _o, _o, // 0
+ _o, _o, _o, _o, _o, _o, _o, _o, // 8
+ _o, _o, _o, _o, _o, _o, _o, _o, // 16
+ _o, _o, _o, _o, _o, _o, _o, _o, // 24
+ _o, _o, _o, _o, _o, _o, _o, _o, // 32
+ _o, _o, _o, 62, _o, _o, _o, 63, // 40
52, 53, 54, 55, 56, 57, 58, 59, // 48
- 60, 61, -1, -1, -1, 0, -1, -1, // 56
- -1, 0, 1, 2, 3, 4, 5, 6, // 64
+ 60, 61, _o, _o, _o, 0, _o, _o, // 56
+ _o, 0, 1, 2, 3, 4, 5, 6, // 64
7, 8, 9, 10, 11, 12, 13, 14, // 72
15, 16, 17, 18, 19, 20, 21, 22, // 80
- 23, 24, 25, -1, -1, -1, -1, -1, // 88
- -1, 26, 27, 28, 29, 30, 31, 32, // 96
+ 23, 24, 25, _o, _o, _o, _o, _o, // 88
+ _o, 26, 27, 28, 29, 30, 31, 32, // 96
33, 34, 35, 36, 37, 38, 39, 40, // 104
41, 42, 43, 44, 45, 46, 47, 48, // 112
- 49, 50, 51, -1, -1, -1, -1, -1 // 120
+ 49, 50, 51, _o, _o, _o, _o, _o // 120
};
const char* from_table = _from_table;
}

View file

@ -1 +1 @@
2473eed623c93a6d40b823bbc6e0e9c2 wt-3.3.5-rc2-free.tar.xz
22537188d09d50c218c373026ee482e0 wt-3.3.6-free.tar.xz

View file

@ -1,10 +1,13 @@
#!/bin/sh
set -euo pipefail
IFS=$'\n\t'
NAME="wt"
VERSION=$1
tmp=`mktemp -d`
tar -xzvf $NAME-$VERSION.tar.gz -C $tmp
tar -xzvf $VERSION.tar.gz -C $tmp
pushd $tmp
pushd $NAME-$VERSION/src/Wt/Dbo/backend
rm -r ibpp

19
wt.spec
View file

@ -3,11 +3,10 @@
%global WTRUNUSER apache
%global WTRUNGROUP apache
%global alphatag rc2
Name: wt
Version: 3.3.5
Release: 0.6.%{alphatag}%{?dist}
Version: 3.3.6
Release: 1%{?dist}
Summary: C++ library for developing web applications
Group: Development/Libraries
@ -15,9 +14,9 @@ Group: Development/Libraries
License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib
URL: http://www.webtoolkit.eu/wt
# Following archive was made from upstream tarball downloaded from
# http://citylan.dl.sourceforge.net/project/witty/wt/3.3.4/wt-3.3.4.tar.gz
# https://github.com/kdeforche/wt/archive/3.3.6.tar.gz
# by running ./wt-generate-tarball.sh 3.3.5-rc2 from tarball's directory
Source0: %{name}-%{version}-%{alphatag}-free.tar.xz
Source0: %{name}-%{version}-free.tar.xz
Source1: %{name}-%{version}-PACKAGE-LICENSING
# Explain why the locale example is renamed to timezone.
Source2: timezone-README.fedora
@ -32,10 +31,8 @@ Source4: wt-generate-tarball.sh
Patch0: find-mysql.patch
Patch1: use-system-sqlite.patch
# Fixes compilation on armv7hl with gcc 5.x
Patch2: fix-narrowing-issue-on-arm.patch
BuildRequires: cmake >= 2.6 boost-devel >= 1.41 openssl-devel doxygen
BuildRequires: cmake >= 2.6 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen
BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel
BuildRequires: mysql-devel libharu-devel fcgi-devel zlib-devel qt-devel
@ -114,10 +111,9 @@ Group: Documentation
This package contains the documents for Wt API and examples.
%prep
%setup -q -n %{name}-%{version}-%{alphatag}
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .find-mysql
%patch1 -p1 -b .use-system-sqlite
%patch2 -p1 -b .fix-narrowing-issue-on-arm
# static files like javascript and css should not be executable
for d in src resources examples; do
@ -297,6 +293,9 @@ popd
%{_defaultdocdir}/%{name}-doc/examples/*
%changelog
* Mon Aug 08 2016 Michal Minar <miminar@redhat.com> 3.3.6-1
- New upstream version 3.3.6
* Tue May 17 2016 Jonathan Wakely <jwakely@redhat.com> - 3.3.5-0.6.rc2
- Rebuilt for linker errors in boost (#1331983)