Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113603 - [NEW EBUILD] jflex-1.4.1
Summary: [NEW EBUILD] jflex-1.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://jflex.de
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-11-25 19:23 UTC by Paulo Fidalgo
Modified: 2007-07-02 09:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the ebuild (jflex-1.4.1.ebuild,754 bytes, text/plain)
2005-11-25 19:23 UTC, Paulo Fidalgo
Details
jflex launcher (jflex,88 bytes, text/plain)
2005-11-25 19:24 UTC, Paulo Fidalgo
Details
now installs into /usr/share/jflex and not /usr/share/jflex- (removed-dash.patch,604 bytes, patch)
2006-06-06 16:54 UTC, Ben Taitelbaum
Details | Diff
suggested script using java-config (jflex,105 bytes, text/plain)
2006-06-06 16:59 UTC, Ben Taitelbaum
Details
Updated ebuild file (jflex-1.4.1.ebuild,1.11 KB, text/plain)
2006-12-30 22:09 UTC, Ron Kuris
Details
jflex-1.4.1.ebuild (jflex-1.4.1.ebuild,1.01 KB, text/plain)
2007-03-01 20:37 UTC, Mike Smith
Details
Updated ebuild (jflex-1.4.1.ebuild,1.43 KB, text/plain)
2007-05-21 15:35 UTC, Jean-Noël Rivasseau (RETIRED)
Details
This patch is needed to build JFlex 1.4.1 (jflex-1.4.1-build.xml.patch,885 bytes, patch)
2007-05-21 15:36 UTC, Jean-Noël Rivasseau (RETIRED)
Details | Diff
Better ebuild (builds with JAVA_PKG_STRICT) (jflex-1.4.1.ebuild,1.61 KB, text/plain)
2007-05-22 13:05 UTC, Jean-Noël Rivasseau (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo Fidalgo 2005-11-25 19:23:10 UTC
This is an ebuild for jflex version 1.4.1 
I've tested with sucess with jdk 1.4 and 1.5. 
there's a litle bash script wich replaces the original because it's more 
simple. 
Any improvements are welcome!
Comment 1 Paulo Fidalgo 2005-11-25 19:23:36 UTC
Created attachment 73622 [details]
the ebuild
Comment 2 Paulo Fidalgo 2005-11-25 19:24:16 UTC
Created attachment 73623 [details]
jflex launcher
Comment 3 Ben Taitelbaum 2006-06-06 16:54:36 UTC
Created attachment 88564 [details, diff]
now installs into /usr/share/jflex and not /usr/share/jflex-

I think setting SLOT removes the dash. Sorry if I'm totally off the ball here, but this is the first time I've tried editing an ebuild.
Comment 4 Ben Taitelbaum 2006-06-06 16:59:06 UTC
Created attachment 88565 [details]
suggested script using java-config

It seems that using java-config would be a safer way to do this, but would this add a runtime dependency that's not already handled?
Comment 5 Ron Kuris 2006-12-30 22:09:05 UTC
Created attachment 105026 [details]
Updated ebuild file

I rewrote this ebuild using the newer standards, as well as providing an option to add to the vim syntax files.  I am willing to help maintain this package.
Comment 6 Mike Smith 2007-03-01 20:37:14 UTC
Created attachment 111734 [details]
jflex-1.4.1.ebuild

A modified ebuild, changes:
+ fetching deps during fetch, not compile
+ source use flag will install sources
+ java-ant-2 will rewrite the build.xml and set ant dep for us

Notable problems are reliance on 2 binary distributed jars to build:
1) JFlex.jar - This is a bootstrapping issue that *could* be fixed by splitting the build.xml into 2 files.  The first would build the jar and not depend on it.
2) java_cup.jar - This is a problem b/c the version includes a cup ant task not included in the portage version of javacup.  A newer version could be added to portage, but to build it there appears to be a dep on jflex - so we have a nasty circular dep.
Comment 7 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-05-21 15:35:38 UTC
Created attachment 119890 [details]
Updated ebuild

This is a working ebuild that will install JFlex. It uses a special JFlex library to bootstrap, and depend on javacup-0.11a_beta20060608.
Comment 8 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-05-21 15:36:24 UTC
Created attachment 119892 [details, diff]
This patch is needed to build JFlex 1.4.1
Comment 9 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-05-22 13:05:19 UTC
Created attachment 119995 [details]
Better ebuild (builds with JAVA_PKG_STRICT)
Comment 10 Alistair Bush (RETIRED) gentoo-dev 2007-07-02 09:03:00 UTC
Closing as added to cvs.