diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:04:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:04:07 +0000 |
commit | a45ec9c2d262ff7cd62540f63298aeb186648aae (patch) | |
tree | a4bd93ea6b568b1da1930425a6bb2fb877dbdbe7 /debian/po | |
parent | Adding upstream version 2.7. (diff) | |
download | powerline-a45ec9c2d262ff7cd62540f63298aeb186648aae.tar.xz powerline-a45ec9c2d262ff7cd62540f63298aeb186648aae.zip |
Adding debian version 2.7-2.debian/2.7-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/po/POTFILES.in | 1 | ||||
-rw-r--r-- | debian/po/de.po | 36 | ||||
-rw-r--r-- | debian/po/fr.po | 42 | ||||
-rw-r--r-- | debian/po/nl.po | 42 | ||||
-rw-r--r-- | debian/po/pt.po | 42 | ||||
-rw-r--r-- | debian/po/pt_BR.po | 40 | ||||
-rw-r--r-- | debian/po/ru.po | 44 | ||||
-rw-r--r-- | debian/po/templates.pot | 38 | ||||
-rw-r--r-- | debian/powerline-doc.doc-base | 9 | ||||
-rw-r--r-- | debian/powerline.NEWS | 24 | ||||
-rw-r--r-- | debian/powerline.README.Debian | 92 | ||||
-rw-r--r-- | debian/powerline.config | 11 | ||||
-rw-r--r-- | debian/powerline.dirs | 1 | ||||
-rw-r--r-- | debian/powerline.docs | 2 | ||||
-rw-r--r-- | debian/powerline.install | 18 | ||||
-rw-r--r-- | debian/powerline.postinst | 38 | ||||
-rw-r--r-- | debian/powerline.postrm | 23 | ||||
-rw-r--r-- | debian/powerline.sh | 11 | ||||
-rw-r--r-- | debian/powerline.templates | 11 | ||||
-rw-r--r-- | debian/powerline.yaml | 4 |
20 files changed, 529 insertions, 0 deletions
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..c25927b --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] powerline.templates diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..5429ac0 --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,36 @@ +# German debconf translation of powerline +# Copyright (C) 2018 Daniel Baumann <daniel.baumann@progress-linux.org> +# This file is distributed under the same license as the powerline package. +msgid "" +msgstr "" +"Project-Id-Version: powerline 2.6-2\n" +"Report-Msgid-Bugs-To: powerline@packages.debian.org\n" +"POT-Creation-Date: 2018-07-24 06:14+0200\n" +"PO-Revision-Date: 2018-05-29 08:54+0200\n" +"Last-Translator: Daniel Baumann <daniel.baumann@progress-linux.org>\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: title +#. Description +#: ../powerline.templates:1001 +msgid "powerline: Setup" +msgstr "powerline: Einrichtung" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "Enable powerline globally?" +msgstr "Soll powerline systemweit eingeschaltet werden?" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "" +"powerline can be enabled globally for all users of certain applications on " +"this system." +msgstr "powerline kann für alle Benutzer bestimmter Programme auf diesem Systems eingeschaltet werden." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..4aff0ed --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,42 @@ +# Translation of powerline debconf templates to French +# Copyright (C) 2018 Debian French l10n team <debian-l10n-french@lists.debian.org> +# This file is distributed under the same license as the powerline package. +# +# Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>, 2018. +msgid "" +msgstr "" +"Project-Id-Version: powerline\n" +"Report-Msgid-Bugs-To: powerline@packages.debian.org\n" +"POT-Creation-Date: 2018-07-24 06:14+0200\n" +"PO-Revision-Date: 2018-08-01 23:54+0100\n" +"Last-Translator: Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>\n" +"Language-Team: French <debian-l10n-french@lists.debian.org>\n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Lokalize 2.0\n" + +#. Type: title +#. Description +#: ../powerline.templates:1001 +msgid "powerline: Setup" +msgstr "powerline : configuration" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "Enable powerline globally?" +msgstr "Faut-il activer globalement powerline ?" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "" +"powerline can be enabled globally for all users of certain applications on " +"this system." +msgstr "" +"powerline peut être activé globalement pour l'ensemble des utilisateurs de " +"certaines applications de ce système." + diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..8101cc8 --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,42 @@ +# Dutch translation of powerline debconf templates. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the powerline package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2018, 2019. +# +msgid "" +msgstr "" +"Project-Id-Version: powerline_2.7-1\n" +"Report-Msgid-Bugs-To: powerline@packages.debian.org\n" +"POT-Creation-Date: 2018-07-24 06:14+0200\n" +"PO-Revision-Date: 2019-01-14 21:04+0100\n" +"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n" +"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Gtranslator 2.91.7\n" + +#. Type: title +#. Description +#: ../powerline.templates:1001 +msgid "powerline: Setup" +msgstr "powerline: Instelling" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "Enable powerline globally?" +msgstr "powerline algemeen inschakelen?" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "" +"powerline can be enabled globally for all users of certain applications on " +"this system." +msgstr "" +"powerline kan algemeen ingeschakeld worden voor alle gebruikers van bepaalde " +"toepassingen op dit systeem." diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 0000000..ed2bac8 --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,42 @@ +# Portuguese translation of powerline debconf template +# Copyright (C) 2018 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the powerline package. +# +# Rui Branco - DebianPT <ruipb@debianpt.org>, 2018. +msgid "" +msgstr "" +"Project-Id-Version: powerline 2.6-2\n" +"Report-Msgid-Bugs-To: powerline@packages.debian.org\n" +"POT-Creation-Date: 2018-07-24 06:14+0200\n" +"PO-Revision-Date: 2018-09-03 21:34+0000\n" +"Last-Translator: Rui Branco - DebianPT <ruipb@debianpt.org>\n" +"Language-Team: Portuguese <traduz@debianpt.org>\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: title +#. Description +#: ../powerline.templates:1001 +msgid "powerline: Setup" +msgstr "powerline: Configuração" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "Enable powerline globally?" +msgstr "Activar o powerline globalmente?" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +#, fuzzy +#| msgid "powerline can be enabled globally for all Bash users of this system." +msgid "" +"powerline can be enabled globally for all users of certain applications on " +"this system." +msgstr "" +"O powerline pode ser activado globalmente para todos os utilizadores de Bash " +"deste sistema." diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..f77d385 --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,40 @@ +# Debconf translations for powerline. +# Copyright (C) 2019 THE powerline'S COPYRIGHT HOLDER +# This file is distributed under the same license as the powerline package. +# Adriano Rafael Gomes <adrianorg@debian.org>, 2019. +# +msgid "" +msgstr "" +"Project-Id-Version: powerline\n" +"Report-Msgid-Bugs-To: powerline@packages.debian.org\n" +"POT-Creation-Date: 2018-07-24 06:14+0200\n" +"PO-Revision-Date: 2019-01-19 18:34-0200\n" +"Last-Translator: Adriano Rafael Gomes <adrianorg@debian.org>\n" +"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian." +"org>\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../powerline.templates:1001 +msgid "powerline: Setup" +msgstr "powerline: Configuração" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "Enable powerline globally?" +msgstr "Habilitar o powerline globalmente?" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "" +"powerline can be enabled globally for all users of certain applications on " +"this system." +msgstr "" +"O powerline pode ser habilitado globalmente para todos os usuários de certos " +"aplicativos nesse sistema." diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 0000000..2110f14 --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,44 @@ +# Russian translation of powerline debconf template. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the powerline package. +# Lev Lamberov <dogsleg@debian.org>, 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: powerline\n" +"Report-Msgid-Bugs-To: powerline@packages.debian.org\n" +"POT-Creation-Date: 2018-07-24 06:14+0200\n" +"PO-Revision-Date: 2018-10-07 11:03+0500\n" +"Last-Translator: Lev Lamberov <dogsleg@debian.org>\n" +"Language-Team: Debian L10n Russian <debian-l10n-russian@lists.debian.org>\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.1.1\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" + +#. Type: title +#. Description +#: ../powerline.templates:1001 +msgid "powerline: Setup" +msgstr "powerline: настройка" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "Enable powerline globally?" +msgstr "Включить powerline глобально?" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +#, fuzzy +#| msgid "powerline can be enabled globally for all Bash users of this system." +msgid "" +"powerline can be enabled globally for all users of certain applications on " +"this system." +msgstr "" +"powerline можно включить глобально для всех пользователей Bash данной " +"системы." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..bd266e7 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,38 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the powerline package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: powerline\n" +"Report-Msgid-Bugs-To: powerline@packages.debian.org\n" +"POT-Creation-Date: 2018-07-24 06:14+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../powerline.templates:1001 +msgid "powerline: Setup" +msgstr "" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "Enable powerline globally?" +msgstr "" + +#. Type: multiselect +#. Description +#: ../powerline.templates:2001 +msgid "" +"powerline can be enabled globally for all users of certain applications on " +"this system." +msgstr "" diff --git a/debian/powerline-doc.doc-base b/debian/powerline-doc.doc-base new file mode 100644 index 0000000..c2c7993 --- /dev/null +++ b/debian/powerline-doc.doc-base @@ -0,0 +1,9 @@ +Document: powerline +Title: Powerline Manual +Author: Kim Silkebækken +Abstract: This manual describes what Powerline is, and how it can be used. +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/powerline/html/index.html +Files: /usr/share/doc/powerline/html/*.html diff --git a/debian/powerline.NEWS b/debian/powerline.NEWS new file mode 100644 index 0000000..c99f5f7 --- /dev/null +++ b/debian/powerline.NEWS @@ -0,0 +1,24 @@ +powerline (2.6-2) unstable; urgency=medium + + Global powerline configuration data which affects all users may now be + placed in the /etc/powerline directory. It will override the application + defaults, but user-defined powerline configuration will still take + precedence. + + Powerline merges configuration data from all available sources, so + copying complete config files isn't required: only specific keys or + sections may be defined in the global or user-defined locations. + + -- Jerome Charaoui <jerome@riseup.net> Wed, 30 May 2018 21:21:47 -0400 + +powerline (1.2-1) unstable; urgency=medium + + If you installed customized configuration files ini ~/.config/powerline + based on a previous version of this package, powerline may fail to + function correctly. + + In this case, it is recommended to copy the new default configuration, + located in /usr/share/powerline/config_files, in place of the old one and + reinstate customizations. + + -- Jerome Charaoui <jerome@riseup.net> Sat, 18 Oct 2014 12:00:26 -0400 diff --git a/debian/powerline.README.Debian b/debian/powerline.README.Debian new file mode 100644 index 0000000..1640ac9 --- /dev/null +++ b/debian/powerline.README.Debian @@ -0,0 +1,92 @@ +Powerline for Debian +-------------------- + +Once installed, a few simple steps are needed to activate Powerline in your +favorite editor and/or shell. + +bash +---- + +Add the following line to your ~/.bashrc file: + + . /usr/share/powerline/bindings/bash/powerline.sh + +or use: + + sudo dpkg-reconfigure -plow powerline + +to globally enable/disable powerline automatically for all users on the system. + +tmux +---- + +Add the following lines in your ~/.tmux.conf file: + + source '/usr/share/powerline/bindings/tmux/powerline.conf' + +vim +--- + +Make sure the vim-nox package is installed, and insert the following lines in +your ~/.vimrc file: + + python3 from powerline.vim import setup as powerline_setup + python3 powerline_setup() + python3 del powerline_setup + +Replace 'python3' with 'python' on Debian 9 (stretch) and earlier. + +Alternatively, if the vim-addon-manager package is installed, the following +command may be used: + + vim-addons install powerline + +zsh +--- + +Add the following line in your ~/.zshrc file: + + . /usr/share/powerline/bindings/zsh/powerline.zsh + +others +------ + +Powerline also supports other prompts and statuslines. See the documentation in +the powerline-doc for the complete list of supported programs and installation +instructions. + + +Configuration +------------- + +The default configuration files for Powerline are located in +/usr/share/powerline/config_files + +root may customize Powerline system-wide by copying the contents of this +directory into /etc/powerline and modifying the JSON-formatted configuration +files. This will overwrite the configuration from +/usr/share/powerline/config_files and apply globally for all users on the +system. + +Additionally a user may customize Powerline by using ~/.config/powerline +accordingly. This will overwrite both the configuration from +/usr/share/powerline/config_files and /etc/powerline, applying to the current +user only. + +Documentation for the various configuration options is found in the +powerline-doc package, at this URL: + + file:///usr/share/doc/powerline/html/configuration.html#main-configuration + +Daemon +------ + +Powerline provides a daemon that can be used to improve its performance when +it is used in multiple concurrent applications. It can be started using the +following command: + + $ systemctl --user start powerline-daemon.service + +To start the daemon automatically upon login: + + $ systemctl --user enable powerline-daemon.service diff --git a/debian/powerline.config b/debian/powerline.config new file mode 100644 index 0000000..b2aae61 --- /dev/null +++ b/debian/powerline.config @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle powerline/title +db_input low powerline/enable || true +db_go + +db_stop diff --git a/debian/powerline.dirs b/debian/powerline.dirs new file mode 100644 index 0000000..05b7d97 --- /dev/null +++ b/debian/powerline.dirs @@ -0,0 +1 @@ +/etc/powerline diff --git a/debian/powerline.docs b/debian/powerline.docs new file mode 100644 index 0000000..ff08e22 --- /dev/null +++ b/debian/powerline.docs @@ -0,0 +1,2 @@ +CONTRIBUTING.rst +README.rst diff --git a/debian/powerline.install b/debian/powerline.install new file mode 100644 index 0000000..25d603a --- /dev/null +++ b/debian/powerline.install @@ -0,0 +1,18 @@ +debian/powerline.sh /usr/share/powerline/integrations +debian/powerline.yaml /usr/share/vim/registry +powerline/bindings/awesome /usr/share/powerline/bindings +powerline/bindings/bar /usr/share/powerline/bindings +powerline/bindings/bash /usr/share/powerline/bindings +powerline/bindings/fish /usr/share/powerline/bindings +powerline/bindings/i3 /usr/share/powerline/bindings +powerline/bindings/lemonbar /usr/share/powerline/bindings +powerline/bindings/qtile /usr/share/powerline/bindings +powerline/bindings/rc /usr/share/powerline/bindings +powerline/bindings/shell /usr/share/powerline/bindings +powerline/bindings/tcsh /usr/share/powerline/bindings +powerline/bindings/tmux/*.conf /usr/share/powerline/bindings/tmux +powerline/bindings/vim/plugin/powerline.vim /usr/share/vim/addons/plugin +powerline/bindings/zsh/powerline.zsh /usr/share/powerline/bindings/zsh +powerline/config_files /usr/share/powerline +powerline/dist/systemd/powerline-daemon.service /usr/lib/systemd/user/ +scripts/* usr/bin diff --git a/debian/powerline.postinst b/debian/powerline.postinst new file mode 100644 index 0000000..135678e --- /dev/null +++ b/debian/powerline.postinst @@ -0,0 +1,38 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + . /usr/share/debconf/confmodule + + db_get powerline/enable + POWERLINE_ENABLE="${RET}" # boolean + + db_stop + + rm -f /etc/profile.d/zz-powerline.sh + + for ENABLE in $(echo ${POWERLINE_ENABLE} | sed -e 's|,| |g') + do + case "${ENABLE}" in + bash) + ln -sf /usr/share/powerline/integrations/powerline.sh /etc/profile.d/zz-powerline.sh + ;; + esac + done + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/powerline.postrm b/debian/powerline.postrm new file mode 100644 index 0000000..f6580c6 --- /dev/null +++ b/debian/powerline.postrm @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +case "${1}" in + purge) + rm -f /etc/profile.d/zz-powerline.sh + rmdir /etc/powerline > /dev/null 2>&1 || true + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/powerline.sh b/debian/powerline.sh new file mode 100644 index 0000000..51677ac --- /dev/null +++ b/debian/powerline.sh @@ -0,0 +1,11 @@ +# /etc/profile.d/zz-powerline.sh + +if [ -n "${BASH}" ] && [ -e /usr/bin/powerline-daemon ] +then + powerline-daemon -q + + POWERLINE_BASH_CONTINUATION="1" + POWERLINE_BASH_SELECT="1" + + . /usr/share/powerline/bindings/bash/powerline.sh +fi diff --git a/debian/powerline.templates b/debian/powerline.templates new file mode 100644 index 0000000..31bd639 --- /dev/null +++ b/debian/powerline.templates @@ -0,0 +1,11 @@ +Template: powerline/title +Type: title +_Description: powerline: Setup + +Template: powerline/enable +Type: multiselect +Default: +Choices-C: bash +Choices: Bash +_Description: Enable powerline globally? + powerline can be enabled globally for all users of certain applications on this system. diff --git a/debian/powerline.yaml b/debian/powerline.yaml new file mode 100644 index 0000000..cbff992 --- /dev/null +++ b/debian/powerline.yaml @@ -0,0 +1,4 @@ +addon: powerline +description: "statusline utility" +files: + - plugin/powerline.vim |