Bug 69055 - [PATCH] textproc/xml4j: update to 4.3.0 and fix port
Summary: [PATCH] textproc/xml4j: update to 4.3.0 and fix port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Herve Quiroz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 15:00 UTC by Hervé Quiroz
Modified: 2004-12-13 22:53 UTC (History)
1 user (show)

See Also:


Attachments
xml4j-4.3.0.patch (42.05 KB, patch)
2004-07-14 15:00 UTC, Hervé Quiroz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hervé Quiroz 2004-07-14 15:00:43 UTC
- Update to 4.3.0
- Handles conflicts with textproc/xerces-j
- Fixed download location
- bsd.java.mk 2.0 compliant
- Removed pkg-plist (38K)
- Install samples
- Updated pkg-descr
- Respect NOPORTDOCS

NOTE: This package is actually the IBM flavor of Xerces 2.6.2. Therefore we
have to set CONFCLITS in both ports. I didn't supply the patch for
textproc/xerces-j but it needs only the following statement:

CONFLICTS=	xml4j-4.*

This also means that the old com.ibm.xml.parsers.SAXParser is longer present in
the distribution. This could cause backward-compatibility issues. OTOH, I don't
think many people rely on this aspect of the port. Please correct me if I'm
wrong.

NOTE2: Required JDK version has changed from 1.1+ to 1.2+.

NOTE3: The port now installs everything in the "right" place: documentation in
${DOCSDIR}, samples in ${EXAMPLESDIR}, data in ${DATADIR} (overriden to
${JAVASHAREDIR}/${PORTNAME} as encouraged in [1]). Moreover it now respects
NOPORTDOCS, so that only JAR files and data are installed when it is set (this
includes the samples JAR but not the samples source code).

NOTE4: The port portlints fine.

NOTE5: Tilman Linneweh (arved@FreeBSD.org) is cc'ed because he is the
originator of a similar PR. I preferred to send another fresh new PR as there
are many changes and the old PR has been suspended more than one year ago.


[1] Porter's handbook - Using Java - Best practices
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-java.html#JAVA-BEST-PRACTICES

Generated with FreeBSD Port Tools 0.50
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-07-20 10:06:16 UTC
State Changed
From-To: open->feedback

After deinstallation: 

xml4j@menelaos [11:05:06]> ls -l /usr/local/share/java/xml4j/ 
total 10 
-r--r--r--  1 root  wheel  1206 Jul 20 10:38 personal-schema.xml 
-r--r--r--  1 root  wheel   619 Jul 20 10:38 personal.dtd 
-r--r--r--  1 root  wheel  1145 Jul 20 10:38 personal.xml 
-r--r--r--  1 root  wheel  2139 Jul 20 10:38 personal.xsd 

Cheers, 
Volker
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2004-07-22 10:49:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vs

Committed, thanks! 
I'll track the residue: Please check if moving from xml4j to xerces 
is required for textproc/xt (which is a bit outdated).
Comment 3 Hervé Quiroz 2004-08-08 14:15:34 UTC
Volker,

I've started investigating textproc/xt and it seems to me that this
commit does break something. Indeed, the 'xt-xml4j' script will not be
able to find the correct JAR file. Anyway, textproc/xml4j is not even
part of the dependencies for textproc/xt. Moreover, the recent update to
textproc/xp has broken something else (the 'xt-xp' script will not find
the JAR file here again).

Given all of that and the fact that textproc/xt port is outdated, I will
provide a set of patches to update both textproc/xp (ports/70143) and
textproc/xt. Still I am waiting for the former to be commited to work on
the later.

Shall we use this PR as a reminder or should I send a new, specific one?

Herve
Comment 4 Volker Stolz freebsd_committer freebsd_triage 2004-08-09 12:07:15 UTC
Responsible Changed
From-To: vs->hq

Hervé will track the residue.
Comment 5 Herve Quiroz freebsd_committer freebsd_triage 2004-08-09 13:48:46 UTC
State Changed
From-To: feedback->patched

We're almost done with this PR. 
I'm tracking the residue: investigating textproc/xt.
Comment 6 Herve Quiroz freebsd_committer freebsd_triage 2004-12-13 22:51:32 UTC
State Changed
From-To: patched->closed

The path for textproc/xp has not yet been commited but I'm pretty sure this 
will not change anything with xml4j. So let this PR close now.