diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-10-27 22:43:21 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-10-29 13:16:09 +0200 |
commit | 1838e1a41f12414ad989d5f1c712ef0c62df9bf1 (patch) | |
tree | 45622c4f929f769c14ec8640fe61066d8e365f6c /arch/tde-extra/tde-tdesudo | |
parent | cf9e2a0eeadb7ba2804ec3e8ddab059e32afe9cc (diff) | |
download | tde-packaging-1838e1a41f12414ad989d5f1c712ef0c62df9bf1.tar.gz tde-packaging-1838e1a41f12414ad989d5f1c712ef0c62df9bf1.zip |
ArchLinux: Update to R14.0.11
+ Add standalone package tde-cmake-trinity
+ Switch CMake builds to use Ninja
+ Switch some packages to CMake
+ Add tde-tqca and tde-akode
+ Add tde-i18n packages
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-extra/tde-tdesudo')
-rw-r--r-- | arch/tde-extra/tde-tdesudo/PKGBUILD | 37 | ||||
-rw-r--r-- | arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff | 31 |
2 files changed, 19 insertions, 49 deletions
diff --git a/arch/tde-extra/tde-tdesudo/PKGBUILD b/arch/tde-extra/tde-tdesudo/PKGBUILD index 07b0ff58b..6c62c34c9 100644 --- a/arch/tde-extra/tde-tdesudo/PKGBUILD +++ b/arch/tde-extra/tde-tdesudo/PKGBUILD @@ -1,31 +1,30 @@ # Contributor: e1z0 <justinas at eofnet dot lt> -pkgname=tde-tdesudo -pkgver=14.0.10 +_mod=tdesudo +_cat=applications/settings/ +_kdemod="${_mod/tde/kde}" + +pkgname="tde-${_mod/tde-}" +pkgver=14.0.11 pkgrel=1 pkgdesc="TDE Sudo" arch=('i686' 'x86_64') -url='https://scm.trinitydesktop.org/scm/git/applications/tdesudo' +url="https://scm.trinitydesktop.org/scm/git/${_mod}" license=('GPL') groups=('tde-extra') depends=('tde-tdelibs') -makedepends=('pkgconfig' 'cmake') -#provides=('tdesudo') -#conflicts=('tdesudo') -#replaces=('tdesudo') +makedepends=('tde-cmake-trinity') +provides=("${_mod}") +conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}") +replaces=("trinity-${_mod}") options=('staticlibs' 'libtool' '!strip') -source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/tdesudo-trinity-${pkgver}.tar.xz" - 'bp000-1136b8150f.diff') -md5sums=('ff1b28acd12998c216e4256ca94f795b' - '6ba546544bfab644bbbba972f31a137b') -# install='' +source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz") +md5sums=('5943e82101e4a19499fcfd8cc21388e4') +install='' [ -n "$TDEDIR" ] || TDEDIR=/opt/trinity build() { - cd ${srcdir}/${pkgname#*-}-trinity-${pkgver} - patch -p1 < $srcdir/bp000-1136b8150f.diff - msg "Creating out-of-source build directory: ${srcdir}/build" mkdir -p $srcdir/build cd $srcdir/build @@ -34,16 +33,18 @@ build() { msg "Starting cmake..." cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver} \ + -GNinja \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ - -DBUILD_ALL=ON + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS=ON msg "Building - ${pkgname#*-}..." - make $NUMJOBS + ninja $NUMJOBS } package() { msg "Packaging - $pkgname-$pkgver" cd ${srcdir}/build - make -j1 DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja -j1 install } diff --git a/arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff b/arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff deleted file mode 100644 index 60bd6082c..000000000 --- a/arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff +++ /dev/null @@ -1,31 +0,0 @@ -From 1136b8150f58e909eaa094d991dcefa81b8f6a60 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <francois.andriot@free.fr> -Date: Tue, 11 May 2021 19:45:01 +0200 -Subject: Fix ftbfs on Fedora 34 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -error: ordered comparison of pointer with integer zero ('char*' and 'int') - -Signed-off-by: François Andriot <francois.andriot@free.fr> ---- - tdesudo/tdesudo.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tdesudo/tdesudo.cpp b/tdesudo/tdesudo.cpp -index c255d0f..83158ab 100644 ---- a/tdesudo/tdesudo.cpp -+++ b/tdesudo/tdesudo.cpp -@@ -205,7 +205,7 @@ TdeSudo::TdeSudo(TQWidget *parent, const char *name,const TQString& icon, const - chmod(m_tmpname.ascii(),0644); - - QCStringList output; -- while (fgets(buf, 1024, f) > 0) -+ while (fgets(buf, 1024, f) != NULL) - output += buf; - if (pclose(f) < 0) { - kdError() << k_lineinfo << "Could not run xauth.\n"; --- -cgit v1.2.1 - |