[Fink-devel] patch I found for fop, for Java 1.5

2006-05-28 Thread Chuck Robey
I see you're listed as the maintainer for fop, so i will give you my 
experiences here.  I couldn't get fop to build, after repeated tries.  
The error was listed as about 20 different problems with the sourcce 
code in fop itself.  The first one was instructive, in that it was very 
reasonable: it complained that "enum" was both a keyword AND being used 
as a variable, and I checked, and they were right, it was.


OK, so I went onto google and looked for "fop enum error" and found, in 
about the 5th file, the patch that I've included here.  You need to trim 
offf the header, so aas to yield a clean patch, but all I did after that 
was add it to the end of fink.patch, and the build went off perfectly, 
first time.


BTW, I have Java 1.5 here, that's problabaly my own problem.  Might be 
this problem doesn't exist for folks with Java 1.4.  BUT I did look at 
some of the fixes included, and they looked quite innocuous, like they 
would work for Java 1.4.  I don;'t honestly know how to test that 
assumption, though.
diff -Naur fop-0.20.5-orig/src/org/apache/fop/fonts/apps/PFMReader.java 
fop-0.20.5/src/org/apache/fop/fonts/apps/PFMReader.java
--- fop-0.20.5-orig/src/org/apache/fop/fonts/apps/PFMReader.java
2003-07-14 21:03:25.0 -0500
+++ fop-0.20.5/src/org/apache/fop/fonts/apps/PFMReader.java 2005-04-17 
21:40:44.633035168 -0500
@@ -370,16 +370,16 @@
 
 
 // Get kerning
