[arch-commits] Commit in kdeadmin/repos (8 files)
Andrea Scarpino
andrea at archlinux.org
Tue Oct 2 19:18:05 UTC 2012
Date: Tuesday, October 2, 2012 @ 15:18:05
Author: andrea
Revision: 167593
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeadmin/repos/testing-i686/
kdeadmin/repos/testing-i686/PKGBUILD
(from rev 167592, kdeadmin/trunk/PKGBUILD)
kdeadmin/repos/testing-i686/kdeadmin.install
(from rev 167592, kdeadmin/trunk/kdeadmin.install)
kdeadmin/repos/testing-i686/syslog-path.patch
(from rev 167592, kdeadmin/trunk/syslog-path.patch)
kdeadmin/repos/testing-x86_64/
kdeadmin/repos/testing-x86_64/PKGBUILD
(from rev 167592, kdeadmin/trunk/PKGBUILD)
kdeadmin/repos/testing-x86_64/kdeadmin.install
(from rev 167592, kdeadmin/trunk/kdeadmin.install)
kdeadmin/repos/testing-x86_64/syslog-path.patch
(from rev 167592, kdeadmin/trunk/syslog-path.patch)
----------------------------------+
testing-i686/PKGBUILD | 82 +++++++++++++++++++++++++++++++++++++
testing-i686/kdeadmin.install | 11 ++++
testing-i686/syslog-path.patch | 11 ++++
testing-x86_64/PKGBUILD | 82 +++++++++++++++++++++++++++++++++++++
testing-x86_64/kdeadmin.install | 11 ++++
testing-x86_64/syslog-path.patch | 11 ++++
6 files changed, 208 insertions(+)
Copied: kdeadmin/repos/testing-i686/PKGBUILD (from rev 167592, kdeadmin/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-10-02 19:18:05 UTC (rev 167593)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=kdeadmin
+pkgname=('kdeadmin-kcron'
+ 'kdeadmin-ksystemlog'
+ 'kdeadmin-kuser'
+ 'kdeadmin-system-config-printer-kde')
+pkgver=4.9.2
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeadmin')
+makedepends=('cmake' 'automoc4' 'kdebindings-python2' 'system-config-printer-common')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
+ 'syslog-path.patch')
+sha1sums=('0b97528870a23440ba450f87be878e3abdf9e0e1'
+ '20095ce6e0f3e5b6800a7c6e52de6fddba62c031')
+
+build() {
+ cd ${srcdir}/${pkgbase}-${pkgver}
+ patch -p1 -i ${srcdir}/syslog-path.patch
+
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_strigi-analyzer=OFF \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2
+ make
+}
+
+package_kdeadmin-kcron() {
+ pkgdesc='Configure and schedule tasks'
+ url='http://userbase.kde.org/KCron'
+ depends=('kdelibs')
+ cd $srcdir/build/kcron
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc/kcron
+ make DESTDIR=$pkgdir install
+}
+
+package_kdeadmin-ksystemlog() {
+ pkgdesc='System log viewer tool'
+ depends=('kdebase-runtime')
+ url="http://kde.org/applications/system/ksystemlog/"
+ cd $srcdir/build/ksystemlog
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc/ksystemlog
+ make DESTDIR=$pkgdir install
+}
+
+package_kdeadmin-kuser() {
+ pkgdesc='User Manager'
+ depends=('kdebase-runtime' 'kdepimlibs')
+ url="http://kde.org/applications/system/kuser/"
+ install='kdeadmin.install'
+ cd $srcdir/build/kuser
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc/kuser
+ make DESTDIR=$pkgdir install
+}
+
+package_kdeadmin-system-config-printer-kde() {
+ pkgdesc='Configure local and remote Printers'
+ depends=('kdebindings-python2' 'system-config-printer-common' 'cups' 'python2-gobject2')
+ url="http://kde.org/applications/system/printerapplet/"
+ cd $srcdir/build/system-config-printer-kde
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc/system-config-printer-kde
+ make DESTDIR=$pkgdir install
+
+ # Use the python2 executable
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/share/apps/system-config-printer-kde/{system-config-printer-kde,authconn}.py
+ sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+ "${pkgdir}"/usr/share/apps/system-config-printer-kde/pysmb.py
+}
Copied: kdeadmin/repos/testing-i686/kdeadmin.install (from rev 167592, kdeadmin/trunk/kdeadmin.install)
===================================================================
--- testing-i686/kdeadmin.install (rev 0)
+++ testing-i686/kdeadmin.install 2012-10-02 19:18:05 UTC (rev 167593)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdeadmin/repos/testing-i686/syslog-path.patch (from rev 167592, kdeadmin/trunk/syslog-path.patch)
===================================================================
--- testing-i686/syslog-path.patch (rev 0)
+++ testing-i686/syslog-path.patch 2012-10-02 19:18:05 UTC (rev 167593)
@@ -0,0 +1,11 @@
+--- kdeadmin-4.6.0/ksystemlog/src/modes/system/systemConfiguration.h~ 2011-01-27 14:24:29.840000005 +0100
++++ kdeadmin-4.6.0/ksystemlog/src/modes/system/systemConfiguration.h 2011-01-27 14:24:53.803333335 +0100
+@@ -39,7 +39,7 @@
+ SystemConfiguration() :
+ GenericLogModeConfiguration(
+ QLatin1String( SYSTEM_LOG_MODE_ID ),
+- QStringList() << QLatin1String( "/var/log/syslog" ),
++ QStringList() << QLatin1String( "/var/log/messages.log" ),
+ QList<int>() << INFORMATION_LOG_LEVEL_ID
+ ) {
+
Copied: kdeadmin/repos/testing-x86_64/PKGBUILD (from rev 167592, kdeadmin/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-10-02 19:18:05 UTC (rev 167593)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=kdeadmin
+pkgname=('kdeadmin-kcron'
+ 'kdeadmin-ksystemlog'
+ 'kdeadmin-kuser'
+ 'kdeadmin-system-config-printer-kde')
+pkgver=4.9.2
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeadmin')
+makedepends=('cmake' 'automoc4' 'kdebindings-python2' 'system-config-printer-common')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
+ 'syslog-path.patch')
+sha1sums=('0b97528870a23440ba450f87be878e3abdf9e0e1'
+ '20095ce6e0f3e5b6800a7c6e52de6fddba62c031')
+
+build() {
+ cd ${srcdir}/${pkgbase}-${pkgver}
+ patch -p1 -i ${srcdir}/syslog-path.patch
+
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_strigi-analyzer=OFF \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2
+ make
+}
+
+package_kdeadmin-kcron() {
+ pkgdesc='Configure and schedule tasks'
+ url='http://userbase.kde.org/KCron'
+ depends=('kdelibs')
+ cd $srcdir/build/kcron
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc/kcron
+ make DESTDIR=$pkgdir install
+}
+
+package_kdeadmin-ksystemlog() {
+ pkgdesc='System log viewer tool'
+ depends=('kdebase-runtime')
+ url="http://kde.org/applications/system/ksystemlog/"
+ cd $srcdir/build/ksystemlog
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc/ksystemlog
+ make DESTDIR=$pkgdir install
+}
+
+package_kdeadmin-kuser() {
+ pkgdesc='User Manager'
+ depends=('kdebase-runtime' 'kdepimlibs')
+ url="http://kde.org/applications/system/kuser/"
+ install='kdeadmin.install'
+ cd $srcdir/build/kuser
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc/kuser
+ make DESTDIR=$pkgdir install
+}
+
+package_kdeadmin-system-config-printer-kde() {
+ pkgdesc='Configure local and remote Printers'
+ depends=('kdebindings-python2' 'system-config-printer-common' 'cups' 'python2-gobject2')
+ url="http://kde.org/applications/system/printerapplet/"
+ cd $srcdir/build/system-config-printer-kde
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc/system-config-printer-kde
+ make DESTDIR=$pkgdir install
+
+ # Use the python2 executable
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/share/apps/system-config-printer-kde/{system-config-printer-kde,authconn}.py
+ sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+ "${pkgdir}"/usr/share/apps/system-config-printer-kde/pysmb.py
+}
Copied: kdeadmin/repos/testing-x86_64/kdeadmin.install (from rev 167592, kdeadmin/trunk/kdeadmin.install)
===================================================================
--- testing-x86_64/kdeadmin.install (rev 0)
+++ testing-x86_64/kdeadmin.install 2012-10-02 19:18:05 UTC (rev 167593)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdeadmin/repos/testing-x86_64/syslog-path.patch (from rev 167592, kdeadmin/trunk/syslog-path.patch)
===================================================================
--- testing-x86_64/syslog-path.patch (rev 0)
+++ testing-x86_64/syslog-path.patch 2012-10-02 19:18:05 UTC (rev 167593)
@@ -0,0 +1,11 @@
+--- kdeadmin-4.6.0/ksystemlog/src/modes/system/systemConfiguration.h~ 2011-01-27 14:24:29.840000005 +0100
++++ kdeadmin-4.6.0/ksystemlog/src/modes/system/systemConfiguration.h 2011-01-27 14:24:53.803333335 +0100
+@@ -39,7 +39,7 @@
+ SystemConfiguration() :
+ GenericLogModeConfiguration(
+ QLatin1String( SYSTEM_LOG_MODE_ID ),
+- QStringList() << QLatin1String( "/var/log/syslog" ),
++ QStringList() << QLatin1String( "/var/log/messages.log" ),
+ QList<int>() << INFORMATION_LOG_LEVEL_ID
+ ) {
+
More information about the arch-commits
mailing list