diff --git a/srcpkgs/boinc/files/boinc.bash b/srcpkgs/boinc/files/boinc.bash deleted file mode 100644 index b614dd54c1e..00000000000 --- a/srcpkgs/boinc/files/boinc.bash +++ /dev/null @@ -1,99 +0,0 @@ -# Source this file in BASH to get command completion (using tab) for -# boinc and boinccmd. Written by Frank S. Thomas . -# 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 diff --git a/srcpkgs/boinc/files/boinc.desktop b/srcpkgs/boinc/files/boinc.desktop deleted file mode 100644 index ea0aab2e199..00000000000 --- a/srcpkgs/boinc/files/boinc.desktop +++ /dev/null @@ -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 diff --git a/srcpkgs/boinc/files/boinc128.png b/srcpkgs/boinc/files/boinc128.png deleted file mode 100644 index 22d1f183029..00000000000 Binary files a/srcpkgs/boinc/files/boinc128.png and /dev/null differ diff --git a/srcpkgs/boinc/files/boinc16.png b/srcpkgs/boinc/files/boinc16.png deleted file mode 100644 index 4c32329f4cf..00000000000 Binary files a/srcpkgs/boinc/files/boinc16.png and /dev/null differ diff --git a/srcpkgs/boinc/files/boinc24.png b/srcpkgs/boinc/files/boinc24.png deleted file mode 100644 index 9240241af49..00000000000 Binary files a/srcpkgs/boinc/files/boinc24.png and /dev/null differ diff --git a/srcpkgs/boinc/files/boinc256.png b/srcpkgs/boinc/files/boinc256.png deleted file mode 100644 index 21ba968fff2..00000000000 Binary files a/srcpkgs/boinc/files/boinc256.png and /dev/null differ diff --git a/srcpkgs/boinc/files/boinc32.png b/srcpkgs/boinc/files/boinc32.png deleted file mode 100644 index af563dfd1cd..00000000000 Binary files a/srcpkgs/boinc/files/boinc32.png and /dev/null differ diff --git a/srcpkgs/boinc/files/boinc64.png b/srcpkgs/boinc/files/boinc64.png deleted file mode 100644 index 16368b1f5a5..00000000000 Binary files a/srcpkgs/boinc/files/boinc64.png and /dev/null differ diff --git a/srcpkgs/boinc/template b/srcpkgs/boinc/template index 5dd1b6ba03f..96f0ecd84c4 100644 --- a/srcpkgs/boinc/template +++ b/srcpkgs/boinc/template @@ -1,7 +1,7 @@ # Template file for 'boinc' pkgname=boinc version=7.22.0 -revision=3 +revision=4 _majorver=${version%.*} build_style=gnu-configure hostmakedepends="automake libtool pkg-config xorgproto shared-mime-info" @@ -104,18 +104,7 @@ do_install() { "${DESTDIR}"/etc/default/boinc-client fi - # Bash completion - vinstall ${FILESDIR}/boinc.bash 644 usr/share/bash-completion/completions boinc - - # Desktop - vmkdir usr/share/applications - vinstall ${FILESDIR}/boinc.desktop 644 usr/share/applications - for size in 16 24 32 64 128 256; do - vinstall ${FILESDIR}/boinc${size}.png 644 \ - usr/share/icons/hicolor/${size}x${size}/apps \ - boinc.png - done - vinstall ${FILESDIR}/boinc32.png 644 usr/share/pixmaps boinc.png + vinstall client/scripts/boinc.bash 644 usr/share/bash-completion/completions boinc vsv boinc } @@ -150,8 +139,7 @@ boinc-nox_package() { rm -f ${PKGDESTDIR}/usr/lib/*.a rm -f ${PKGDESTDIR}/usr/lib/*.so - # Bash completion - vinstall ${FILESDIR}/boinc.bash 644 usr/share/bash-completion/completions boinc + vinstall client/scripts/boinc.bash 644 usr/share/bash-completion/completions boinc vsv boinc } }