[arch-commits] Commit in parallel/repos/community-any (4 files)

George Rawlinson grawlinson at gemini.archlinux.org
Wed Feb 23 02:35:37 UTC 2022


    Date: Wednesday, February 23, 2022 @ 02:35:37
  Author: grawlinson
Revision: 1136214

archrelease: copy trunk to community-any

Added:
  parallel/repos/community-any/0001-Remove-citation-things.patch
    (from rev 1136213, parallel/trunk/0001-Remove-citation-things.patch)
  parallel/repos/community-any/PKGBUILD
    (from rev 1136213, parallel/trunk/PKGBUILD)
Deleted:
  parallel/repos/community-any/0001-Remove-citation-things.patch
  parallel/repos/community-any/PKGBUILD

-----------------------------------+
 0001-Remove-citation-things.patch |  589 ++++++++++++++++++------------------
 PKGBUILD                          |  146 ++++----
 2 files changed, 368 insertions(+), 367 deletions(-)

Deleted: 0001-Remove-citation-things.patch
===================================================================
--- 0001-Remove-citation-things.patch	2022-02-23 02:34:50 UTC (rev 1136213)
+++ 0001-Remove-citation-things.patch	2022-02-23 02:35:37 UTC (rev 1136214)
@@ -1,294 +0,0 @@
---- a/src/parallel
-+++ b/src/parallel
-@@ -1654,11 +1654,6 @@ sub options_hash() {
- 	 "gnu" => \$opt::gnu,
- 	 "link|xapply" => \$opt::link,
- 	 "linkinputsource|xapplyinputsource=i" => \@opt::linkinputsource,
--	 # Before changing these lines, please read
--	 # https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice
--	 # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
--	 # You accept to be put in a public hall of shame by removing
--         # these lines.
- 	 "bibtex|citation" => \$opt::citation,
- 	 "wc|willcite|will-cite|nn|nonotice|no-notice" => \$opt::willcite,
- 	 # Termination and retries
-@@ -1815,15 +1810,6 @@ sub parse_options(@) {
-     my @argv_before = @ARGV;
-     @ARGV = read_options();
- 
--    # Before changing these line, please read
--    # https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice
--    # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
--    # You accept to be added to a public hall of shame by
--    # removing the lines.
--    if(defined $opt::citation) {
--	citation(\@argv_before,\@ARGV);
--	wait_and_exit(0);
--    }
-     # no-* overrides *
-     if($opt::nokeeporder) { $opt::keeporder = undef; }
- 
-@@ -2104,81 +2090,6 @@ sub parse_options(@) {
-     if(defined $opt::eta) { $opt::progress = $opt::eta; }
-     if(defined $opt::bar) { $opt::progress = $opt::bar; }
- 
--    # 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
--    # Parallel is that it will never be seen by "the guy with the
--    # checkbook", but only by the people doing the actual work.
--    #
--    # This problem has been covered by others - though no solution has
--    # been found:
--    # https://www.slideshare.net/NadiaEghbal/consider-the-maintainer
--    # https://blog.licensezero.com/2019/08/24/process-of-elimination.html
--    # https://www.numfocus.org/blog/why-is-numpy-only-now-getting-funded/
--    #
--    # The FAQ tells you why the citation notice exists:
--    # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
--    #
--    # If you want GNU Parallel to be maintained in the future, and not
--    # just wither away like so many other free software tools, you
--    # need to help finance the development.
--    #
--    # The citation notice is a simple way of doing so, as citations
--    # makes it possible to me to get a job where I can maintain GNU
--    # Parallel as part of the job.
--    #
--    # This means you can help financing development
--    #
--    #   WITHOUT PAYING A SINGLE CENT!
--    #
--    # Before implementing the citation notice it was discussed with
--    # the users:
--    # https://lists.gnu.org/archive/html/parallel/2013-11/msg00006.html
--    #
--    # Having to spend 10 seconds on running 'parallel --citation' once
--    # is no doubt not an ideal solution, but no one has so far come up
--    # with an ideal solution - neither for funding GNU Parallel nor
--    # other free software.
--    #
--    # If you believe you have the perfect solution, you should try it
--    # out, and if it works, you should post it on the email
--    # list. Ideas that will cost work and which have not been tested
--    # are, however, unlikely to be prioritized.
--    #
--    # Please note that GPL version 3 gives you the right to fork GNU
--    # Parallel under a new name, but it does not give you the right to
--    # distribute modified copies with the citation notice disabled in
--    # a way where the software can be confused with GNU Parallel. To
--    # do that you need to be the owner of the GNU Parallel
--    # trademark. The xt:Commerce case shows this.
--    #
--    # Description of the xt:Commerce case in OLG Duesseldorf
--    # http://www.inta.org/INTABulletin/Pages/GERMANYGeneralPublicLicenseDoesNotPermitUseofThird-PartyTrademarksforAdvertisingModifiedVersionsofOpen-SourceSoftware.aspx
--    # https://web.archive.org/web/20180715073746/http://www.inta.org/INTABulletin/Pages/GERMANYGeneralPublicLicenseDoesNotPermitUseofThird-PartyTrademarksforAdvertisingModifiedVersionsofOpen-SourceSoftware.aspx
--    #
--    # The verdict in German
--    # https://www.admody.com/urteilsdatenbank/cafe6fdaeed3/OLG-Duesseldorf_Urteil_vom_28-September-2010_Az_I-20-U-41-09
--    # https://web.archive.org/web/20180715073717/https://www.admody.com/urteilsdatenbank/cafe6fdaeed3/OLG-Duesseldorf_Urteil_vom_28-September-2010_Az_I-20-U-41-09
--    #
--    # Other free software limiting derivates by the same name:
--    # https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux_derivatives#Legal_aspects
--    # https://tm.joomla.org/trademark-faq.html
--    # https://www.mozilla.org/en-US/foundation/trademarks/faq/
--    #
--    # Running 'parallel --citation' one single time takes less than 10
--    # seconds, and will silence the citation notice for future
--    # runs. If that is too much trouble for you, why not use one of
--    # the alternatives instead?
--    # See a list in: 'man parallel_alternatives'
--    #
--    # If you want GNU Parallel to be maintained in the future you
--    # should keep this line.
--    citation_notice();
--    # _YOU_ will be harming free software by removing the notice. You
--    # accept to be added to a public hall of shame by removing the
--    # line.  This is because _YOU_ actively make it harder to justify
--    # spending time developing GNU Parallel.
--
-     parse_halt();
- 
-     if($ENV{'PARALLEL_ENV'}) {
-@@ -5110,83 +5021,9 @@ sub usage() {
- 	 "",
- 	 "GNU Parallel can do much more. See 'man $Global::progname' for details",
- 	 "",
--	 "Academic tradition requires you to cite works you base your article on.",
--	 "If you use programs that use GNU Parallel to process data for an article in a",
--	 "scientific publication, please cite:",
--	 "",
--         "  Tange, O. (2022, January 22). GNU Parallel 20220122 ('20 years').",
--	 "  Zenodo. https://doi.org/10.5281/zenodo.5893336",
--	 "",
--	 # Before changing these lines,  please read
--         # https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice
--	 # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt	 
--	 # You accept to be put in a public hall of shame by removing
--         # these lines.
--	 "This helps funding further development; AND IT WON'T COST YOU A CENT.",
--	 "If you pay 10000 EUR you should feel free to use GNU Parallel without citing.",
--	 "",
- 	 "",);
- }
- 
--sub citation_notice() {
--    # if --will-cite or --plain: do nothing
--    # if stderr redirected: do nothing
--    # if $PARALLEL_HOME/will-cite: do nothing
--    # else: print citation notice to stderr
--    if($opt::willcite
--       or
--       $opt::plain
--       or
--       not -t $Global::original_stderr
--       or
--       grep { -e "$_/will-cite" } @Global::config_dirs) {
--	# skip
--    } else {
--	::status
--	    ("Academic tradition requires you to cite works you base your article on.",
--	     "If you use programs that use GNU Parallel to process data for an article in a",
--	     "scientific publication, please cite:",
--	     "",
--	     "  Tange, O. (2022, January 22). GNU Parallel 20220122 ('20 years').",
--	     "  Zenodo. https://doi.org/10.5281/zenodo.5893336",
--	     "",
--	     # Before changing these line,  please read
--	     # https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice and
--	     # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
--	     # You accept to be put in a public hall of shame by
--	     # removing these lines.
--	     "This helps funding further development; AND IT WON'T COST YOU A CENT.",
--	     "If you pay 10000 EUR you should feel free to use GNU Parallel without citing.",
--	     "",
--	     "More about funding GNU Parallel and the citation notice:",
--	     "https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice",
--	     "",
--	     "To silence this citation notice: run 'parallel --citation' once.",
--	     ""
--	    );
--	mkdir $Global::config_dir;
--	# Number of times the user has run GNU Parallel without showing
--	# willingness to cite
--	my $runs = 0;
--	if(open (my $fh, "<", $Global::config_dir.
--		 "/runs-without-willing-to-cite")) {
--	    $runs = <$fh>;
--	    close $fh;
--	}
--	$runs++;
--	if(open (my $fh, ">", $Global::config_dir.
--		 "/runs-without-willing-to-cite")) {
--	    print $fh $runs;
--	    close $fh;
--	    if($runs >= 10) {
--		::status("Come on: You have run parallel $runs times. Isn't it about time ",
--			 "you run 'parallel --citation' once to silence the citation notice?",
--			 "");
--	    }
--	}
--    }
--}
--
- sub status(@) {
-     my @w = @_;
-     my $fh = $Global::status_fd || *STDERR;
-@@ -5251,97 +5088,7 @@ sub version() {
- 	 "This is free software: you are free to change and redistribute it.",
- 	 "GNU $Global::progname comes with no warranty.",
- 	 "",
--	 "Web site: https://www.gnu.org/software/${Global::progname}\n",
--	 "When using programs that use GNU Parallel to process data for publication",
--	 "please cite as described in 'parallel --citation'.\n",
--        );
--}
--
--sub citation() {
--    # Returns: N/A
--    my ($all_argv_ref,$argv_options_removed_ref) = @_;
--    my $all_argv = "@$all_argv_ref";
--    my $no_opts = "@$argv_options_removed_ref";
--    $all_argv=~s/--citation//;
--    if($all_argv ne $no_opts) {
--	::warning("--citation ignores all other options and arguments.");
--	::status("");
--    }
--
--    ::status(
--	"Academic tradition requires you to cite works you base your article on.",
--	"If you use programs that use GNU Parallel to process data for an article in a",
--	"scientific publication, please cite:",
--	"",
--	"\@software{tange_2022_5893336,",
--	"      author       = {Tange, Ole},",
--	"      title        = {GNU Parallel 20220122 ('20 years')},",
--	"      month        = Jan,",
--	"      year         = 2021,",
--	"      note         = {{GNU Parallel is a general parallelizer to run",
--        "                       multiple serial command line programs in parallel",
--	"                       without changing them.}},",
--	"      publisher    = {Zenodo},",
--	"      doi          = {10.5281/zenodo.5893336},",
--	"      url          = {https://doi.org/10.5281/zenodo.5893336}",
--	"}",
--	"",
--	"(Feel free to use \\nocite{tange_2022_5893336})",
--	"",
--	# Before changing these lines, please read
--	# https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice and
--	# https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
--	# You accept to be put in a public hall of shame by removing
--	# these lines.
--	"This helps funding further development; AND IT WON'T COST YOU A CENT.",
--	"If you pay 10000 EUR you should feel free to use GNU Parallel without citing.",
--	"",
--	"More about funding GNU Parallel and the citation notice:",
--	"https://lists.gnu.org/archive/html/parallel/2013-11/msg00006.html",
--	"https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice",
--	"https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt",
--	"",
--	"If you send a copy of your published article to tange\@gnu.org, it will be",
--	"mentioned in the release notes of next version of GNU Parallel.",
--	""
-         );
--    while(not grep { -e "$_/will-cite" } @Global::config_dirs) {
--	print "\nType: 'will cite' and press enter.\n> ";
--	my $input = <STDIN>;
--	if(not defined $input) {
--	    exit(255);
--	}
--	if($input =~ /will cite/i) {
--	    mkdir $Global::config_dir;
--	    if(open (my $fh, ">", $Global::config_dir."/will-cite")) {
--		close $fh;
--		::status(
--		    "",
--		    "Thank you for your support: You are the reason why there is funding to",
--		    "continue maintaining GNU Parallel. On behalf of future versions of",
--		    "GNU Parallel, which would not exist without your support:",
--		    "",
--		    "  THANK YOU SO MUCH",
--		    "",
--		    "It is really appreciated. The citation notice is now silenced.",
--		    "");
--	    } else {
--		::status(
--		      "",
--		      "Thank you for your support. It is much appreciated. The citation",
--		      "cannot permanently be silenced. Use '--will-cite' instead.",
--		      "",
--		      "If you use '--will-cite' in scripts to be run by others you are making",
--		      "it harder for others to see the citation notice.  The development of",
--		      "GNU Parallel is indirectly financed through citations, so if users",
--		      "do not know they should cite then you are making it harder to finance",
--		      "development. However, if you pay 10000 EUR, you should feel free to",
--		      "use '--will-cite' in scripts.",
--		      "");
--		last;
--	    }
--	}
--    }
- }
- 
- sub show_limits() {

Copied: parallel/repos/community-any/0001-Remove-citation-things.patch (from rev 1136213, parallel/trunk/0001-Remove-citation-things.patch)
===================================================================
--- 0001-Remove-citation-things.patch	                        (rev 0)
+++ 0001-Remove-citation-things.patch	2022-02-23 02:35:37 UTC (rev 1136214)
@@ -0,0 +1,295 @@
+--- a/src/parallel
++++ b/src/parallel
+@@ -1668,11 +1668,6 @@ sub options_hash() {
+ 	 "gnu" => \$opt::gnu,
+ 	 "link|xapply" => \$opt::link,
+ 	 "linkinputsource|xapplyinputsource=i" => \@opt::linkinputsource,
+-	 # Before changing these lines, please read
+-	 # https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice
+-	 # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
+-	 # You accept to be put in a public hall of shame by removing
+-         # these lines.
+ 	 "bibtex|citation" => \$opt::citation,
+ 	 "will-cite|willcite|nn|nonotice|no-notice" => \$opt::willcite,
+ 	 # Termination and retries
+@@ -1832,15 +1827,6 @@ sub parse_options(@) {
+     my @argv_before = @ARGV;
+     @ARGV = read_options();
+ 
+-    # Before changing these line, please read
+-    # https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice
+-    # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
+-    # You accept to be added to a public hall of shame by
+-    # removing the lines.
+-    if(defined $opt::citation) {
+-	citation(\@argv_before,\@ARGV);
+-	wait_and_exit(0);
+-    }
+     # no-* overrides *
+     if($opt::nokeeporder) { $opt::keeporder = undef; }
+ 
+@@ -2120,81 +2106,6 @@ sub parse_options(@) {
+     if(defined $opt::eta) { $opt::progress = $opt::eta; }
+     if(defined $opt::bar) { $opt::progress = $opt::bar; }
+ 
+-    # 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
+-    # Parallel is that it will never be seen by "the guy with the
+-    # checkbook", but only by the people doing the actual work.
+-    #
+-    # This problem has been covered by others - though no solution has
+-    # been found:
+-    # https://www.slideshare.net/NadiaEghbal/consider-the-maintainer
+-    # https://blog.licensezero.com/2019/08/24/process-of-elimination.html
+-    # https://www.numfocus.org/blog/why-is-numpy-only-now-getting-funded/
+-    #
+-    # The FAQ tells you why the citation notice exists:
+-    # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
+-    #
+-    # If you want GNU Parallel to be maintained in the future, and not
+-    # just wither away like so many other free software tools, you
+-    # need to help finance the development.
+-    #
+-    # The citation notice is a simple way of doing so, as citations
+-    # makes it possible to me to get a job where I can maintain GNU
+-    # Parallel as part of the job.
+-    #
+-    # This means you can help financing development
+-    #
+-    #   WITHOUT PAYING A SINGLE CENT!
+-    #
+-    # Before implementing the citation notice it was discussed with
+-    # the users:
+-    # https://lists.gnu.org/archive/html/parallel/2013-11/msg00006.html
+-    #
+-    # Having to spend 10 seconds on running 'parallel --citation' once
+-    # is no doubt not an ideal solution, but no one has so far come up
+-    # with an ideal solution - neither for funding GNU Parallel nor
+-    # other free software.
+-    #
+-    # If you believe you have the perfect solution, you should try it
+-    # out, and if it works, you should post it on the email
+-    # list. Ideas that will cost work and which have not been tested
+-    # are, however, unlikely to be prioritized.
+-    #
+-    # Please note that GPL version 3 gives you the right to fork GNU
+-    # Parallel under a new name, but it does not give you the right to
+-    # distribute modified copies with the citation notice disabled in
+-    # a way where the software can be confused with GNU Parallel. To
+-    # do that you need to be the owner of the GNU Parallel
+-    # trademark. The xt:Commerce case shows this.
+-    #
+-    # Description of the xt:Commerce case in OLG Duesseldorf
+-    # http://www.inta.org/INTABulletin/Pages/GERMANYGeneralPublicLicenseDoesNotPermitUseofThird-PartyTrademarksforAdvertisingModifiedVersionsofOpen-SourceSoftware.aspx
+-    # https://web.archive.org/web/20180715073746/http://www.inta.org/INTABulletin/Pages/GERMANYGeneralPublicLicenseDoesNotPermitUseofThird-PartyTrademarksforAdvertisingModifiedVersionsofOpen-SourceSoftware.aspx
+-    #
+-    # The verdict in German
+-    # https://www.admody.com/urteilsdatenbank/cafe6fdaeed3/OLG-Duesseldorf_Urteil_vom_28-September-2010_Az_I-20-U-41-09
+-    # https://web.archive.org/web/20180715073717/https://www.admody.com/urteilsdatenbank/cafe6fdaeed3/OLG-Duesseldorf_Urteil_vom_28-September-2010_Az_I-20-U-41-09
+-    #
+-    # Other free software limiting derivates by the same name:
+-    # https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux_derivatives#Legal_aspects
+-    # https://tm.joomla.org/trademark-faq.html
+-    # https://www.mozilla.org/en-US/foundation/trademarks/faq/
+-    #
+-    # Running 'parallel --citation' one single time takes less than 10
+-    # seconds, and will silence the citation notice for future
+-    # runs. If that is too much trouble for you, why not use one of
+-    # the alternatives instead?
+-    # See a list in: 'man parallel_alternatives'
+-    #
+-    # If you want GNU Parallel to be maintained in the future you
+-    # should keep this line.
+-    citation_notice();
+-    # _YOU_ will be harming free software by removing the notice. You
+-    # accept to be added to a public hall of shame by removing the
+-    # line.  This is because _YOU_ actively make it harder to justify
+-    # spending time developing GNU Parallel.
+-
+     parse_halt();
+ 
+     if($ENV{'PARALLEL_ENV'}) {
+@@ -5138,83 +5049,9 @@ sub usage() {
+ 	 "",
+ 	 "GNU Parallel can do much more. See 'man $Global::progname' for details",
+ 	 "",
+-	 "Academic tradition requires you to cite works you base your article on.",
+-	 "If you use programs that use GNU Parallel to process data for an article in a",
+-	 "scientific publication, please cite:",
+-	 "",
+-         "  Tange, O. (2022, February 22). GNU Parallel 20220222 ('Donetsk Luhansk').",
+-	 "  Zenodo. https://doi.org/10.5281/zenodo.6213471",
+-	 "",
+-	 # Before changing these lines,  please read
+-         # https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice
+-	 # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt	 
+-	 # You accept to be put in a public hall of shame by removing
+-         # these lines.
+-	 "This helps funding further development; AND IT WON'T COST YOU A CENT.",
+-	 "If you pay 10000 EUR you should feel free to use GNU Parallel without citing.",
+-	 "",
+ 	 "",);
+ }
+ 
+-sub citation_notice() {
+-    # if --will-cite or --plain: do nothing
+-    # if stderr redirected: do nothing
+-    # if $PARALLEL_HOME/will-cite: do nothing
+-    # else: print citation notice to stderr
+-    if($opt::willcite
+-       or
+-       $opt::plain
+-       or
+-       not -t $Global::original_stderr
+-       or
+-       grep { -e "$_/will-cite" } @Global::config_dirs) {
+-	# skip
+-    } else {
+-	::status
+-	    ("Academic tradition requires you to cite works you base your article on.",
+-	     "If you use programs that use GNU Parallel to process data for an article in a",
+-	     "scientific publication, please cite:",
+-	     "",
+-	     "  Tange, O. (2022, February 22). GNU Parallel 20220222 ('Donetsk Luhansk').",
+-	     "  Zenodo. https://doi.org/10.5281/zenodo.6213471",
+-	     "",
+-	     # Before changing these line,  please read
+-	     # https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice and
+-	     # https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
+-	     # You accept to be put in a public hall of shame by
+-	     # removing these lines.
+-	     "This helps funding further development; AND IT WON'T COST YOU A CENT.",
+-	     "If you pay 10000 EUR you should feel free to use GNU Parallel without citing.",
+-	     "",
+-	     "More about funding GNU Parallel and the citation notice:",
+-	     "https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice",
+-	     "",
+-	     "To silence this citation notice: run 'parallel --citation' once.",
+-	     ""
+-	    );
+-	mkdir $Global::config_dir;
+-	# Number of times the user has run GNU Parallel without showing
+-	# willingness to cite
+-	my $runs = 0;
+-	if(open (my $fh, "<", $Global::config_dir.
+-		 "/runs-without-willing-to-cite")) {
+-	    $runs = <$fh>;
+-	    close $fh;
+-	}
+-	$runs++;
+-	if(open (my $fh, ">", $Global::config_dir.
+-		 "/runs-without-willing-to-cite")) {
+-	    print $fh $runs;
+-	    close $fh;
+-	    if($runs >= 10) {
+-		::status("Come on: You have run parallel $runs times. Isn't it about time ",
+-			 "you run 'parallel --citation' once to silence the citation notice?",
+-			 "");
+-	    }
+-	}
+-    }
+-}
+-
+ sub status(@) {
+     my @w = @_;
+     my $fh = $Global::status_fd || *STDERR;
+@@ -5278,98 +5115,7 @@ sub version() {
+ 	 "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>",
+ 	 "This is free software: you are free to change and redistribute it.",
+ 	 "GNU $Global::progname comes with no warranty.",
+-	 "",
+-	 "Web site: https://www.gnu.org/software/${Global::progname}\n",
+-	 "When using programs that use GNU Parallel to process data for publication",
+-	 "please cite as described in 'parallel --citation'.\n",
+-        );
+-}
+-
+-sub citation() {
+-    # Returns: N/A
+-    my ($all_argv_ref,$argv_options_removed_ref) = @_;
+-    my $all_argv = "@$all_argv_ref";
+-    my $no_opts = "@$argv_options_removed_ref";
+-    $all_argv=~s/--citation//;
+-    if($all_argv ne $no_opts) {
+-	::warning("--citation ignores all other options and arguments.");
+-	::status("");
+-    }
+-
+-    ::status(
+-	"Academic tradition requires you to cite works you base your article on.",
+-	"If you use programs that use GNU Parallel to process data for an article in a",
+-	"scientific publication, please cite:",
+-	"",
+-	"\@software{tange_2022_6213471,",
+-	"      author       = {Tange, Ole},",
+-	"      title        = {GNU Parallel 20220222 ('Donetsk Luhansk')},",
+-	"      month        = Feb,",
+-	"      year         = 2021,",
+-	"      note         = {{GNU Parallel is a general parallelizer to run",
+-        "                       multiple serial command line programs in parallel",
+-	"                       without changing them.}},",
+-	"      publisher    = {Zenodo},",
+-	"      doi          = {10.5281/zenodo.6213471},",
+-	"      url          = {https://doi.org/10.5281/zenodo.6213471}",
+-	"}",
+-	"",
+-	"(Feel free to use \\nocite{tange_2022_6213471})",
+-	"",
+-	# Before changing these lines, please read
+-	# https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice and
+-	# https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt
+-	# You accept to be put in a public hall of shame by removing
+-	# these lines.
+-	"This helps funding further development; AND IT WON'T COST YOU A CENT.",
+-	"If you pay 10000 EUR you should feel free to use GNU Parallel without citing.",
+-	"",
+-	"More about funding GNU Parallel and the citation notice:",
+-	"https://lists.gnu.org/archive/html/parallel/2013-11/msg00006.html",
+-	"https://www.gnu.org/software/parallel/parallel_design.html#Citation-notice",
+-	"https://git.savannah.gnu.org/cgit/parallel.git/tree/doc/citation-notice-faq.txt",
+-	"",
+-	"If you send a copy of your published article to tange\@gnu.org, it will be",
+-	"mentioned in the release notes of next version of GNU Parallel.",
+-	""
+         );
+-    while(not grep { -e "$_/will-cite" } @Global::config_dirs) {
+-	print "\nType: 'will cite' and press enter.\n> ";
+-	my $input = <STDIN>;
+-	if(not defined $input) {
+-	    exit(255);
+-	}
+-	if($input =~ /will cite/i) {
+-	    mkdir $Global::config_dir;
+-	    if(open (my $fh, ">", $Global::config_dir."/will-cite")) {
+-		close $fh;
+-		::status(
+-		    "",
+-		    "Thank you for your support: You are the reason why there is funding to",
+-		    "continue maintaining GNU Parallel. On behalf of future versions of",
+-		    "GNU Parallel, which would not exist without your support:",
+-		    "",
+-		    "  THANK YOU SO MUCH",
+-		    "",
+-		    "It is really appreciated. The citation notice is now silenced.",
+-		    "");
+-	    } else {
+-		::status(
+-		      "",
+-		      "Thank you for your support. It is much appreciated. The citation",
+-		      "cannot permanently be silenced. Use '--will-cite' instead.",
+-		      "",
+-		      "If you use '--will-cite' in scripts to be run by others you are making",
+-		      "it harder for others to see the citation notice.  The development of",
+-		      "GNU Parallel is indirectly financed through citations, so if users",
+-		      "do not know they should cite then you are making it harder to finance",
+-		      "development. However, if you pay 10000 EUR, you should feel free to",
+-		      "use '--will-cite' in scripts.",
+-		      "");
+-		last;
+-	    }
+-	}
+-    }
+ }
+ 
+ sub show_limits() {

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-23 02:34:50 UTC (rev 1136213)
+++ PKGBUILD	2022-02-23 02:35:37 UTC (rev 1136214)
@@ -1,73 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Vianney le Clément <vleclement AT gmail·com>
-# Contributor: Peter Simons <simons at cryp.to>
-
-pkgbase=parallel
-pkgname=('parallel' 'parallel-docs')
-pkgver=20220122
-pkgrel=1
-pkgdesc='A shell tool for executing jobs in parallel'
-arch=('any')
-url='https://www.gnu.org/software/parallel/'
-license=('GPL3')
-source=(
-  "https://ftp.gnu.org/gnu/$pkgbase/$pkgbase-$pkgver.tar.bz2"{,.sig}
-  '0001-Remove-citation-things.patch'
-)
-sha512sums=('8466e3a37930fdb1b77f8976bef6875f12cd57423d82afded9e30c6a15fd2361b6c50991f43c4a6d61d354d11a5f6da3344da72b1efc67fb7eda30a5242b1873'
-            'SKIP'
-            '579c776fce963558b079b79aed2e4d9404e01ff990f91d57a28b4584a06e8abb38659b68a1d465652ba112c4c1a74c1a5389c6f7f1c259a7401b80d490225b4b')
-b2sums=('5a4d37442aa7319e8ea4b18a0b29ea8a69a4b235a938bd26e76e977da12c6d8f2cf1ce6bda2fff41b14f39750dadd6d60e58cf80cab82eaf9eb8f71e4b997a63'
-        'SKIP'
-        '716255ec10b1811b70e8c3012157e55c0cc01c80bf78ce89e321e313e7ee410f6c9a68afc3607e56c1181e940798265dd54ec3a2b7f5b748e5d930d48e476302')
-validpgpkeys=('CDA01A4208C4F74506107E7BD1AB451688888888')
-
-prepare() {
-  cd "$pkgbase-$pkgver"
-
-  # remove citation warnings
-  patch -p1 <"$srcdir"/0001-Remove-citation-things.patch
-
-  # remove gnu branding
-  sed \
-    --in-place \
-    --regexp-extended \
-    --expression 's/GNU\s{1,3}Parallel/Parallel/g' \
-    --expression 's/run_gnu_parallel/run_parallel/g' \
-    --expression 's/with_GNU_Parallel/with_Parallel/g' \
-    --expression 's/GNU \$Global::progname/\$Global::progname/g' \
-    --expression 's/@GNU_Parallel/@Parallel/g' \
-    src/parallel
-}
-
-build() {
-  cd "$pkgbase-$pkgver"
-
-  ./configure --prefix=/usr
-
-  make
-}
-
-package_parallel() {
-  depends=('perl' 'procps')
-
-  cd "$pkgbase-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-
-  # split documentation out of main package
-  mv "$pkgdir/usr/share/doc" docs
-}
-
-package_parallel-docs() {
-  pkgdesc+=' (documentation)'
-
-  cd "$pkgbase-$pkgver"
-
-  install -vd "$pkgdir/usr/share/doc"
-  mv -v docs/* "$pkgdir/usr/share/doc"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: parallel/repos/community-any/PKGBUILD (from rev 1136213, parallel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-23 02:35:37 UTC (rev 1136214)
@@ -0,0 +1,73 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Vianney le Clément <vleclement AT gmail·com>
+# Contributor: Peter Simons <simons at cryp.to>
+
+pkgbase=parallel
+pkgname=('parallel' 'parallel-docs')
+pkgver=20220222
+pkgrel=1
+pkgdesc='A shell tool for executing jobs in parallel'
+arch=('any')
+url='https://www.gnu.org/software/parallel/'
+license=('GPL3')
+source=(
+  "https://ftp.gnu.org/gnu/$pkgbase/$pkgbase-$pkgver.tar.bz2"{,.sig}
+  '0001-Remove-citation-things.patch'
+)
+sha512sums=('3a5bb880fb4c4e2fa9ccda95359da36e16af5cdfc26095471613b03b994bf6fa2a8370933cc3a570069f5cb733475948b66f3d93cd78dfe20df5f0278148ba1e'
+            'SKIP'
+            'd0841cb0654ce7797874f9118cb44a57f84274b33e0984af29a67fd498b3f90f2a17450130490051d3f2191b533854989a27919b91c1f9af8ec0d6ba1d34fc99')
+b2sums=('55cc38cc93007be6c31a7a24df5fa2411aea07fe148caeb87de7756e6c8fcd47e47af72e90cd6d142469abdc653cd4de67e5994932f6db6bb123701cee72f88b'
+        'SKIP'
+        '41a5a1a002e618fa903046580ea9ba7902e174b901a3d0d590eba38615a064fcdba85272f308285e536a56ef60aa71e4e32d5ec697d99825fea1074fd39d0121')
+validpgpkeys=('CDA01A4208C4F74506107E7BD1AB451688888888')
+
+prepare() {
+  cd "$pkgbase-$pkgver"
+
+  # remove citation warnings
+  patch -p1 <"$srcdir"/0001-Remove-citation-things.patch
+
+  # remove gnu branding
+  sed \
+    --in-place \
+    --regexp-extended \
+    --expression 's/GNU\s{1,3}Parallel/Parallel/g' \
+    --expression 's/run_gnu_parallel/run_parallel/g' \
+    --expression 's/with_GNU_Parallel/with_Parallel/g' \
+    --expression 's/GNU \$Global::progname/\$Global::progname/g' \
+    --expression 's/@GNU_Parallel/@Parallel/g' \
+    src/parallel
+}
+
+build() {
+  cd "$pkgbase-$pkgver"
+
+  ./configure --prefix=/usr
+
+  make
+}
+
+package_parallel() {
+  depends=('perl' 'procps')
+
+  cd "$pkgbase-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  # split documentation out of main package
+  mv "$pkgdir/usr/share/doc" docs
+}
+
+package_parallel-docs() {
+  pkgdesc+=' (documentation)'
+
+  cd "$pkgbase-$pkgver"
+
+  install -vd "$pkgdir/usr/share/doc"
+  mv -v docs/* "$pkgdir/usr/share/doc"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list