-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net-analyzer/nload: EAPI=7, fix bug 663402 "speed graph rendering issue" #9543
Conversation
|
|
||
inherit autotools | ||
|
||
DESCRIPTION="Real time network traffic and bandwidth usage monitor for the text console" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a bad translation and suggest
DESCRIPTION="Real time network traffic monitor for the command line interface"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I'll fix the description and update the PR.
4637140
to
74d8534
Compare
Add -r1 ebuild to fix the following repoman warnings: """ DESCRIPTION.toolong 1 net-analyzer/nload/nload-0.7.4.ebuild: DESCRIPTION is 83 characters (max 80) repo.eapi-deprecated 1 net-analyzer/nload/nload-0.7.4.ebuild: 5 """ The description string is suggested by @jonasstein. Package-Manager: Portage-2.3.40, Repoman-2.3.9 Link: gentoo#9543 (comment)
@jonasstein, I've updated the description per your suggestion. |
74d8534
to
238aac1
Compare
Add -r1 ebuild to fix the following repoman warnings: """ DESCRIPTION.toolong 1 net-analyzer/nload/nload-0.7.4.ebuild: DESCRIPTION is 83 characters (max 80) repo.eapi-deprecated 1 net-analyzer/nload/nload-0.7.4.ebuild: 5 """ The description string is suggested by @jonasstein. Package-Manager: Portage-2.3.40, Repoman-2.3.9 Link: gentoo#9543 (comment)
Looks like, @gentoo/netmon could use some help. If there is not much use of me being a proxied maintainer, simply discard the last commit before merging. |
Pull Request assignment Areas affected: ebuilds net-analyzer/nload: @gentoo/netmon Bugs linked: 663402 In order to force reassignment and/or bug reference scan, please append |
@mgorny, would Proxy Maint team be able to help me with merging this PR? |
HOMEPAGE="http://www.roland-riegel.de/nload/index.html" | ||
SRC_URI="http://www.roland-riegel.de/nload/${P}.tar.gz" | ||
|
||
LICENSE="GPL-2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The LICENSE is wrong:
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thank you!
I'll fix and update the PR.
Add -r1 ebuild to fix the following repoman warnings: """ DESCRIPTION.toolong 1 net-analyzer/nload/nload-0.7.4.ebuild: DESCRIPTION is 83 characters (max 80) repo.eapi-deprecated 1 net-analyzer/nload/nload-0.7.4.ebuild: 5 """ The description string is suggested by @jonasstein. Correct the package license in the ebuild as pointed out by @mgorny. The source code says: """ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ """ Link: gentoo#9543 (comment) Link: gentoo#9543 (comment) Package-Manager: Portage-2.3.40, Repoman-2.3.9
Apply the following patch from upstream: 8a93886 "Eliminate flicker on some terminals like rxvt (thanks to Alex Wilson)" This fixes network utilization graph rendering issue. (the text on the right side of the screen slides to the left together with graph updates) Closes: https://bugs.gentoo.org/663402 Closes: gentoo#9543 Package-Manager: Portage-2.3.40, Repoman-2.3.9
238aac1
to
841a89e
Compare
I've fixed the license in commit a863959 (I've amended the fix). |
Something is compressing installed manpages. Please make sure they are installed uncompressed so that Portage can compress them. |
Oh, that's weird. |
I didn't notice that because on my machine it installs the normal
|
You need to handle it. Portage implementation does not follow the standards, and I've deliberately changed it to catch this. |
OK, let me fix the |
Yes. It doesn't specify that files must be decompressed from other formats before compression. |
Package managers like to compress man-pages on their own, because the type of compression for man-pages is user-configurable. In particular, Gentoo [1] doesn't want packages to compress their man-pages. Gentoo Portage has workarounds for this, but this is not specified in Package Manager Specification and results in extra compression-decompression pass. RPM also compresses man-pages itself (in `brp-compress`) (and similarly recompresses them as needed) rather than relying on packages to install compressed man-pages. Automake can handle installation of man-pages without the explicit "install" target, so use the standard automake-provided way of installing man-pages. It's also smart enough to package `nload.1.in` automatically. Don't specify an explicit man-page extension in .spec file as recommended by Fedora. [1] gentoo/gentoo#9543 (comment)
As pointed out by @mgorny [1], packages should not compress their man pages on their own. Instead, Portage needs to handle the compression. Currently, `ecompressdir` is smart enough to recompress the man-pages as needed. However, this is not a fully PMS-compliant behavior. So, patch the Makefile.am not to compress the man-page. A corresponding pull request is submitted upstream [2]. [1] gentoo#9543 (comment) [2] rolandriegel/nload#4
Man-page compression should have been fixed in 68dc8ff |
I see. |
Pull request CI report Report generated at: 2018-08-26 03:18 UTC No issues found |
Thank you! |
Add -r1 ebuild to fix the following repoman warnings: """ DESCRIPTION.toolong 1 net-analyzer/nload/nload-0.7.4.ebuild: DESCRIPTION is 83 characters (max 80) repo.eapi-deprecated 1 net-analyzer/nload/nload-0.7.4.ebuild: 5 """ The description string is suggested by @jonasstein. Correct the package license in the ebuild as pointed out by @mgorny. The source code says: """ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ """ Link: #9543 (comment) Link: #9543 (comment) Package-Manager: Portage-2.3.40, Repoman-2.3.9
As pointed out by @mgorny [1], packages should not compress their man pages on their own. Instead, Portage needs to handle the compression. Currently, `ecompressdir` is smart enough to recompress the man-pages as needed. However, this is not a fully PMS-compliant behavior. So, patch the Makefile.am not to compress the man-page. A corresponding pull request is submitted upstream [2]. [1] #9543 (comment) [2] rolandriegel/nload#4 Closes: #9543
Thank you for merging! |
The first patch is a preparation, which adds -r1 ebuild, and fixes repoman warnings for it.
(switches to EAPI=7 and shortens the package description).
The second patch adds an upstream patch to fix the issue described in Gentoo bug 663402.