[skip-ci] #86 remove kde4 apps

This commit is contained in:
Chaoting Liu 2018-10-20 05:52:54 +02:00
parent 99d7b3254a
commit a0ac9f8167
7 changed files with 0 additions and 250 deletions

View File

@ -1,24 +0,0 @@
pkgname=kamerka
pkgver=0.12
pkgdesc="Take photos using your webcam and shiny animated QML interface."
pkgrel=1
arch=('x86_64')
url="http://dos1.github.io/kamerka/"
screenshot="http://kde-apps.org/CONTENT/content-pre1/142415-1.jpg"
license=(GPL)
depends=('kdelibs' 'qt' 'v4l-utils' 'qimageblitz')
makedepends=('cmake' 'automoc4')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/dos1/${pkgname}/archive/${pkgver}.tar.gz)
sha256sums=('8390a98476b34b658a0b5d4a26875ec3a76aeece64782b2dde2e32175d8a88d6')
build(){
cd ${srcdir}/${pkgname}-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
make
}
package(){
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}

View File

@ -1,37 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=kbackgammon
_pkgname=KBackgammon
_pkgname2=backgammon
pkgver=0.18
_pkgver=018
pkgrel=3
pkgdesc="Application to play Backgammon-like games."
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php?content=142680"
screenshot="http://kde-apps.org/CONTENT/content-pre1/142680-1.png"
license=('GPL3')
depends=('kdelibs' 'kdegames-libkdegames')
makedepends=(automoc4 cmake)
categories=('games')
source=(http://kde-apps.org/CONTENT/content-files/142680-${_pkgname2}_${_pkgver}.tar.gz)
md5sums=('4c3a404f80e12b67c34f8da23159a4d4')
build() {
cd $srcdir/$_pkgname2
[[ -d build ]] && rm -r build
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$_pkgname2/build
make DESTDIR=$pkgdir install
}

View File

@ -1,38 +0,0 @@
pkgname=kcm-ufw
_pkgname=ufw-kde
pkgver=0.5.0
pkgrel=3
pkgdesc="UFW KControl Module"
arch=('x86_64')
url="http://kde-apps.org/content/show.php/UFW+KControl+Module?content=137789"
license=('GPL')
depends=('ufw' 'kdelibs' 'python3' 'openssl' 'polkit-kde-agent')
makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('network')
source=("https://launchpad.net/ubuntu/+archive/primary/+files/ufw-kde_${pkgver}.orig.tar.gz"
'ufw.desktop')
sha256sums=('d5436b2ffc41599aeab65bc6ac6fbcc19d99074bf0076c8a4d25649391b601bb'
'29ae454388cc9ad4dcdf9cfe423041a50fbf1a65480cf82c4b59a8beb840f332')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}/"
if [[ ! -d build ]] ; then
mkdir build
else
rm build && mkdir build
fi
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
install -Dm644 $srcdir/ufw.desktop $pkgdir/usr/share/applications/ufw.desktop
}

View File

