[arch-commits] Commit in xautolock/trunk (PKGBUILD)

2020-07-07 Thread Felix Yan via arch-commits
Date: Tuesday, July 7, 2020 @ 17:12:13
  Author: felixonmars
Revision: 659606

upgpkg: xautolock 2.2-6: reproducibility rebuild

Modified:
  xautolock/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-07 17:12:06 UTC (rev 659605)
+++ PKGBUILD2020-07-07 17:12:13 UTC (rev 659606)
@@ -4,7 +4,7 @@
 
 pkgname=xautolock
 pkgver=2.2
-pkgrel=5
+pkgrel=6
 pkgdesc="An automatic X screen-locker/screen-saver"
 arch=(x86_64)
 url="https://ibiblio.org/pub/Linux/X11/screensavers/;


[arch-commits] Commit in xautolock/trunk (PKGBUILD)

2019-09-26 Thread Antonio Rojas via arch-commits
Date: Thursday, September 26, 2019 @ 20:09:10
  Author: arojas
Revision: 511885

https

Modified:
  xautolock/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-26 20:08:49 UTC (rev 511884)
+++ PKGBUILD2019-09-26 20:09:10 UTC (rev 511885)
@@ -11,7 +11,7 @@
 license=('GPL2')
 depends=('libxss')
 makedepends=('imake')
-source=("http://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz;
+source=("https://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz;
 union-wait.patch)
 md5sums=('9526347a202694ad235d731d9d3de91f'
  'd313c2e392be59c2cbbb4226caf98bd4')


[arch-commits] Commit in xautolock/trunk (PKGBUILD union-wait.patch)

2018-05-31 Thread Florian Pritz via arch-commits
Date: Thursday, May 31, 2018 @ 12:15:41
  Author: bluewind
Revision: 334808

upgpkg: xautolock 2.2-5

BUILDINFO rebuild

Added:
  xautolock/trunk/union-wait.patch
Modified:
  xautolock/trunk/PKGBUILD

--+
 PKGBUILD |   13 ++---
 union-wait.patch |   26 ++
 2 files changed, 36 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-31 12:12:38 UTC (rev 334807)
+++ PKGBUILD2018-05-31 12:15:41 UTC (rev 334808)
@@ -5,7 +5,7 @@
 
 pkgname=xautolock
 pkgver=2.2
-pkgrel=4
+pkgrel=5
 pkgdesc="An automatic X screen-locker/screen-saver"
 arch=(x86_64)
 url="http://ibiblio.org/pub/Linux/X11/screensavers/;
@@ -12,9 +12,16 @@
 license=('GPL2')
 depends=('libxss')
 makedepends=('imake')
-source=("http://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz;)
-md5sums=('9526347a202694ad235d731d9d3de91f')
+source=("http://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz;
+union-wait.patch)
+md5sums=('9526347a202694ad235d731d9d3de91f'
+ 'd313c2e392be59c2cbbb4226caf98bd4')
 
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 -i "$srcdir/union-wait.patch"
+}
+
 build() {
   cd "$srcdir/$pkgname-$pkgver"
   xmkmf

Added: union-wait.patch
===
--- union-wait.patch(rev 0)
+++ union-wait.patch2018-05-31 12:15:41 UTC (rev 334808)
@@ -0,0 +1,26 @@
+diff -ru xautolock-2.2-orig/src/engine.c xautolock-2.2/src/engine.c
+--- xautolock-2.2-orig/src/engine.c2007-12-28 18:15:26.0 +0100
 xautolock-2.2/src/engine.c 2018-05-31 14:13:55.438216644 +0200
+@@ -210,22 +210,14 @@
+ #else /* VMS */
+   if (lockerPid)
+   {
+-#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
+-union wait  status;  /* childs process status */
+-#else /* !UTEKV && !SYSV && !SVR4 */
+ int status = 0;  /* childs process status */
+-#endif /* !UTEKV && !SYSV && !SVR4 */
+ 
+ if (unlockNow && !disabled)
+ {
+   (void) kill (lockerPid, SIGTERM);
+ }
+ 
+-#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
+-if (wait3 (, WNOHANG, 0))
+-#else /* !UTEKV && !SYSV && !SVR4 */
+ if (waitpid (-1, , WNOHANG)) 
+-#endif /* !UTEKV && !SYSV && !SVR4 */
+ {
+  /*
+   *  If the locker exited normally, we disable any pending kill


[arch-commits] Commit in xautolock/trunk (PKGBUILD)

2016-08-14 Thread Florian Pritz
Date: Sunday, August 14, 2016 @ 14:50:57
  Author: bluewind
Revision: 186739

Fix URLs

Modified:
  xautolock/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-14 14:49:26 UTC (rev 186738)
+++ PKGBUILD2016-08-14 14:50:57 UTC (rev 186739)
@@ -8,11 +8,11 @@
 pkgrel=4
 pkgdesc="An automatic X screen-locker/screen-saver"
 arch=(i686 x86_64)
-url="ftp://ibiblio.org/pub/Linux/X11/screensavers/;
+url="http://ibiblio.org/pub/Linux/X11/screensavers/;
 license=('GPL2')
 depends=('libxss')
 makedepends=('imake')
-source=("ftp://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz;)
+source=("http://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz;)
 md5sums=('9526347a202694ad235d731d9d3de91f')
 
 build() {


[arch-commits] Commit in xautolock/trunk (PKGBUILD)

2014-07-11 Thread Florian Pritz
Date: Friday, July 11, 2014 @ 12:18:23
  Author: bluewind
Revision: 115434

upgpkg: xautolock 2.2-4

mtree rebuild

Modified:
  xautolock/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-11 10:17:18 UTC (rev 115433)
+++ PKGBUILD2014-07-11 10:18:23 UTC (rev 115434)
@@ -5,7 +5,7 @@
 
 pkgname=xautolock
 pkgver=2.2
-pkgrel=3
+pkgrel=4
 pkgdesc=An automatic X screen-locker/screen-saver
 arch=(i686 x86_64)
 url=ftp://ibiblio.org/pub/Linux/X11/screensavers/;