2021-02-04 10:51:27 +01:00
|
|
|
From: Andreas Stieger <astieger@suse.com>
|
|
|
|
Date: Fri, 07 Jul 2017 14:55:15 +0000
|
|
|
|
Subject: remove nag screen
|
|
|
|
Upstream: no
|
|
|
|
References: https://bugs.launchpad.net/ubuntu/+source/parallel/+bug/1779764
|
|
|
|
|
|
|
|
Removes the nag screen printed to stdout.
|
|
|
|
https://en.opensuse.org/openSUSE:Packaging_guidelines#Donation_requests
|
2020-01-10 12:01:43 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
src/parallel | 2 ++
|
|
|
|
src/sem | 2 ++
|
|
|
|
2 files changed, 4 insertions(+)
|
|
|
|
|
2021-10-08 13:13:19 +02:00
|
|
|
Index: parallel-20210922/src/parallel
|
2017-07-07 17:57:31 +02:00
|
|
|
===================================================================
|
2021-10-08 13:13:19 +02:00
|
|
|
--- parallel-20210922.orig/src/parallel
|
|
|
|
+++ parallel-20210922/src/parallel
|
|
|
|
@@ -2052,6 +2052,7 @@ sub parse_options(@) {
|
2021-02-04 10:51:27 +01:00
|
|
|
if(defined $opt::eta) { $opt::progress = $opt::eta; }
|
|
|
|
if(defined $opt::bar) { $opt::progress = $opt::bar; }
|
|
|
|
|
|
|
|
+if (0) {
|
|
|
|
# Funding a free software project is hard. GNU Parallel is no
|
|
|
|
# exception. On top of that it seems the less visible a project
|
|
|
|
# is, the harder it is to get funding. And the nature of GNU
|
2021-10-08 13:13:19 +02:00
|
|
|
@@ -2127,6 +2128,7 @@ sub parse_options(@) {
|
|
|
|
# line. This is because _YOU_ actively make it harder to justify
|
|
|
|
# spending time developing GNU Parallel.
|
2021-02-04 10:51:27 +01:00
|
|
|
|
2021-10-08 13:13:19 +02:00
|
|
|
+}
|
2021-02-04 10:51:27 +01:00
|
|
|
parse_halt();
|
|
|
|
|
2021-10-08 13:13:19 +02:00
|
|
|
if($ENV{'PARALLEL_ENV'}) {
|
|
|
|
Index: parallel-20210922/src/sem
|
2018-08-08 18:47:41 +02:00
|
|
|
===================================================================
|
2021-10-08 13:13:19 +02:00
|
|
|
--- parallel-20210922.orig/src/sem
|
|
|
|
+++ parallel-20210922/src/sem
|
|
|
|
@@ -2052,6 +2052,7 @@ sub parse_options(@) {
|
2021-02-04 10:51:27 +01:00
|
|
|
if(defined $opt::eta) { $opt::progress = $opt::eta; }
|
|
|
|
if(defined $opt::bar) { $opt::progress = $opt::bar; }
|
|
|
|
|
|
|
|
+if (0) {
|
|
|
|
# Funding a free software project is hard. GNU Parallel is no
|
|
|
|
# exception. On top of that it seems the less visible a project
|
|
|
|
# is, the harder it is to get funding. And the nature of GNU
|
2021-10-08 13:13:19 +02:00
|
|
|
@@ -2127,6 +2128,7 @@ sub parse_options(@) {
|
|
|
|
# line. This is because _YOU_ actively make it harder to justify
|
|
|
|
# spending time developing GNU Parallel.
|
2021-02-04 10:51:27 +01:00
|
|
|
|
2021-10-08 13:13:19 +02:00
|
|
|
+}
|
2021-02-04 10:51:27 +01:00
|
|
|
parse_halt();
|
|
|
|
|
2021-10-08 13:13:19 +02:00
|
|
|
if($ENV{'PARALLEL_ENV'}) {
|