From 9ed7df69c24a0d92e91c63805c384e9bc87360e8 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Thu, 7 Jan 2021 13:56:45 +0000 Subject: [PATCH] Import polybar_3.5.4-1.debian.tar.xz [dgit import tarball polybar 3.5.4-1 polybar_3.5.4-1.debian.tar.xz] --- changelog | 95 ++++++ clean | 5 + control | 45 +++ copyright | 157 +++++++++ examples/config | 435 ++++++++++++++++++++++++ gbp.conf | 15 + patches/disable_config_generation.patch | 28 ++ patches/dont_build_html_doc.patch | 27 ++ patches/redact_build_flags.patch | 23 ++ patches/series | 3 + polybar.install | 1 + rules | 25 ++ salsa-ci.yml | 4 + source/format | 1 + upstream/metadata | 9 + watch | 2 + 16 files changed, 875 insertions(+) create mode 100644 changelog create mode 100644 clean create mode 100644 control create mode 100644 copyright create mode 100644 examples/config create mode 100644 gbp.conf create mode 100644 patches/disable_config_generation.patch create mode 100644 patches/dont_build_html_doc.patch create mode 100644 patches/redact_build_flags.patch create mode 100644 patches/series create mode 100644 polybar.install create mode 100755 rules create mode 100644 salsa-ci.yml create mode 100644 source/format create mode 100644 upstream/metadata create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..b0be675 --- /dev/null +++ b/changelog @@ -0,0 +1,95 @@ +polybar (3.5.4-1) unstable; urgency=medium + + * New upstream version 3.5.4 + + -- Utkarsh Gupta Thu, 07 Jan 2021 19:26:45 +0530 + +polybar (3.5.3-1) unstable; urgency=medium + + * New upstream version 3.5.3 + * Drop BD on git + + -- Utkarsh Gupta Thu, 24 Dec 2020 00:31:51 +0530 + +polybar (3.5.2-1) unstable; urgency=medium + + * New upstream version 3.5.2 + * d/watch: Upstream now provides compressed tarballs + + -- Samuel Henrique Tue, 22 Dec 2020 00:11:49 +0000 + +polybar (3.5.0-2) unstable; urgency=medium + + [ Adrian Bunk ] + * Link against atomic on platforms that doesn't have __atomic* + (closes: #976988) + + -- Samuel Henrique Wed, 09 Dec 2020 18:23:48 +0000 + +polybar (3.5.0-1) unstable; urgency=medium + + [ Utkarsh Gupta ] + * New upstream version 3.5.0 + * Drop patch that has been merged upstream + * Refresh d/patches + + [ Samuel Henrique ] + * Bump Standards-Version to 4.5.1 + * d/control: Add git build-dep + * d/p/disable_config_generation.patch: Add Forwarded field with + 'not-needed' value + * d/p/dont_build_html_doc.patch: Add Forwarded field with 'not-needed' + value + * d/copyright: Remove mention of libjsoncpp, not vendored anymore + + -- Samuel Henrique Tue, 08 Dec 2020 18:47:21 +0000 + +polybar (3.4.3-2) unstable; urgency=medium + + * With this release, the only reproducible build issue left is a differing + NT_GNU_BUILD_ID. + * d/rules: Add reproducible=+fixfilepath flag for reproducibility. + * d/p/redact_build_flags.patch: New patch for reproducible builds. + * d/watch: Fix d/watch to correctly get upstream's tarball. + + -- Samuel Henrique Tue, 09 Jun 2020 23:04:58 +0100 + +polybar (3.4.3-1) unstable; urgency=medium + + [ Samuel Henrique ] + * d/watch: Fix to get the correct tarball with the git submodules included + + [ Utkarsh Gupta ] + * New upstream version 3.4.3 + * Bump dh-compat to 13 + * Refresh d/patches + + -- Utkarsh Gupta Fri, 15 May 2020 06:37:45 +0530 + +polybar (3.4.2-4) unstable; urgency=medium + + * Source-only upload. + + -- Utkarsh Gupta Mon, 13 Apr 2020 01:51:36 +0530 + +polybar (3.4.2-3) unstable; urgency=medium + + * Stop generating example config at build time + * d/p/disable_config_generation.patch: New patch, unblock reproducible build + + -- Samuel Henrique Sun, 12 Apr 2020 19:13:27 +0100 + +polybar (3.4.2-2) unstable; urgency=medium + + * d/copyright: Add license information for lib/i3ipcpp/3rd/auss + + -- Samuel Henrique Thu, 09 Apr 2020 22:14:11 +0100 + +polybar (3.4.2-1) unstable; urgency=medium + + * Initial release. (Closes: #856179), + Many thanks to Ayose and Jason Pleau + for having worked on the packaging of polybar for Debian, which was used + as a base for this one. + + -- Samuel Henrique Sat, 22 Feb 2020 16:14:56 +0000 diff --git a/clean b/clean new file mode 100644 index 0000000..8879c4e --- /dev/null +++ b/clean @@ -0,0 +1,5 @@ +lib/xpp/generators/__pycache__/ +lib/xpp/include/xpp/proto/composite.hpp +lib/xpp/include/xpp/proto/randr.hpp +lib/xpp/include/xpp/proto/x.hpp +lib/xpp/include/xpp/proto/xkb.hpp diff --git a/control b/control new file mode 100644 index 0000000..344e298 --- /dev/null +++ b/control @@ -0,0 +1,45 @@ +Source: polybar +Section: x11 +Priority: optional +Homepage: https://polybar.github.io/ +Maintainer: Samuel Henrique +Uploaders: Utkarsh Gupta +Build-Depends: cmake, + debhelper-compat (= 13), + i3-wm, + libasound2-dev, + libcairo2-dev, + libcurl4-openssl-dev, + libjsoncpp-dev, + libmpdclient-dev, + libnl-genl-3-dev, + libpulse-dev, + libxcb-composite0-dev, + libxcb-cursor-dev, + libxcb-damage0-dev, + libxcb-ewmh-dev, + libxcb-icccm4-dev, + libxcb-image0-dev, + libxcb-randr0-dev, + libxcb-render0-dev, + libxcb-sync-dev, + libxcb-util0-dev, + libxcb-xkb-dev, + libxcb-xrm-dev, + pkg-config, + python3-sphinx, + python3-xcbgen, + xcb-proto +Standards-Version: 4.5.1 +Rules-Requires-Root: no +Vcs-Browser: https://salsa.debian.org/debian/polybar +Vcs-Git: https://salsa.debian.org/debian/polybar.git + +Package: polybar +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends} +Description: Fast and easy-to-use tool for creating status bars + Polybar aims to help users build beautiful and highly customizable status bars + for their desktop environment, without the need of having a black belt in + shell scripting. diff --git a/copyright b/copyright new file mode 100644 index 0000000..303b22f --- /dev/null +++ b/copyright @@ -0,0 +1,157 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: polybar +Source: https://github.com/jaagr/polybar/ + +Files: * +Copyright: 2016 Michael Carlberg +License: Expat + +Files: lib/i3ipcpp/* +Copyright: 2015 Sergey Naumov + 2018 Michael Carlberg and contributors +License: Expat + +Files: lib/xpp/* +Copyright: 2018 Jochen Keil +License: Expat + +Files: lib/xpp/cmake/FindX11_XCB.cmake +Copyright: 2011 Fredrik Höglund + 2008 Helio Chissini de Castro, + 2007 Matthias Kretz, +License: BSD-3-Clause + +Files: lib/xpp/cmake/FindXCB.cmake +Copyright: 2011 Fredrik Höglund + 2013 Martin Gräßlin +License: BSD-3-Clause + +Files: lib/concurrentqueue/include/moodycamel/concurrentqueue.h +Copyright: 2013-2016 Cameron Desrochers +License: BSD-2-Clause + +Files: lib/concurrentqueue/include/moodycamel/blockingconcurrentqueue.h +Copyright: 2015 Jeff Preshing + 2015-2016 Cameron Desrochers +License: BSD-2-Clause and Zlib + +Files: debian/* +Copyright: 2019 Ayose + 2020 Jason Pleau + 2020 Samuel Henrique +License: Expat + +Files: lib/i3ipcpp/3rd/auss/* +Copyright: This is free and unencumbered software released into the public domain. +License: Unlicense + +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. + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: Zlib + zlib License + . + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +License: BSD-2-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: Unlicense + This is free and unencumbered software released into the public domain. + . + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + . + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + . + 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 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. + . + For more information, please refer to diff --git a/examples/config b/examples/config new file mode 100644 index 0000000..b174db1 --- /dev/null +++ b/examples/config @@ -0,0 +1,435 @@ +;========================================================== +; +; THIS IS AN EXAMPLE CONFIGURATION FILE! +; IT IS NOT SUPPOSED TO WORK OUT OF THE BOX SINCE IS CONTAINS +; SETTINGS THAT ARE SPECIFIC TO THE MACHINE WHICH WAS USED +; TO GENERATE IT. +; Please refer to the web documentation hosted at: +; https://github.com/polybar/polybar#configuration +; and +; https://github.com/polybar/polybar/wiki/Configuration +; if you want to automatically generate one for you. +; +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = #222 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/example] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 27 +;offset-x = 1% +;offset-y = 1% +radius = 6.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 + +modules-left = bspwm i3 +modules-center = mpd +modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu + +tray-position = right +tray-padding = 2 +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-prefix-underline = ${colors.secondary} + +label-layout = %layout% +label-layout-underline = ${colors.secondary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${colors.secondary} + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/bspwm] +type = internal/bspwm + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-occupied = %index% +label-occupied-padding = 2 + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +; Separator in between workspaces +; label-separator = | + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +;pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +; Separator in between workspaces +; label-separator = | + + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format =