diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 969a17d..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/wt-3.3.6-free.tar.xz diff --git a/README.fedora b/README.fedora deleted file mode 100644 index d8f2c52..0000000 --- a/README.fedora +++ /dev/null @@ -1,21 +0,0 @@ -======================================================================== -User Information for the Fedora wt package -======================================================================== - -Wt source package includes some thrid-party components which can not be -distributed with source rpm package in Fedora. One such component is a -JavaScript widget jPlayer available at: - - http://www.jplayer.org/ - -This script is needed by Wt::WMediaPlayer widget. To make it work, you -need to manually download jPlayer and install its static files into - - /usr/share/Wt/resources/jPlayer/ - -Or you may copy the contents of /usr/share/Wt/resources to your deployment -directory and install there jPlayer when needed. - -To read more about this change, see the: - - https://fedoraproject.org/wiki/Packaging:Guidelines#No_inclusion_of_pre-built_binaries_or_libraries diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/find-mysql.patch b/find-mysql.patch deleted file mode 100644 index 6ceedf3..0000000 --- a/find-mysql.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: wt-3.3.1-rc1/cmake/WtFindMysql.txt -=================================================================== ---- wt-3.3.1-rc1.orig/cmake/WtFindMysql.txt -+++ wt-3.3.1-rc1/cmake/WtFindMysql.txt -@@ -25,6 +25,8 @@ FIND_LIBRARY(MYSQL_LIB - PATHS - ${MYSQL_PREFIX}/lib - ${MYSQL_PREFIX}/lib/opt -+ ${MYSQL_PREFIX}/lib/mysql -+ ${MYSQL_PREFIX}/lib64/mysql - /usr/lib - /usr/local/lib - /opt/local/lib diff --git a/sources b/sources deleted file mode 100644 index 67ed5f5..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -22537188d09d50c218c373026ee482e0 wt-3.3.6-free.tar.xz diff --git a/timezone-README.fedora b/timezone-README.fedora deleted file mode 100644 index 6fca520..0000000 --- a/timezone-README.fedora +++ /dev/null @@ -1,3 +0,0 @@ -This example is named *locale* in source archive. It is renamed in the process -of package build in order to prevent build failures due to a conflict between -header file resulting base script with the same name. diff --git a/use-system-sqlite.patch b/use-system-sqlite.patch deleted file mode 100644 index ec29ff0..0000000 --- a/use-system-sqlite.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: wt-3.3.2/src/CMakeLists.txt -=================================================================== ---- wt-3.3.2.orig/src/CMakeLists.txt -+++ wt-3.3.2/src/CMakeLists.txt -@@ -5,9 +5,12 @@ INCLUDE_DIRECTORIES( - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_BINARY_DIR} # for WConfig.h - ${BOOST_INCLUDE_DIRS} -- Wt/Dbo/backend/amalgamation # for sqlite3.h - ) - -+IF(ENABLE_SQLITE AND NOT USE_SYSTEM_SQLITE3) -+ INCLUDE_DIRECTORIES(Wt/Dbo/backend/amalgamation) # sqlite 3 -+ENDIF(ENABLE_SQLITE AND NOT USE_SYSTEM_SQLITE3) -+ - LINK_DIRECTORIES(${BOOST_LIB_DIRS}) - - MACRO (FILE_TO_STRING infile outfile var) diff --git a/wt-3.3.6-PACKAGE-LICENSING b/wt-3.3.6-PACKAGE-LICENSING deleted file mode 100644 index 6af2c1b..0000000 --- a/wt-3.3.6-PACKAGE-LICENSING +++ /dev/null @@ -1,17 +0,0 @@ -The entire source code is GPLv2 except for these files: - * Boost Software License (BSL v1.0) - * src/http/* - * src/web/random_device.cpp - * src/rapidxml/* (dual licensed with MIT/X11 (BSD like)) - * MIT/X11 (BSD like) - * examples/wtwithqt/* - * BSD - * src/Wt/Auth/passwdqc.h - * src/Wt/Auth/passwdqc_check.h - * zlib/libpng - * src/web/md5.[ch] - * src/web/base64.h - * SIL OFL 1.1 - * resources/font-awesome/font/* - * MIT License - * resources/font-awesome/css/* diff --git a/wt-generate-tarball.sh b/wt-generate-tarball.sh deleted file mode 100755 index 8e4d5f6..0000000 --- a/wt-generate-tarball.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -euo pipefail -IFS=$'\n\t' - -NAME="wt" -VERSION=$1 - -tmp=`mktemp -d` -tar -xzvf $VERSION.tar.gz -C $tmp -pushd $tmp -pushd $NAME-$VERSION/src/Wt/Dbo/backend -rm -r ibpp -popd # backend -rm -r $NAME-$VERSION/resources/jPlayer -tar -cJvf $NAME-$VERSION-free.tar.xz $NAME-$VERSION -popd # tmp -mv $tmp/$NAME-$VERSION-free.tar.xz . -rm -r $tmp - diff --git a/wt.spec b/wt.spec deleted file mode 100644 index c3ad337..0000000 --- a/wt.spec +++ /dev/null @@ -1,407 +0,0 @@ -%global WTSRVDIR /var/spool/wt -%global WTRUNDIR %{WTSRVDIR}/run - -%global WTRUNUSER apache -%global WTRUNGROUP apache - -Name: wt -Version: 3.3.6 -Release: 1%{?dist} -Summary: C++ library for developing web applications - -Group: Development/Libraries -# For a breakdown of the licensing, see PACKAGE-LICENSING -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 -# 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}-free.tar.xz -Source1: %{name}-%{version}-PACKAGE-LICENSING -# Explain why the locale example is renamed to timezone. -Source2: timezone-README.fedora -# Explain why the jPlayer static files are missing. -Source3: README.fedora -# wt toolkit contains bundled non-free library (IBPP) that we cannot ship. -# Therefore we use this script to remove its code before shipping it. -# Download the upstream tarball and invoke this script while in the -# tarball's directory: -# ./wt-generate-tarball.sh UPSTREAM_VERSION -Source4: wt-generate-tarball.sh - -Patch0: find-mysql.patch -Patch1: use-system-sqlite.patch - -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 - -# Don't use bundled glew on fedora >= 21 -%if 0%{?fedora} >= 21 -%global use_system_glew 1 -BuildRequires: glew-devel -%endif - -# Denote the fact of bundling glew -%{!?use_system_glew:Provides: bundled(glew) = 1.10.0} - -%description -Web C++ library with widget oriented API that uses well-tested patterns of -desktop GUI development tailored to the web. To the developer, it offers -abstraction of web-specific implementation details, including client-server -protocols, event handling, graphics support, graceful degradation (or -progressive enhancement), and URL handling. - -%package dbo -Summary: Wt::Dbo ORM library and Sqlite3 back-end -Group: Development/Libraries - -%description dbo -This package contains the Wt::Dbo Object-Relational Mapping library -and Sqlite3 back-end of it. - -%package dbo-mysql -Summary: MySQL back-end for the Wt::Dbo ORM library -Group: Development/Libraries -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} - -%description dbo-mysql -This package contains the MySQL back-end for the Wt::Dbo ORM library. - -%package dbo-postgres -Summary: PostgreSQL back-end for the Wt::Dbo ORM library -Group: Development/Libraries -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} - -%description dbo-postgres -This package contains the PostgresSQL back-end for the Wt::Dbo ORM library. - -%package devel -Summary: Libraries and header files for witty web development -Group: Development/Libraries -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo-postgres%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo-mysql%{?_isa} = %{version}-%{release} -Requires: cmake - -%description devel -This package contains the files necessary to develop -applications using the Wt toolkit and the Wt::Dbo ORM library. - -%package examples -Summary: Examples for Wt -Group: Development/Libraries -License: GPLv2 and MIT -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} - -%description examples -This package contains programming examples distributed with official Wt -release. - -%package doc -Summary: Documents for the Wt toolkit -Group: Documentation -# Unfortunately there are differences in doxygen output between arm and other -# architectures. -#BuildArch: noarch - -%description doc -This package contains the documents for Wt API and examples. - -%prep -%setup -q -n %{name}-%{version} -%patch0 -p1 -b .find-mysql -%patch1 -p1 -b .use-system-sqlite - -# static files like javascript and css should not be executable -for d in src resources examples; do - find $d -type f \( -iregex '.*\.\([hc]\|js\|css\)' -o -executable \) | \ - xargs -r chmod -v 0644 -done -# locale script created in build directory causes build to fail because some -# dependent headers try to include header which is found in current -# directory. Let's rename it to timezone. -mv examples/feature/locale examples/feature/timezone -mv examples/feature/timezone/{locale,timezone}.C -sed -i 's/locale/timezone/g' \ - examples/feature/CMakeLists.txt \ - examples/feature/timezone/CMakeLists.txt - -find examples -type f -name .htaccess | while read f; do - mv -v $f `dirname $f`/htaccess -done -# conversion to UTF-8 -convdir=`mktemp -d` -for f in examples/style/CornerImage.h; do - tmpf=${convdir}/`basename $f` - iconv -f iso-8859-2 -t UTF-8 $f >$tmpf - mv $tmpf $f -done -rmdir $convdir - -# Make sure not to be using bundled glew -%{?use_system_glew:rm -rf src/3rdparty/glew-1.10.0} - -%build -mkdir wt-build -cd wt-build -## wtdbofirebird library bundles IBPP c++ client library for firebird -## that is licensed under IBPP License, which is marked as Non-Free -## by Red Hat Legal -## let's not package it, until licensing issues are solved -%cmake .. \ - -DWT_CPP_11_MODE=-std=c++11 \ - -DCONNECTOR_HTTP=ON \ - -DCONNECTOR_FCGI=ON \ - -DUSE_SYSTEM_SQLITE3=ON \ - -DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \ - -DWEBUSER="%{WTRUNUSER}" \ - -DWEBGROUP="%{WTRUNGROUP}" \ - -DRUNDIR="%{WTRUNDIR}" \ - -DCONFIGDIR="%{_sysconfdir}/%{name}" \ - -DINSTALL_EXAMPLES=ON \ - -DENABLE_FIREBIRD=OFF \ - -DENABLE_MYSQL=ON \ - -DMYSQL_LIBRARY=mysqlclient \ - %{?use_system_glew:-DUSE_SYSTEM_GLEW=1} \ - -DEXAMPLES_DESTINATION=%{_lib}/Wt/examples -make %{?_smp_mflags} -make doc - -%install -pushd wt-build -make install DESTDIR=$RPM_BUILD_ROOT -install -v -m 0755 -d ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name} -cp -v wt_config.xml ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name} - -# makes an absolute symlink to resources directory -make_rsc_link() { - ln -vs "%{_datadir}/Wt/resources" \ - "${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/$1" -} - -# installation of examples -pushd examples -for d in `find . -maxdepth 1 -mindepth 1 -type d | \ - grep -v '^\(CMakeFiles\|feature\)$'`; do - # create a symlink for each example pointing on resources dir - make_rsc_link $d -done -for d in `find feature -maxdepth 1 -mindepth 1 -type d | grep -v 'CMakeFiles'`; -do # create a symlink for each feature example pointing on resources dir - make_rsc_link $d -done -popd # examples -popd # wt-build -install -vm 644 %{SOURCE2} \ - ${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/feature/timezone/README.fedora - -# installation of documentation -for d in %{name} %{name}-dbo %{name}-doc; do - install -v -m 0755 -d ${RPM_BUILD_ROOT}%{_defaultdocdir}/$d/ - cp -v LICENSE ${RPM_BUILD_ROOT}%{_defaultdocdir}/$d/ - install -vm 644 %{SOURCE1} \ - ${RPM_BUILD_ROOT}%{_defaultdocdir}/$d/PACKAGE-LICENSING -done -cp -vr README.md %{SOURCE3} ReleaseNotes.html Changelog \ - ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}/ -cp -vr INSTALL*.html doc/* ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-doc/ - -pushd ${RPM_BUILD_ROOT} -mkdir -vp .%{WTSRVDIR} -mkdir -vp .%{WTRUNDIR} - -# cleanup -for d in examples reference; do - if [[ -e .%{_defaultdocdir}/%{name}-doc/$d/html/installdox ]]; then - rm -v .%{_defaultdocdir}/%{name}-doc/$d/html/installdox - fi -done -rm -v .%{_defaultdocdir}/%{name}-doc/main -find .%{_libdir}/Wt/examples -regex '.*/\(CMakeFiles\|.*\.cmake\|Doxygen\)' | \ - xargs rm -rfv -# these scripts were used to generate pictures -find .%{_datadir}/Wt/resources -name 'generate.sh' | xargs rm -v -popd - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig -%post dbo -p /sbin/ldconfig -%postun dbo -p /sbin/ldconfig -%post dbo-mysql -p /sbin/ldconfig -%postun dbo-mysql -p /sbin/ldconfig -%post dbo-postgres -p /sbin/ldconfig -%postun dbo-postgres -p /sbin/ldconfig - -%files -%config(noreplace) %{_sysconfdir}/%{name}/wt_config.xml -%{_libdir}/libwt.so.* -%{_libdir}/libwtfcgi.so.* -%{_libdir}/libwthttp.so.* -%{_libdir}/libwttest.so.* -%dir %{_defaultdocdir}/%{name} -%doc %{_defaultdocdir}/%{name}/README.md -%doc %{_defaultdocdir}/%{name}/README.fedora -%doc %{_defaultdocdir}/%{name}/LICENSE -%doc %{_defaultdocdir}/%{name}/ReleaseNotes.html -%doc %{_defaultdocdir}/%{name}/Changelog -%doc %{_defaultdocdir}/%{name}/PACKAGE-LICENSING -%dir %{_datadir}/Wt -%dir %{_datadir}/Wt/resources -%{_datadir}/Wt/resources/* -%dir %{WTSRVDIR} -%dir %{WTRUNDIR} - -%files dbo -%dir %{_defaultdocdir}/%{name}-dbo -%doc %{_defaultdocdir}/%{name}-dbo/LICENSE -%doc %{_defaultdocdir}/%{name}-dbo/PACKAGE-LICENSING -%{_libdir}/libwtdbo.so.* -%{_libdir}/libwtdbosqlite3.so.* - -%files dbo-mysql -%{_libdir}/libwtdbomysql.so.* - -%files dbo-postgres -%{_libdir}/libwtdbopostgres.so.* - -%files devel -# header files -%dir %{_includedir}/Wt -%{_includedir}/Wt/* -%{_libdir}/*.so - -%files examples -%dir %{_libdir}/Wt -%dir %{_libdir}/Wt/examples -%{_libdir}/Wt/examples/* - -%files doc -%dir %{_defaultdocdir}/%{name}-doc -%doc %{_defaultdocdir}/%{name}-doc/LICENSE -%doc %{_defaultdocdir}/%{name}-doc/PACKAGE-LICENSING -%{_defaultdocdir}/%{name}-doc/*.html -%dir %{_defaultdocdir}/%{name}-doc/images -%dir %{_defaultdocdir}/%{name}-doc/reference -%dir %{_defaultdocdir}/%{name}-doc/tutorial -%dir %{_defaultdocdir}/%{name}-doc/examples -%{_defaultdocdir}/%{name}-doc/images/* -%{_defaultdocdir}/%{name}-doc/reference/* -%{_defaultdocdir}/%{name}-doc/tutorial/* -%{_defaultdocdir}/%{name}-doc/examples/* - -%changelog -* Mon Aug 08 2016 Michal Minar 3.3.6-1 -- New upstream version 3.3.6 - -* Tue May 17 2016 Jonathan Wakely - 3.3.5-0.6.rc2 -- Rebuilt for linker errors in boost (#1331983) - -* Fri Feb 05 2016 Fedora Release Engineering - 3.3.5-0.5.rc2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Jan 16 2016 Jonathan Wakely - 3.3.5-0.4.rc2 -- Rebuilt for Boost 1.60 - -* Thu Jan 14 2016 Adam Jackson - 3.3.5-0.3.rc2 -- Rebuild for glew 1.13 - -* Wed Nov 18 2015 Michal Minar 3.3.5-0.2.rc2 -- Made doc package archfull. - -* Wed Nov 18 2015 Michal Minar 3.3.5-0.1.rc2 -- New upstream version 3.3.5-rc2 - -* Thu Aug 27 2015 Jonathan Wakely - 3.3.4-6 -- Rebuilt for Boost 1.59 - -* Thu Aug 27 2015 Jonathan Wakely - 3.3.4-5 -- Rebuilt for Boost 1.59 - -* Wed Jul 29 2015 Fedora Release Engineering - 3.3.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 - -* Wed Jul 22 2015 David Tardon - 3.3.4-3 -- rebuild for Boost 1.58 - -* Fri Jun 19 2015 Fedora Release Engineering - 3.3.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Apr 20 2015 Michal Minar 3.3.4-1 -- New upstream version 3.3.4 - -* Mon Feb 09 2015 Ralf Corsépius - 3.3.3-4 -- Add wt-3.3.3-boost-1.57.patch (Fix boost-1.57 FTBFS). -- Replace bogus BR: boost-devel%%{_isa} with BR: boost-devel. -- Unbundle GLEW. - -* Mon Aug 18 2014 Fedora Release Engineering - 3.3.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jun 13 2014 Michal Minar 3.3.3-2 -- Reenabled raster image support. - -* Wed Jun 11 2014 Michal Minar 3.3.3-1 -- New upstream version 3.3.3. - -* Sun Jun 08 2014 Fedora Release Engineering - 3.3.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Fri May 23 2014 David Tardon - 3.3.2-3 -- rebuild for boost 1.55.0 - -* Fri Mar 21 2014 Michal Minar 3.3.2-2 -- Got rid of bundled sqlite libraries. - -* Fri Mar 14 2014 Michal Minar 3.3.2-1 -- Update to 3.3.2 - -* Sun Sep 22 2013 Michal Minar 3.3.1-0.1.rc1 -- Update to 3.3.1-rc1. -- Added dbo-mysql subpackage with MySQL backend library. -- Unversioned doc directories. - -* Sun Aug 04 2013 Fedora Release Engineering - 3.3.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat Jul 27 2013 pmachata@redhat.com - 3.3.0-3 -- Rebuild for boost 1.54.0 - -* Wed Jun 26 2013 Michal Minar 3.3.0-2 -- Using LZMA2 compression for source archive. - -* Thu Jun 20 2013 Michal Minar 3.3.0-1 -- Version 3.3.0 - -* Sat Feb 09 2013 Denis Arnaud - 3.2.3-2 -- Rebuild for Boost-1.53.0 - -* Wed Dec 26 2012 Michal Minar - 3.2.3-1 -- Version 3.2.3 - -* Mon Dec 24 2012 Rex Dieter 3.2.2-7.p1 -- rebuild (GraphicsMagick) - -* Thu Sep 13 2012 Michal Minar - 3.2.2-6.p1 -- fixed changelog line - -* Wed Sep 12 2012 Michal Minar - 3.2.2-5.p1 -- Added wt-generate-tarball.sh script for source tarball generation - from upstream tarball, in order to remove the IBPP non-free library - from source. - -* Mon Sep 03 2012 Michal Minar - 3.2.2-4.p1 -- separated doc dirs for independent subpackages -dbo and -doc - -* Fri Aug 24 2012 Michal Minar - 3.2.2-3.p1 -- Own examples directory. -- Include a copy of license in wt-doc. -- Added License tag for wt-examples. - -* Fri Aug 24 2012 Michal Minar - 3.2.2-2.p1 -- Not packaging back-end due to licensing issues. - -* Tue Aug 21 2012 Michal Minar - 3.2.2-1.p1 -- Initial Package for FE.