From 04d4a7586845c99a09ff9b27110ddb77ee07499b Mon Sep 17 00:00:00 2001 From: groni Date: Fri, 17 Jul 2015 14:50:04 +0200 Subject: [PATCH 1/5] kde-baseapps version bump and check --- desktop/kde/base/kde-baseapps/actions.py | 27 +++++++ desktop/kde/base/kde-baseapps/pspec.xml | 89 ++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100755 desktop/kde/base/kde-baseapps/actions.py create mode 100755 desktop/kde/base/kde-baseapps/pspec.xml diff --git a/desktop/kde/base/kde-baseapps/actions.py b/desktop/kde/base/kde-baseapps/actions.py new file mode 100755 index 0000000000..2d59cef51c --- /dev/null +++ b/desktop/kde/base/kde-baseapps/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import pisitools +from pisi.actionsapi import cmaketools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + #pisitools.ldflags.add("-Wl,-rpath") + + #shelltools.system("sed -i -e 's|add_subdirectory(dolphin)|#add_subdirectory(dolphin)|' CMakeLists.txt") + cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr") + +def build(): + cmaketools.make() + +def install(): + cmaketools.install() + + pisitools.dodoc("README", "COPYING.LIB") diff --git a/desktop/kde/base/kde-baseapps/pspec.xml b/desktop/kde/base/kde-baseapps/pspec.xml new file mode 100755 index 0000000000..f10dc8ab9f --- /dev/null +++ b/desktop/kde/base/kde-baseapps/pspec.xml @@ -0,0 +1,89 @@ + + + + + kdebaseapps + http://www.kde.org + + Pisi Linux Admins + admin@pisilinux.org + + LGPLv2 + library + KDE-Baseapps: base applications from the official KDE release + Base application for KDE5 such as Dolphin, kfind, plasma-widget-folderview, konqueror etc. + http://download.kde.org/stable/applications/15.04.2/src/kde-baseapps-15.04.2.tar.xz + + qt-devel + zlib-devel + glib2-devel + libX11-devel + libgcc + kdelibs-devel + kfilemetadata-devel + automoc4 + tidy-devel + baloo-widgets-devel + baloo-devel + phonon-devel + kactivities-devel + libXrender-devel + libXt-devel + libraw1394-devel + shared-desktop-ontologies + kdepimlibs-devel + mesa-devel + + + + + kdebaseapps + + qt + zlib + glib2 + libX11 + libgcc + kfilemetadata + libXt + libXrender + phonon + qt5-base + libXt + tidy + baloo-widgets + baloo + kdelibs + kactivities + + + /usr/bin + /usr/share + /usr/share/locale + /usr/lib + /usr/share/doc + + + + + kf5-kdebaseapps-devel + Development files for kde-kdebaseapps + + kdebaseapps + + + /usr/include + /usr/lib/cmake + + + + + + 2015-06-03 + 15.04.2 + First Release. + Stefan Gronewold(groni) + groni@pisilinux.org + + + From 40b88fe2c7b75ade8a4a749d48fd07683e36ac22 Mon Sep 17 00:00:00 2001 From: burakerturk Date: Sat, 18 Jul 2015 01:37:08 +0300 Subject: [PATCH 2/5] xkeyboard-config add repo --- x11/misc/xkeyboard-config/actions.py | 20 ++++ .../xkeyboard-config/files/10-keyboard.conf | 10 ++ x11/misc/xkeyboard-config/files/95-xkb.rules | 29 +++++ .../files/xkeyboard-config-1.4-jp-tilde.patch | 31 +++++ x11/misc/xkeyboard-config/pspec.xml | 108 ++++++++++++++++++ x11/misc/xkeyboard-config/translations.xml | 8 ++ 6 files changed, 206 insertions(+) create mode 100644 x11/misc/xkeyboard-config/actions.py create mode 100644 x11/misc/xkeyboard-config/files/10-keyboard.conf create mode 100644 x11/misc/xkeyboard-config/files/95-xkb.rules create mode 100644 x11/misc/xkeyboard-config/files/xkeyboard-config-1.4-jp-tilde.patch create mode 100644 x11/misc/xkeyboard-config/pspec.xml create mode 100644 x11/misc/xkeyboard-config/translations.xml diff --git a/x11/misc/xkeyboard-config/actions.py b/x11/misc/xkeyboard-config/actions.py new file mode 100644 index 0000000000..67134d4830 --- /dev/null +++ b/x11/misc/xkeyboard-config/actions.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure("--enable-compat-rules \ + --with-xkb-rules-symlink=xorg") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "TODO", "README*", "NEWS") diff --git a/x11/misc/xkeyboard-config/files/10-keyboard.conf b/x11/misc/xkeyboard-config/files/10-keyboard.conf new file mode 100644 index 0000000000..afe2a89a50 --- /dev/null +++ b/x11/misc/xkeyboard-config/files/10-keyboard.conf @@ -0,0 +1,10 @@ +Section "InputClass" + Identifier "Keyboard Options" + MatchIsKeyboard "on" + + #Option "xkb_rules" "evdev" + #Option "xkb_model" "evdev" + #Option "xkb_options" "ctrl:nocaps,kpdl:dot,terminate:ctrl_alt_bksp" + #Option "xkb_layout" "tr" + #Option "xkb_variant" "f" +EndSection diff --git a/x11/misc/xkeyboard-config/files/95-xkb.rules b/x11/misc/xkeyboard-config/files/95-xkb.rules new file mode 100644 index 0000000000..4385c0022c --- /dev/null +++ b/x11/misc/xkeyboard-config/files/95-xkb.rules @@ -0,0 +1,29 @@ +ACTION!="add|change", GOTO="xkb_end" +ENV{ID_INPUT_KEYBOARD}!="?*", GOTO="xkb_end" + +IMPORT{cmdline}="xkeymap" + +ENV{xkeymap}=="?*", PROGRAM="/bin/sh -c 'echo $env{xkeymap} | tr : \\t'", ENV{xkblayout}="%c{1}" +ENV{xkeymap}=="?*:?*", ENV{xkbvariant}="%c{2}" + +ENV{xkeymap}=="?*", GOTO="xkb_end" + +# If a cmdline option is not given, use the configuration +# snippet (/etc/X11/xorg.conf.d/00-configured-keymap.conf). +ENV{ID_INPUT.tags}="use_configured_keymap" + +IMPORT{file}="/etc/env.d/03locale" +ENV{LANG}=="?*", PROGRAM="/bin/sh -c 'echo $${LANG,,} | tr .@_ \\t'", ENV{.language}="%c{1}", ENV{.territory}="%c{2}" + +ENV{.language}=="ar", ENV{xkblayout}="ara" +ENV{.language}=="el", ENV{xkblayout}="gr" +ENV{.language}=="es", ENV{.territory}!="es", ENV{xkblayout}="latam" +ENV{.language}=="sr", ENV{xkblayout}="rs" +ENV{.language}=="tr", ENV{xkblayout}="tr" + +# See Pardus Bugzilla #4271 +ENV{.territory}=="nl", ENV{xkblayout}="us", ENV{xkbvariant}="intl" + +ENV{.territory}=="?*", ENV{xkblayout}!="?*", ENV{xkblayout}="$env{.territory}" + +LABEL="xkb_end" diff --git a/x11/misc/xkeyboard-config/files/xkeyboard-config-1.4-jp-tilde.patch b/x11/misc/xkeyboard-config/files/xkeyboard-config-1.4-jp-tilde.patch new file mode 100644 index 0000000000..b76219c04e --- /dev/null +++ b/x11/misc/xkeyboard-config/files/xkeyboard-config-1.4-jp-tilde.patch @@ -0,0 +1,31 @@ +From 824ce3a400a452929f90a038033c83055c01a2d7 Mon Sep 17 00:00:00 2001 +From: Fedora X Ninjas +Date: Mon, 24 Nov 2008 12:59:09 +1000 +Subject: [PATCH] Map TLDE to Zenkaku/Hankaku in jp, and BKSL to bracket/brace right (#469537). + +This patch is only needed for jp on a non-jp106 keyboard model. +--- + symbols/jp | 7 +++++++ + 1 files changed, 7 insertions(+), 0 deletions(-) + +diff --git a/symbols/jp b/symbols/jp +index 694090c..ef0b0f7 100644 +--- a/symbols/jp ++++ b/symbols/jp +@@ -24,6 +24,13 @@ xkb_symbols "common" { + symbols[Group1]= [ Zenkaku_Hankaku, Kanji ] + }; + ++ key { ++ type[Group1]="PC_ALT_LEVEL2", ++ symbols[Group1]= [ Zenkaku_Hankaku, Kanji ] ++ }; ++ ++ key { [ bracketright, braceright ] }; ++ + key { [ 1, exclam ] }; + key { [ 2, quotedbl ] }; + key { [ 3, numbersign ] }; +-- +1.6.0.3 + diff --git a/x11/misc/xkeyboard-config/pspec.xml b/x11/misc/xkeyboard-config/pspec.xml new file mode 100644 index 0000000000..cc5ccecf4b --- /dev/null +++ b/x11/misc/xkeyboard-config/pspec.xml @@ -0,0 +1,108 @@ + + + + + xkeyboard-config + http://freedesktop.org/wiki/Software/XKeyboardConfig + + PisiLinux Community + admins@pisilinux.org + + MIT + data + X keyboard configuration database + xkeyboard-config aims to provide consistent and well-structured X keyboard configuration data for X Window System implementations. + mirrors://xorg/individual/data/xkeyboard-config/xkeyboard-config-2.14.tar.bz2 + + intltool + xorg-proto + xorg-app + libxslt-devel + libX11-devel + + + xkeyboard-config-1.4-jp-tilde.patch + + + + + xkeyboard-config + + xorg-app + libxslt + libX11 + + + /etc/X11/xorg.conf.d + /lib/udev/rules.d + /usr/share/X11/xkb + /usr/share/doc + /usr/share/locale + /usr/share/pkgconfig + /usr/share/man + + + 10-keyboard.conf + 95-xkb.rules + + + + + + 2015-05-14 + 2.14 + Release bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-01-29 + 2.14 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-01-21 + 2.13 + Version bump. + Ergün Salman + poyraz76@pisilinux.org + + + 2014-08-31 + 2.12 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-05-15 + 2.11 + Version bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2013-08-25 + 2.9 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-06-21 + 2.9 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-11-22 + 2.7 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/x11/misc/xkeyboard-config/translations.xml b/x11/misc/xkeyboard-config/translations.xml new file mode 100644 index 0000000000..53003d279c --- /dev/null +++ b/x11/misc/xkeyboard-config/translations.xml @@ -0,0 +1,8 @@ + + + + xkeyboard-config + X klavye yapılandırma veritabanı + xkeyboard-config, X Pencere Sistemi için tutarlı ve iyi tasarlanmış X klavye yapılandırma verisi sağlamayı amaçlar. + + From 59b2e608a6edb349a07f0f6c52695ee6f0afc8d8 Mon Sep 17 00:00:00 2001 From: burakerturk Date: Sat, 18 Jul 2015 01:47:47 +0300 Subject: [PATCH 3/5] bashdb bash-completion add repo --- util/shell/bash-completion/actions.py | 27 +++ util/shell/bash-completion/comar/package.py | 6 + util/shell/bash-completion/files/pisilinux | 247 ++++++++++++++++++++ util/shell/bash-completion/pspec.xml | 61 +++++ util/shell/bash-completion/translations.xml | 8 + util/shell/bashdb/actions.py | 22 ++ util/shell/bashdb/pspec.xml | 52 +++++ util/shell/bashdb/translations.xml | 8 + util/shell/component.xml | 3 + 9 files changed, 434 insertions(+) create mode 100644 util/shell/bash-completion/actions.py create mode 100644 util/shell/bash-completion/comar/package.py create mode 100644 util/shell/bash-completion/files/pisilinux create mode 100644 util/shell/bash-completion/pspec.xml create mode 100644 util/shell/bash-completion/translations.xml create mode 100644 util/shell/bashdb/actions.py create mode 100644 util/shell/bashdb/pspec.xml create mode 100644 util/shell/bashdb/translations.xml create mode 100644 util/shell/component.xml diff --git a/util/shell/bash-completion/actions.py b/util/shell/bash-completion/actions.py new file mode 100644 index 0000000000..a86b60daca --- /dev/null +++ b/util/shell/bash-completion/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import pisitools +from pisi.actionsapi import autotools +from pisi.actionsapi import get + +import os + +def setup(): + autotools.configure() + +def build(): + autotools.make("bash_completion.sh") + +def install(): + autotools.rawInstall('DESTDIR=%s' % get.installDIR()) + +# provided by util-linux , networkmanager , remove Slackware's makepkg completion + blacklist = ["cal", "chsh", "dmesg", "eject", "hd", "hexdump", "hwclock", "ionice", "look", "ncal", "nmcli", "newgrp", "makepkg", "renice", "rtcwake", "su"] + for comp in blacklist: + pisitools.remove("/usr/share/bash-completion/completions/%s" % comp) + + pisitools.dodoc("AUTHORS", "CHANGES", "COPYING", "README") diff --git a/util/shell/bash-completion/comar/package.py b/util/shell/bash-completion/comar/package.py new file mode 100644 index 0000000000..fe85182b15 --- /dev/null +++ b/util/shell/bash-completion/comar/package.py @@ -0,0 +1,6 @@ +#!/usr/bin/python + +import os + +def preRemove(): + os.system("complete -r") diff --git a/util/shell/bash-completion/files/pisilinux b/util/shell/bash-completion/files/pisilinux new file mode 100644 index 0000000000..a6dccb9ccb --- /dev/null +++ b/util/shell/bash-completion/files/pisilinux @@ -0,0 +1,247 @@ +_pisi() +{ + local cur command commands options packages files + + COMPREPLY=() + cur=${COMP_WORDS[COMP_CWORD]} + + commands="add-repo build check clean configure-pending delete-cache delta \ + emerge graph help history index info install list-available \ + list-components list-installed list-newest list-pending list-repo \ + list-sources list-upgrades rebuild-db remove remove-repo search \ + search-file update-repo upgrade" + + options="--destdir --yes-all --username --password --bandwidth-limit --verbose \ + --debug --no-color" + packages="" + files="" + + if [[ $COMP_CWORD -eq 1 ]] ; then + if [[ "$cur" == -* ]]; then + COMPREPLY=($(compgen -W "--version --help" -- $cur)) + else + COMPREPLY=($(compgen -W "$commands --version --help" -- $cur)) + fi + return 0; + else + command=${COMP_WORDS[1]} + + if [[ "$cur" == -* ]]; then + case $command in + @(add-repo|ar)) + options="${options} --at --ignore-check" + ;; + @(blame|bl)) + options="${options} --release --all" + ;; + @(build|bi)) + options="${options} --fetch --unpack --setup --build \ + --check --install --package --ignore-build-no \ + --quiet --ignore-dependency --output-dir \ + --ignore-action-errors --ignore-safety \ + --ignore-check --create-static --package-format \ + --use-quilt --ignore-sandbox" + ;; + @(check)) + options="${options} --component --config" + ;; + @(clean)) + options="${options}" + ;; + @(configure-pending|cp)) + options="${options} --ignore-dependency --ignore-comar \ + --ignore-safety --dry-run" + ;; + @(delete-cache|dc)) + options="${options}" + ;; + @(delta|dt)) + options="${options} --output-dir" + ;; + @(disable-repo|dr)) + options="${options}" + ;; + @(emerge|em)) + options="${options} --ignore-build-no --quiet --ignore-dependency \ + --output-dir --ignore-action-errors --ignore safety \ + --ignore-check --create-static --package-format \ + --use-quilt --ignore-sandbox --component \ + --ignore-file-conflicts --ignore-package-conflicts --ignore-comar" + ;; + @(enable-repo|er)) + options="${options}" + ;; + @(fetch|fc)) + options="${options} --output-dir" + ;; + @(graph)) + options="${options} --reporsitory --installed \ + --ignore-installed --output" + ;; + @(help|--help)) + options="${commands}" + ;; + @(history|hs)) + options="${options} --last --snapshot --takeback" + ;; + @(index|ix)) + options="${options} --absolute-urls --output --skip-sources \ + --skip-signing" + ;; + @(info)) + options="${options} --files --component --files-path --short --xml" + ;; + @(install|it)) + options="${options} --ignore-dependency --ignore-comar \ + --ignore-safety --dry-run --ignore-build-no \ + --reinstall --ignore-check --ignore-file-conflicts \ + --ignore-package-conflicts --component --repository \ + --fetch-only --exclude --exclude-from" + ;; + @(list-available|la)) + options="${options} --long --component --uninstalled" + ;; + @(list-components|lc)) + options="${options} --long --repository" + ;; + @(list-installed|li)) + options="${options} --without-buildno --long --component --install-info" + ;; + @(list-newest|ln)) + options="${options} --since --last" + ;; + @(list-pending|lp)) + options="${options}" + ;; + @(list-repo|lr)) + options="${options}" + ;; + @(list-sources|ls)) + options="${options} --long" + ;; + @(list-upgrades|lu)) + options="${options} --ignore-build-no --long --component \ + --install-info" + ;; + @(rebuild-db|rdb)) + options="${options} --files" + ;; + @(remove|rm)) + options="${options} --ignore-dependency --ignore-comar \ + --ignore-safety --dry-run --purge --component" + ;; + @(remove-repo|rr)) + options="${options}" + ;; + @(search|sr)) + options="${options} --language --repository --installdb \ + --sourcedb --name --summary --description" + ;; + @(search-file|sf)) + options="${options} --long --quiet" + ;; + @(update-repo|ur)) + options="${options} --force" + ;; + @(upgrade|up)) + options="${options} --ignore-dependency --ignore-comar \ + --ignore-safety --dry-run --ignore-build-no \ + --security-only --bypass-update-repo \ + --ignore-file-conflicts --ignore-package-conflicts \ + --component --repository --fetch-only --exclude --exclude-from" + ;; + esac + COMPREPLY=($(compgen -W "$options" -- $cur)) + return 0; + else + case $command in + @(install|it)) + if [ `ls *.pisi 2> /dev/null | wc -l` -gt 0 ]; then + packages="" + else + if `ls /var/lib/pisi/index/* &>/dev/null`; then + packages=`grep -P "[^\s]*" /var/lib/pisi/index/*/pisi-index.xml | gawk -F '>' '{print $2}' | gawk -F '<' '{print $1}' | sort | uniq | tr "\n" " "` + fi + fi + ;; + @(info)) + if `ls /var/lib/pisi/index/* &>/dev/null`; then + packages=`grep -P "[^\s]*" /var/lib/pisi/index/*/pisi-index.xml | gawk -F '>' '{print $2}' | gawk -F '<' '{print $1}' | sort | uniq | tr "\n" " "` + fi + ;; + @(upgrade|up|remove|rm)) + if `ls /var/lib/pisi/index/* &>/dev/null`; then + packages=`grep -P "[^\s]*" /var/lib/pisi/package/*/metadata.xml | gawk -F '>' '{print $2}' | gawk -F '<' '{print $1}' | sort | uniq | tr "\n" " "` + fi + ;; + esac + COMPREPLY=($(compgen -f -W "$packages" -- $cur)) + return 0; + fi + fi + _filedir '@(pisi)' +} +complete -F _pisi -o filenames pisi + +_service() +{ + local list + + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + cur_num=${#COMP_WORDS[*]} + + if [[ ${cur_num} == 2 ]]; then + list=`/usr/bin/hav list-apps System.Service` + COMPREPLY=($(compgen -W "${list} dbus" -- ${cur})) + elif [[ ${cur_num} -ge 3 ]]; then + COMPREPLY=($(compgen -W "on off start stop restart reload" -- ${cur})) + fi +} +complete -F _service service + +_hav() +{ + local list command app model + + list="" + + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + cur_num=${#COMP_WORDS[*]} + + if [[ ${cur_num} == 2 ]]; then + COMPREPLY=($(compgen -W "call list-apps list-models list-methods register remove" -- ${cur})) + elif [[ ${cur_num} == 3 ]]; then + command=${COMP_WORDS[1]} + case $command in + @(call)) + list=`/usr/bin/hav list-apps` + ;; + @(list-models|list-methods|register|remove)) + list=`/usr/bin/hav list-apps` + ;; + esac + COMPREPLY=($(compgen -W "${list}" -- ${cur})) + elif [[ ${cur_num} == 4 ]]; then + command=${COMP_WORDS[1]} + app=${COMP_WORDS[2]} + case $command in + @(call)) + list=`/usr/bin/hav list-models ${app}` + ;; + esac + COMPREPLY=($(compgen -W "${list}" -- ${cur})) + elif [[ ${cur_num} == 5 ]]; then + command=${COMP_WORDS[1]} + app=${COMP_WORDS[2]} + model=${COMP_WORDS[3]} + case $command in + @(call)) + list=`/usr/bin/hav list-methods ${app} ${model}` + ;; + esac + COMPREPLY=($(compgen -W "${list}" -- ${cur})) + fi +} +complete -F _hav hav diff --git a/util/shell/bash-completion/pspec.xml b/util/shell/bash-completion/pspec.xml new file mode 100644 index 0000000000..b3563a9620 --- /dev/null +++ b/util/shell/bash-completion/pspec.xml @@ -0,0 +1,61 @@ + + + + + bash-completion + http://bash-completion.alioth.debian.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Programmable completion for bash + A relatively new feature in bash is programmable completion. Since now, users have been able to complete commands, variables and filenames; now it is also possible to complete parameters. + http://bash-completion.alioth.debian.org/files/bash-completion-2.1.tar.bz2 + + + + + + + + bash-completion + + /etc + /usr/share/doc + /usr/share + /var + + + pisilinux + + + System.Package + + + + + + 2014-02-23 + 2.1 + Rebuild + Alihan Öztürk + alihan@pisilinux.org + + + 2013-07-14 + 2.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2011-06-20 + 1.2 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/util/shell/bash-completion/translations.xml b/util/shell/bash-completion/translations.xml new file mode 100644 index 0000000000..c27ec6bc7d --- /dev/null +++ b/util/shell/bash-completion/translations.xml @@ -0,0 +1,8 @@ + + + + bash-completion + Bash kabuğu için otomatik tamamlama + Kabukta çeşitli uygulamalar için otomatik tamamlama özelliği eklenebilmesine olanak sağlayan bir programdır. + + diff --git a/util/shell/bashdb/actions.py b/util/shell/bashdb/actions.py new file mode 100644 index 0000000000..60413bbab0 --- /dev/null +++ b/util/shell/bashdb/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir = "%s-4.3-0.91" % get.srcNAME() + +def setup(): + autotools.configure() + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog*", "COPYING", "NEWS", "README", "THANKS", "TODO") diff --git a/util/shell/bashdb/pspec.xml b/util/shell/bashdb/pspec.xml new file mode 100644 index 0000000000..c1baf89087 --- /dev/null +++ b/util/shell/bashdb/pspec.xml @@ -0,0 +1,52 @@ + + + + + bashdb + http://bashdb.sourceforge.net + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + A Debugger for Bash + bashdb is a comprehensive source-code debugger for bash. + mirrors://sourceforge/bashdb/bashdb-4.3-0.91.tar.gz + + + + bashdb + + /usr/bin + /usr/share/doc + /usr/share/bashdb + /usr/share/info + /usr/share/man + + + + + + 2015-01-22 + 0.91 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-01-19 + 4.2.0.8 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2011-05-27 + 4.2.0.8 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/util/shell/bashdb/translations.xml b/util/shell/bashdb/translations.xml new file mode 100644 index 0000000000..208b4898dd --- /dev/null +++ b/util/shell/bashdb/translations.xml @@ -0,0 +1,8 @@ + + + + bashdb + Bash Kabuğu için bir hata ayıklayıcısı + bashdb, bash için kapsamlı bir kaynak kodu hata ayıklayıcısıdır. + + diff --git a/util/shell/component.xml b/util/shell/component.xml new file mode 100644 index 0000000000..178adb08bc --- /dev/null +++ b/util/shell/component.xml @@ -0,0 +1,3 @@ + + util.shell + From 8078e101a771bc3ffff078bf8184c8e66ad3d298 Mon Sep 17 00:00:00 2001 From: burakerturk Date: Sat, 18 Jul 2015 03:03:17 +0300 Subject: [PATCH 4/5] librsync add repo --- network/share/librsync/actions.py | 20 ++++ .../files/librsync-0.9.7-largefiles.patch | 92 +++++++++++++++++++ .../share/librsync/files/librsync-link.patch | 26 ++++++ network/share/librsync/pspec.xml | 67 ++++++++++++++ network/share/librsync/translations.xml | 15 +++ 5 files changed, 220 insertions(+) create mode 100644 network/share/librsync/actions.py create mode 100644 network/share/librsync/files/librsync-0.9.7-largefiles.patch create mode 100644 network/share/librsync/files/librsync-link.patch create mode 100644 network/share/librsync/pspec.xml create mode 100644 network/share/librsync/translations.xml diff --git a/network/share/librsync/actions.py b/network/share/librsync/actions.py new file mode 100644 index 0000000000..a2e5ef69d3 --- /dev/null +++ b/network/share/librsync/actions.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure("--disable-static --enable-shared") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "README", "THANKS" , "TODO") diff --git a/network/share/librsync/files/librsync-0.9.7-largefiles.patch b/network/share/librsync/files/librsync-0.9.7-largefiles.patch new file mode 100644 index 0000000000..5dbb0c9e7f --- /dev/null +++ b/network/share/librsync/files/librsync-0.9.7-largefiles.patch @@ -0,0 +1,92 @@ +RCS file: /cvsroot/librsync/librsync/mdfour.h,v +retrieving revision 1.7 +retrieving revision 1.8 +Index: mdfour.h +=================================================================== +--- mdfour.h.orig 2004-02-08 00:17:57.000000000 +0100 ++++ mdfour.h 2007-09-02 10:10:50.000000000 +0200 +@@ -1,7 +1,7 @@ + /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- + * + * librsync -- the library for network deltas +- * $Id: mdfour.h,v 1.7 2003/10/17 16:15:21 abo Exp $ ++ * $Id: mdfour.h,v 1.8 2006/03/10 10:44:10 abo Exp $ + * + * Copyright (C) 2000, 2001 by Martin Pool + * Copyright (C) 2002, 2003 by Donovan Baarda +@@ -24,7 +24,7 @@ + #include "types.h" + + struct rs_mdfour { +- int A, B, C, D; ++ unsigned int A, B, C, D; + #if HAVE_UINT64 + uint64_t totalN; + #else +Index: patch.c +=================================================================== +--- patch.c.orig 2004-09-17 23:35:50.000000000 +0200 ++++ patch.c 2007-09-02 10:10:50.000000000 +0200 +@@ -1,7 +1,7 @@ + /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- + * + * librsync -- the library for network deltas +- * $Id: patch.c,v 1.30 2004/09/10 02:48:58 mbp Exp $ ++ * $Id: patch.c,v 1.31 2006/03/10 10:44:10 abo Exp $ + * + * Copyright (C) 2000, 2001 by Martin Pool + * +@@ -214,12 +214,9 @@ static rs_result rs_patch_s_copying(rs_j + void *buf, *ptr; + rs_buffers_t *buffs = job->stream; + +- len = job->basis_len; +- + /* copy only as much as will fit in the output buffer, so that we + * don't have to block or store the input. */ +- if (len > buffs->avail_out) +- len = buffs->avail_out; ++ len = (buffs->avail_out < job->basis_len) ? buffs->avail_out : job->basis_len; + + if (!len) + return RS_BLOCKED; +Index: doc/rdiff.1 +=================================================================== +--- doc/rdiff.1.orig 2004-02-08 00:17:57.000000000 +0100 ++++ doc/rdiff.1 2007-09-02 10:10:50.000000000 +0200 +@@ -1,6 +1,6 @@ + .\" + .\" librsync -- dynamic caching and delta update in HTTP +-.\" $Id: rdiff.1,v 1.1 2002/01/25 21:25:34 bje Exp $ ++.\" $Id: rdiff.1,v 1.2 2006/02/21 12:21:52 abo Exp $ + .\" + .\" Copyright (C) 2000 by Martin Pool + .\" +@@ -18,7 +18,7 @@ + .\" License along with this program; if not, write to the Free Software + .\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + .\" +-.TH rdiff 1 "$Date: 2002/01/25 21:25:34 $" ++.TH rdiff 1 "$Date: 2006/02/21 12:21:52 $" + .SH NAME + rdiff \- compute and apply signature-based file differences + .SH SYNOPSYS +@@ -29,10 +29,17 @@ rdiff \- compute and apply signature-bas + .PP + \fBrdiff\fP [\fIoptions\fP] \fBpatch\fP \fIbasis-file delta-file new-file\fP + .fi ++.SH USAGE ++You can use \fBrdiff\fP to update files, much like \fBrsync\fP does. ++However, unlike \fBrsync\fP, \fBrdiff\fP puts you in control. There ++are three steps to updating a file: \fBsignature\fP, \fBdelta\fP, and ++\fBpatch\fP. + .SH DESCRIPTION + In every case where a filename must be specified, \- may be used + instead to mean either standard input or standard output as +-appropriate. ++appropriate. Be aware that if you do this, you'll need to terminate your ++\fIoptions\fP with \-\- or \fBrdiff\fP will think you are passing it ++an empty option. + .SH "RETURN VALUE" + 0 for successful completion, 1 for environmental problems (file not + found, invalid options, IO error, etc), 2 for a corrupt file and 3 for diff --git a/network/share/librsync/files/librsync-link.patch b/network/share/librsync/files/librsync-link.patch new file mode 100644 index 0000000000..b3523712ac --- /dev/null +++ b/network/share/librsync/files/librsync-link.patch @@ -0,0 +1,26 @@ +--- librsync-0.9.7/configure.ac.orig 2004-10-10 11:52:26.000000000 +0200 ++++ librsync-0.9.7/configure.ac 2004-10-18 22:39:40.600385603 +0200 +@@ -27,9 +27,9 @@ + AC_PROG_LIBTOOL + + # Checks for libraries. +-AC_CHECK_LIB(z, deflate) +-AC_CHECK_LIB(bz2, BZ2_bzCompress) +-AC_CHECK_LIB(popt, poptGetContext,,[BUILD_POPT='popt/libpopt.a'; CFLAGS="$CFLAGS -I$srcdir/popt"]) ++dnl AC_CHECK_LIB(z, deflate) -- unused ++dnl AC_CHECK_LIB(bz2, BZ2_bzCompress) -- unused ++AC_CHECK_LIB(popt, poptGetContext,[BUILD_POPT=-lpopt],[BUILD_POPT='popt/libpopt.a'; CFLAGS="$CFLAGS -I$srcdir/popt"]) + + # Checks for header files. + AC_FUNC_ALLOCA +--- librsync-0.9.7/Makefile.am.orig 2004-02-08 00:17:57.000000000 +0100 ++++ librsync-0.9.7/Makefile.am 2004-10-18 22:36:07.967024276 +0200 +@@ -60,7 +60,7 @@ + + rdiff_LDADD = @BUILD_POPT@ librsync.la + +-rdiff_DEPENDENCIES = @BUILD_POPT@ librsync.la ++rdiff_DEPENDENCIES = librsync.la + + # this script is used to build prototab.[ch] + noinst_SCRIPTS = mkprototab.pl diff --git a/network/share/librsync/pspec.xml b/network/share/librsync/pspec.xml new file mode 100644 index 0000000000..b0eab94509 --- /dev/null +++ b/network/share/librsync/pspec.xml @@ -0,0 +1,67 @@ + + + + + librsync + http://librsync.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + app:console + librsync implements the rolling-checksum algorithm of remote file synchronization that was popularized by the rsync utility and is used in rproxy + librsync implements the rolling-checksum algorithm of remote file synchronization that was popularized by the rsync utility and is used in rproxy. This algorithm transfers the differences between 2 files without needing both files on the same system. + mirrors://sourceforge/librsync/librsync-0.9.7.tar.gz + + popt-devel + + + librsync-0.9.7-largefiles.patch + librsync-link.patch + + + + librsync + + popt + + + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc/librsync + + + + + librsync-devel + Development files for librsync + + librsync + + + /usr/include + /usr/lib/librsync.so + /usr/share/man/man3 + + + + + + 2014-02-01 + 0.9.7 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2010-10-13 + 0.9.7 + First release + Gökcen Eraslan + admins@pisilinux.org + + + diff --git a/network/share/librsync/translations.xml b/network/share/librsync/translations.xml new file mode 100644 index 0000000000..75cfbc66bb --- /dev/null +++ b/network/share/librsync/translations.xml @@ -0,0 +1,15 @@ + + + + librsync + Uzaktaki dosyaların senkronize edilmesi için gerekli olan algoritmayı sağlayan kitaplığı + Uzaktaki dosyaların senkronize edilmesi için gerekli olan algoritmayı sağlayan kitaplığı. Bu algoritma iki dosya arasındaki farkları, iki dosyanın aynı sistemde olmasına ihtiyaç duymadan transfer eder. + librsync implémente l'algorithme de la somme de contrôle tournante (rolling-checksum) pour la synchronisation rendue populaire par l'utilitaire rsync et utilisée par rproxy. Cet algorithme transfert les différences entre 2 fichiers sans nécessiter la présence des fichiers sur le même système. + librsync implementa el cómputo del rolling-checksum de la sincronización de archivos remotos, que fue popularizado por la herramienta rsync y se usa en rproxy. El algoritmo transfiere la diferencia de los 2 archivos sin la necesidad de tener ambos archivos en el mismo sistema. + + + + librsync-devel + librsync için geliştirme dosyaları + + From c0bdb517c84c72b0e1f932553e8493826a530e54 Mon Sep 17 00:00:00 2001 From: burakerturk Date: Sat, 18 Jul 2015 03:27:28 +0300 Subject: [PATCH 5/5] geany fix --- editor/geany/pspec.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/geany/pspec.xml b/editor/geany/pspec.xml index b2c4aab7ec..9526e76be7 100644 --- a/editor/geany/pspec.xml +++ b/editor/geany/pspec.xml @@ -14,6 +14,7 @@ GTK+ based fast and lightweight IDE http://download.geany.org/geany-1.24.1.tar.bz2 + intltool libgcc gtk2-devel vte-devel