Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#50175 closed defect (duplicate)

Incorrect hashes in latexdiff

Reported by: jcvernaleo (John C. Vernaleo) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: latexdiff

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The package latexdiff does not currently install. The checksums in the distfile are incorrect.

Instead of:

29	checksums           rmd160  ee4c002be4865a01161bf45b2e2a5fd830e2b143 \
30	                    sha256  9f0cc207d71a2225926cf9b8b87dbc4283c68de12db8a7708e780941516f13f6

it should be:

rmd160 f79073607eacda0e15945717e3eaaa718075712c \
sha256 d530d268dd54458d728218e9ec7b4d9e9bc2858148bab64f277143e6a40fccee

based on the latest download from http://www.ctan.org/pkg/latexdiff

Also, the current version (which is what that link points to is 1.1.1, not 1.1.0).

For versioned downloads the distfile should probably grab from github instead, but since this prevents texlive from installing it probably should be fixed fairly quickly.

Change History (4)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #50174, which was fixed.

comment:2 Changed 9 years ago by mojca (Mojca Miklavec)

Yes, my idea was to fetch it from github as well, but the author has some very very weird packaging strategy on github. The packaging on GitHub should be fixed first as it doesn't work out of the box. Volunteers to contact the author welcome.

comment:3 Changed 9 years ago by jcvernaleo (John C. Vernaleo)

Understood. Most of my ports experience is with openbsd/bitrig ports and that recently gained the ability to point to github commits by hash (which is extremely helpful).

If you give me some idea of what you want from the github repo I can do some pull requests to try to get the author to do it. I don't mind dealing with upstream projects (I do it a lot in my job) but I don't know offhand what structure would be best for your end.

comment:4 Changed 9 years ago by mojca (Mojca Miklavec)

See https://github.com/ftilmann/latexdiff

The problem is that what is in the github repository is not equivalent to what is on CTAN.

Instead of putting releases 1.0.1, 1.0.2, etc. to their own tags in git, they are present in master in their own subfolders which is not what git was supposed to be used for. I could live with that, but then the other files in master are not complete either, the script latexdiff-fast is missing for example and the latest release doesn't have its own subfolder, so that I could fetch the files from there.

I don't think that a simple pull request would do (even though it might improve things and might be sufficient for our needs). For a proper solution one would have to refactor the git repository completely.

Last edited 9 years ago by mojca (Mojca Miklavec) (previous) (diff)
Note: See TracTickets for help on using tickets.