Created attachment 274851 [details]
Scratch is a graphical programming environment for young people. It lets them create interactive animations and games, and also provides a mechanism for sharing their creations via the project;s web site.
My first pass at an ebuild is attached. I'm thinking games-kids/scratch. I don't think that category really does it justice, but I don't see anything better in existence already except maybe dev-lang (maybe games-edu or even dev-edu would be nice). I'd like feedback on that.
Note 1: I'm experiencing some stuttering in the audio with the alsa driver. If I'm doing something wrong in the ebuild that's causing that, I'd love to know about it.
Note 2: There's currently an LDFLAGS warning because part of it is precompiled (but the ebuild compiles the plugins). Any way to supress that? And does this need to be a -bin ebuild?
All feedback welcome!
Aye, would be cool to have in the tree. Perhaps games herd will be interested.
*** Bug 434502 has been marked as a duplicate of this bug. ***
I cant emerge this ebuild.anyone add it into the portage tree?I like this.
Hi, I just wanted to let people know that I am interested in becoming the maintainer for this project. I am starting to read through the dev handbook and have reached out to #gentoo-proxy-maint. I will be super busy for the rest of this week, but next week I will start learning the ins and outs of writing an ebuild and will start by writing one for Scratch.
I would really like to support this package, but sadly it depends on flex, which in turn depends on adobe air. Adobe air has not been maintained in a long while now: https://get.adobe.com/air/. Adobe did release an Adobe Air porting kit, but it does not appear that anyone has taken up the job of porting recent versions of air to linux: http://blogs.adobe.com/flashplayer/2011/06/adobe-air-and-linux-increasing-distribution-on-devices.html. Apparently more recent versions of adobe air work from wine: http://jcward.com/Setup+AIR+3.9+SDK+On+Ubuntu+12.04.
I am really disappointed because this road block seems to be a show stopper for getting Scratch 2.0 on linux :-(
I am happy to say that there is a binary version of the flex-sdk that I am going to be creating an ebuild for. This will allow me to then create an ebuild for scratch. See https://bugs.gentoo.org/show_bug.cgi?id=152970.
Created attachment 467434 [details]
try at updating the ebuild to the most recent version. It’s not cleaned up a lot, though.
Comment on attachment 467434 [details]
my new ebuild misses Squeak, so it does not run yet.
New scratch 3.0 requires nodejs. I'll see if I can pull it into my VSCode effort.
The 184.108.40.206 ebuild in attachements doesn't work (anymore?) because of a missing eclass
* confutils.eclass could not be found by inherit()
Scratch has been around for very long, but the only way to have it in gentoo is through wine...
That 'kinda' works, but it's a pain to install i and i need to do it more and more often.
(In reply to Thomas Capricelli from comment #10)
> Scratch has been around for very long, but the only way to have it in gentoo
> is through wine...
> That 'kinda' works, but it's a pain to install i and i need to do it more
> and more often.
What makes you think that? Scratch 2 uses Adobe AIR. Support for Linux isn't great but it works and still beats using Wine.
I'm not sure to understand your statement. I use the wine/windows version because there's no ebuild for gentoo, which is the purpose of this ticket.
(In reply to Thomas Capricelli from comment #12)
> I'm not sure to understand your statement. I use the wine/windows version
> because there's no ebuild for gentoo, which is the purpose of this ticket.
Why rule out a manual installation of v2? I guess the reason it's not hit the tree in recent years is because:
* v2 is ancient while v3 always seems just around the corner.
* Adobe AIR is no longer in the tree because of security issues.
* We wouldn't build v2 from source as it isn't worth the effort.
* v3 will probably be a pain to package.
* You can easily try a preview of v3 at https://beta.scratch.mit.edu.