From: Stuart Henderson Subject: Re: UPDATE: textproc/latexmk To: danterobinson@tuta.io Cc: Ports Date: Fri, 14 Jun 2024 16:43:31 +0100 On 2024/06/14 17:24, danterobinson@tuta.io wrote: > I have changed my email default from HTML to plain text hopefully > that stops the HTML text being sent. I have also attached the patch > this time. Maybe it was mangled cause HTML setting? Sorry this is That one worked. It's normal to use plaintext for mailing lists, but most likely that wouldn't have helped the diff however it was OK when attached. > my first time ever using a mailing list. There isn't a whole lot of > info on the mail page https://www.openbsd.org/mail.html I did reply > all so it includes ports@openbsd as a CC I hope that is correct. > > > > Would be better to use "cvs diff" (if you fetched your ports tree via > > cvs) or "git diff" (if using the experimental git mirror). > > > The above text is trying to respond to Stuart I hope it works properly > and doesn't merge with my text. I couldn't figure this part out I am > more familiar with git however I setup my ports tree with Anon CVS > and when I run cvs diff it complains about there being no CVSROOT. > I exported a CVSROOT from the Anon CVS docs > https://www.openbsd.org/anoncvs.html and then it complains it > knows nothing of my Makefile.new which makes some sense to me > as it's not located there. I tried setting the CVSROOT to /usr as ports > is located in there but there is no cvsroot directory found. Maybe I > set something up wrong? Any help would be appreciated. Just edit Makefile, no need to copy it to a new name for this. > > REVISION should be removed on version update. > > > I removed it I wasn't sure why it was 0 before so I left it there. > > > That can use https. > > > I wasn't sure since the previous was http so I left it that way. I have > changed it to https. > > > > > The patch should be regenerated too. Use "make patch" and then "make > > update-patches". > > > This just tells me the patch is up to date. Not sure what this does I > couldn't find it in the make man page. That one's in the bsd.port.mk(5) manual. From the diff you sent (which just touches Makefile), the following are needed: make makesum make patch make update-patches (also do "make plist" after building, though it doesn't change anything in latexmk). which results in a diff like this: Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/latexmk/Makefile,v diff -u -p -r1.10 Makefile --- Makefile 27 Sep 2023 18:09:02 -0000 1.10 +++ Makefile 14 Jun 2024 15:39:42 -0000 @@ -1,12 +1,11 @@ COMMENT= LaTeX documents output generation automation tool -DISTNAME= latexmk-452c +DISTNAME= latexmk-485 EXTRACT_SUFX= .zip -REVISION= 0 CATEGORIES= textproc print -HOMEPAGE= http://www.phys.psu.edu/~collins/software/latexmk-jcc/ +HOMEPAGE= https://www.cantab.net/users/johncollins/latexmk/ # GPLv2+ PERMIT_PACKAGE= Yes Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/latexmk/distinfo,v diff -u -p -r1.4 distinfo --- distinfo 16 Jun 2017 23:41:29 -0000 1.4 +++ distinfo 14 Jun 2024 15:39:42 -0000 @@ -1,2 +1,2 @@ -SHA256 (latexmk-452c.zip) = eo/VDgvUbIcFqk4Py8NtAdUozJKpbXHhwA4fsuZITbI= -SIZE (latexmk-452c.zip) = 391327 +SHA256 (latexmk-485.zip) = ZsU/UPdPo9fGUaPpFmhWcGthltWNofQWdjAYOkq9wyU= +SIZE (latexmk-485.zip) = 566601 Index: patches/patch-latexmk_pl =================================================================== RCS file: /cvs/ports/textproc/latexmk/patches/patch-latexmk_pl,v diff -u -p -r1.6 patch-latexmk_pl --- patches/patch-latexmk_pl 11 Mar 2022 20:02:38 -0000 1.6 +++ patches/patch-latexmk_pl 14 Jun 2024 15:39:42 -0000 @@ -1,6 +1,7 @@ ---- latexmk.pl.orig Thu Jan 19 15:52:57 2017 -+++ latexmk.pl Fri Feb 24 10:36:01 2017 -@@ -978,6 +978,10 @@ else { +Index: latexmk.pl +--- latexmk.pl.orig ++++ latexmk.pl +@@ -1214,6 +1214,10 @@ else { $lpr_pdf = 'lpr %O %S'; $pscmd = "ps -ww -u $ENV{USER}"; }