[arch-commits] Commit in gsmartcontrol/repos (16 files)
Balló György
bgyorgy at nymeria.archlinux.org
Sat Jan 11 21:56:33 UTC 2014
Date: Saturday, January 11, 2014 @ 22:56:33
Author: bgyorgy
Revision: 103826
archrelease: copy trunk to community-i686, community-x86_64
Added:
gsmartcontrol/repos/community-i686/PKGBUILD
(from rev 103825, gsmartcontrol/trunk/PKGBUILD)
gsmartcontrol/repos/community-i686/gsmartcontrol.install
(from rev 103825, gsmartcontrol/trunk/gsmartcontrol.install)
gsmartcontrol/repos/community-i686/gsmartcontrol_polkit
(from rev 103825, gsmartcontrol/trunk/gsmartcontrol_polkit)
gsmartcontrol/repos/community-i686/org.archlinux.pkexec.gsmartcontrol.policy
(from rev 103825, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
gsmartcontrol/repos/community-x86_64/PKGBUILD
(from rev 103825, gsmartcontrol/trunk/PKGBUILD)
gsmartcontrol/repos/community-x86_64/gsmartcontrol.install
(from rev 103825, gsmartcontrol/trunk/gsmartcontrol.install)
gsmartcontrol/repos/community-x86_64/gsmartcontrol_polkit
(from rev 103825, gsmartcontrol/trunk/gsmartcontrol_polkit)
gsmartcontrol/repos/community-x86_64/org.archlinux.pkexec.gsmartcontrol.policy
(from rev 103825, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
Deleted:
gsmartcontrol/repos/community-i686/PKGBUILD
gsmartcontrol/repos/community-i686/gsmartcontrol.desktop
gsmartcontrol/repos/community-i686/gsmartcontrol.install
gsmartcontrol/repos/community-i686/org.archlinux.pkexec.gsmartcontrol.policy
gsmartcontrol/repos/community-x86_64/PKGBUILD
gsmartcontrol/repos/community-x86_64/gsmartcontrol.desktop
gsmartcontrol/repos/community-x86_64/gsmartcontrol.install
gsmartcontrol/repos/community-x86_64/org.archlinux.pkexec.gsmartcontrol.policy
----------------------------------------+
/PKGBUILD | 102 +++++++++++++++++++++++++++++++
/gsmartcontrol.install | 22 ++++++
community-i686/PKGBUILD | 50 ---------------
community-i686/gsmartcontrol.desktop | 9 --
community-i686/gsmartcontrol.install | 14 ----
community-i686/gsmartcontrol_polkit | 6 +
community-x86_64/PKGBUILD | 50 ---------------
community-x86_64/gsmartcontrol.desktop | 9 --
community-x86_64/gsmartcontrol.install | 14 ----
community-x86_64/gsmartcontrol_polkit | 6 +
10 files changed, 136 insertions(+), 146 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-01-11 21:56:20 UTC (rev 103825)
+++ community-i686/PKGBUILD 2014-01-11 21:56:33 UTC (rev 103826)
@@ -1,50 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgname=gsmartcontrol
-pkgver=0.8.7
-pkgrel=3
-pkgdesc="A graphical user interface for the smartctl hard disk drive health inspection tool."
-arch=('i686' 'x86_64')
-url="http://gsmartcontrol.berlios.de/home/index.php/en/Home"
-license=('GPL3')
-depends=('smartmontools' 'gtkmm' 'xorg-xmessage' 'hicolor-icon-theme' 'polkit')
-optdepends=('polkit-gnome: to run gsmartcontrol directly from menu')
-install=${pkgname}.install
-source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2
- org.archlinux.pkexec.gsmartcontrol.policy)
-md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30'
- 'e403f8e06e6b8a3d1a99da5e584b2257')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make check
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-
- # We need rename the original binary
- mv "${pkgdir}/usr/bin/gsmartcontrol" "${pkgdir}/usr/bin/gsmartcontrol.elf"
-
- # Install launcher script
- echo '#!/bin/sh' > ${pkgdir}/usr/bin/gsmartcontrol
- echo 'pkexec --disable-internal-agent "/usr/bin/gsmartcontrol.elf" "$@"' \
- >> ${pkgdir}/usr/bin/gsmartcontrol
- chmod 755 ${pkgdir}/usr/bin/gsmartcontrol
-
- # Modify desktop file
- sed -i -e "s|^Exec=.*|Exec=/usr/bin/gsmartcontrol|" \
- "${pkgdir}/usr/share/applications/gsmartcontrol.desktop"
-
- # Install policy file
- install -Dm766 $srcdir/org.archlinux.pkexec.gsmartcontrol.policy \
- $pkgdir/usr/share/polkit-1/actions/org.archlinux.pkexec.gsmartcontrol.policy
-}
Copied: gsmartcontrol/repos/community-i686/PKGBUILD (from rev 103825, gsmartcontrol/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-01-11 21:56:33 UTC (rev 103826)
@@ -0,0 +1,51 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=gsmartcontrol
+pkgver=0.8.7
+pkgrel=4
+pkgdesc="A graphical user interface for the smartctl hard disk drive health inspection tool."
+arch=('i686' 'x86_64')
+url="http://gsmartcontrol.berlios.de/home/index.php/en/Home"
+license=('GPL3')
+depends=('smartmontools' 'gtkmm' 'xorg-xmessage' 'hicolor-icon-theme')
+optdepends=('polkit: to run gsmartcontrol directly from menu')
+install=${pkgname}.install
+source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2
+ org.archlinux.pkexec.gsmartcontrol.policy
+ gsmartcontrol_polkit)
+md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30'
+ '503989a7e6a9a287d81e91243d03f162'
+ '33bdda04d8db1525f2507485f3f2a663')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Modify desktop file
+ sed -i "s|^Exec=.*|Exec="@prefix@/bin/gsmartcontrol_polkit"|" \
+ data/gsmartcontrol.desktop.in
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR=${pkgdir} install
+
+ # Install launcher script
+ install -m755 ${srcdir}/gsmartcontrol_polkit \
+ "${pkgdir}/usr/bin/gsmartcontrol_polkit"
+
+ # Install policy file
+ install -Dm644 ${srcdir}/org.archlinux.pkexec.gsmartcontrol.policy \
+ "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gsmartcontrol.policy"
+}
Deleted: community-i686/gsmartcontrol.desktop
===================================================================
--- community-i686/gsmartcontrol.desktop 2014-01-11 21:56:20 UTC (rev 103825)
+++ community-i686/gsmartcontrol.desktop 2014-01-11 21:56:33 UTC (rev 103826)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=GSmartControl
-GenericName=Hard Disk Health Inspection
-Comment=Monitor and control SMART data on hard disks
-Icon=gsmartcontrol
-Exec=pkexec /usr/bin/gsmartcontrol
-Type=Application
-Categories=GTK;GNOME;System;Filesystem;
Deleted: community-i686/gsmartcontrol.install
===================================================================
--- community-i686/gsmartcontrol.install 2014-01-11 21:56:20 UTC (rev 103825)
+++ community-i686/gsmartcontrol.install 2014-01-11 21:56:33 UTC (rev 103826)
@@ -1,14 +0,0 @@
-post_install() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
- echo 'If you use a lightweight windowmanager, remember to run'
- echo '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 to enable'
- echo 'graphical authentication, which may be needed for pkexec to work.'
-}
-
-post_upgrade() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-post_remove() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
Copied: gsmartcontrol/repos/community-i686/gsmartcontrol.install (from rev 103825, gsmartcontrol/trunk/gsmartcontrol.install)
===================================================================
--- community-i686/gsmartcontrol.install (rev 0)
+++ community-i686/gsmartcontrol.install 2014-01-11 21:56:33 UTC (rev 103826)
@@ -0,0 +1,11 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: gsmartcontrol/repos/community-i686/gsmartcontrol_polkit (from rev 103825, gsmartcontrol/trunk/gsmartcontrol_polkit)
===================================================================
--- community-i686/gsmartcontrol_polkit (rev 0)
+++ community-i686/gsmartcontrol_polkit 2014-01-11 21:56:33 UTC (rev 103826)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ $(which pkexec) ]; then
+ pkexec --disable-internal-agent "/usr/bin/gsmartcontrol" "$@"
+else
+ /usr/bin/gsmartcontrol "$@"
+fi
Deleted: community-i686/org.archlinux.pkexec.gsmartcontrol.policy
===================================================================
(Binary files differ)
Copied: gsmartcontrol/repos/community-i686/org.archlinux.pkexec.gsmartcontrol.policy (from rev 103825, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
===================================================================
(Binary files differ)
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-01-11 21:56:20 UTC (rev 103825)
+++ community-x86_64/PKGBUILD 2014-01-11 21:56:33 UTC (rev 103826)
@@ -1,50 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgname=gsmartcontrol
-pkgver=0.8.7
-pkgrel=3
-pkgdesc="A graphical user interface for the smartctl hard disk drive health inspection tool."
-arch=('i686' 'x86_64')
-url="http://gsmartcontrol.berlios.de/home/index.php/en/Home"
-license=('GPL3')
-depends=('smartmontools' 'gtkmm' 'xorg-xmessage' 'hicolor-icon-theme' 'polkit')
-optdepends=('polkit-gnome: to run gsmartcontrol directly from menu')
-install=${pkgname}.install
-source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2
- org.archlinux.pkexec.gsmartcontrol.policy)
-md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30'
- 'e403f8e06e6b8a3d1a99da5e584b2257')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make check
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-
- # We need rename the original binary
- mv "${pkgdir}/usr/bin/gsmartcontrol" "${pkgdir}/usr/bin/gsmartcontrol.elf"
-
- # Install launcher script
- echo '#!/bin/sh' > ${pkgdir}/usr/bin/gsmartcontrol
- echo 'pkexec --disable-internal-agent "/usr/bin/gsmartcontrol.elf" "$@"' \
- >> ${pkgdir}/usr/bin/gsmartcontrol
- chmod 755 ${pkgdir}/usr/bin/gsmartcontrol
-
- # Modify desktop file
- sed -i -e "s|^Exec=.*|Exec=/usr/bin/gsmartcontrol|" \
- "${pkgdir}/usr/share/applications/gsmartcontrol.desktop"
-
- # Install policy file
- install -Dm766 $srcdir/org.archlinux.pkexec.gsmartcontrol.policy \
- $pkgdir/usr/share/polkit-1/actions/org.archlinux.pkexec.gsmartcontrol.policy
-}
Copied: gsmartcontrol/repos/community-x86_64/PKGBUILD (from rev 103825, gsmartcontrol/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-01-11 21:56:33 UTC (rev 103826)
@@ -0,0 +1,51 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=gsmartcontrol
+pkgver=0.8.7
+pkgrel=4
+pkgdesc="A graphical user interface for the smartctl hard disk drive health inspection tool."
+arch=('i686' 'x86_64')
+url="http://gsmartcontrol.berlios.de/home/index.php/en/Home"
+license=('GPL3')
+depends=('smartmontools' 'gtkmm' 'xorg-xmessage' 'hicolor-icon-theme')
+optdepends=('polkit: to run gsmartcontrol directly from menu')
+install=${pkgname}.install
+source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2
+ org.archlinux.pkexec.gsmartcontrol.policy
+ gsmartcontrol_polkit)
+md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30'
+ '503989a7e6a9a287d81e91243d03f162'
+ '33bdda04d8db1525f2507485f3f2a663')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Modify desktop file
+ sed -i "s|^Exec=.*|Exec="@prefix@/bin/gsmartcontrol_polkit"|" \
+ data/gsmartcontrol.desktop.in
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR=${pkgdir} install
+
+ # Install launcher script
+ install -m755 ${srcdir}/gsmartcontrol_polkit \
+ "${pkgdir}/usr/bin/gsmartcontrol_polkit"
+
+ # Install policy file
+ install -Dm644 ${srcdir}/org.archlinux.pkexec.gsmartcontrol.policy \
+ "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gsmartcontrol.policy"
+}
Deleted: community-x86_64/gsmartcontrol.desktop
===================================================================
--- community-x86_64/gsmartcontrol.desktop 2014-01-11 21:56:20 UTC (rev 103825)
+++ community-x86_64/gsmartcontrol.desktop 2014-01-11 21:56:33 UTC (rev 103826)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=GSmartControl
-GenericName=Hard Disk Health Inspection
-Comment=Monitor and control SMART data on hard disks
-Icon=gsmartcontrol
-Exec=pkexec /usr/bin/gsmartcontrol
-Type=Application
-Categories=GTK;GNOME;System;Filesystem;
Deleted: community-x86_64/gsmartcontrol.install
===================================================================
--- community-x86_64/gsmartcontrol.install 2014-01-11 21:56:20 UTC (rev 103825)
+++ community-x86_64/gsmartcontrol.install 2014-01-11 21:56:33 UTC (rev 103826)
@@ -1,14 +0,0 @@
-post_install() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
- echo 'If you use a lightweight windowmanager, remember to run'
- echo '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 to enable'
- echo 'graphical authentication, which may be needed for pkexec to work.'
-}
-
-post_upgrade() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-post_remove() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
Copied: gsmartcontrol/repos/community-x86_64/gsmartcontrol.install (from rev 103825, gsmartcontrol/trunk/gsmartcontrol.install)
===================================================================
--- community-x86_64/gsmartcontrol.install (rev 0)
+++ community-x86_64/gsmartcontrol.install 2014-01-11 21:56:33 UTC (rev 103826)
@@ -0,0 +1,11 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: gsmartcontrol/repos/community-x86_64/gsmartcontrol_polkit (from rev 103825, gsmartcontrol/trunk/gsmartcontrol_polkit)
===================================================================
--- community-x86_64/gsmartcontrol_polkit (rev 0)
+++ community-x86_64/gsmartcontrol_polkit 2014-01-11 21:56:33 UTC (rev 103826)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ $(which pkexec) ]; then
+ pkexec --disable-internal-agent "/usr/bin/gsmartcontrol" "$@"
+else
+ /usr/bin/gsmartcontrol "$@"
+fi
Deleted: community-x86_64/org.archlinux.pkexec.gsmartcontrol.policy
===================================================================
(Binary files differ)
Copied: gsmartcontrol/repos/community-x86_64/org.archlinux.pkexec.gsmartcontrol.policy (from rev 103825, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list