Bug#954872: buildd.debian.org: Legends for the graphs on https://buildd.debian.org/stats/ half-gone

2020-03-24 Thread nabijaczleweli
Package: buildd.debian.org
Severity: normal

Hello,

The legends for the graphs on https://buildd.debian.org/stats/ seem to
be partway gone, mostly affecting the colour and start of the
architecture name.

See the attached graph.png, taken from the site as I write this.

Best regards,
nabijaczleweli


signature.asc
Description: PGP signature


Bug#940536: dhex: hangs on keyboard config screen

2020-03-20 Thread nabijaczleweli
Hello,

I'm attaching an updated cpu-load patch, based on 0.69-1; it enables
nodelay() for the duration of keyboardsetup() only – keyboard setup
still takes 100% CPU but at least it works, and normal view behaves as
with the current patch.

Regards,
nabijaczleweli
Description: 
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 dhex (0.69-1) unstable; urgency=medium
 .
   * New upstream version.
   * debian/control: drop Vcs fields.
   * Bump standards version to 4.2.1.
   * debian/copyright: updated years.
   * debian/install and manpages: added.
   * debian/rules: disabled install target.
Author: Gürkan Myczko 

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: , 
Bug: 
Bug-Debian: https://bugs.debian.org/
Bug-Ubuntu: https://launchpad.net/bugs/
Forwarded: 
Reviewed-By: 
Last-Update: 2020-03-20

