[arch-commits] Commit in gsmartcontrol/repos (16 files)

Jelle van der Waa jelle at nymeria.archlinux.org
Wed Mar 13 21:28:17 UTC 2013


    Date: Wednesday, March 13, 2013 @ 22:28:16
  Author: jelle
Revision: 86241

archrelease: copy trunk to community-i686, community-x86_64

Added:
  gsmartcontrol/repos/community-i686/PKGBUILD
    (from rev 86240, gsmartcontrol/trunk/PKGBUILD)
  gsmartcontrol/repos/community-i686/gsmartcontrol.desktop
    (from rev 86240, gsmartcontrol/trunk/gsmartcontrol.desktop)
  gsmartcontrol/repos/community-i686/gsmartcontrol.install
    (from rev 86240, gsmartcontrol/trunk/gsmartcontrol.install)
  gsmartcontrol/repos/community-i686/org.archlinux.pkexec.gsmartcontrol.policy
    (from rev 86240, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
  gsmartcontrol/repos/community-x86_64/PKGBUILD
    (from rev 86240, gsmartcontrol/trunk/PKGBUILD)
  gsmartcontrol/repos/community-x86_64/gsmartcontrol.desktop
    (from rev 86240, gsmartcontrol/trunk/gsmartcontrol.desktop)
  gsmartcontrol/repos/community-x86_64/gsmartcontrol.install
    (from rev 86240, gsmartcontrol/trunk/gsmartcontrol.install)
  gsmartcontrol/repos/community-x86_64/org.archlinux.pkexec.gsmartcontrol.policy
    (from rev 86240, 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

----------------------------------------+
 community-i686/PKGBUILD                |   91 +++++++++++++++++--------------
 community-i686/gsmartcontrol.desktop   |   18 +++---
 community-i686/gsmartcontrol.install   |   25 ++++----
 community-x86_64/PKGBUILD              |   91 +++++++++++++++++--------------
 community-x86_64/gsmartcontrol.desktop |   18 +++---
 community-x86_64/gsmartcontrol.install |   25 ++++----
 6 files changed, 146 insertions(+), 122 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-03-13 21:24:14 UTC (rev 86240)
+++ community-i686/PKGBUILD	2013-03-13 21:28:16 UTC (rev 86241)
@@ -1,41 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgname=gsmartcontrol
-pkgver=0.8.7
-pkgrel=2
-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' 'pcre' 'gtkmm' 'libglademm' 'glib2' 'xorg-xmessage')
-optdepends=('polkit: to run gparted directly from menu')
-install=${pkgname}.install
-source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2 org.archlinux.pkexec.gsmartcontrol.policy gsmartcontrol.desktop)
-md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30'
-         'e7b9380849cdcaa4356a42559ea7954f'
-         '19b20293a639e51fa2abb929a3faae01')
-
-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 pexec fixed desktop file
-        install -Dm755 $srcdir/gsmartcontrol.desktop $pkgdir/usr/share/applications/gsmartcontrol.desktop
-
-        # Install pexec 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 86240, gsmartcontrol/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-03-13 21:28:16 UTC (rev 86241)
@@ -0,0 +1,50 @@
+# 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
+}

Deleted: community-i686/gsmartcontrol.desktop
===================================================================
--- community-i686/gsmartcontrol.desktop	2013-03-13 21:24:14 UTC (rev 86240)
+++ community-i686/gsmartcontrol.desktop	2013-03-13 21:28:16 UTC (rev 86241)
@@ -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;

Copied: gsmartcontrol/repos/community-i686/gsmartcontrol.desktop (from rev 86240, gsmartcontrol/trunk/gsmartcontrol.desktop)
===================================================================
--- community-i686/gsmartcontrol.desktop	                        (rev 0)
+++ community-i686/gsmartcontrol.desktop	2013-03-13 21:28:16 UTC (rev 86241)
@@ -0,0 +1,9 @@
+[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	2013-03-13 21:24:14 UTC (rev 86240)
+++ community-i686/gsmartcontrol.install	2013-03-13 21:28:16 UTC (rev 86241)
@@ -1,11 +0,0 @@
-post_install() {
-  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-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 86240, gsmartcontrol/trunk/gsmartcontrol.install)
===================================================================
--- community-i686/gsmartcontrol.install	                        (rev 0)
+++ community-i686/gsmartcontrol.install	2013-03-13 21:28:16 UTC (rev 86241)
@@ -0,0 +1,14 @@
+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
+}

Deleted: community-i686/org.archlinux.pkexec.gsmartcontrol.policy
===================================================================
(Binary files differ)

Copied: gsmartcontrol/repos/community-i686/org.archlinux.pkexec.gsmartcontrol.policy (from rev 86240, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
===================================================================
(Binary files differ)

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-03-13 21:24:14 UTC (rev 86240)
+++ community-x86_64/PKGBUILD	2013-03-13 21:28:16 UTC (rev 86241)
@@ -1,41 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgname=gsmartcontrol
-pkgver=0.8.7
-pkgrel=2
-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' 'pcre' 'gtkmm' 'libglademm' 'glib2' 'xorg-xmessage')
-optdepends=('polkit: to run gparted directly from menu')
-install=${pkgname}.install
-source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2 org.archlinux.pkexec.gsmartcontrol.policy gsmartcontrol.desktop)
-md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30'
-         'e7b9380849cdcaa4356a42559ea7954f'
-         '19b20293a639e51fa2abb929a3faae01')
-
-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 pexec fixed desktop file
-        install -Dm755 $srcdir/gsmartcontrol.desktop $pkgdir/usr/share/applications/gsmartcontrol.desktop
-
-        # Install pexec 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 86240, gsmartcontrol/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-03-13 21:28:16 UTC (rev 86241)
@@ -0,0 +1,50 @@
+# 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
+}

Deleted: community-x86_64/gsmartcontrol.desktop
===================================================================
--- community-x86_64/gsmartcontrol.desktop	2013-03-13 21:24:14 UTC (rev 86240)
+++ community-x86_64/gsmartcontrol.desktop	2013-03-13 21:28:16 UTC (rev 86241)
@@ -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;

Copied: gsmartcontrol/repos/community-x86_64/gsmartcontrol.desktop (from rev 86240, gsmartcontrol/trunk/gsmartcontrol.desktop)
===================================================================
--- community-x86_64/gsmartcontrol.desktop	                        (rev 0)
+++ community-x86_64/gsmartcontrol.desktop	2013-03-13 21:28:16 UTC (rev 86241)
@@ -0,0 +1,9 @@
+[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	2013-03-13 21:24:14 UTC (rev 86240)
+++ community-x86_64/gsmartcontrol.install	2013-03-13 21:28:16 UTC (rev 86241)
@@ -1,11 +0,0 @@
-post_install() {
-  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-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 86240, gsmartcontrol/trunk/gsmartcontrol.install)
===================================================================
--- community-x86_64/gsmartcontrol.install	                        (rev 0)
+++ community-x86_64/gsmartcontrol.install	2013-03-13 21:28:16 UTC (rev 86241)
@@ -0,0 +1,14 @@
+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
+}

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 86240, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
===================================================================
(Binary files differ)




More information about the arch-commits mailing list