@ -1,55 +0,0 @@
[Desktop Entry]
Exec=kcmshell4 ufw
Icon=security-high
Type=Service
X-KDE-ServiceTypes=KCModule
X-DocPath=kcontrol/ufw/index.html
X-KDE-Library=kcm_ufw
X-KDE-ParentApp=kcontrol
Name=Firewall
Name[cs]=Firewall
Name[de]=Firewall
Name[es]=Cortafuegos
Name[fr]=Pare-feu
Name[gl]=Devasa
Name[hu]=Tűzfal
Name[nl]=Firewall
Name[pt]='Firewall'
Name[pt_BR]=Firewall
Name[sk]=Firewall
Name[sv]=Brandvägg
Name[tr]=Güvenlik Duvarı
Name[uk]=Брандмауер
Name[x-test]=xxFirewallxx
Comment=Firewall settings
Comment[cs]=Nastavení firewallu
Comment[de]=Firewall-Einstellungen
Comment[es]=Preferencias del cortafuegos
Comment[fr]=Paramètres du pare-feu
Comment[gl]=Configuración da devasa
Comment[hu]=Tűzfalbeállítások
Comment[nl]=Firewall-instellingen
Comment[pt]=Configuração da 'firewall'
Comment[pt_BR]=Configurações do firewall
Comment[sk]=Nastavenia firewallu
Comment[sv]=Brandväggens inställningar
Comment[tr]=Güvenlik duvarı ayarları
Comment[uk]=Параметри брандмауера
Comment[x-test]=xxFirewall settingsxx
X-KDE-Keywords=ufw,firewall
X-KDE-Keywords[cs]=ufw,firewall
X-KDE-Keywords[de]=ufw,firewall
X-KDE-Keywords[es]=ufw,cortafuegos
X-KDE-Keywords[fr]=ufw, pare-feu
X-KDE-Keywords[gl]=ufw,firewall, devasa
X-KDE-Keywords[hu]=ufw,tűzfal
X-KDE-Keywords[nl]=ufw,firewall
X-KDE-Keywords[pt]=ufw,firewall
X-KDE-Keywords[pt_BR]=ufw,firewall
X-KDE-Keywords[sk]=ufw,firewall
X-KDE-Keywords[sv]=ufw,brandvägg
X-KDE-Keywords[tr]=ufw,güvenlik duvarı
X-KDE-Keywords[uk]=ufw;firewall;брандмауер;файрвол;фаєрвол;мережа;міжмережевий екран
X-KDE-Keywords[x-test]=xxufw,firewallxx
Categories=Utility;
X-KDE-System-Settings-Parent-Category=network-and-connectivity

View File

@ -1,40 +0,0 @@
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
pkgname=kwebkitpart
pkgver=1.3.4
pkgrel=1
pkgdesc="A WebKit browser component for KDE"
url="https://projects.kde.org/projects/extragear/base/kwebkitpart/"
arch=('x86_64')
license=('GPL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
conflicts=('kwebkitpart-svn')
install=${pkgname}.install
source=("ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tar.xz"
'sanitize-input.patch')
md5sums=('0a3e176a7c24f00e22c92a7b105585f8'
'f9ae9520069ffac4c5da1f408fd4bbdf')
prepare() {
cd ${srcdir}
mkdir build
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/sanitize-input.patch
sed -i '/add_subdirectory(kdelauncher)/d' CMakeLists.txt
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}

View File

@ -1,11 +0,0 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@ -1,45 +0,0 @@
From: Albert Astals Cid <aacid@kde.org>
Date: Thu, 13 Nov 2014 14:06:01 +0000
Subject: Sanitize html
X-Git-Url: http://quickgit.kde.org/?p=kwebkitpart.git&a=commitdiff&h=641aa7c75631084260ae89aecbdb625e918c6689
---
Sanitize html
As discussed by the security team
---
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -226,23 +226,26 @@
doc += QL1S( "<h3>" );
doc += i18n( "Details of the Request:" );
doc += QL1S( "</h3><ul><li>" );
- doc += i18n( "URL: %1", reqUrl.url() );
+ // escape URL twice: once for i18n, and once for HTML.
+ doc += i18n( "URL: %1", Qt::escape( Qt::escape( reqUrl.prettyUrl() ) ) );
doc += QL1S( "</li><li>" );
const QString protocol (reqUrl.protocol());
if ( !protocol.isNull() ) {
- doc += i18n( "Protocol: %1", protocol );
+ // escape protocol twice: once for i18n, and once for HTML.
+ doc += i18n( "Protocol: %1", Qt::escape( Qt::escape( protocol ) ) );
doc += QL1S( "</li><li>" );
}
doc += i18n( "Date and Time: %1",
KGlobal::locale()->formatDateTime(QDateTime::currentDateTime(), KLocale::LongDate) );
doc += QL1S( "</li><li>" );
- doc += i18n( "Additional Information: %1" , text );
+ // escape text twice: once for i18n, and once for HTML.
+ doc += i18n( "Additional Information: %1", Qt::escape( Qt::escape( text ) ) );
doc += QL1S( "</li></ul><h3>" );
doc += i18n( "Description:" );
doc += QL1S( "</h3><p>" );
- doc += description;
+ doc += Qt::escape( description );
doc += QL1S( "</p>" );
if ( causes.count() ) {