--- dhex-0.69.orig/main.c
+++ dhex-0.69/main.c
@@ -530,8 +530,12 @@ int main(int argc,char** argv)
output->win=initscr();
pairsinit(output);
noecho();
-   nodelay(output->win,1);
-   if (keyboardsetupreq) keyboardsetup(output,configfile);
+   if (keyboardsetupreq)
+   {
+   nodelay(output->win,1);
+   keyboardsetup(output,configfile);
+   nodelay(output->win,0);
+   }
if (bhexcalc)
{
hexcalc(output,hHexCalc);


signature.asc
Description: PGP signature


Bug#953198: ruby-ronn: Upstream version 0.9.0 available, fixing #928627

2020-03-05 Thread nabijaczleweli
Package: ruby-ronn
Version: 0.8.0-3
Severity: normal
Tags: patch

Dear Maintainer,

There's a new version of ronn-ng available (0.9.0), which fixes #928627.

I tagged this bugreport patch, because during the course of my testing,
and in hopes of simplifying the update on your part,
I have updated the package, as available on Salsa, to that version --
https://github.com/nabijaczleweli/ronn.deb.

In particular, I am attaching the two patches after the import --
a rebase of the existing patches, and specifying the move to kramdown.

If there's a better channel for this or a more convenient way for you to
receive the patches, I'll of course be more than happy to utilise them.

Best regards,
nabijaczleweli

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 5.4.0-4-686-pae (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ruby-ronn depends on:
ii  groff   1.22.4-4
ii  ruby1:2.5.7.1
ii  ruby-mustache   1.0.2-1
ii  ruby-nokogiri   1.10.7+dfsg1-2+b1
ii  ruby-rdiscount  2.1.8-1+b6

ruby-ronn recommends no packages.

ruby-ronn suggests no packages.

-- no debconf information
From bcd8104331e0887d56c33bd889686ac533f98f1e Mon Sep 17 00:00:00 2001
From: nabijaczleweli 
Date: Thu, 5 Mar 2020 13:43:44 +
Subject: [PATCH 1/2] Rebase patches, dropping ones marked already upstream

---
 debian/patches/fix-ordered-lists.patch   | 168 ---
 debian/patches/fix-url-hyphenation.patch | 102 --
 debian/patches/relax-dependencies.patch  |   7 +-
 debian/patches/rename-to-ronn.patch  |   4 +-
 debian/patches/series|   2 -
 5 files changed, 5 insertions(+), 278 deletions(-)
 delete mode 100644 debian/patches/fix-ordered-lists.patch
 delete mode 100644 debian/patches/fix-url-hyphenation.patch

diff --git a/debian/patches/fix-ordered-lists.patch b/debian/patches/fix-ordered-lists.patch
deleted file mode 100644
index 06df193..000
--- a/debian/patches/fix-ordered-lists.patch
+++ /dev/null
@@ -1,168 +0,0 @@
-Description: Fix ordered lists.  This fixes #921637 and is already
- applied upstream
-Origin: https://github.com/apjanke/ronn-ng/commit/e91949f866b338fa223126a570ae81276405fa12
-Last-Update: 2019-02-23
-
-From e91949f866b338fa223126a570ae81276405fa12 Mon Sep 17 00:00:00 2001
-From: Andrew Janke 
-Date: Sat, 16 Feb 2019 20:07:53 -0500
-Subject: [PATCH] Fix for basic ordered lists
-

- .idea/ronn-ng.iml  | 28 +---
- lib/ronn/roff.rb   |  2 +-
- test/ordered_list.html | 30 ++
- test/ordered_list.roff | 25 +
- test/ordered_list.ronn | 21 +
- 5 files changed, 82 insertions(+), 24 deletions(-)
- create mode 100644 test/ordered_list.html
- create mode 100644 test/ordered_list.roff
- create mode 100644 test/ordered_list.ronn
-
-diff --git a/.idea/ronn-ng.iml b/.idea/ronn-ng.iml
-index cabcd31..a85f561 100644
 a/.idea/ronn-ng.iml
-+++ b/.idea/ronn-ng.iml
-@@ -5,29 +5,11 @@
-   
-   
- 
--
-+
- 
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
-+
-+
-+
-+
-   
- 
-\ No newline at end of file
-diff --git a/lib/ronn/roff.rb b/lib/ronn/roff.rb
-index f008f67..7c56d2c 100644
 a/lib/ronn/roff.rb
-+++ b/lib/ronn/roff.rb
-@@ -162,7 +162,7 @@ def block_filter(node)
- when 'li'
-   case node.parent.name
-   when 'ol'
--macro 'IP', %W["#{node.position + 1}." 4]
-+macro 'IP', %W["#{node.parent.children.index(node) + 1}." 4]
-   when 'ul'
- macro 'IP', ['"\\[ci]"', '4']
-   else
-diff --git a/test/ordered_list.html b/test/ordered_list.html
-new file mode 100644
-index 000..0824d84
 /dev/null
-+++ b/test/ordered_list.html
-@@ -0,0 +1,30 @@
-+
-+
-+Ordered Lists
-+Simple ordered lists
-+
-+One-item list
-+
-+
-+Hello, world!
-+
-+
-+
-+Three-item list
-+
-+
-+Hello, world!
-+Item 2
-+Item 3
-+
-+
-+
-+Four-item list with all 1s
-+
-+
-+Item 1
-+Item 2
-+Item 3
-+Item 4
-+
-+
-diff --git a/test/ordered_list.roff b/test/ordered_list.roff
-new file mode 100644
-index 000..46cd54f
 /dev/null
-+++ b/test/ordered_list.roff
-@@ -0,0 +1,25 @@
-+.TH "ORDERED_LIST" "" "January 1979" "" ""
-+.SH "Simple ordered lists"
-+.SS "One\-item list"
-+.IP "1." 4
-+Hello, world!
-+.IP "" 0
-+.SS "Three\-item list"
-+.IP "1." 4
-+Hello, world!
-+.IP "2." 4
-+Item 2
-+.IP "3." 4
-+Item 3

Bug#952820: dracut: Doesn't recognise swap files for resuming

2020-02-29 Thread nabijaczleweli
Package: dracut
Version: 048+80-2
Severity: normal
Tags: patch

Dear Maintainer,


Dracut, in host-only mode will, by default, only install the resume
module if it detects a swap partition.
This has a major problem of not detecting, and therefore not resuming
from, swap files.

This problem has been known upstream for a long time (2017, comment on
https://github.com/dracutdevs/dracut/commit/34b56de12aad622d602d6e3bd434e02c840f1cd0)
and an issue has been open since 2018
(https://github.com/dracutdevs/dracut/issues/496), to no avail so far.
I've recently opened a PR
(https://github.com/dracutdevs/dracut/pull/715), to a similar response.

In hopes I can spare another soul a few hours of debugging,
I have attached this patch here as well, having verified that it builds
with the 048+80-2 source and applies to the current HEAD at Salsa
(ebb0748) without problems; it simply replaces the partition detection
with a check against /sys/power/resume, and includes the module if it's
not 0:0, i.e. hibernation is enabled.

Another solution would be to add something like
  awk '{if($2 == "file") exit 1}' /proc/swaps || return 0
before the "return 255" line, but I feel that that's just moving the
problem.

Regards,
nabijaczleweli


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 5.4.0-4-686-pae (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dracut depends on:
ii  dracut-core  048+80-2

dracut recommends no packages.

Versions of packages dracut suggests:
pn  dracut-network  

-- no debconf information
From: nabijaczleweli 
Date: Fri, 13 Dec 2019 07:59:59 +0100
Subject: [PATCH] Enable resume module if hibernation's enabled on the host

Ref: https://github.com/dracutdevs/dracut/commit/34b56de12aad622d602d6e3bd434e02c840f1cd0
Fixes https://github.com/dracutdevs/dracut/issues/496
---
 modules.d/95resume/module-setup.sh | 7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh
index 6ddc725..cb06b56 100755
--- a/modules.d/95resume/module-setup.sh
+++ b/modules.d/95resume/module-setup.sh
@@ -2,12 +2,9 @@
 
 # called by dracut
 check() {
-# No point trying to support resume, if no swap partition exist
+# Only support resume if hibernation is currently on
 [[ $hostonly ]] || [[ $mount_needs ]] && {
-for fs in "${host_fs_types[@]}"; do
-[[ $fs =~ ^(swap|swsuspend|swsupend)$ ]] && return 0
-done
-return 255
+[[ "$(cat /sys/power/resume)" == "0:0" ]] && return 255
 }
 
 return 0


signature.asc
Description: PGP signature