Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288072 - dev-java/libantlr3c-3.2.ebuild (New Package)
Summary: dev-java/libantlr3c-3.2.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
: 329541 (view as bug list)
Depends on:
Blocks: 264196 329315
  Show dependency tree
 
Reported: 2009-10-07 16:22 UTC by Florent
Modified: 2012-07-18 14:53 UTC (History)
5 users (show)

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


Attachments
libantlr3c-3.1.4.ebuild (libantlr3c-3.1.4.ebuild,1.23 KB, text/plain)
2009-10-07 16:23 UTC, Florent
Details
dev-libs/antlr-c-3.1.4.ebuild (antlr-c-3.1.4.ebuild,1.36 KB, text/plain)
2009-10-13 17:10 UTC, MT
Details
antlr-c-3.1.4-doxygen.patch (antlr-c-3.1.4-doxygen.patch,638 bytes, patch)
2009-10-13 17:10 UTC, MT
Details | Diff
dev-libs/antlr-c-3.2.ebuild (antlr-c-3.2.ebuild,1.29 KB, text/plain)
2010-08-31 08:45 UTC, MT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florent 2009-10-07 16:22:28 UTC
Hi !

Please find attached libantlr3c-3.1.4.ebuild
The package's source's archive format is not recognized by unpack so that I had to write manual extraction commands.

libantlr3c is the C runtime library for the ANTLR parser.

Florent
Comment 1 Florent 2009-10-07 16:23:46 UTC
Created attachment 206336 [details]
libantlr3c-3.1.4.ebuild
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-10-08 15:16:01 UTC
The question is:
- Do we want separate bindings or make it part of antlr package itself? Are they released/versioned separately or together? Is this package at all usable standalone without the java part? (not even depending on it)
- If separate, what category? Surely not dev-java... dev-util?
Comment 3 MT 2009-10-13 17:10:23 UTC
Created attachment 206986 [details]
dev-libs/antlr-c-3.1.4.ebuild

Thank you very much @florent for your contribution.

Enhancements done to the ebuild:

- removed src_unpack() as it's useless; an explicit declaration of ${S} is sufficient to fix the build path;
- DEPEND/RDEPEND was wrong and not portage compliant;
- removed USE 'abiflags' as it's required only for old and broken gcc 2.x which are not in the portage tree;
- renamed USE 'antlrdebug' into 'debugger' to be more consistence with the other ebuilds that show similar features;
- some improvements to the doxygen generation;
- replaced 'einstall' call with a proper 'make' invokation;
- added USE 'static-libs' to correctly handle static *.a file and removal of useless .la files;

Hope to be useful.
Mauro Toffanin


> Do we want separate bindings or make it part of antlr package itself?
> Are they released/versioned separately or together?

antlr-c is a separated package from dev-java/antlr:3, but they are released together (accordling to upstream doc).

> Is this package at all usable standalone without the java part?
> (not even depending on it)

yes, it compiles/run fine without dev-java/antlr:3


> If separate, what category? Surely not dev-java... dev-util?

the package provides only header files and libraries, so 'dev-libs' is more appropriate.
Comment 4 MT 2009-10-13 17:10:55 UTC
Created attachment 206987 [details, diff]
antlr-c-3.1.4-doxygen.patch
Comment 5 MT 2009-10-13 17:16:48 UTC
my last concern: we need to slot the ebuild as dev-libs/antlr:3 and provide also dev-libs/antlr-c:2?
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-03 21:39:43 UTC
(In reply to comment #5)
> my last concern: we need to slot the ebuild as dev-libs/antlr:3 and provide
> also dev-libs/antlr-c:2?

Slot yes, provide :2 no (I think antlr2 bundles other language bindings in itself)
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2010-07-25 17:20:31 UTC
*** Bug 329541 has been marked as a duplicate of this bug. ***
Comment 8 Gergan Penkov 2010-08-14 09:00:47 UTC
The package is not usable without the original antlr, I've needed it for the forked-daapd ebuild and although ist was installed from this ebuild, forked-daapd config system didn' find it, so I think it needs an RDEPEND on antlr
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2010-08-14 10:55:40 UTC
(In reply to comment #8)
> The package is not usable without the original antlr, I've needed it for the
> forked-daapd ebuild and although ist was installed from this ebuild,
> forked-daapd config system didn' find it, so I think it needs an RDEPEND on
> antlr
> 

Not really. If you need to generate grammars at build time then you DEPEND on dev-java/antlr and needed runtime libraries but at runtime you only need the runtime library.
Comment 10 Gergan Penkov 2010-08-24 11:06:16 UTC
ah ok, I didn't know this. In this case the forked-daapd needs dependency on antlr.
Comment 11 MT 2010-08-31 08:45:48 UTC
Created attachment 245431 [details]
dev-libs/antlr-c-3.2.ebuild

New and updated ebuild.
Comment 12 Petteri Räty (RETIRED) gentoo-dev 2010-08-31 17:49:42 UTC
(In reply to comment #11)
> Created an attachment (id=245431) [details]
> dev-libs/antlr-c-3.2.ebuild
> 

In order to have 3.2 of this we first need antlr-3.2 so before we have that I think it's safest to commit the matching version.
Comment 13 Lukas Sandström 2011-08-14 11:58:25 UTC
This package is in gentoo-x86 as dev-libs/antlr-c now, so it might be time to close this bug.
Comment 14 Ralph Sennhauser (RETIRED) gentoo-dev 2012-07-18 14:53:55 UTC
(In reply to comment #13)
> This package is in gentoo-x86 as dev-libs/antlr-c now, so it might be time
> to close this bug.

Indeed, thanks.