[arch-commits] Commit in boinc/repos/community-x86_64 (10 files)
Felix Yan
felixonmars at archlinux.org
Fri Mar 20 11:42:28 UTC 2020
Date: Friday, March 20, 2020 @ 11:42:28
Author: felixonmars
Revision: 601579
archrelease: copy trunk to community-x86_64
Added:
boinc/repos/community-x86_64/PKGBUILD
(from rev 601578, boinc/trunk/PKGBUILD)
boinc/repos/community-x86_64/boinc.bash
(from rev 601578, boinc/trunk/boinc.bash)
boinc/repos/community-x86_64/boinc.desktop
(from rev 601578, boinc/trunk/boinc.desktop)
boinc/repos/community-x86_64/boinc.install
(from rev 601578, boinc/trunk/boinc.install)
boinc/repos/community-x86_64/boinc.sysusers
(from rev 601578, boinc/trunk/boinc.sysusers)
Deleted:
boinc/repos/community-x86_64/PKGBUILD
boinc/repos/community-x86_64/boinc.bash
boinc/repos/community-x86_64/boinc.desktop
boinc/repos/community-x86_64/boinc.install
boinc/repos/community-x86_64/boinc.sysusers
----------------+
PKGBUILD | 240 +++++++++++++++++++++++++++----------------------------
boinc.bash | 198 ++++++++++++++++++++++-----------------------
boinc.desktop | 32 +++----
boinc.install | 30 +++---
boinc.sysusers | 4
5 files changed, 252 insertions(+), 252 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-20 11:42:00 UTC (rev 601578)
+++ PKGBUILD 2020-03-20 11:42:28 UTC (rev 601579)
@@ -1,120 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Michal Krenek <mikos at sg1.cz>
-
-pkgbase=boinc
-pkgname=(boinc boinc-nox)
-pkgver=7.16.4
-_tag="client_release/7.16/$pkgver"
-pkgrel=1
-arch=('x86_64')
-url="https://boinc.berkeley.edu/"
-license=('LGPL')
-makedepends=('curl' 'freeglut' 'glu' 'inetutils' 'libnotify' 'libnsl' 'libxmu' 'libxslt' 'libxss'
- 'mesa' 'perl-xml-sax' 'sqlite3' 'webkit2gtk' 'wxgtk3')
-install=$pkgbase.install
-options=('!staticlibs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/BOINC/boinc/archive/$_tag.tar.gz"
- boinc.bash
- boinc.desktop
- boinc.sysusers)
-sha512sums=('f0cc1bd53a9cb92a400c77ebd20fccc0b5997cdf7a18213454a24269b5c8e7ac36b4945efcb1935c744dfe767a03239ac021877c6a41cc26603fb46b62aa89a4'
- 'dec4bb6e571c2d99e1f57295149399eee03a8ec41b07ec3f7f197b910d246dcd6a5eb880301c9cd3a039d8c5aa6b07babf6ab4cae5f242c419c8cd71f56b90f5'
- 'b3fcd703a6f683d246242543c2f7b5fcfe403cb95b7786f1418b24c3dfb7c54c6b8c4816c0e9ae56b5ee4e4cae63f153ec522b04bf02f4f835dd90ac0e0ae204'
- '85804d7e6b7e07f06e93e8c42507f5cd0b9415257d6ac7421603a2b6084699d847ae9720c1cf9e9793b750dfb768375116843b988b287ee7c66c1374e18f7934')
-
-prepare() {
- mv boinc-client_release-*-$pkgver $pkgbase-$pkgver
- cp -a "$srcdir"/$pkgbase-$pkgver{,-nox}
-
- cd $pkgbase-$pkgver
- ./_autosetup
-
- # Prepare boinc-nox
- cd "$srcdir"/$pkgbase-$pkgver-nox
- # Don't force xss
- sed -i 's/^ enable_xss="yes"$/ enable_xss="no"/' configure.ac
- ./_autosetup
-}
-
-build() {
- cd "$srcdir"/$pkgbase-$pkgver
- LDFLAGS='-lX11' ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --enable-libraries \
- --enable-unicode \
- --enable-shared \
- --enable-dynamic-client-linkage \
- --enable-client \
- --enable-manager \
- --disable-static \
- --disable-server \
- --with-ssl \
- --with-x \
- --with-wxdir=/usr/lib \
- --with-wx-config=$(which wx-config-gtk3)
- make
-
- # Build boinc-nox
- cd "$srcdir"/$pkgbase-$pkgver-nox
- PKG_CONFIG=/usr/bin/pkg-config ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --enable-libraries \
- --enable-unicode \
- --enable-shared \
- --enable-dynamic-client-linkage \
- --enable-client \
- --disable-server \
- --disable-static \
- --disable-manager \
- --with-ssl \
- --without-wxdir \
- --without-x
- make
-}
-
-package_boinc() {
- pkgdesc="Berkeley Open Infrastructure for Network Computing for desktop"
- depends=('curl' 'libnotify' 'libnsl' 'libxss' 'sqlite3' 'webkit2gtk' 'wxgtk3')
-
- cd $pkgbase-$pkgver
-
- make DESTDIR="$pkgdir" install
-
- #install sysusers conf
- install -Dm644 "${srcdir}/$pkgbase.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgbase.conf"
-
- #install bash-completion
- install -Dm644 "${srcdir}/$pkgbase.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgbase"
-
- #install .desktop File
- install -Dm644 "${srcdir}/$pkgbase.desktop" "${pkgdir}/usr/share/applications/$pkgbase.desktop"
-
- #install icons
- install -Dm644 "${srcdir}/$pkgbase-$pkgver/packages/generic/sea/boincmgr.48x48.png" "${pkgdir}/usr/share/pixmaps/$pkgbase.png"
-
- #remove initscripts stuff
- rm -rf "$pkgdir/etc"
-}
-
-package_boinc-nox() {
- pkgdesc="Berkeley Open Infrastructure for Network Computing for desktop without Xorg dependencies"
- depends=('curl' 'libjpeg-turbo')
- provides=('boinc')
- conflicts=('boinc')
-
- cd $pkgbase-$pkgver-nox
-
- make DESTDIR="$pkgdir" install
-
- #install sysusers conf
- install -Dm644 "${srcdir}/$pkgbase.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgbase.conf"
-
- #install bash-completion
- install -Dm644 "${srcdir}/$pkgbase.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgbase"
-
- #remove initscripts stuff
- rm -rf "$pkgdir/etc"
-}
Copied: boinc/repos/community-x86_64/PKGBUILD (from rev 601578, boinc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-20 11:42:28 UTC (rev 601579)
@@ -0,0 +1,120 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Michal Krenek <mikos at sg1.cz>
+
+pkgbase=boinc
+pkgname=(boinc boinc-nox)
+pkgver=7.16.5
+_tag="client_release/7.16/$pkgver"
+pkgrel=1
+arch=('x86_64')
+url="https://boinc.berkeley.edu/"
+license=('LGPL')
+makedepends=('curl' 'freeglut' 'glu' 'inetutils' 'libnotify' 'libnsl' 'libxmu' 'libxslt' 'libxss'
+ 'mesa' 'perl-xml-sax' 'sqlite3' 'webkit2gtk' 'wxgtk3')
+install=$pkgbase.install
+options=('!staticlibs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/BOINC/boinc/archive/$_tag.tar.gz"
+ boinc.bash
+ boinc.desktop
+ boinc.sysusers)
+sha512sums=('4319826d5c642a0c6f002703806675d22dc07f320974863eaa92e05a8d5b0b36d35ede1ec5c0e0fb05f902ab8f351623dca869cc4d85a1f7ceba1017af35c2a1'
+ 'dec4bb6e571c2d99e1f57295149399eee03a8ec41b07ec3f7f197b910d246dcd6a5eb880301c9cd3a039d8c5aa6b07babf6ab4cae5f242c419c8cd71f56b90f5'
+ 'b3fcd703a6f683d246242543c2f7b5fcfe403cb95b7786f1418b24c3dfb7c54c6b8c4816c0e9ae56b5ee4e4cae63f153ec522b04bf02f4f835dd90ac0e0ae204'
+ '85804d7e6b7e07f06e93e8c42507f5cd0b9415257d6ac7421603a2b6084699d847ae9720c1cf9e9793b750dfb768375116843b988b287ee7c66c1374e18f7934')
+
+prepare() {
+ mv boinc-client_release-*-$pkgver $pkgbase-$pkgver
+ cp -a "$srcdir"/$pkgbase-$pkgver{,-nox}
+
+ cd $pkgbase-$pkgver
+ ./_autosetup
+
+ # Prepare boinc-nox
+ cd "$srcdir"/$pkgbase-$pkgver-nox
+ # Don't force xss
+ sed -i 's/^ enable_xss="yes"$/ enable_xss="no"/' configure.ac
+ ./_autosetup
+}
+
+build() {
+ cd "$srcdir"/$pkgbase-$pkgver
+ LDFLAGS='-lX11' ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-libraries \
+ --enable-unicode \
+ --enable-shared \
+ --enable-dynamic-client-linkage \
+ --enable-client \
+ --enable-manager \
+ --disable-static \
+ --disable-server \
+ --with-ssl \
+ --with-x \
+ --with-wxdir=/usr/lib \
+ --with-wx-config=$(which wx-config-gtk3)
+ make
+
+ # Build boinc-nox
+ cd "$srcdir"/$pkgbase-$pkgver-nox
+ PKG_CONFIG=/usr/bin/pkg-config ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-libraries \
+ --enable-unicode \
+ --enable-shared \
+ --enable-dynamic-client-linkage \
+ --enable-client \
+ --disable-server \
+ --disable-static \
+ --disable-manager \
+ --with-ssl \
+ --without-wxdir \
+ --without-x
+ make
+}
+
+package_boinc() {
+ pkgdesc="Berkeley Open Infrastructure for Network Computing for desktop"
+ depends=('curl' 'libnotify' 'libnsl' 'libxss' 'sqlite3' 'webkit2gtk' 'wxgtk3')
+
+ cd $pkgbase-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ #install sysusers conf
+ install -Dm644 "${srcdir}/$pkgbase.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgbase.conf"
+
+ #install bash-completion
+ install -Dm644 "${srcdir}/$pkgbase.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgbase"
+
+ #install .desktop File
+ install -Dm644 "${srcdir}/$pkgbase.desktop" "${pkgdir}/usr/share/applications/$pkgbase.desktop"
+
+ #install icons
+ install -Dm644 "${srcdir}/$pkgbase-$pkgver/packages/generic/sea/boincmgr.48x48.png" "${pkgdir}/usr/share/pixmaps/$pkgbase.png"
+
+ #remove initscripts stuff
+ rm -rf "$pkgdir/etc"
+}
+
+package_boinc-nox() {
+ pkgdesc="Berkeley Open Infrastructure for Network Computing for desktop without Xorg dependencies"
+ depends=('curl' 'libjpeg-turbo')
+ provides=('boinc')
+ conflicts=('boinc')
+
+ cd $pkgbase-$pkgver-nox
+
+ make DESTDIR="$pkgdir" install
+
+ #install sysusers conf
+ install -Dm644 "${srcdir}/$pkgbase.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgbase.conf"
+
+ #install bash-completion
+ install -Dm644 "${srcdir}/$pkgbase.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgbase"
+
+ #remove initscripts stuff
+ rm -rf "$pkgdir/etc"
+}
Deleted: boinc.bash
===================================================================
--- boinc.bash 2020-03-20 11:42:00 UTC (rev 601578)
+++ boinc.bash 2020-03-20 11:42:28 UTC (rev 601579)
@@ -1,99 +0,0 @@
-# Source this file in BASH to get command completion (using tab) for
-# boinc and boinccmd. Written by Frank S. Thomas <fst at debian.org>.
-# See also: http://boinc.berkeley.edu/trac/wiki/BashCommandCompletion
-
-_boinc()
-{
- local cur prev opts
- COMPREPLY=()
- cur="${COMP_WORDS[COMP_CWORD]}"
- prev="${COMP_WORDS[COMP_CWORD-1]}"
-
- opts="$(boinc_client --help | \
- sed -n -r 's/^[[:space:]]*(--[a-z_]*).*/\1/p')"
-
- # Handle options that require one or more arguments.
- case "$prev" in
- --attach_project|--detach_project|--reset_project|--update_prefs|\
- --gui_rpc_port)
- return 0
- ;;
- esac
-
- # Handle options that require two arguments.
- if [[ COMP_CWORD -gt 1 ]]; then
- pprev="${COMP_WORDS[COMP_CWORD-2]}"
-
- case "$pprev" in
- --attach_project)
- return 0
- ;;
- esac
- fi
-
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W "$opts" -- "$cur") )
- return 0
- fi
-}
-complete -F _boinc -o default boinc_client
-
-_boinccmd()
-{
- local cur prev opts cmds
- COMPREPLY=()
- cur="${COMP_WORDS[COMP_CWORD]}"
- prev="${COMP_WORDS[COMP_CWORD-1]}"
-
- opts="--host --passwd -h --help -V --version"
- cmds="$(boinc_cmd --help 2>&1 | \
- sed -n -r 's/^[[:space:]]*(--[a-z_]*).*/\1/p')"
-
- # The following construct assures that:
- # - no command follows if one of $opts or $cmds was given
- # - after --host follows only one command or --passwd and one command
- # - after --passwd follows only one command
- if [[ $COMP_CWORD -eq 1 ]]; then
- COMPREPLY=( $(compgen -W "$opts $cmds" -- "$cur") )
- return 0
- else
- if [[ "${COMP_WORDS[@]}" =~ ".* --host .* --passwd .*" ]]; then
- if [[ $COMP_CWORD -eq 5 ]]; then
- COMPREPLY=( $(compgen -W "$cmds" -- "$cur") )
- fi
- elif [[ "${COMP_WORDS[@]}" =~ ".* --passwd .*" ]]; then
- if [[ $COMP_CWORD -eq 3 ]]; then
- COMPREPLY=( $(compgen -W "$cmds" -- "$cur") )
- fi
- elif [[ "${COMP_WORDS[@]}" =~ ".* --host .*" ]]; then
- if [[ $COMP_CWORD -eq 3 ]]; then
- COMPREPLY=( $(compgen -W "--passwd $cmds" -- "$cur") )
- fi
- fi
- fi
-
- # Handle options/commands that require one or more arguments.
- case "$prev" in
- --get_messages|--passwd)
- return 0
- ;;
-
- --host)
- _known_hosts
- return 0
- ;;
-
- --set_run_mode|--set_network_mode)
- COMPREPLY=( $(compgen -W "always auto never" -- "$cur") )
- return 0
- ;;
-
- --set_screensaver_mode)
- COMPREPLY=( $(compgen -W "on off" -- "$cur") )
- return 0
- ;;
- esac
-}
-complete -F _boinccmd boinc_cmd
-
-# vim: syntax=sh
\ No newline at end of file
Copied: boinc/repos/community-x86_64/boinc.bash (from rev 601578, boinc/trunk/boinc.bash)
===================================================================
--- boinc.bash (rev 0)
+++ boinc.bash 2020-03-20 11:42:28 UTC (rev 601579)
@@ -0,0 +1,99 @@
+# Source this file in BASH to get command completion (using tab) for
+# boinc and boinccmd. Written by Frank S. Thomas <fst at debian.org>.
+# See also: http://boinc.berkeley.edu/trac/wiki/BashCommandCompletion
+
+_boinc()
+{
+ local cur prev opts
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+
+ opts="$(boinc_client --help | \
+ sed -n -r 's/^[[:space:]]*(--[a-z_]*).*/\1/p')"
+
+ # Handle options that require one or more arguments.
+ case "$prev" in
+ --attach_project|--detach_project|--reset_project|--update_prefs|\
+ --gui_rpc_port)
+ return 0
+ ;;
+ esac
+
+ # Handle options that require two arguments.
+ if [[ COMP_CWORD -gt 1 ]]; then
+ pprev="${COMP_WORDS[COMP_CWORD-2]}"
+
+ case "$pprev" in
+ --attach_project)
+ return 0
+ ;;
+ esac
+ fi
+
+ if [[ "$cur" == -* ]]; then
+ COMPREPLY=( $(compgen -W "$opts" -- "$cur") )
+ return 0
+ fi
+}
+complete -F _boinc -o default boinc_client
+
+_boinccmd()
+{
+ local cur prev opts cmds
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+
+ opts="--host --passwd -h --help -V --version"
+ cmds="$(boinc_cmd --help 2>&1 | \
+ sed -n -r 's/^[[:space:]]*(--[a-z_]*).*/\1/p')"
+
+ # The following construct assures that:
+ # - no command follows if one of $opts or $cmds was given
+ # - after --host follows only one command or --passwd and one command
+ # - after --passwd follows only one command
+ if [[ $COMP_CWORD -eq 1 ]]; then
+ COMPREPLY=( $(compgen -W "$opts $cmds" -- "$cur") )
+ return 0
+ else
+ if [[ "${COMP_WORDS[@]}" =~ ".* --host .* --passwd .*" ]]; then
+ if [[ $COMP_CWORD -eq 5 ]]; then
+ COMPREPLY=( $(compgen -W "$cmds" -- "$cur") )
+ fi
+ elif [[ "${COMP_WORDS[@]}" =~ ".* --passwd .*" ]]; then
+ if [[ $COMP_CWORD -eq 3 ]]; then
+ COMPREPLY=( $(compgen -W "$cmds" -- "$cur") )
+ fi
+ elif [[ "${COMP_WORDS[@]}" =~ ".* --host .*" ]]; then
+ if [[ $COMP_CWORD -eq 3 ]]; then
+ COMPREPLY=( $(compgen -W "--passwd $cmds" -- "$cur") )
+ fi
+ fi
+ fi
+
+ # Handle options/commands that require one or more arguments.
+ case "$prev" in
+ --get_messages|--passwd)
+ return 0
+ ;;
+
+ --host)
+ _known_hosts
+ return 0
+ ;;
+
+ --set_run_mode|--set_network_mode)
+ COMPREPLY=( $(compgen -W "always auto never" -- "$cur") )
+ return 0
+ ;;
+
+ --set_screensaver_mode)
+ COMPREPLY=( $(compgen -W "on off" -- "$cur") )
+ return 0
+ ;;
+ esac
+}
+complete -F _boinccmd boinc_cmd
+
+# vim: syntax=sh
\ No newline at end of file
Deleted: boinc.desktop
===================================================================
--- boinc.desktop 2020-03-20 11:42:00 UTC (rev 601578)
+++ boinc.desktop 2020-03-20 11:42:28 UTC (rev 601579)
@@ -1,16 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=1.0
-Exec=/usr/bin/boincmgr
-Path=/var/lib/boinc
-Icon=boinc
-Categories=System;Monitor;GTK;
-Name=BOINC Manager
-GenericName=BOINC monitor and control utility
-GenericName[cs]=Monitorovací a ovládací nástroj pro BOINC
-GenericName[de]=BOINC Überwachungs- und Kontrollprogramm
-GenericName[pt]=Monitorização BOINC e utilitário de controlo
-Comment=Configure or monitor a BOINC core client
-Comment[cs]=Monitoruje a nastavuje klienta BOINC
-Comment[de]=BOINC Basis Client konfigurieren oder überwachen
-Comment[pt]=Configurar ou monitorizar o cliente básico do BOINC
Copied: boinc/repos/community-x86_64/boinc.desktop (from rev 601578, boinc/trunk/boinc.desktop)
===================================================================
--- boinc.desktop (rev 0)
+++ boinc.desktop 2020-03-20 11:42:28 UTC (rev 601579)
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Exec=/usr/bin/boincmgr
+Path=/var/lib/boinc
+Icon=boinc
+Categories=System;Monitor;GTK;
+Name=BOINC Manager
+GenericName=BOINC monitor and control utility
+GenericName[cs]=Monitorovací a ovládací nástroj pro BOINC
+GenericName[de]=BOINC Überwachungs- und Kontrollprogramm
+GenericName[pt]=Monitorização BOINC e utilitário de controlo
+Comment=Configure or monitor a BOINC core client
+Comment[cs]=Monitoruje a nastavuje klienta BOINC
+Comment[de]=BOINC Basis Client konfigurieren oder überwachen
+Comment[pt]=Configurar ou monitorizar o cliente básico do BOINC
Deleted: boinc.install
===================================================================
--- boinc.install 2020-03-20 11:42:00 UTC (rev 601578)
+++ boinc.install 2020-03-20 11:42:28 UTC (rev 601579)
@@ -1,15 +0,0 @@
-post_install() {
- # We need to know uid and gid to create /var/lib/boinc with proper
- # permissions. So keep systemd-sysusers invocation here despite having
- # pacman hooks.
- systemd-sysusers boinc.conf
- mkdir -p var/lib/boinc
- chown -R boinc:boinc var/lib/boinc
-}
-
-post_upgrade() {
- if (( $(vercmp $2 7.10.3) < 0)); then
- echo "Since 7.10.3, upstream provided boinc-client.service is used instead of our own one."
- echo "Please enable/start the new boinc-client.service if desired."
- fi
-}
Copied: boinc/repos/community-x86_64/boinc.install (from rev 601578, boinc/trunk/boinc.install)
===================================================================
--- boinc.install (rev 0)
+++ boinc.install 2020-03-20 11:42:28 UTC (rev 601579)
@@ -0,0 +1,15 @@
+post_install() {
+ # We need to know uid and gid to create /var/lib/boinc with proper
+ # permissions. So keep systemd-sysusers invocation here despite having
+ # pacman hooks.
+ systemd-sysusers boinc.conf
+ mkdir -p var/lib/boinc
+ chown -R boinc:boinc var/lib/boinc
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 7.10.3) < 0)); then
+ echo "Since 7.10.3, upstream provided boinc-client.service is used instead of our own one."
+ echo "Please enable/start the new boinc-client.service if desired."
+ fi
+}
Deleted: boinc.sysusers
===================================================================
--- boinc.sysusers 2020-03-20 11:42:00 UTC (rev 601578)
+++ boinc.sysusers 2020-03-20 11:42:28 UTC (rev 601579)
@@ -1,2 +0,0 @@
-u boinc - "BOINC Daemon" /var/lib/boinc
-g boinc -
\ No newline at end of file
Copied: boinc/repos/community-x86_64/boinc.sysusers (from rev 601578, boinc/trunk/boinc.sysusers)
===================================================================
--- boinc.sysusers (rev 0)
+++ boinc.sysusers 2020-03-20 11:42:28 UTC (rev 601579)
@@ -0,0 +1,2 @@
+u boinc - "BOINC Daemon" /var/lib/boinc
+g boinc -
\ No newline at end of file
More information about the arch-commits
mailing list