[arch-commits] Commit in xfce4-sensors-plugin/repos (8 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Feb 26 21:47:29 UTC 2012
Date: Sunday, February 26, 2012 @ 16:47:29
Author: foutrelis
Revision: 151507
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
xfce4-sensors-plugin/repos/extra-i686/PKGBUILD
(from rev 151506, xfce4-sensors-plugin/trunk/PKGBUILD)
xfce4-sensors-plugin/repos/extra-i686/xfce4-sensors-plugin.install
(from rev 151506, xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install)
xfce4-sensors-plugin/repos/extra-x86_64/PKGBUILD
(from rev 151506, xfce4-sensors-plugin/trunk/PKGBUILD)
xfce4-sensors-plugin/repos/extra-x86_64/xfce4-sensors-plugin.install
(from rev 151506, xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install)
Deleted:
xfce4-sensors-plugin/repos/extra-i686/PKGBUILD
xfce4-sensors-plugin/repos/extra-i686/xfce4-sensors-plugin.install
xfce4-sensors-plugin/repos/extra-x86_64/PKGBUILD
xfce4-sensors-plugin/repos/extra-x86_64/xfce4-sensors-plugin.install
-------------------------------------------+
extra-i686/PKGBUILD | 83 +++++++++++++++-------------
extra-i686/xfce4-sensors-plugin.install | 36 ++++++++----
extra-x86_64/PKGBUILD | 83 +++++++++++++++-------------
extra-x86_64/xfce4-sensors-plugin.install | 36 ++++++++----
4 files changed, 140 insertions(+), 98 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-02-26 21:47:10 UTC (rev 151506)
+++ extra-i686/PKGBUILD 2012-02-26 21:47:29 UTC (rev 151507)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Merk Matthias <macem at chello.at>
-
-pkgname=xfce4-sensors-plugin
-pkgver=1.2.3
-pkgrel=3
-pkgdesc="A lm_sensors plugin for the Xfce panel"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
-groups=('xfce4-goodies')
-depends=('xfce4-panel' 'lm_sensors' 'libnotify>=0.7.1' 'hicolor-icon-theme') #'libxfcegui4'
-makedepends=('pkgconfig' 'intltool' 'hddtemp>=0.3.beta15.45-2' 'gnu-netcat' 'xfce4-dev-tools')
-optdepends=('gnu-netcat: for hddtemp access')
-options=(!libtool !makeflags)
-install=${pkgname}.install
-source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.2/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('2edf376d140449ca42c4e4f591e626f8')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --datadir=/usr/share \
- --datarootdir=/usr/share \
- --disable-static \
- --with-pathhddtemp=/usr/sbin/hddtemp \
- --disable-debug
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-}
Copied: xfce4-sensors-plugin/repos/extra-i686/PKGBUILD (from rev 151506, xfce4-sensors-plugin/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-02-26 21:47:29 UTC (rev 151507)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Merk Matthias <macem at chello.at>
+
+pkgname=xfce4-sensors-plugin
+pkgver=1.2.3
+pkgrel=4
+pkgdesc="A lm_sensors plugin for the Xfce panel"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hddtemp' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnu-netcat')
+options=('!libtool')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2)
+sha256sums=('3dd27348f7b38b55e53aa8d851cdb80e090b8830ca9e705bf32641679f08d326')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Satisfy the check that hddtemp is queryable via netcat
+ # (https://bugs.archlinux.org/task/28275)
+ echo ohai | nc -l -p 7634 -s localhost -c &
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --datadir=/usr/share \
+ --datarootdir=/usr/share \
+ --disable-static \
+ --with-pathhddtemp=/usr/sbin/hddtemp \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: extra-i686/xfce4-sensors-plugin.install
===================================================================
--- extra-i686/xfce4-sensors-plugin.install 2012-02-26 21:47:10 UTC (rev 151506)
+++ extra-i686/xfce4-sensors-plugin.install 2012-02-26 21:47:29 UTC (rev 151507)
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
Copied: xfce4-sensors-plugin/repos/extra-i686/xfce4-sensors-plugin.install (from rev 151506, xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install)
===================================================================
--- extra-i686/xfce4-sensors-plugin.install (rev 0)
+++ extra-i686/xfce4-sensors-plugin.install 2012-02-26 21:47:29 UTC (rev 151507)
@@ -0,0 +1,25 @@
+post_common() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+ post_common
+
+ echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+ echo '> crash on start.'
+}
+
+post_upgrade() {
+ post_common
+
+ if (($(vercmp $2 1.2.3-4) < 0)); then
+ echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+ echo '> crash on start.'
+ fi
+}
+
+post_remove() {
+ post_common
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-02-26 21:47:10 UTC (rev 151506)
+++ extra-x86_64/PKGBUILD 2012-02-26 21:47:29 UTC (rev 151507)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Merk Matthias <macem at chello.at>
-
-pkgname=xfce4-sensors-plugin
-pkgver=1.2.3
-pkgrel=3
-pkgdesc="A lm_sensors plugin for the Xfce panel"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
-groups=('xfce4-goodies')
-depends=('xfce4-panel' 'lm_sensors' 'libnotify>=0.7.1' 'hicolor-icon-theme') #'libxfcegui4'
-makedepends=('pkgconfig' 'intltool' 'hddtemp>=0.3.beta15.45-2' 'gnu-netcat' 'xfce4-dev-tools')
-optdepends=('gnu-netcat: for hddtemp access')
-options=(!libtool !makeflags)
-install=${pkgname}.install
-source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.2/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('2edf376d140449ca42c4e4f591e626f8')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --datadir=/usr/share \
- --datarootdir=/usr/share \
- --disable-static \
- --with-pathhddtemp=/usr/sbin/hddtemp \
- --disable-debug
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-}
Copied: xfce4-sensors-plugin/repos/extra-x86_64/PKGBUILD (from rev 151506, xfce4-sensors-plugin/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-02-26 21:47:29 UTC (rev 151507)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Merk Matthias <macem at chello.at>
+
+pkgname=xfce4-sensors-plugin
+pkgver=1.2.3
+pkgrel=4
+pkgdesc="A lm_sensors plugin for the Xfce panel"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hddtemp' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnu-netcat')
+options=('!libtool')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2)
+sha256sums=('3dd27348f7b38b55e53aa8d851cdb80e090b8830ca9e705bf32641679f08d326')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Satisfy the check that hddtemp is queryable via netcat
+ # (https://bugs.archlinux.org/task/28275)
+ echo ohai | nc -l -p 7634 -s localhost -c &
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --datadir=/usr/share \
+ --datarootdir=/usr/share \
+ --disable-static \
+ --with-pathhddtemp=/usr/sbin/hddtemp \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: extra-x86_64/xfce4-sensors-plugin.install
===================================================================
--- extra-x86_64/xfce4-sensors-plugin.install 2012-02-26 21:47:10 UTC (rev 151506)
+++ extra-x86_64/xfce4-sensors-plugin.install 2012-02-26 21:47:29 UTC (rev 151507)
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
Copied: xfce4-sensors-plugin/repos/extra-x86_64/xfce4-sensors-plugin.install (from rev 151506, xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install)
===================================================================
--- extra-x86_64/xfce4-sensors-plugin.install (rev 0)
+++ extra-x86_64/xfce4-sensors-plugin.install 2012-02-26 21:47:29 UTC (rev 151507)
@@ -0,0 +1,25 @@
+post_common() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+ post_common
+
+ echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+ echo '> crash on start.'
+}
+
+post_upgrade() {
+ post_common
+
+ if (($(vercmp $2 1.2.3-4) < 0)); then
+ echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+ echo '> crash on start.'
+ fi
+}
+
+post_remove() {
+ post_common
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list