Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216188 - dev-util/smc (New Package)
Summary: dev-util/smc (New Package)
Status: CONFIRMED
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: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-04-04 14:21 UTC by Toni Arnold
Modified: 2013-03-07 11:38 UTC (History)
2 users (show)

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


Attachments
The ebuild itself (smc-5.0.2.ebuild,11.62 KB, text/plain)
2008-04-04 14:24 UTC, Toni Arnold
Details
all in IUSE (emerge.max,92.98 KB, text/plain)
2008-04-04 14:25 UTC, Toni Arnold
Details
empty IUSE (emerge.min,30.53 KB, text/plain)
2008-04-04 14:25 UTC, Toni Arnold
Details
patch cegui 0.7 and boost (smc.tar.gz,9.93 KB, application/gzip-compressed)
2012-12-04 08:10 UTC, Mariano
Details
Ebuild smc 1.9 patches cegui and boost (smc.tar.gz,9.93 KB, application/gzip-compressed)
2012-12-04 08:13 UTC, Mariano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Arnold 2008-04-04 14:21:52 UTC
Please find attached an ebuild for the SMC State Machine Compiler from http://smc.sourceforge.net/
"SMC takes a state machine stored in a .sm file and generates a State pattern in twelve programming languages." I implemented the "c cxx java perl python ruby tcl" USE flags (c to be added to use.local.desc), but omitted C#, Groovy, Lua, Objective-C and VB.net (left to the interested audience).

The extensive multiple eclass  inheritance is probably something like the ebuild maintainers's nightmare. But the huge patch list in the src_unpack for the current version 5.0.2 mainly reflects the fact that SMC is developed on windoze, but this might ameliorate in future versions:
http://sourceforge.net/tracker/index.php?func=detail&aid=1930423&group_id=8964&atid=108964

Truly bootstrapping SMC on Gentoo accentuates the compelling beauty of the software: The lexer/parser for .sm files are written as SMC state machines, too, and compiled to the Java State patterns with SMC itself - "eat your own dogfood". Once you've struggled with hand-coded statemachines in a project and finally migrated to SMC, you'll never ever want to manually code a State pattern again. Maybe sometime there will be need for a global 'smc' USE flag like the 'swig' flag to enable rebuild of SMC state machines?

To get an idea of what to expect from the ebuild, you might want to peek at the emerge.min and emerge.max attachments.
Comment 1 Toni Arnold 2008-04-04 14:24:20 UTC
Created attachment 148620 [details]
The ebuild itself
Comment 2 Toni Arnold 2008-04-04 14:25:03 UTC
Created attachment 148622 [details]
all in IUSE
Comment 3 Toni Arnold 2008-04-04 14:25:30 UTC
Created attachment 148623 [details]
empty IUSE
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-17 02:34:45 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.
Heuristics show that no Gentoo developer has commented on your ebuild.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 5 Mariano 2012-12-04 08:09:32 UTC
New ebuild with patches of boost and cegui > 0.6 in a file.
Comment 6 Mariano 2012-12-04 08:10:39 UTC
Created attachment 331380 [details]
patch cegui 0.7 and boost
Comment 7 Mariano 2012-12-04 08:13:08 UTC
Created attachment 331382 [details]
Ebuild smc 1.9 patches cegui and boost

Sorry is no't a patch,is the ebuild with the epatch.