-for (Iterator enum = pfm.getKerning().keySet().iterator(); 
enum.hasNext(); ) {
-Integer kpx1 = (Integer)enum.next();
+for (Iterator iter = pfm.getKerning().keySet().iterator(); 
iter.hasNext(); ) {
+Integer kpx1 = (Integer)iter.next();
 el = doc.createElement("kerning");
 el.setAttribute("kpx1", kpx1.toString());
 root.appendChild(el);
 Element el2 = null;
 
 Map h2 = (Map)pfm.getKerning().get(kpx1);
-for (Iterator enum2 = h2.keySet().iterator(); enum2.hasNext(); ) {
-Integer kpx2 = (Integer)enum2.next();
+for (Iterator iter2 = h2.keySet().iterator(); iter2.hasNext(); ) {
+Integer kpx2 = (Integer)iter2.next();
 el2 = doc.createElement("pair");
 el2.setAttribute("kpx2", kpx2.toString());
 Integer val = (Integer)h2.get(kpx2);
diff -Naur fop-0.20.5-orig/src/org/apache/fop/fonts/apps/TTFReader.java 
fop-0.20.5/src/org/apache/fop/fonts/apps/TTFReader.java
--- fop-0.20.5-orig/src/org/apache/fop/fonts/apps/TTFReader.java
2003-07-14 21:03:13.0 -0500
+++ fop-0.20.5/src/org/apache/fop/fonts/apps/TTFReader.java 2005-04-17 
21:40:44.634035016 -0500
@@ -423,14 +423,14 @@
 }
 
 // Get kerning
-Iterator enum;
+Iterator iter;
 if (isCid)
-enum = ttf.getKerning().keySet().iterator();
+iter = ttf.getKerning().keySet().iterator();
 else
-enum = ttf.getAnsiKerning().keySet().iterator();
+iter = ttf.getAnsiKerning().keySet().iterator();
 
-while (enum.hasNext()) {
-Integer kpx1 = (Integer)enum.next();
+while (iter.hasNext()) {
+Integer kpx1 = (Integer)iter.next();
 
 el = doc.createElement("kerning");
 el.setAttribute("kpx1", kpx1.toString());
@@ -443,8 +443,8 @@
 else
 h2 = (HashMap)ttf.getAnsiKerning().get(kpx1);
 
-for (Iterator enum2 = h2.keySet().iterator(); enum2.hasNext(); ) {
-Integer kpx2 = (Integer)enum2.next();
+for (Iterator iter2 = h2.keySet().iterator(); iter2.hasNext(); ) {
+Integer kpx2 = (Integer)iter2.next();
 if (isCid || kpx2.intValue() < 256) {
 el2 = doc.createElement("pair");
 el2.setAttribute("kpx2", kpx2.toString());
diff -Naur fop-0.20.5-orig/src/org/apache/fop/messaging/MessageHandler.java 
fop-0.20.5/src/org/apache/fop/messaging/MessageHandler.java
--- fop-0.20.5-orig/src/org/apache/fop/messaging/MessageHandler.java
2003-07-14 21:03:14.0 -0500
+++ fop-0.20.5/src/org/apache/fop/messaging/MessageHandler.java 2005-04-17 
21:40:44.639034256 -0500
@@ -156,9 +156,9 @@
 break;
 case EVENT:
 setMessage(message);
-Enumeration enum = listeners.elements();
-while (enum.hasMoreElements()) {
-((MessageListener)enum.nextElement()).processMessage(new 
MessageEvent(getMessage()));
+Enumeration enumer = listeners.elements();
+while (enumer.hasMoreElements()) {
+((MessageListener)enumer.nextElement()).processMessage(new 
MessageEvent(getMessage()));
 }
 break;
 case NONE:
@@ -205,11 +205,11 @@
 break;
 case EVENT:
 setMessage(message);
-Enumeration enum = listeners.elements();
-while (enum.hasMoreElemen

[Fink-devel] koffice/kross

2006-05-08 Thread Chuck Robey
I'm not sure this is the right list (hope so).  I've just done this 
selfupdate then update all twice, and I get the same results: the 
koffice build (I didn';t ask for koffice, apparently the kde-bundle 
bring it in) dies in building the kross library:

Error creating ./lib/kross/python/CXX/cxx_extensions.lo. Exit status 1.

The directory being built in is:   koffice-1.5.0-21

Here is a paste of the errors that immediately preceded the ending:

/var/tmp//ccC2Wdoq.s:28834:non-relocatable subtraction expression, 
"_ZZN2Py15PythonExtensionINS_22ExtensionModuleBasePtrEE7methodsEvE14map_of_methods" 
minus "L140$pb"
/var/tmp//ccC2Wdoq.s:28834:symbol: 
"_ZZN2Py15PythonExtensionINS_22ExtensionModuleBasePtrEE7methodsEvE14map_of_methods" 
can't be undefined in a subtraction expression
/var/tmp//ccC2Wdoq.s:28832:non-relocatable subtraction expression, 
"_ZZN2Py15PythonExtensionINS_22ExtensionModuleBasePtrEE7methodsEvE14map_of_methods" 
minus "L140$pb"
/var/tmp//ccC2Wdoq.s:28832:symbol: 
"_ZZN2Py15PythonExtensionINS_22ExtensionModuleBasePtrEE7methodsEvE14map_of_methods" 
can't be undefined in a subtraction expression
/var/tmp//ccC2Wdoq.s:28783:non-relocatable subtraction expression, 
"_ZZN2Py15PythonExtensionINS_22ExtensionModuleBasePtrEE7methodsEvE14map_of_methods" 
minus "L140$pb"
/var/tmp//ccC2Wdoq.s:28783:symbol: 
"_ZZN2Py15PythonExtensionINS_22ExtensionModuleBasePtrEE7methodsEvE14map_of_methods" 
can't be undefined in a subtraction expression
/var/tmp//ccC2Wdoq.s:28782:non-relocatable subtraction expression, 
"_ZZN2Py15PythonExtensionINS_22ExtensionModuleBasePtrEE7methodsEvE14map_of_methods" 
minus "L140$pb"
/var/tmp//ccC2Wdoq.s:28782:symbol: 
"_ZZN2Py15PythonExtensionINS_22ExtensionModuleBasePtrEE7methodsEvE14map_of_methods" 
can't be undefined in a subtraction expression

Error creating ./lib/kross/python/CXX/cxx_extensions.lo. Exit status 1.



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] linc1 problem

2003-02-18 Thread Chuck Robey
On Tue, 18 Feb 2003, Ben Hines wrote:

>
> On Tuesday, February 18, 2003, at 12:46  PM, Chuck Robey wrote:
>
> > ntirely possible that they're really caused by my environment.  Anyhow,
> > one I hit up against was linc1 trying to install a file "index.sgml"
> > which
> > didn't exist in subdir linc-0.5.5/docs/html, but the Makefile insisted
> > on
> > installing anyhow.  Since index.html is already installed, index.sgml
> > is
> >
>
> index.sgml was missing for you because you need to update doxygen
> first, which was crashing earlier in the compile output.

I guess I was thinking it was like any other make, where the first error
kills things.  OK, that's rather good because it's another error I won't
make again for fink.  Particularly useful comment, thanks.

>
> -Ben
>
>


Chuck Robey | Interests include C & Java programming, FreeBSD,
[EMAIL PROTECTED]   | electronics, communications, and SF/Fantasy.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary.




---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



[Fink-devel] linc1 problem

2003-02-18 Thread Chuck Robey
I have been on a longish job on a Sun, so I ignored my Powerbook for long
enough so that catchup on fink is more than trivial -- you see, I use the
Powerbook/fink environment in accessing a lot of other things, and
sometimes I pollute my environment a little, which can screw up fink (as I
guess any fink developer could tell you).

This makes me a little wary of sending in fixes I come around with.  It's
entirely possible that they're really caused by my environment.  Anyhow,
one I hit up against was linc1 trying to install a file "index.sgml" which
didn't exist in subdir linc-0.5.5/docs/html, but the Makefile insisted on
installing anyhow.  Since index.html is already installed, index.sgml is
pretty redundant, so I stuck in the little patch I have copied here:

--- linc-0.5.5/docs/Makefile.in.origTue Feb 18 01:44:13 2003
+++ linc-0.5.5/docs/Makefile.in Tue Feb 18 01:42:00 2003
@@ -338,8 +338,6 @@
echo '-- Installing '$$i ; \
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
  done; \
- echo '-- Installing $(srcdir)/html/index.sgml' ; \
- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
fi)

 #

I'm going to cover a different problem I'm having now with mozilla in a
separate mail.

--------
Chuck Robey | Interests include C & Java programming, FreeBSD,
[EMAIL PROTECTED]   | electronics, communications, and SF/Fantasy.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary.




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



[Fink-devel] pwlib

2002-11-25 Thread Chuck Robey
I am making myself a voice conference suite.  I am trying to get a
combination of pwlib, OpenH323, and gnome-meeting (I've gotten the first
two done, need to test the third, results may change my mind for me).

As part of this, I wanted the sound/pwlib to work, and the existing
sources for the version 1.3.8 no longer exist.  I fetched the 1.4.4
sources, proved that the upgrade was trivial, when I hit two problems that
need answering before I post the diffs to the list.

First, Stefano Rodriguez <[EMAIL PROTECTED]> is listed as the
maintainer, should that remain, or do I take it?  I don't mind taking it,
but I'm not sure of the established protocol here, should I wait a bit, or
what?  (Note that I cc'ed him here).

Second, pwlib seems to install all of it's stuff in /sw/lib/pwlib, which I
thought violated some of the rules.  It looks to me that there is really
no very good reason for the separate directory.  There is a good reason
for a /sw/include/pwlib, but not /sw/lib/pwlib/include.  Additionally,
there is a /sw/lib/pwlib/tools/ that has a asnparser/ in it, full of
source code and a executable binary.  I haven't done any mib work, which
is the only place I know that uses that asn stuff, but I am skeptical that
all that source code has no place in a port (where you don't expect the
full sources to get stuck).  If I need to develop with it, I'm going to
need the entire sources anyhow, the package wouldn't really help me.

It seems that the installed hierarchy might be wrong, and I need this
answered before I can upgrade the package.  I need this info also for the
OpenH323 package, because it builds nearly identically to the pwlib (no
surprise there, same development team).

Thanks!

--------
Chuck Robey | Interests include C & Java programming, FreeBSD,
[EMAIL PROTECTED]   | electronics, communications, and SF/Fantasy.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary.




---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel