Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368985 - games-kids/scratch: New ebuild for MIT's "scratch" programming environment for young people
Summary: games-kids/scratch: New ebuild for MIT's "scratch" programming environment fo...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 4 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
: 434502 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-28 07:39 UTC by Mike Nerone
Modified: 2018-12-22 21:28 UTC (History)
10 users (show)

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


Attachments
games-kids/scratch-1.4.0.1.ebuild (scratch-1.4.0.1.ebuild,2.33 KB, text/plain)
2011-05-28 07:39 UTC, Mike Nerone
Details
scratch-1.4.0.6.ebuild (scratch-1.4.0.6.ebuild,2.47 KB, text/plain)
2017-03-18 11:17 UTC, Arne Babenhauserheide
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Nerone 2011-05-28 07:39:07 UTC
Created attachment 274851 [details]
games-kids/scratch-1.4.0.1.ebuild

http://scratch.mit.edu/

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!
Comment 1 Eray Aslan gentoo-dev 2011-05-28 11:11:03 UTC
Aye, would be cool to have in the tree.  Perhaps games herd will be interested.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-09-09 20:16:13 UTC
*** Bug 434502 has been marked as a duplicate of this bug. ***
Comment 3 Min Wong 2012-10-03 01:19:08 UTC
I cant emerge this ebuild.anyone add it into the portage tree?I like this.
Comment 4 Trevor Wilson 2015-12-07 21:44:07 UTC
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.
Comment 5 Trevor Wilson 2015-12-22 11:24:15 UTC
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 :-(
Comment 6 Trevor Wilson 2015-12-22 13:31:42 UTC
Hi,

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.

Sincerely,

Trevor Wilson
Comment 7 Arne Babenhauserheide 2017-03-18 11:17:35 UTC
Created attachment 467434 [details]
scratch-1.4.0.6.ebuild

try at updating the ebuild to the most recent version. It’s not cleaned up a lot, though.
Comment 8 Arne Babenhauserheide 2017-03-18 11:24:14 UTC
Comment on attachment 467434 [details]
scratch-1.4.0.6.ebuild

my new ebuild misses Squeak, so it does not run yet.
Comment 9 Herb Miller Jr. 2018-06-12 21:01:12 UTC
New scratch 3.0 requires nodejs. I'll see if I can pull it into my VSCode effort.
Comment 10 Thomas Capricelli 2018-12-21 13:37:15 UTC
The 1.4.0.6 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.
Comment 11 James Le Cuirot gentoo-dev 2018-12-21 19:44:25 UTC
(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.
Comment 12 Thomas Capricelli 2018-12-22 18:29:41 UTC
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.
Comment 13 James Le Cuirot gentoo-dev 2018-12-22 21:28:51 UTC
(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.