Etherpad has been bought over by Google and has been down for a while but the sources has been released as shown by this message http://etherpad.com/ It would be great if an ebuild could be put together so that people could run their own etherpad instances. See: http://code.google.com/p/etherpad/ http://etherpad.org/ Reproducible: Always
I've made an attempt at creating an ebuild for etherpad and all it's dependencies which were missing from portage, in my ebuild called stuge. It's available using layman: layman -a stuge emerge etherpad -av Lots of dev-java dependencies. I know almost nothing about Java. Both the etherpad ebuild and ebuilds for dependencies that I have added in my overlay probably need some more USE flags. Please feel free to send me patches and/or reports about problems with the ebuild. In particular I'd like to not hard depend on openoffice. :)
hi stuge just checked your ebuild in git. i was looking for some kind of an initial attempt at an initscript, but looks like you haven't (commited?) attacked that yet. any thoughts on this?
Created attachment 265615 [details] etherpad init script for gentoo, adapter from the debian version running this against github:redhog/pad. quite hackish, but seems functional for me. starting/stopping soffice document converter seemed flaky: even though starting is commented out, etherpad seems to start it based on internal configuration, yet was unable to stop on its own, which the ebuild seems to handle well enough.
(In reply to comment #1) > I've made an attempt at creating an ebuild for etherpad and all it's > dependencies which were missing from portage, in my ebuild called stuge. It's > available using layman: > > layman -a stuge Thanks for your work! But why is it in the dev-java category? Wouldn't www-apps or app-office be more suitable? And where to get >=www-servers/jetty-6.1.20?
Created attachment 335234 [details] www-apps/etherpad-lite-bin-1.2.4.ebuild Etherpad-lite is a Web-based collaborative word processor based on Node.js (instead of Scala for etherpad-1.1). ebuild tested with: cd /usr/local/portage/$USER/www-apps/etherpad-lite-bin/ ; cp /home/$USER/etherpad-lite-bin-1.2.4.ebuild . ; RESTRICT="strip mirror" ebuild etherpad-lite-bin-1.2.4.ebuild manifest ; USE=mysql PORTDIR_OVERLAY=/usr/local/portage/$USER MYSQL_USER_PASSWORD=$MYSQL_USER_PASSWORD emerge -v etherpad-lite-bin USE=mysql makes a bug, only a mysql gourou could fix that. Without USE=mysql, it works, but the database type is JSON (raw file). I have tried to secure it, with all executable files now owned by root.
Created attachment 335236 [details] www-apps/etherpad-lite-bin/Manifest contains checksums for what I managed to compile and use. It now works for me, so it is enough for me. Feel free to make mysql, sqlite, postgresql or abiword work in this ebuild.
this needs a lot of work I am mildly interested, so if someone can clean up this, it has a chance to go into the tree.
No, it stopped working at some point :-( Now I use the normal installation procedure, with all executables owned by the process running etherpad. I am afraid it is too horrible to go inside the tree.
Just learnt on IRC #gentoo-python that, according to idella4, neurogeek made ebuilds for these in his overlay and he wrote up his own npm.eclass!!! And etherpad-lite-develop-1.4 still uses npm a lot, so this overlay will be useful for any progress done here.
update: etherpad-lite-developer needs nodejs packages, there might be a better installer than npm for node java script. npm.eclass is in #463782
Just a quick comment that it would be great to have an ebuild for this. I'd like to use it with Odoo.
@Comment 11: I stated in Comment 10 that the problem was to ask portage to update node js packages, in place of the current npm. Etherpad-lite launcher currently needs write access to its files :-( If you don't mind restricting the use of etherpad-lite to one account, type this: emerge <the etherpad ebuild I uploaded in this bug report; it merges necessary dependencies then fails> su - your-account git clone git://github.com/ether/etherpad-lite.git OR the line ( git is denied at my work, so I downloaded ether-etherpad-lite-1.5.6-0-ge509824.zip ) node node_modules/ep_etherpad-lite/node/server.js Hope this helps.
#gentoo-dev-help published the url of npm.eclass: https://github.com/neurogeek/gentoo-overlay/blob/master/eclass/npm.eclass