[arch-commits] Commit in distcc/repos/community-x86_64 (6 files)

Alexander Rødseth arodseth at archlinux.org
Mon Mar 26 13:39:04 UTC 2018


    Date: Monday, March 26, 2018 @ 13:39:03
  Author: arodseth
Revision: 312683

archrelease: copy trunk to community-x86_64

Added:
  distcc/repos/community-x86_64/PKGBUILD
    (from rev 312682, distcc/trunk/PKGBUILD)
  distcc/repos/community-x86_64/distccd.conf.d
    (from rev 312682, distcc/trunk/distccd.conf.d)
  distcc/repos/community-x86_64/distccd.service
    (from rev 312682, distcc/trunk/distccd.service)
Deleted:
  distcc/repos/community-x86_64/PKGBUILD
  distcc/repos/community-x86_64/distccd.conf.d
  distcc/repos/community-x86_64/distccd.service

-----------------+
 PKGBUILD        |  133 +++++++++++++++++++++++++++++-------------------------
 distccd.conf.d  |   18 +++----
 distccd.service |   24 ++++-----
 3 files changed, 93 insertions(+), 82 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-26 13:38:46 UTC (rev 312682)
+++ PKGBUILD	2018-03-26 13:39:03 UTC (rev 312683)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Judd Vinet <jvinet at zeroflux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=distcc
-pkgver=3.2rc1
-pkgrel=4
-pkgdesc='Distributed C, C++ and Objective-C compiler'
-arch=('x86_64')
-url='https://github.com/distcc/distcc'
-license=('GPL')
-depends=('popt' 'avahi' 'dbus')
-makedepends=('gtk2' 'python2')
-optdepends=('gtk2: for distccmon-gnome'
-            'python2')
-backup=('etc/conf.d/distccd'
-        'etc/distcc/hosts')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
-        distccd.conf.d
-        distccd.service)
-sha256sums=('33e85981ff6afd94efc38b23b2d8b9036b3dff2dc6eac6982b9ff0ae1de64caa'
-            '43e02b461841ca2976816c244a0eca8b24820ca143f73cc0924403d75a8c012f'
-            '0f18ffb58647eeba643f28e9029a5d307100df3470eb228097f2b3f4196d8098')
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./autogen.sh
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  [ -f Makefile ] || PYTHON=/usr/bin/python2 \
-    ./configure \
-    --prefix=/usr \
-    --with-gtk \
-    --sysconfdir=/etc \
-    --mandir=/usr/share/man \
-    --enable-rfc2553
-
-  make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" INCLUDESERVER_PYTHON=/usr/bin/python2 install
-
-  install -Dm644 "$srcdir/distccd.conf.d" "$pkgdir/etc/conf.d/distccd"
-  install -Dm644 "$srcdir/distccd.service" \
-    "$pkgdir/usr/lib/systemd/system/distccd.service"
-  install -d "$pkgdir/usr/lib/$pkgname/bin"
-  for bin in c++ cc cpp g++ gcc; do
-    ln -sf "/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/bin/$bin"
-  done
-
-}
-
-# vim: ts=2 sw=2 et:

