Bug 476440 - Review Request: latexdiff - Determine and mark up significant differences between latex files
Summary: Review Request: latexdiff - Determine and mark up significant differences bet...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Orcan Ogetbil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-14 18:38 UTC by Dan Kenigsberg
Modified: 2009-02-05 02:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-14 09:40:05 UTC
Type: ---
Embargoed:
oget.fedora: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Dan Kenigsberg 2008-12-14 18:38:11 UTC
Spec URL: http://www.cs.technion.ac.il/~danken/latexdiff.spec
SRPM URL: http://www.cs.technion.ac.il/~danken/latexdiff-0.20071020-1.fc10.src.rpm
Description: Latexdiff is a Perl script for visual mark up and revision of significant differences between two latex files.  Various options are available for visual markup using standard latex packages such as color.  Changes not directly affecting visible text, for example in formatting commands, are still marked in the latex source.  A rudimentary revision facility is provided by another Perl script, latexrevise, which accepts or rejects all changes.  Manual editing of the difference file can be used to override this default behaviour and accept or reject selected changes only.

Comment 1 manuel wolfshant 2008-12-15 05:29:13 UTC
I'd say that the version number is not correct. Nowhere in the scripts or on the website do I see any reference to 20071020. OTOH there are references as  "Version 0.42 November 06  Bug fixes only" (in the script) and "Version 	
0.5" (on the main web page of the project)

License is not correct. The website claims GPLv2+ but the scripts themselves include:
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License Version 2 as published by
#    the Free Software Foundation.
This clearly makes them GPLv2 (not GPLv2+)

Comment 2 Dan Kenigsberg 2008-12-15 10:44:36 UTC
Thanks for the review.

As I understand it, "version 0.42" in latexdiff and "version 0.3" in latexrevise relate to the versions of the separate scripts. Since I did not find any version number for the whole package, I chose the latest update date of files within.

Do you have a better idea (maybe 0.0.20071020, to let upstream choose 0.43 one day in the future ?)

See http://www.cs.technion.ac.il/~danken/latexdiff-0.0.20071020-1.fc10.src.rpm and http://www.cs.technion.ac.il/~danken/latexdiff.spec for updated version and license.

Comment 3 Orcan Ogetbil 2008-12-20 22:42:35 UTC
I think it would be better to use the pre-release notation (see kismet in [1]). By the way, your SRPM link is broken.

[1] http://fedoraproject.org/wiki/Packaging/NamingGuidelines#Pre-Release_packages

Comment 4 Dan Kenigsberg 2008-12-21 21:34:19 UTC
That's fine by me
http://www.cs.technion.ac.il/~danken/latexdiff-0-0.1.20071020snap.fc10.src.rpm

Comment 5 Orcan Ogetbil 2008-12-22 07:31:30 UTC
* On the website 
   http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=latexdiff
I see that version is 0.5 
As you said there are different version references within the source. I would try to get in touch with the author to ask about the correct version.
I think it should be OK to go with the version of the latexdiff script for the whole package, because the whole package is named after that script.

* It looks like this package must be noarch.

* rpmlint gives bunch of errors of these types:
   W: summary-ended-with-dot
   E: description-line-too-long
   W: spurious-executable-perm
   W: incoherent-version-in-changelog
   E: no-binary
   E: empty-debuginfo-package
They are all easy to fix.

? Why don't you use the existing Makefile facility?

* I think all of doc/support/latexdiff/* files should go to %doc

? The source/latexdiff/example/ can go to %doc too. What do you think?

? Is the wrapper script source/latexdiff/contrib/latexdiff-wrap useful? Should we package it?

* We prefer %defattr(-,root,root,-)

* I don't think
   Requires: perl
is necessary. rpmbuild itself picks up the perl dependencies. (check with "rpm -qpR <package.rpm>")

Comment 6 Dan Kenigsberg 2008-12-28 23:58:03 UTC
Ok, let's use version 0.5.

I hope I got all your (*)s sorted. rpm passes rpmlint cleanly now.

I did not see how the supplied Makefile could work. It relates to non-existing filenames and ignores the tarball directpry structure. avoiding seemed simpler than fixing it.

using latexdiff is so simple that I don't think the example is really useful.

I have never used latexdiff-wrap, and not anxious to try.

http://www.cs.technion.ac.il/~danken/latexdiff-0.5-1.fc10.src.rpm

Comment 7 Orcan Ogetbil 2009-01-10 13:44:23 UTC
Sorry, I've been away for a while. Now I'm back and we can finish up this beast. Here are a few more issues to address.

* Please add the changes you made to the changelog in the future with the correct date(s). It'll be easier to see what is actually changed. That's why we keep a changelog.

* Also please switch to %defattr(-,root,root,-)

* We should preserve the timestamps of all the relevant files we package in the %install section. By relevant files, I mean the non-compiled files.

* Please remove the commented-out line(s) that are unnecessary. Also, in the comments and in the changelog section, we use %% for macros instead of a single %, so that the macros don't expand out during package building.

Comment 8 Dan Kenigsberg 2009-01-10 20:06:54 UTC
done. see http://www.cs.technion.ac.il/~danken/latexdiff.spec

Comment 9 Orcan Ogetbil 2009-01-11 16:59:29 UTC
All good.

--------------------------------------------
This package (latexdiff) is APPROVED by oget
--------------------------------------------

Please supply the SRPM (in addition to the SPEC) whenever you make an update during the review process in the future. It makes life easier for reviewers.

Comment 10 Dan Kenigsberg 2009-01-11 18:50:00 UTC
New Package CVS Request
=======================
Package Name: latexdiff
Short Description: Determine and mark up significant differences between latex files
Owners: danken
Branches: F-10
InitialCC: danken

Comment 11 Kevin Fenzi 2009-01-13 20:37:14 UTC
cvs done.

Comment 12 Fedora Update System 2009-01-16 20:20:33 UTC
latexdiff-0.5-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/latexdiff-0.5-2.fc10

Comment 13 Fedora Update System 2009-02-05 02:11:36 UTC
latexdiff-0.5-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.