diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:38:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:38:07 +0000 |
commit | 6dc7255b85d1c1bb1b66b94c55a91f21905eef08 (patch) | |
tree | 09a26e75b022344fa64251c7973cccfffe8f174d /debian | |
parent | Adding upstream version 2.8.1. (diff) | |
download | powerline-debian.tar.xz powerline-debian.zip |
Adding debian version 2.8.1-4.debian/2.8.1-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
41 files changed, 1449 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4eea428 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,213 @@ +powerline (2.8.1-4) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Update Maintainer field with new Debian Python Team + contact address. + * d/control: Update Vcs-* fields with new Debian Python Team Salsa + layout. + + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Submit. + + [ Samuel Henrique ] + * Bump Standards-Version to 4.5.1 + * d/control: Add python3-i3ipc to Suggests and i3 to Enhances + (closes: #976790) + + -- Samuel Henrique <samueloph@debian.org> Tue, 08 Dec 2020 19:08:22 +0000 + +powerline (2.8.1-3) unstable; urgency=medium + + * d/control: Fix Vcs-* fields + + -- Samuel Henrique <samueloph@debian.org> Sat, 11 Jul 2020 11:39:54 +0100 + +powerline (2.8.1-2) unstable; urgency=medium + + * The previous changelog entry said it updated the ru translation but + the change was not there (and it closed the wrong bug), this is the + correct entry. + * d/po/ru.po: Update Russian translation, thanks to + Lev Lamberov <dogsleg@debian.org> (closes: #951434) + + -- Samuel Henrique <samueloph@debian.org> Sat, 11 Jul 2020 00:28:00 +0100 + +powerline (2.8.1-1) unstable; urgency=medium + + [ Debian Janitor ] + * Set debhelper-compat version in Build-Depends. + * Set upstream metadata fields: Bug-Database, Repository, Repository- + Browse. + + [ Jerome Charaoui ] + * Add ru translation (closes: #910849) + + [ Samuel Henrique ] + * New upstream version 2.8.1 (closes: #964598) + - Added ipython >= 7.0.0 support (closes: #953973) + - d/changelog.upstream: Update upstream changelog for 2.8.1 + * Bump DH to 13 + * Bump Standards-Version to 4.5.0 + * Add debian/gbp.conf + * Don't override dh_auto_test and add test build-dep python3-pexpect + * d/control: Switch maintenance to PAPT team and add myself as an uploader + * d/control: s/Multi-arch/Multi-Arch/ + * d/rules: Remove unused includes + + -- Samuel Henrique <samueloph@debian.org> Fri, 10 Jul 2020 21:22:53 +0100 + +powerline (2.7-3) unstable; urgency=medium + + * Drop Python2, package is Python3-ready (Closes: #937313) + * Updating to standards version 4.4.0, no other changes required. + * Drop python-powerline-doc transitional package + + -- Jerome Charaoui <jerome@riseup.net> Sat, 14 Sep 2019 11:47:28 -0400 + +powerline (2.7-2) unstable; urgency=medium + + * Adjust debian/watch + * Update nl translation, fixes #920429 + * Add ru translation, fixes #910849 + * Add pt_BR translation, fixes #920539 + + -- Jerome Charaoui <jerome@riseup.net> Sun, 27 Jan 2019 14:23:23 -0500 + +powerline (2.7-1) unstable; urgency=medium + + [ Daniel Baumann ] + * Switching debconf option to enable bash from a boolean to a multiselect in + order to allow other programs to be enabled too in the future. + * Updating to standards version 4.3.0, no other changes required. + + [ Jerome Charaoui ] + * New upstream version 2.7 + * Add fr debconf translation, thanks Jean-Pierre Giraud (Closes: #906095) + * Add nl debconf translation, thanks Frans Spiesschaert (Closes: #906943) + * Add pt debconf translation, thanks Rui Branco (Closes: #907903) + + -- Jerome Charaoui <jerome@riseup.net> Wed, 02 Jan 2019 12:11:35 -0500 + +powerline (2.6-2) unstable; urgency=medium + + [ Daniel Baumann ] + * Install manapages into the powerline package only (Closes: #899135) + * Automatically update fontconfig cache using dpkg trigger (Closes: #899142) + * Update vim instructions in README.Debian (Closes: #899150) + * Add debconf support to enable powerline for all users (Closes: #899184) + * Set default shell theme to default_leftonly (Closes: #899153) + * Switch to use python3 by default (Closes: #899165) + * Include /etc/powerline as configuration directory (Closes: #899178) + * Apply patch from Andreas Schneider to fix build with GCC-7 (Closes: #900331) + * Rename python-powerline-doc to powerline-doc for consistency + * Apply various updates and fixes to control, watch and copyright files + * Update packaging to debhelper version 11 + * Update packaging to standards version 4.1.4 + + [ Jerome Charaoui ] + * Fix privacy breaches in documentation + * Update NEWS file + + -- Jerome Charaoui <jerome@riseup.net> Fri, 01 Jun 2018 15:32:49 -0400 + +powerline (2.6-1) unstable; urgency=medium + + * New upstream version 2.6 + * Ship upstream changelog from GitHub release logs + * Bump Standards-Version to 4.0.1 + + -- Jerome Charaoui <jerome@riseup.net> Wed, 23 Aug 2017 14:53:23 -0400 + +powerline (2.5-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Changes dependency for powerline to python-powerline by default, as this is + used by the installed binaries and is required. + * Move python3-powerline to Recommends so as to allow for vim users to have + this also installed by default, without requiring its installation on + systems that do not want a Python 3 installation. (Closes: #839599) + + -- Iain R. Learmonth <irl@debian.org> Tue, 24 Jan 2017 14:47:26 +0000 + +powerline (2.5-1) unstable; urgency=medium + + * Imported Upstream version 2.5 + * Add mention in README to use python3 where necessary + * Depend on python3 library by default + + -- Jerome Charaoui <jerome@riseup.net> Sat, 10 Sep 2016 13:49:36 -0400 + +powerline (2.4-1) unstable; urgency=medium + + * Imported Upstream version 2.4 + * Move fontconfig file to /etc/fonts/conf.avail (Closes: #814424) + * Bump Standards-Version to 3.9.8 + * Switch Vcs-Git to https URL + * Provide new bindings in the correct binary + + -- Jerome Charaoui <jerome@riseup.net> Wed, 27 Apr 2016 10:39:05 -0400 + +powerline (2.3-1) unstable; urgency=medium + + * Imported Upstream version 2.3 (Closes: #802905) + + -- Jerome Charaoui <jerome@riseup.net> Mon, 26 Oct 2015 16:03:47 -0400 + +powerline (2.2-2) unstable; urgency=medium + + * Build python3-powerline binary package (Closes: #798930) + * Compile /usr/bin/powerline with extra hardening flags + * Make sphinx-generated manpages reproducible + + -- Jerome Charaoui <jerome@riseup.net> Sun, 18 Oct 2015 18:18:19 -0400 + +powerline (2.2-1) unstable; urgency=medium + + * Imported Upstream version 2.2 + * Distribute NEWS file only in powerline binary package (Closes: #792359) + + -- Jerome Charaoui <jerome@riseup.net> Tue, 04 Aug 2015 22:04:48 -0400 + +powerline (2.1.4-1) unstable; urgency=medium + + * Import Upstream version 2.1. (Closes: #778250) + + -- Jerome Charaoui <jerome@riseup.net> Sat, 23 May 2015 08:31:28 -0400 + +powerline (2.1-1) unstable; urgency=medium + + * Import Upstream version 2.1 (Closes: #776725) + + -- Jerome Charaoui <jerome@riseup.net> Sun, 08 Mar 2015 14:48:15 -0400 + +powerline (1.2-2) unstable; urgency=medium + + * Fix incomplete tmux configuration by adjusting hardcoded bindings + directory (Closes: #766637) + + -- Jerome Charaoui <jerome@riseup.net> Sat, 25 Oct 2014 10:44:31 -0400 + +powerline (1.2-1) unstable; urgency=medium + + * Import Upstream version 1.2 + * Package is now architecture specific due to C component + * Disable build tests for this release + * Watch file modified to track upstream releases + + -- Jerome Charaoui <jerome@riseup.net> Sat, 18 Oct 2014 15:26:20 -0400 + +powerline (0~20140216-2) unstable; urgency=low + + * Adjust package sections and descriptions (Closes: #753663, #753665) + * Import upstream commit, fixes powerline with psutil 2.x (Closes: #758162) + * Move bindings and config_files in powerline package (Closes: #758551) + * Add README.Debian with installation and configuration instructions + (Closes: #761474) + + -- Jerome Charaoui <jerome@riseup.net> Thu, 18 Sep 2014 02:11:12 -0400 + +powerline (0~20140216-1) unstable; urgency=low + + * Initial release. (Closes: #739666) + + -- Jerome Charaoui <jerome@riseup.net> Thu, 20 Feb 2014 23:06:16 -0500 diff --git a/debian/changelog.upstream b/debian/changelog.upstream new file mode 100644 index 0000000..2eec153 --- /dev/null +++ b/debian/changelog.upstream @@ -0,0 +1,297 @@ +2.8.1 +* Add `__version__`. +2.8 +* Added ipython >= 7.0.0 support
+* Various other minor fixes and improvements
+
+Python 2 support is now deprecated. **It will be removed in the next release.**
+ +2.7 +- Added ALE support.
+- Added mocp support.
+- Added awesome 4+ support.
+- Added support for `$pipestatus` in bash.
+- Recognize terminal-job mode.
+- Fixed i3 bindings when both i3-py and i3ipc are installed.
+- Fixed i3 bar bindings.
+- Fixed checking for battery in WSL.
+- Fixed spotify segment on Mac OS.
+- Fixed compiling C client with GCC-7. +2.6 +- Added support for new Vim modes.
+- Added ability to control output padding.
+- Added iTunes player segment.
+- Added support for tmux development builds.
+- Added a workaround for a fish bug sometimes occurring when using eval from
+ config.fish (upstream status unknown).
+- Added a workaround for tmux 2.4 bug: excessive CPU usage when having multiple
+ panes (also fixed upstream).
+- Fixed clean file status support in mercurial.
+- Fixed error when battery capacity is zero and using DBus.
+- Fixed mercurial command servers leakage.
+- Refactored awesome bindings to use powerline daemon.
+ +2.5.2 +- Fixed ipython-5.2\* support.
+ +2.5.1 +- Made more robust theme default.
+- Made it use hglib in place of unstable mercurial plugin API.
+- Fixed latest fish version support.
+- Some other fixes and documentation adjustments.
+ +2.5 +- Added IPython-5 support: in new major IPython version prompt code was largerly + reworked, resulting in different set of hacks needed for powerline to work. + IPython still does not have features needed to avoid using hacks. +- Added stash segment. +- Fixed trailing whitespace segment: it could incorrectly report trailing + whitespace if line ended with `b` or `'` on Python-3. +- Fixed weather segment and altered geoip service used. +- Fixed escaping used for status-left option on tmux-2.1 and higher. + +2.4 +- Added `short` parameter for `system_load` segment that leaves only one load + average number out of three. +- Added `powerline.segments.i3wm.scratchpad` segment used to list windows that + are currently on the scratchpad. +- Added support for multiple batteries in battery segment. +- Added `….i3wm.workspace` segment which describes single i3wm workspace and + workspaces lister. Old `….i3wm.workspaces` segment was deprecated. +- Added support for multiple monitors in lemonbar bindings. +- Added support for most recent tmux version (2.2). +- Fixed battery status support on some linux systems. +- Fixed MPD bindings: they sometimes were not able to handle names if they did + not fit ASCII. +- Fixed MPD bindings: they did not correctly get elapsed time. +- Fixed AttributeError on some systems: LC_MESSAGES is not always available. +- Fixed Mac OS-specific variant of spotify player support when Python-3 is + used. +- Fixed performance of the tabline. + +2.3 +- Added ability to hide domain part of the user name to common.env.user segment. +- Added ability to show conda environment to virtualenv segment. +- Added systemd service file. +- Added ability to detect internal_ip interface using default gateway. +- Added support for password-protected connections in mpd player bindings. +- Added `output` option to i3wm.workspaces segment to filter workspaces based on + their output. +- Added “charging” indicator to battery segment. +- Made tmux bindings show zoom indicator in window status. +- Fixed tmux bindings so that they support tmux-2.1. +- Fixed support for unicode characters in common.time.date segment. + +2.2 +- Added support for newest psutil version. +- Added support for non-SSL IMAP4 connection. +- Added support for clickable tab names in Vim. +- Added support for truncating tmux segments. +- Added support for new (i3ipc) module that interacts with i3. +- Added support for i3 modes. +- Fixed coloring of network_load segment. +- Fixed dash bindings on OS X. +- Fixed parsing numbers starting with 2 supplied by POWERLINE_*_OVERRIDES + environment variables. + +2.1.4 +- Fixed tmux support broken by 2.1.1. + +2.1.3 +- Fixed powerline-render arguments parsing. + +2.1.1 +- Added support for placing powerline on the left in qtile. +- Added qtile-1.9 support. +- Fixed tmux-2.0 support. +- Made it easier to run tests outside of travis. +- Added some missing highlight groups. +- Made it omit writing empty above lines. +- Fixed UnicodeEncodeError when running powerline-lint with non-ASCII characters + in error messages. +- Fixed code that replaces `&statusline` value: it now is able to replace + non-ASCII `&statusline`s as well. + +2.1 +- Added [BAR](https://github.com/LemonBoy/bar) support. +- Added support for pdb (Python debugger) prompt. +- Added more highlight groups to solarized colorscheme. +- Updated zpython bindings. +- Fixed C version of the client on non-Linux platforms. +- Fixed some errors in powerline-lint code. +- Fixed Python-2.6 incompatibilities in setup.py. + +2.0 +Added functionality: +- Added fbterm (framebuffer terminal emulator) support. +- Added theme with unicode-7.0 symbols. (Note: most software is not ready for it + yet, including all Python-2* versions.) +- Added support for PyPy3. +- Compiler is now called with CFLAGS from environment in setup.py if present. +- Added support for pyuv-1.*. +- Added a way to write error log to Vim global variable. +- `powerline` script now supports overrides from `$POWERLINE_CONFIG_OVERRIDES`, + `$POWERLINE_THEME_OVERRIDES` environment variables, so does `powerline-config` + script. +- `powerline` and `powerline-config` scripts now support taking paths from + `$POWERLINE_CONFIG_PATHS`. +- `powerline-lint` is now able to report dictionaries which were merged in to + form marked dictionary and what were the previous values of overridden values. +- Added support for Byron Rakitzis’ rc shell reimplementation. +- Added support for querying battery status on cygwin platform. + +Fixes: +- Vim: made all mode strings have equal width. +- Vim: fixed intermediate Vim-7.3* support. +- Fixed typo in battery segment implementation that made it not possible to fall + back to next implementation if UPower is not available, but dbus is. +- Fixed libzpython overrides and modes support. +- Fixed Python-3* support in zpython bindings. +- Fixed checking of themes located in user configuration directories in + `powerline-lint`. +- `powerline-daemon` now allows `--foreground` argument to be used in + conjunction with `--replace`. +- Fixed outdated tmux versions support (1.6 and 1.7). + +Incompatible changes: +- Removed CtrlP support. If one wants to readd it make sure to fix problems + listed in 4e6b0a7ec8f2fa54053e4162c8b604a85e8d667d. +- `highlight_group` key in segment description (both in configuration and in + function output) was renamed to `highlight_groups` (note the trailing `s`). +- `attr` key in colorschemes was renamed to `attrs` key (note the trailing `s`). +- All highlight groups looking like `foo.bar` were renamed to `foo:bar`: dot in + highlight group names is no longer allowed. +- `detect` argument value was renamed to `auto` in network segments. +- `$POWERLINE_COMMAND` is now a single path to one executable. No arguments to + the executable are allowed inside `$POWERLINE_COMMAND`. Overrides using + argument to `$POWERLINE_COMMAND` are now deprecated. +- In place of overrides being part of `$POWERLINE_COMMAND` variable all shell + and tmux bindings now support overrides from `$POWERLINE_CONFIG_OVERRIDES` and + `$POWERLINE_THEME_OVERRIDES` environment variables. +- In place of config paths specified as a part of `$POWERLINE_COMMAND` variable + paths are now taken from `$POWERLINE_CONFIG_PATHS` environment variable. +- `$POWERLINE_CONFIG` was replaced with `$POWERLINE_CONFIG_OVERRIDES` for + zpython bindings when talking about overrides. +- `$POWERLINE_THEME_CONFIG` was renamed to `$POWERLINE_THEME_OVERRIDES` in + zpython bindings. +- `$POWERLINE_CONFIG` was replaced with `$POWERLINE_CONFIG_COMMAND` in all shell + bindings when talking about path to `powerline-config` executable. +- In Vim in place of `g:powerline_theme_overrides__{theme_name}` per-theme + dictionaries `g:powerline_theme_overrides` dictionary should be used. Theme + names in this case are top-level keys in the new dictionary. +- In IPython configuration paths list can be specified via `config_paths` + option, not via `paths` option. +- Some long options that defined overrides were renamed: + - `--theme_option` was renamed to `--theme-override`. + - `--config` was renamed to `--config-override`. + Note that these options are deprecated and shall be used for testing purposes + only. +- All long options that used to have underscore in them are now using + HYPHEN-MINUS instead. I.e. + - `--config_path` was renamed to `--config-path`. + - `--last_pipe_status` was renamed to `--last-pipe-status`. + - `--renderer_arg` was renamed to `--renderer-arg`. + - `--theme_option` was renamed to `--theme-override`. + Short options were not touched. +- All segments from `powerline.segments.common` were removed. Now they live in + `powerline.segments.common` submodules: e.g. + `powerline.segments.common.weather` is now + `powerline.segments.common.wthr.weather`. List of available segments can be + found in documentation, section [Common segments](http://powerline.readthedocs.org/en/master/configuration/segments/common.html). +- Segments `powerline.segments.common.now_playing` and + `powerline.segments.common.players.now_playing` were removed. In place of them + all players should be accessed via their own segments. List of segments is + available in [Media players](http://powerline.readthedocs.org/en/master/configuration/segments/common.html#module-powerline.segments.common.players). + +1.3.1 +- Fixed Command-T finder labels: now `CommandT::` and `Finder::` parts are + removed because all finders were moved to `CommandT::Finder` module in place + of just `CommandT`. +- Fixed dbus players support: it is now OK not to have album title. +- Characters that form the surrogate pair that represents some character above + U+10000 in UCS-2 Python builds are no longer considered non-printable. +- Added support for calculating lengths of the characters above U+10000 in UCS-2 + Python builds. +- Made linter support characters above U+10000 if they are represented as + a `\uXXXX\uXXXX` surrogate pair in JSON. +- Made linter validate that all characters in some strings are printable. +- Made `powerline-daemon` work in FreeBSD: only use abstract socket namespace on + linux systems. +- Fixed `string` and `safe_unicode` functions in Python-3. +- Fixed colors and alignment in tmux powerline bindings. + +1.3 +- Added support for Command-T plugin statusline. +- Added support for csv files (displays current column and column header if + applicable). +- Added support for capslock plugin. +- Added support for `ZLE_RPROMPT_INDENT` in zsh bindings. +- Made tmux bindings respect powerline configuration (powerline colorschemes and + left dividers configuration). +- Made tagbar segment use caching. +- Fixed build in case no C compiler was found. +- Fixed old Vims support. +- Fixed non-unicode directories support in non-zpython shell bindings when using + Python-2. +- Fixed tcsh prompt escaping: also escapes the bang. +- Various improvements useful for debugging. +- Improved style of help messages. +- Added manual pages. + +1.2 +Changes: +- When guessing used network interface for internal_ip segment the priority of + various VM bridge interfaces was lowered. +- Added `ignore_statuses` option that makes one able to prevent certain + repository statutes (e.g. `"U"`: only modification is unknown files) from + marking repository as dirty. +- Refactored `powerline.segments.common.players` module: deprecated + `now_playing` segment, replacing it with segments with names identical to + player names (e.g. `powerline.segments.common.players.mpd`). `now_playing` + segment will continue to work until powerline-2.0 though. +- Fixed `powerline.segments.tmux.attached_clients` segment: it was not working + at all due to missing argument in one function call. +- Fixed regular expression used to detect NERDTree buffers. + +1.1 +Changes: +- Deprecated `powerline.segments.common`, moved all segments into deeply nested + modules (e.g. `powerline.segments.common.vcs`). +- Added support for different tag formats provided by tagbar plugin. +- Improved non-unicode locales handling. +- Improved non-unicode filenames handling. +- Improved Vim troubleshooting: it now runs powerline-lint automatically. +- Fixed weather segment: it was remembering its argument from the first run and + never allowed to change it. +- Fixed Uv watcher: it raised an exception for nonexistent files. +- Fixed zsh named directories handling when AUTO_NAME_DIRS option is set. +- Fixed --config_path handling when using daemon: in some cases it was + remembered once and never changed. +- Fixed Vim overrides when Vim is using Python-3*. +- Fixed Uv watcher on Python-3*: it used os.path.walk which was removed. +- Refactored and documented powerline.lint. + +1.0 +Current features include: +- Application support: vim, ipython, awesome, qtile, i3, tmux, zsh, fish, tcsh, + bash and some other shells. +- Powerline daemon that makes tmux and shell bindings work faster. +- Automatic statusline shrinking. +- Segments: + - Branch and file status segments support for git, mercurial and bazaar + version control systems. + - Battery support for linux (dbus and /sys/class/power_supply), OS X and + Windows platforms. + - Player support: CMUS, MPD, Spotify, Clementine, Rhythmobox, RDIO. + - Support for displaying weather. + - Current directory display in shells, including zsh named directories + support. + - Vim plugins support: Ctrl-P, Gundo, NerdTree, Syntastic, TagBar. + - A huge number of other segments. +- Automatic configuration reloading. +- Merging configuration from various locations. +- Filesystem watchers for configuration reloading and VCS segments: + - INotify-based watcher. + - LibUv-based watcher. + - Stat-based watcher (only files). + diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..0f1aeb5 --- /dev/null +++ b/debian/clean @@ -0,0 +1,5 @@ +powerline.1 +powerline-config.1 +powerline-daemon.1 +powerline-lint.1 +powerline-render.1 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..11346c6 --- /dev/null +++ b/debian/control @@ -0,0 +1,96 @@ +Source: powerline +Section: shells +Priority: optional +Maintainer: Debian Python Team <team+python@tracker.debian.org> +Uploaders: Jerome Charaoui <jerome@riseup.net>, + Samuel Henrique <samueloph@debian.org> +Build-Depends: + debhelper-compat (= 13), + dh-python, + python3-all, + python3-psutil, + python3-setuptools, + python3-sphinx, + python3-sphinx-rtd-theme, + python3-pexpect, +Rules-Requires-Root: no +Standards-Version: 4.5.1 +Homepage: https://github.com/powerline/powerline +Vcs-Browser: https://salsa.debian.org/python-team/packages/powerline +Vcs-Git: https://salsa.debian.org/python-team/packages/powerline.git + +Package: fonts-powerline +Section: fonts +Architecture: all +Multi-Arch: foreign +Depends: + fontconfig, + ${misc:Depends}, +Description: prompt and statusline utility (symbols font) + Powerline is a statusline plugin for vim, and provides statuslines and prompts + for several other applications, including zsh, bash, tmux, IPython, Awesome and + Qtile. + . + This package contains the font which provides symbols used by Powerline. It + also contains the fontconfig settings that makes these symbols available as + part of other installed fonts. + +Package: powerline +Architecture: any +Depends: + python3-powerline, + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends}, +Recommends: + fonts-powerline, +Suggests: + powerline-doc, + python3-i3ipc, + vim-addon-manager, +Enhances: + awesome, + bash, + i3, + ipython, + tmux, + vim-nox, + zsh, +Description: prompt and statusline utility + Powerline is a statusline plugin for vim, and provides statuslines and prompts + for several other applications, including zsh, bash, tmux, IPython, Awesome and + Qtile. + +Package: powerline-doc +Section: doc +Architecture: all +Depends: + ${misc:Depends}, + ${sphinxdoc:Depends}, +Breaks: + python-powerline-doc (<< 2.6-2~), +Replaces: + python-powerline-doc (<< 2.6-2~), +Description: prompt and statusline utility (documentation) + Powerline is a statusline plugin for vim, and provides statuslines and prompts + for several other applications, including zsh, bash, tmux, IPython, Awesome and + Qtile. + . + This package contains the HTML documentation, incorporates instructions on how + to customize Powerline for various applications. + +Package: python3-powerline +Section: python +Architecture: all +Depends: + python3-psutil, + ${misc:Depends}, + ${python3:Depends}, +Suggests: + powerline-doc, +Description: prompt and statusline utility (Python 3.x module) + Powerline is a statusline plugin for vim, and provides statuslines and prompts + for several other applications, including zsh, bash, tmux, IPython, Awesome and + Qtile. + . + This package contains the Powerline module for Python 3.x. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e8d5038 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: powerline +Source: https://github.com/powerline/powerline + +Files: * +Copyright: 2013-2016 Kim Silkebækken and other contributors +License: Expat + +Files: debian/* +Copyright: 2014-2018 Jerome Charaoui <jerome@riseup.net> +License: Expat + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/debian/fonts-powerline.install b/debian/fonts-powerline.install new file mode 100644 index 0000000..cc300ca --- /dev/null +++ b/debian/fonts-powerline.install @@ -0,0 +1,2 @@ +font/10-powerline-symbols.conf etc/fonts/conf.avail +font/PowerlineSymbols.otf usr/share/fonts/opentype diff --git a/debian/fonts-powerline.links b/debian/fonts-powerline.links new file mode 100644 index 0000000..37deb9d --- /dev/null +++ b/debian/fonts-powerline.links @@ -0,0 +1 @@ +etc/fonts/conf.avail/10-powerline-symbols.conf etc/fonts/conf.d/10-powerline-symbols.conf diff --git a/debian/fonts-powerline.triggers b/debian/fonts-powerline.triggers new file mode 100644 index 0000000..fbe4ce1 --- /dev/null +++ b/debian/fonts-powerline.triggers @@ -0,0 +1 @@ +activate-noawait /usr/share/fonts diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..6cbc70d --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,19 @@ +[DEFAULT] +debian-branch=debian/master +pristine-tar = True +cleaner = /bin/true + +[buildpackage] +sign-tags = True +export-dir = ../build-area/ +ignore-branch = True + +[import-orig] +filter-pristine-tar = True + +[pq] +patch-numbers = False + +[dch] +multimaint-merge = True +ignore-branch = True diff --git a/debian/patches/0001-bindings_path.patch b/debian/patches/0001-bindings_path.patch new file mode 100644 index 0000000..4955245 --- /dev/null +++ b/debian/patches/0001-bindings_path.patch @@ -0,0 +1,17 @@ +Author: Jerome Charaoui <jerome@riseup.net> +Description: Adjusts bindings path for Debian +Bug-Debian: https://bugs.debian.org/766637 +Forwarded: not-needed + +diff -Naurp powerline.orig/powerline/config.py powerline/powerline/config.py +--- powerline.orig/powerline/config.py ++++ powerline/powerline/config.py +@@ -5,6 +5,6 @@ import os + + + POWERLINE_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +-BINDINGS_DIRECTORY = os.path.join(POWERLINE_ROOT, 'powerline', 'bindings') ++BINDINGS_DIRECTORY = '/usr/share/powerline/bindings' + TMUX_CONFIG_DIRECTORY = os.path.join(BINDINGS_DIRECTORY, 'tmux') + DEFAULT_SYSTEM_CONFIG_DIR = None + diff --git a/debian/patches/0002-config_files_paths.patch b/debian/patches/0002-config_files_paths.patch new file mode 100644 index 0000000..9399db2 --- /dev/null +++ b/debian/patches/0002-config_files_paths.patch @@ -0,0 +1,19 @@ +Author: Jerome Charaoui <jerome@riseup.net> +Description: Adds Debian configuration paths +Bug-Debian: https://bugs.debian.org/758551, https://bugs.debian.org/899178 +Forwarded: not-needed + +diff -Naurp powerline.orig/powerline/__init__.py powerline/powerline/__init__.py +--- powerline.orig/powerline/__init__.py ++++ powerline/powerline/__init__.py +@@ -148,8 +148,8 @@ def get_config_paths(): + config_dirs = os.environ.get('XDG_CONFIG_DIRS', DEFAULT_SYSTEM_CONFIG_DIR) + if config_dirs is not None: + config_paths[:0] = reversed([join(d, 'powerline') for d in config_dirs.split(':')]) +- plugin_path = join(os.path.realpath(os.path.dirname(__file__)), 'config_files') +- config_paths.insert(0, plugin_path) ++ config_paths.insert(0, '/etc/powerline') ++ config_paths.insert(0, '/usr/share/powerline/config_files') + return config_paths + + diff --git a/debian/patches/0003-add_powerline_compile_flags.patch b/debian/patches/0003-add_powerline_compile_flags.patch new file mode 100644 index 0000000..955824e --- /dev/null +++ b/debian/patches/0003-add_powerline_compile_flags.patch @@ -0,0 +1,20 @@ +Author: Jerome Charaoui <jerome@riseup.net> +Description: Adds CPPFLAGS and LDFLAGS to scripts/powerline compiler +Forwarded: not-needed + +diff -Naurp powerline.orig/setup.py powerline/setup.py +--- powerline.orig/setup.py ++++ powerline/setup.py +@@ -30,9 +30,11 @@ def compile_client(): + from distutils.ccompiler import new_compiler + compiler = new_compiler().compiler + cflags = os.environ.get('CFLAGS', str('-O3')) ++ ldflags = os.environ.get('LDFLAGS', '') ++ cppflags = os.environ.get('CPPFLAGS', '') + # A normal split would do a split on each space which might be incorrect. The + # shlex will not split if a space occurs in an arguments value. +- subprocess.check_call(compiler + shlex.split(cflags) + ['client/powerline.c', '-o', 'scripts/powerline']) ++ subprocess.check_call(compiler + shlex.split(cflags) + shlex.split(ldflags) + shlex.split(cppflags) + ['client/powerline.c', '-o', 'scripts/powerline']) + + try: + compile_client() diff --git a/debian/patches/0004-set_default_shell_theme.patch b/debian/patches/0004-set_default_shell_theme.patch new file mode 100644 index 0000000..c1ca003 --- /dev/null +++ b/debian/patches/0004-set_default_shell_theme.patch @@ -0,0 +1,17 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Setting default shell theme to default_leftonly +Bug-Debian: https://bugs.debian.org/899153 +Forwarded: not-needed + +diff -Naurp powerline.orig/powerline/config_files/config.json powerline/powerline/config_files/config.json +--- powerline.orig/powerline/config_files/config.json ++++ powerline/powerline/config_files/config.json +@@ -18,7 +18,7 @@ + }, + "shell": { + "colorscheme": "default", +- "theme": "default", ++ "theme": "default_leftonly", + "local_themes": { + "continuation": "continuation", + "select": "select" diff --git a/debian/patches/0005-use_python3_by_default.patch b/debian/patches/0005-use_python3_by_default.patch new file mode 100644 index 0000000..7dc4886 --- /dev/null +++ b/debian/patches/0005-use_python3_by_default.patch @@ -0,0 +1,95 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Switching to use python3 by default +Bug-Debian: https://bugs.debian.org/899165 +Forwarded: not-needed + +diff -Naurp powerline.orig/client/powerline.py powerline/client/powerline.py +--- powerline.orig/client/powerline.py ++++ powerline/client/powerline.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/powerline/bindings/awesome/powerline-awesome.py powerline/powerline/bindings/awesome/powerline-awesome.py +--- powerline.orig/powerline/bindings/awesome/powerline-awesome.py ++++ powerline/powerline/bindings/awesome/powerline-awesome.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/powerline/bindings/bar/powerline-bar.py powerline/powerline/bindings/bar/powerline-bar.py +--- powerline.orig/powerline/bindings/bar/powerline-bar.py ++++ powerline/powerline/bindings/bar/powerline-bar.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/powerline/bindings/i3/powerline-i3.py powerline/powerline/bindings/i3/powerline-i3.py +--- powerline.orig/powerline/bindings/i3/powerline-i3.py ++++ powerline/powerline/bindings/i3/powerline-i3.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/powerline/bindings/lemonbar/powerline-lemonbar.py powerline/powerline/bindings/lemonbar/powerline-lemonbar.py +--- powerline.orig/powerline/bindings/lemonbar/powerline-lemonbar.py ++++ powerline/powerline/bindings/lemonbar/powerline-lemonbar.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/powerline/bindings/pdb/__main__.py powerline/powerline/bindings/pdb/__main__.py +--- powerline.orig/powerline/bindings/pdb/__main__.py ++++ powerline/powerline/bindings/pdb/__main__.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/scripts/powerline-config powerline/scripts/powerline-config +--- powerline.orig/scripts/powerline-config ++++ powerline/scripts/powerline-config +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/scripts/powerline-daemon powerline/scripts/powerline-daemon +--- powerline.orig/scripts/powerline-daemon ++++ powerline/scripts/powerline-daemon +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/scripts/powerline-lint powerline/scripts/powerline-lint +--- powerline.orig/scripts/powerline-lint ++++ powerline/scripts/powerline-lint +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + from __future__ import (unicode_literals, division, absolute_import, print_function) + +diff -Naurp powerline.orig/scripts/powerline-render powerline/scripts/powerline-render +--- powerline.orig/scripts/powerline-render ++++ powerline/scripts/powerline-render +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # vim:fileencoding=utf-8:noet + + from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/debian/patches/0006-privacy-breach-fixes.patch b/debian/patches/0006-privacy-breach-fixes.patch new file mode 100644 index 0000000..1c74764 --- /dev/null +++ b/debian/patches/0006-privacy-breach-fixes.patch @@ -0,0 +1,17 @@ +Description: fix documentation privacy breaches +Author: Jerome Charaoui <jerome@riseup.net> +Last-Update: 2018-05-23 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep +--- a/docs/source/conf.py ++++ b/docs/source/conf.py +@@ -63,8 +63,7 @@ if not on_rtd: # only import and set the theme if we’re building docs locally + if on_rtd or html_theme == 'sphinx_rtd_theme': + html_context = { + 'css_files': [ +- 'https://media.readthedocs.org/css/sphinx_rtd_theme.css', +- 'https://media.readthedocs.org/css/readthedocs-doc-embed.css', ++ '_static/css/css/sphinx_rtd_theme.css', + '_static/css/theme_overrides.css', + ], + } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..26bd6ab --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,6 @@ +0001-bindings_path.patch +0002-config_files_paths.patch +0003-add_powerline_compile_flags.patch +0004-set_default_shell_theme.patch +0005-use_python3_by_default.patch +0006-privacy-breach-fixes.patch 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..7abab2f --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,43 @@ +# 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-2020. +# +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: 2020-02-09 23:18+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.2.4\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 +msgid "" +"powerline can be enabled globally for all users of certain applications on " +"this system." +msgstr "" +"powerline можно включить глобально для всех пользователей определённых " +"приложений данной системы." + 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 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ee68b32 --- /dev/null +++ b/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=powerline + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "@$(SOURCE_DATE_EPOCH)") + +%: + dh $@ --with python3,sphinxdoc --buildsystem=pybuild + +update-changelog: + curl -s "https://api.github.com/repos/powerline/powerline/releases" | jq -r '.[] | .tag_name, .body' - > debian/changelog.upstream + +# Build sphinx HTML documentation +override_dh_installdocs: + PYTHONPATH=. sphinx-build -b html -N docs/source docs/build/html + dh_installdocs -ppowerline-doc docs/build/html + dh_installdocs -A + +override_dh_installchangelogs: + dh_installchangelogs -ppowerline debian/changelog.upstream + dh_installchangelogs -A + +override_dh_installman: + PYTHONPATH=. sphinx-build -D today="$(BUILD_DATE)" -b man -N docs/source docs/build/man + ln -s powerline.1 docs/build/man/powerline-render.1 + dh_installman -p powerline docs/build/man/* + +# Remove scripts and bindings from library packages +override_dh_install: + dh_install -Xscripts/powerline-release.py + rm -rf debian/python*-powerline/usr/bin + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/awesome + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/bash + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/bar + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/fish + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/i3 + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/lemonbar + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/qtile + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/rc + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/shell + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/tcsh + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/tmux/*.conf + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/vim/plugin + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/vim/autoload + rm -f debian/python*-powerline/usr/lib/*/dist-packages/powerline/bindings/zsh/powerline.zsh + rm -rf debian/python*-powerline/usr/lib/*/dist-packages/powerline/config_files + +# Remove files generated during build +override_dh_auto_clean: + dh_auto_clean + find . -name "*.pyc" -delete + rm -rf build docs/build .pybuild Powerline.egg-info powerline_status.egg-info scripts/powerline tests/shell diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..33c3a64 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..db282a4 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/powerline/powerline/issues +Bug-Submit: https://github.com/powerline/powerline/issues/new +Repository: https://github.com/powerline/powerline.git +Repository-Browse: https://github.com/powerline/powerline diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..82fef5f --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/(?:.*?)?v?(\d[\d.]+)\.tar\.gz/powerline-$1.tar.gz/ \ + https://github.com/powerline/powerline/tags (?:.*/)?v?(\d[\d\.]*)\.tar\.gz |