Copied: distcc/repos/community-x86_64/PKGBUILD (from rev 312682, distcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-26 13:39:03 UTC (rev 312683)
@@ -0,0 +1,72 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=distcc
+pkgver=3.3
+pkgrel=1
+pkgdesc='Distributed C, C++ and Objective-C compiler'
+arch=('x86_64')
+url='https://github.com/distcc/distcc'
+license=('GPL')
+depends=('avahi' 'popt')
+makedepends=('git' 'gtk2' 'python' 'setconf')
+optdepends=('gtk2: for distccmon-gnome' 'python')
+backup=('etc/conf.d/distccd'
+        'etc/distcc/hosts')
+source=("git+https://github.com/distcc/distcc#tag=v$pkgver"
+        'distccd.conf.d'
+        'distccd.service')
+sha256sums=('SKIP'
+            '43e02b461841ca2976816c244a0eca8b24820ca143f73cc0924403d75a8c012f'
+            '0f18ffb58647eeba643f28e9029a5d307100df3470eb228097f2b3f4196d8098')
+prepare() {
+  cd "$pkgname"
+
+  ./autogen.sh
+
+  setconf gnome/distccmon-gnome.desktop Name 'DistCC Monitor'
+  sed -i 's/ install-gnome-data//g' Makefile.in
+}
+
+build() {
+  cd "$pkgname"
+
+  ./configure \
+    --prefix=/usr \
+    --enable-rfc2553 \
+    --mandir=/usr/share/man \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-gtk
+
+  make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python
+}
+
+package() {
+  make -C "$pkgname" \
+    DESTDIR="$pkgdir" \
+    INCLUDESERVER_PYTHON=/usr/bin/python \
+    install
+
+  # Configuration
+  install -Dm644 distccd.conf.d "$pkgdir/etc/conf.d/distccd"
+  install -Dm644 distccd.service \
+    "$pkgdir/usr/lib/systemd/system/distccd.service"
+
+  # Desktop shortcut
+  install -Dm644 "$pkgname/gnome/distccmon-gnome-icon.png" \
+    "$pkgdir/usr/share/pixmaps/distccmon-gnome-icon.png"
+  install -Dm644 "$pkgname/gnome/distccmon-gnome.desktop" \
+    "$pkgdir/usr/share/applications/distccmon-gnome.desktop"
+
+  # Symlinks
+  install -d "$pkgdir/usr/lib/$pkgname/bin"
+  for bin in c++ cc cpp g++ gcc; do
+    ln -sf "/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/bin/$bin"
+  done
+}
+
+# getver: -u 3 raw.githubusercontent.com/distcc/distcc/master/configure.ac
+# vim: ts=2 sw=2 et:

Deleted: distccd.conf.d
===================================================================
--- distccd.conf.d	2018-03-26 13:38:46 UTC (rev 312682)
+++ distccd.conf.d	2018-03-26 13:39:03 UTC (rev 312683)
@@ -1,9 +0,0 @@
-#
-# Parameters to be passed to distccd
-#
-# You must explicitly add IPs (or subnets) that are allowed to connect,
-# using the --allow switch.  See the distccd manpage for more info.
-#
-
-DISTCC_ARGS="--allow 127.0.0.1"
-#DISTCC_ARGS="--allow 192.168.0.0/24 --log-level error --log-file /tmp/distccd.log"

Copied: distcc/repos/community-x86_64/distccd.conf.d (from rev 312682, distcc/trunk/distccd.conf.d)
===================================================================
--- distccd.conf.d	                        (rev 0)
+++ distccd.conf.d	2018-03-26 13:39:03 UTC (rev 312683)
@@ -0,0 +1,9 @@
+#
+# Parameters to be passed to distccd
+#
+# You must explicitly add IPs (or subnets) that are allowed to connect,
+# using the --allow switch.  See the distccd manpage for more info.
+#
+
+DISTCC_ARGS="--allow 127.0.0.1"
+#DISTCC_ARGS="--allow 192.168.0.0/24 --log-level error --log-file /tmp/distccd.log"

Deleted: distccd.service
===================================================================
--- distccd.service	2018-03-26 13:38:46 UTC (rev 312682)
+++ distccd.service	2018-03-26 13:39:03 UTC (rev 312683)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Distributed C, C++ and Objective-C compiler
-Documentation=man:distccd(1)
-After=network.target
-
-[Service]
-User=nobody
-EnvironmentFile=/etc/conf.d/distccd
-ExecStart=/usr/bin/distccd --no-detach --daemon $DISTCC_ARGS
-
-[Install]
-WantedBy=multi-user.target

Copied: distcc/repos/community-x86_64/distccd.service (from rev 312682, distcc/trunk/distccd.service)
===================================================================
--- distccd.service	                        (rev 0)
+++ distccd.service	2018-03-26 13:39:03 UTC (rev 312683)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Distributed C, C++ and Objective-C compiler
+Documentation=man:distccd(1)
+After=network.target
+
+[Service]
+User=nobody
+EnvironmentFile=/etc/conf.d/distccd
+ExecStart=/usr/bin/distccd --no-detach --daemon $DISTCC_ARGS
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list