New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31733 (closed submission: fixed)

Opened 20 months ago

Last modified 20 months ago

xmlpatch @0.3.3 Initial submission

Reported by: twic@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ak.ml@…
Port: xmlpatch

Description (last modified by ryandesign@…) (diff)

I have put together a port for the xmlpatch library:

http://xmlpatch.sourceforge.net/
http://sourceforge.net/projects/xmlpatch/

Attachments

Portfile (1.5 KB) - added by twic@… 20 months ago.
Portfile
patch-tests-check_diff.c.diff (353 bytes) - added by twic@… 20 months ago.
patch-tests-check_diff.c.diff

Change History

Changed 20 months ago by twic@…

Portfile

Changed 20 months ago by twic@…

patch-tests-check_diff.c.diff

comment:1 Changed 20 months ago by twic@…

One question. I have called this port 'xmlpatch'. That's the name of the project on SourceForge, and it seems like a reasonable name. However, the upstream author has done some packaging for Debian, where he calls it 'libxmlpatch'; because this project contains an executable as well as a library, that seems wrong, so i did not follow suit. Did i do the right thing?

comment:2 Changed 20 months ago by ak.ml@…

  • Cc ak.ml@… added

Cc Me!

comment:3 Changed 20 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Status changed from new to assigned
  • Description modified (diff)

The name "xmlpatch" seems fine. In MacPorts we usually go by what the upstream project calls it, and don't go prepending "lib" to things that are nevertheless libraries.

comment:4 Changed 20 months ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Committed in r86249 with these changes:

  • Instead of setting distfiles and worksrcdir, just set distname
  • Rewrote the glib2 dependency so glib2-devel could satisfy it
  • Used rmd160 and sha256 checksums
  • Rewrote master_sites to avoid redirects
  • Some whitespace changes and moved lines
  • Corrected license (the source files say "version 2.1 of the License, or (at your option) any later version")
  • Also installed documentation files (see PortfileRecipes)
Note: See TracTickets for help on using tickets.