Backport patches to tdeedu to resolve FTBFS. Switch tdeaccessibility and tdeedu to CMake. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/107/head
parent
7821de9ce7
commit
a57aaa1cd8
@ -1,60 +1,46 @@
|
|||||||
# Maintainer: David C. Rankin <drankinatty at gmail dot com>
|
# Maintainer: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
pkgname=tde-tdeaccessibility
|
pkgname=tde-tdeaccessibility
|
||||||
pkgver=14.0.5
|
pkgver=14.0.10
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Accessibility utilities for the TDE Desktop"
|
pkgdesc="Accessibility utilities for the TDE Desktop"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://scm.trinitydesktop.org/scm/git/${pkgname#*-}"
|
url="https://scm.trinitydesktop.org/scm/git/${pkgname#*-}"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
groups=('tde-extra')
|
groups=('tde-extra')
|
||||||
depends=('tde-tdebase')
|
depends=('tde-tdebase')
|
||||||
makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake')
|
makedepends=('pkgconfig' 'cmake' 'tde-tdemultimedia')
|
||||||
optdepends=()
|
optdepends=()
|
||||||
provides=("${pkgname#*-}")
|
provides=("${pkgname#*-}")
|
||||||
conflicts=("trinity-${pkgname#*-}")
|
conflicts=("trinity-${pkgname#*-}")
|
||||||
replaces=("trinity-${pkgname#*-}")
|
replaces=("trinity-${pkgname#*-}")
|
||||||
options=('staticlibs' 'libtool' '!emptydirs')
|
options=('staticlibs' 'libtool' '!emptydirs')
|
||||||
# install='pkgname.install'
|
# install='pkgname.install'
|
||||||
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdeaccessibility-R${pkgver}.tar.bz2")
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/core/tdeaccessibility-trinity-${pkgver}.tar.xz")
|
||||||
md5sums=('e6b46859ddc8bb22e6b4e5cd21f989e1')
|
md5sums=('0fb53257ee9b5dbd464a6ca8f30ef5b6')
|
||||||
|
|
||||||
build() {
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
cd ${srcdir}/${pkgname#*-}
|
|
||||||
## Generate config files and update with autoreconf
|
|
||||||
|
|
||||||
msg "Copying system libtool files...."
|
|
||||||
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
|
|
||||||
cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh
|
|
||||||
|
|
||||||
msg "Running make -f admin/Makefile.common ...."
|
|
||||||
make -f admin/Makefile.common
|
|
||||||
|
|
||||||
## configure
|
build() {
|
||||||
msg "Configuring - ${pkgname}..."
|
cd $srcdir
|
||||||
./configure \
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
--prefix=${TDEDIR} \
|
mkdir -p build
|
||||||
--with-qt-dir=${QTDIR} \
|
cd build
|
||||||
--with-extra-libs=${TDEDIR}/lib/trinity \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--enable-kttsd-epos=no \
|
|
||||||
--enable-kttsd-festivalint=no \
|
|
||||||
--enable-kttsd-flite=no \
|
|
||||||
--enable-kttsd-freetts=no \
|
|
||||||
--enable-kttsd-hadifix=no \
|
|
||||||
--enable-debug=full \
|
|
||||||
--enable-closure
|
|
||||||
|
|
||||||
msg "Building - ${pkgname}..."
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
make $NUMJOBS
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver} \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DBUILD_ALL=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname#*-}..."
|
||||||
|
make $NUMJOBS
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
msg "Packaging - $pkgname-$pkgver"
|
msg "Packaging - $pkgname-$pkgver"
|
||||||
|
cd ${srcdir}/build
|
||||||
cd ${srcdir}/${pkgname#*-} # use for non-out-of-source
|
make -j1 DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
make -j1 DESTDIR="$pkgdir" install
|
|
||||||
}
|
}
|
||||||
|
@ -1,75 +1,51 @@
|
|||||||
# Maintainer: e1z0 <justinas at eofnet dot lt>
|
# Maintainer: e1z0 <justinas at eofnet dot lt>
|
||||||
|
|
||||||
pkgname=tde-tdeedu
|
pkgname=tde-tdeedu
|
||||||
pkgver=14.0.5
|
pkgver=14.0.10
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Educational utilities for the TDE Desktop"
|
pkgdesc="Educational utilities for the TDE Desktop"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://scm.trinitydesktop.org/scm/git/${pkgname#*-}"
|
url="https://scm.trinitydesktop.org/scm/git/${pkgname#*-}"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
groups=('tde-extra')
|
groups=('tde-extra')
|
||||||
depends=('tde-tdebase')
|
depends=('tde-tdebase')
|
||||||
makedepends=('pkgconfig' 'autoconf')
|
makedepends=('pkgconfig' 'cmake' 'texlive-bin')
|
||||||
optdepends=()
|
optdepends=()
|
||||||
provides=("${pkgname#*-}")
|
provides=("${pkgname#*-}")
|
||||||
conflicts=("trinity-${pkgname#*-}")
|
conflicts=("trinity-${pkgname#*-}")
|
||||||
replaces=("trinity-${pkgname#*-}")
|
replaces=("trinity-${pkgname#*-}")
|
||||||
options=('staticlibs' 'libtool' '!emptydirs')
|
options=('staticlibs' 'libtool' '!emptydirs')
|
||||||
# install='pkgname.install'
|
# install='pkgname.install'
|
||||||
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdeedu-R${pkgver}.tar.bz2"
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/core/tdeedu-trinity-${pkgver}.tar.xz"
|
||||||
"kmplot.patch")
|
'bp000-0cb84fb9.diff')
|
||||||
md5sums=('b6ceb82d93d19e3862dfb01c45457774'
|
md5sums=('3859da24d70f0d787c0cc7f41540772d'
|
||||||
'3b00bf93b77d020d69d9d92ef80041d2')
|
'5ae3959dc2dc62f1f7421620b198d175')
|
||||||
|
|
||||||
build() {
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
cd ${srcdir}/${pkgname#*-}
|
|
||||||
## Generate config files and update with autoreconf
|
|
||||||
|
|
||||||
msg "Patching for kmplot..."
|
|
||||||
patch -p1 -i ${srcdir}/kmplot.patch
|
|
||||||
|
|
||||||
msg "Copying system libtool files...."
|
build() {
|
||||||
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
|
cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
|
||||||
cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh
|
patch -p1 < ${srcdir}/bp000-0cb84fb9.diff
|
||||||
|
|
||||||
msg "Running make -f admin/Makefile.common ...."
|
|
||||||
make -f admin/Makefile.common
|
|
||||||
|
|
||||||
## configure
|
cd $srcdir
|
||||||
msg "Configuring - ${pkgname}..."
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
./configure \
|
mkdir -p build
|
||||||
--prefix=${TDEDIR} \
|
cd build
|
||||||
--with-qt-dir=${QTDIR} \
|
|
||||||
--with-extra-libs=${TDEDIR}/lib/trinity \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--enable-kttsd-epos=no \
|
|
||||||
--enable-kttsd-festivalint=no \
|
|
||||||
--enable-kttsd-flite=no \
|
|
||||||
--enable-kttsd-freetts=no \
|
|
||||||
--enable-kttsd-hadifix=no \
|
|
||||||
--enable-debug=full \
|
|
||||||
--enable-closure
|
|
||||||
|
|
||||||
msg "Building - ${pkgname}..."
|
#export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
make $NUMJOBS
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver} \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DBUILD_ALL=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname#*-}..."
|
||||||
|
make $NUMJOBS
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
msg "Packaging - $pkgname-$pkgver"
|
msg "Packaging - $pkgname-$pkgver"
|
||||||
|
cd ${srcdir}/build
|
||||||
cd ${srcdir}/${pkgname#*-} # use for non-out-of-source
|
make -j1 DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
make -j1 DESTDIR="$pkgdir" install
|
|
||||||
|
|
||||||
# # remove icons that conflict with tdelibs
|
|
||||||
# msg "Removing kttsd.png icons that conflict with tdelibs..."
|
|
||||||
# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/16x16/apps/kttsd.png
|
|
||||||
# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/22x22/apps/kttsd.png
|
|
||||||
# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/32x32/apps/kttsd.png
|
|
||||||
# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/48x48/apps/kttsd.png
|
|
||||||
# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/64x64/apps/kttsd.png
|
|
||||||
# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/128x128/apps/kttsd.png
|
|
||||||
# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/scalable/apps/kttsd.svgz
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
From 0cb84fb9036ce7bc7c757a3971fdb0c619d0c011 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <francois.andriot@free.fr>
|
||||||
|
Date: Tue, 11 May 2021 09:15:26 +0200
|
||||||
|
Subject: Fix FTBFS on Fedora 34
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
error: static assertion failed: comparison object must be invocable as const
|
||||||
|
|
||||||
|
Signed-off-by: François Andriot <francois.andriot@free.fr>
|
||||||
|
---
|
||||||
|
kiten/learn.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/kiten/learn.cpp b/kiten/learn.cpp
|
||||||
|
index 94e77b9a..a1b685d4 100644
|
||||||
|
--- a/kiten/learn.cpp
|
||||||
|
+++ b/kiten/learn.cpp
|
||||||
|
@@ -762,7 +762,7 @@ void Learn::qupdate()
|
||||||
|
|
||||||
|
struct Learn::scoreCompare
|
||||||
|
{
|
||||||
|
- bool operator()(const TQListViewItem* v1, const TQListViewItem* v2)
|
||||||
|
+ bool operator()(const TQListViewItem* v1, const TQListViewItem* v2) const
|
||||||
|
{
|
||||||
|
return v1->text(4).toInt() < v2->text(4).toInt();
|
||||||
|
}
|
||||||
|
--
|
||||||
|
cgit v1.2.1
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -Naur tdeedu-orig/kmplot/kmplot/Makefile.am tdeedu/kmplot/kmplot/Makefile.am
|
|
||||||
--- tdeedu-orig/kmplot/kmplot/Makefile.am 2018-08-25 10:03:05.000000000 +0000
|
|
||||||
+++ tdeedu/kmplot/kmplot/Makefile.am 2019-01-31 21:39:42.000000000 +0000
|
|
||||||
@@ -28,6 +28,8 @@
|
|
||||||
kmplot_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) $(LIB_TDEPARTS) -lDCOP
|
|
||||||
kmplot_LDADD = $(LIB_TDEPARTS)
|
|
||||||
|
|
||||||
+kmplot_COMPILE_FIRST = FktDlgData.h qminmax.h settings.h
|
|
||||||
+
|
|
||||||
# this is where the desktop file will go
|
|
||||||
appmimedir = $(kde_mimedir)/application
|
|
||||||
appmime_DATA = x-kmplot.desktop
|
|
Loading…
Reference in new issue