Import polybar_3.5.5-1.debian.tar.xz
authorUtkarsh Gupta <utkarsh@debian.org>
Mon, 1 Mar 2021 21:22:57 +0000 (21:22 +0000)
committerUtkarsh Gupta <utkarsh@debian.org>
Mon, 1 Mar 2021 21:22:57 +0000 (21:22 +0000)
[dgit import tarball polybar 3.5.5-1 polybar_3.5.5-1.debian.tar.xz]

16 files changed:
changelog [new file with mode: 0644]
clean [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
examples/config [new file with mode: 0644]
gbp.conf [new file with mode: 0644]
patches/disable_config_generation.patch [new file with mode: 0644]
patches/dont_build_html_doc.patch [new file with mode: 0644]
patches/redact_build_flags.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
polybar.install [new file with mode: 0644]
rules [new file with mode: 0755]
salsa-ci.yml [new file with mode: 0644]
source/format [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..72b3aa1
--- /dev/null
+++ b/changelog
@@ -0,0 +1,101 @@
+polybar (3.5.5-1) unstable; urgency=medium
+
+  * New upstream version 3.5.5
+
+ -- Utkarsh Gupta <utkarsh@debian.org>  Tue, 02 Mar 2021 02:52:57 +0530
+
+polybar (3.5.4-1) unstable; urgency=medium
+
+  * New upstream version 3.5.4
+
+ -- Utkarsh Gupta <utkarsh@debian.org>  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 <utkarsh@debian.org>  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 <samueloph@debian.org>  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 <samueloph@debian.org>  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 <samueloph@debian.org>  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 <samueloph@debian.org>  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 <utkarsh@debian.org>  Fri, 15 May 2020 06:37:45 +0530
+
+polybar (3.4.2-4) unstable; urgency=medium
+
+  * Source-only upload.
+
+ -- Utkarsh Gupta <utkarsh@debian.org>  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 <samueloph@debian.org>  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 <samueloph@debian.org>  Thu, 09 Apr 2020 22:14:11 +0100
+
+polybar (3.4.2-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #856179),
+    Many thanks to Ayose <ayosec@gmail.com> and Jason Pleau <jason@jpleau.ca>
+    for having worked on the packaging of polybar for Debian, which was used
+    as a base for this one.
+
+ -- Samuel Henrique <samueloph@debian.org>  Sat, 22 Feb 2020 16:14:56 +0000
diff --git a/clean b/clean
new file mode 100644 (file)
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 (file)
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 <samueloph@debian.org>
+Uploaders: Utkarsh Gupta <utkarsh@debian.org>
+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 (file)
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 <fredrik@kde.org>
+           2008 Helio Chissini de Castro, <helio@kde.org>
+           2007 Matthias Kretz, <kretz@kde.org>
+License: BSD-3-Clause
+
+Files: lib/xpp/cmake/FindXCB.cmake
+Copyright: 2011 Fredrik Höglund <fredrik@kde.org>
+           2013 Martin Gräßlin <mgraesslin@kde.org>
+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 <ayosec@gmail.com>
+           2020 Jason Pleau <jason@jpleau.ca>
+           2020 Samuel Henrique <samueloph@debian.org>
+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 <http://unlicense.org/>
diff --git a/examples/config b/examples/config
new file mode 100644 (file)
index 0000000..b174db1
--- /dev/null
@@ -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 = <label-state> <label-mode>
+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 = <label-song>  <icon-prev> <icon-stop> <toggle> <icon-next>
+
+icon-prev = 
+icon-stop = 
+icon-play = 
+icon-pause = 
+icon-next = 
+
+label-song-maxlen = 25
+label-song-ellipsis = true
+
+[module/xbacklight]
+type = internal/xbacklight
+
+format = <label> <bar>
+label = BL
+
+bar-width = 10
+bar-indicator = |
+bar-indicator-foreground = #fff
+bar-indicator-font = 2
+bar-fill = ─
+bar-fill-font = 2
+bar-fill-foreground = #9f78e1
+bar-empty = ─
+bar-empty-font = 2
+bar-empty-foreground = ${colors.foreground-alt}
+
+[module/backlight-acpi]
+inherit = module/xbacklight
+type = internal/backlight
+card = intel_backlight
+
+[module/cpu]
+type = internal/cpu
+interval = 2
+format-prefix = " "
+format-prefix-foreground = ${colors.foreground-alt}
+format-underline = #f90000
+label = %percentage:2%%
+
+[module/memory]
+type = internal/memory
+interval = 2
+format-prefix = " "
+format-prefix-foreground = ${colors.foreground-alt}
+format-underline = #4bffdc
+label = %percentage_used%%
+
+[module/wlan]
+type = internal/network
+interface = wlp59s0
+interval = 3.0
+
+format-connected = <ramp-signal> <label-connected>
+format-connected-underline = #9f78e1
+label-connected = %essid%
+
+format-disconnected =
+;format-disconnected = <label-disconnected>
+;format-disconnected-underline = ${self.format-connected-underline}
+;label-disconnected = %ifname% disconnected
+;label-disconnected-foreground = ${colors.foreground-alt}
+
+ramp-signal-0 = 
+ramp-signal-1 = 
+ramp-signal-2 = 
+ramp-signal-3 = 
+ramp-signal-4 = 
+ramp-signal-foreground = ${colors.foreground-alt}
+
+[module/eth]
+type = internal/network
+interface = enp0s31f6
+interval = 3.0
+
+format-connected-underline = #55aa55
+format-connected-prefix = " "
+format-connected-prefix-foreground = ${colors.foreground-alt}
+label-connected = %local_ip%
+
+format-disconnected =
+;format-disconnected = <label-disconnected>
+;format-disconnected-underline = ${self.format-connected-underline}
+;label-disconnected = %ifname% disconnected
+;label-disconnected-foreground = ${colors.foreground-alt}
+
+[module/date]
+type = internal/date
+interval = 5
+
+date =
+date-alt = " %Y-%m-%d"
+
+time = %H:%M
+time-alt = %H:%M:%S
+
+format-prefix = 
+format-prefix-foreground = ${colors.foreground-alt}
+format-underline = #0a6cf5
+
+label = %date% %time%
+
+[module/pulseaudio]
+type = internal/pulseaudio
+
+format-volume = <label-volume> <bar-volume>
+label-volume = VOL %percentage%%
+label-volume-foreground = ${root.foreground}
+
+label-muted = 🔇 muted
+label-muted-foreground = #666
+
+bar-volume-width = 10
+bar-volume-foreground-0 = #55aa55
+bar-volume-foreground-1 = #55aa55
+bar-volume-foreground-2 = #55aa55
+bar-volume-foreground-3 = #55aa55
+bar-volume-foreground-4 = #55aa55
+bar-volume-foreground-5 = #f5a70a
+bar-volume-foreground-6 = #ff5555
+bar-volume-gradient = false
+bar-volume-indicator = |
+bar-volume-indicator-font = 2
+bar-volume-fill = ─
+bar-volume-fill-font = 2
+bar-volume-empty = ─
+bar-volume-empty-font = 2
+bar-volume-empty-foreground = ${colors.foreground-alt}
+
+[module/alsa]
+type = internal/alsa
+
+format-volume = <label-volume> <bar-volume>
+label-volume = VOL
+label-volume-foreground = ${root.foreground}
+
+format-muted-prefix = " "
+format-muted-foreground = ${colors.foreground-alt}
+label-muted = sound muted
+
+bar-volume-width = 10
+bar-volume-foreground-0 = #55aa55
+bar-volume-foreground-1 = #55aa55
+bar-volume-foreground-2 = #55aa55
+bar-volume-foreground-3 = #55aa55
+bar-volume-foreground-4 = #55aa55
+bar-volume-foreground-5 = #f5a70a
+bar-volume-foreground-6 = #ff5555
+bar-volume-gradient = false
+bar-volume-indicator = |
+bar-volume-indicator-font = 2
+bar-volume-fill = ─
+bar-volume-fill-font = 2
+bar-volume-empty = ─
+bar-volume-empty-font = 2
+bar-volume-empty-foreground = ${colors.foreground-alt}
+
+[module/battery]
+type = internal/battery
+battery = BAT0
+adapter = AC
+full-at = 98
+
+format-charging = <animation-charging> <label-charging>
+format-charging-underline = #ffb52a
+
+format-discharging = <animation-discharging> <label-discharging>
+format-discharging-underline = ${self.format-charging-underline}
+
+format-full-prefix = " "
+format-full-prefix-foreground = ${colors.foreground-alt}
+format-full-underline = ${self.format-charging-underline}
+
+ramp-capacity-0 = 
+ramp-capacity-1 = 
+ramp-capacity-2 = 
+ramp-capacity-foreground = ${colors.foreground-alt}
+
+animation-charging-0 = 
+animation-charging-1 = 
+animation-charging-2 = 
+animation-charging-foreground = ${colors.foreground-alt}
+animation-charging-framerate = 750
+
+animation-discharging-0 = 
+animation-discharging-1 = 
+animation-discharging-2 = 
+animation-discharging-foreground = ${colors.foreground-alt}
+animation-discharging-framerate = 750
+
+[module/temperature]
+type = internal/temperature
+thermal-zone = 0
+warn-temperature = 60
+
+format = <ramp> <label>
+format-underline = #f50a4d
+format-warn = <ramp> <label-warn>
+format-warn-underline = ${self.format-underline}
+
+label = %temperature-c%
+label-warn = %temperature-c%
+label-warn-foreground = ${colors.secondary}
+
+ramp-0 = 
+ramp-1 = 
+ramp-2 = 
+ramp-foreground = ${colors.foreground-alt}
+
+[module/powermenu]
+type = custom/menu
+
+expand-right = true
+
+format-spacing = 1
+
+label-open = 
+label-open-foreground = ${colors.secondary}
+label-close =  cancel
+label-close-foreground = ${colors.secondary}
+label-separator = |
+label-separator-foreground = ${colors.foreground-alt}
+
+menu-0-0 = reboot
+menu-0-0-exec = menu-open-1
+menu-0-1 = power off
+menu-0-1-exec = menu-open-2
+
+menu-1-0 = cancel
+menu-1-0-exec = menu-open-0
+menu-1-1 = reboot
+menu-1-1-exec = sudo reboot
+
+menu-2-0 = power off
+menu-2-0-exec = sudo poweroff
+menu-2-1 = cancel
+menu-2-1-exec = menu-open-0
+
+[settings]
+screenchange-reload = true
+;compositing-background = xor
+;compositing-background = screen
+;compositing-foreground = source
+;compositing-border = over
+;pseudo-transparency = false
+
+[global/wm]
+margin-top = 5
+margin-bottom = 5
+
+; vim:ft=dosini
diff --git a/gbp.conf b/gbp.conf
new file mode 100644 (file)
index 0000000..23ae3db
--- /dev/null
+++ b/gbp.conf
@@ -0,0 +1,15 @@
+[DEFAULT]
+debian-branch = debian/master
+pristine-tar = True
+
+[buildpackage]
+sign-tags = True
+
+[import-orig]
+filter-pristine-tar = True
+
+[pq]
+patch-numbers = False
+
+[dch]
+multimaint-merge = True
diff --git a/patches/disable_config_generation.patch b/patches/disable_config_generation.patch
new file mode 100644 (file)
index 0000000..30c6c83
--- /dev/null
@@ -0,0 +1,28 @@
+Description: Disable example config generation at build time
+ This patch is needed for reproducible builds
+Author: Samuel Henrique <samueloph@debian.org>
+Forwarded: not-needed
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -155,13 +155,13 @@
+ # }}}
+ # Configure and install {{{
+-configure_file(
+-  ${CMAKE_CURRENT_LIST_DIR}/config.cmake
+-  ${CMAKE_CURRENT_LIST_DIR}/config
+-  ESCAPE_QUOTES @ONLY)
+-
+-install(FILES config
+-  DESTINATION ${CMAKE_INSTALL_DOCDIR}
+-  COMPONENT config)
++#configure_file(
++#  ${CMAKE_CURRENT_LIST_DIR}/config.cmake
++#  ${CMAKE_CURRENT_LIST_DIR}/config
++#  ESCAPE_QUOTES @ONLY)
++#
++#install(FILES config
++#  DESTINATION ${CMAKE_INSTALL_DOCDIR}
++#  COMPONENT config)
+ # }}}
diff --git a/patches/dont_build_html_doc.patch b/patches/dont_build_html_doc.patch
new file mode 100644 (file)
index 0000000..ccfc140
--- /dev/null
@@ -0,0 +1,27 @@
+Description: Don't generate html docs as they only ship the manpage
+Author: Samuel Henrique <samueloph@debian.org>
+Forwarded: not-needed
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -16,7 +16,7 @@
+ configure_file(conf.py conf.py @ONLY)
+ # We want to run `sphinx-build` with the following builders
+-set(doc_builders "html" "man")
++set(doc_builders "man")
+ # Name of all documentation targets
+ set(doc_targets "")
+@@ -56,9 +56,9 @@
+   set(PROJECT_NAME "polybar-doc")
+ endif()
+-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
+-  DESTINATION ${CMAKE_INSTALL_DOCDIR}
+-  COMPONENT doc)
++#install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
++#  DESTINATION ${CMAKE_INSTALL_DOCDIR}
++#  COMPONENT doc)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar.1
+   DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
diff --git a/patches/redact_build_flags.patch b/patches/redact_build_flags.patch
new file mode 100644 (file)
index 0000000..0ed82f3
--- /dev/null
@@ -0,0 +1,23 @@
+Description: Remove build flags from output of -vvv for reproducible builds
+Author: Samuel Henrique <sameuloph@debian.org>
+Forwarded: not-needed
+--- a/src/settings.cpp.cmake
++++ b/src/settings.cpp.cmake
+@@ -51,10 +51,13 @@
+       (WITH_XRM               ? '+' : '-'),
+       (WITH_XCURSOR           ? '+' : '-'));
+     printf("\n");
+-    printf("Build type: @CMAKE_BUILD_TYPE@\n");
+-    printf("Compiler: @CMAKE_CXX_COMPILER@\n");
+-    printf("Compiler flags: @CMAKE_CXX_FLAGS@ ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}\n");
+-    printf("Linker flags: @CMAKE_EXE_LINKER_FLAGS@ ${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}\n");
++    printf("Debian package, build flags removed from output for reproducibility\n");
++    printf("You can refer to the build logs at:\n");
++    printf("https://buildd.debian.org/status/package.php?p=polybar\n");
++    // printf("Build type: @CMAKE_BUILD_TYPE@\n");
++    // printf("Compiler: @CMAKE_CXX_COMPILER@\n");
++    // printf("Compiler flags: @CMAKE_CXX_FLAGS@ ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}\n");
++    // printf("Linker flags: @CMAKE_EXE_LINKER_FLAGS@ ${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}\n");
+   }
+ }
+ // clang-format on
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..cb57583
--- /dev/null
@@ -0,0 +1,3 @@
+dont_build_html_doc.patch
+disable_config_generation.patch
+redact_build_flags.patch
diff --git a/polybar.install b/polybar.install
new file mode 100644 (file)
index 0000000..4d7d275
--- /dev/null
@@ -0,0 +1 @@
+debian/examples/config usr/share/doc/polybar/
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..05f988e
--- /dev/null
+++ b/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+fixfilepath
+
+ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel sh4))
+  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
+endif
+
+%:
+       dh $@ --buildsystem=cmake --builddirectory=build
+
+override_dh_auto_configure:
+       dh_auto_configure --               \
+         -DBUILD_DOC:BOOL="ON"            \
+         -DBUILD_TESTS:BOOL="OFF"          \
+         -DENABLE_ALSA:BOOL="ON"          \
+         -DENABLE_PULSEAUDIO:BOOL="ON"    \
+         -DENABLE_I3:BOOL="ON"            \
+         -DENABLE_MPD:BOOL="ON"           \
+         -DENABLE_NETWORK:BOOL="ON"       \
+         -DENABLE_CURL:BOOL="ON"          \
+         -DBUILD_IPC_MSG:BOOL="ON"
+
+override_dh_compress:
+       dh_compress --exclude=config
diff --git a/salsa-ci.yml b/salsa-ci.yml
new file mode 100644 (file)
index 0000000..33c3a64
--- /dev/null
@@ -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/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..7995097
--- /dev/null
@@ -0,0 +1,9 @@
+---
+Archive: GitHub
+Bug-Database: https://github.com/polybar/polybar/issues
+Bug-Submit: https://github.com/polybar/polybar/issues
+Changelog: https://github.com/polybar/polybar/releases
+Contact: https://github.com/polybar/polybar/issues
+Name: polybar
+Repository: https://github.com/polybar/polybar.git
+Repository-Browse: https://github.com/polybar/polybar
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..471c586
--- /dev/null
+++ b/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/polybar/polybar/releases .*/polybar-?(\d\S+)\.tar.gz