You are not logged in.

#1 2007-11-23 15:47:03

max-k
Member
From: Lyon - France
Registered: 2007-11-23
Posts: 38

Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

The Open Komodo Project, based on the award-winning Komodo IDE, is a new initiative by ActiveState to create an open source platform for building developer environments. ActiveState has open-sourced elements of Komodo Edit, a free multi-language editor for dynamic languages based on Komodo IDE, to create the Open Komodo code base.

Why use Open Komodo?

    * It's free as in speech
    * It's focused on development using dynamic languages and Internet technologies
    * It's built using web-based technologies and dynamic languages
    * It's an established product, ready to use
    * It allows you to work the way you want to
    * It's built for developers by developers
    * It's easily extensible using XML, JavaScript, and if you like, Python and C++
    * It has in-depth support for multiple languages
    * It is easy to get involved and every user can have a positive effect on the future of Open Komodo


Homepage : http://downloads.openkomodo.com/

Sources : http://downloads.openkomodo.com/openkom … x86.tar.gz

Screenshot :
Open-Komodo_1.png

Thanks a lot

Last edited by max-k (2007-11-25 14:40:35)

Offline

#2 2007-12-03 22:36:01

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

I second this request. I have tried this editor and it's really good for PHP development.

Offline

#3 2007-12-04 05:04:35

Fatsobob
Member
From: Colorado
Registered: 2006-06-27
Posts: 126

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

Heres a very basic PKGBUILD I made, having trouble uploading it to the aur, maybe you guys can give it a shot to see if it works before someone puts it on the aur.
the run command is komodo once installed.

# Contributor: Fatsobob <Fatsobob@gmail.com>

pkgname=openkomodo
pkgver=1.0.0
pkgrel=1
pkgdesc="Open Komodo is a new initiative by ActiveState to create an open source platform for building developer environments."
license="GPL"
url="http://www.openkomodo.com/"
depends=('python')
source=(http://downloads.openkomodo.com/openkomodo/nightly/latest-trunk/OpenKomodo-1.0.0-alpha1-416-linux-libcpp6-x86.tar.gz)
md5sums=('081b808410ea52d64bcd043e2fb939df')
arch=('i686')

build() {
  cd $startdir/src/OpenKomodo-1.0.0-alpha1-416-linux-libcpp6-x86
  ./install.sh -I $startdir/pkg
}

Offline

#4 2007-12-04 14:10:33

jonkristian
Member
From: Norway
Registered: 2007-03-09
Posts: 101
Website

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

did you tar it first?


PROCRASTINATION
is like masturbation...it's good in the beginning, but in the end, you realize
you've just fkd yourself

Offline

#5 2007-12-04 14:38:14

Fatsobob
Member
From: Colorado
Registered: 2006-06-27
Posts: 126

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

Yeah, I did what I have done before, it just has issues for some reason.

Offline

#6 2007-12-05 03:16:10

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

I'm having a bit of trouble running it.  I tried starting with komodo -v, and got this:

File "/lib/mozilla/components/koAppInfo.py", line 501, in __init__
    self._userPath = koprocessutils.getUserEnv()["PATH"].split(os.pathsep)
KeyError: 'PATH'
** Returning nsresult of NS_ERROR_FAILURE
ERROR: ko.main:
-- EXCEPTION START --
+ QueryInterface (function) 3 lines
+ message (string) 'KeyError: 'PATH''
+ result (number) 2147500037
+ name (string) '__init__'
+ filename (string) '/lib/mozilla/components/koAppInfo.py'
+ lineNumber (number) 501
+ columnNumber (number) 0
+ location (object) File "/lib/mozilla/components/koAppInfo.py", line 501, in __init__
| + QueryInterface (function) 3 lines
| + language (number) 0
| + languageName (string) 'Python'
| + filename (string) '/lib/mozilla/components/koAppInfo.py'
| + name (string) '__init__'
| + lineNumber (number) 501
| + sourceLine (string) 'self._userPath = koprocessutils.getUserEnv()["PATH"].split(os.pathsep)'
| + caller (object) File "<XPCOMObject method 'getServiceByContractID'>", line 3, in getServiceByContractID
| *
+ inner (object) null
| *
+ data (object) null
| *
*
-- EXCEPTION END --

When I start komodo, the main window comes up but it comes up empty and I can't open a file or anything.  the "start screen" in the screenshot does not appear.  Do I need to set an environment variable or something?

Offline

#7 2007-12-05 04:15:20

Fatsobob
Member
From: Colorado
Registered: 2006-06-27
Posts: 126

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

I guess the PKG is a bit broken or something. I will look into it a little in the morning, just a bit tired right now.

Offline

#8 2007-12-05 06:25:46

Jason5876
Member
Registered: 2007-11-25
Posts: 11

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

Scrawler,
  I am running that Openkomodo alpha1-416 fine here.  Since it is a prebuilt package, you are most likely just missing dependencies.  Do you have libidl, gtk2, and libjpeg installed?  There may be more, but if you are missing any of those that would be a start.

Last edited by Jason5876 (2007-12-05 06:27:00)

Offline

#9 2007-12-05 12:15:01

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

Well, if I run it straight from the src directory made by makepkg, it works as expected. The desktop icon point(ed) to the binary in src.  Also, the installed binary is in /bin/ .  Isn't putting stuff there discouraged?

Last edited by scrawler (2007-12-05 12:16:54)

Offline

#10 2007-12-05 13:44:55

Jason5876
Member
Registered: 2007-11-25
Posts: 11

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

I had made a PKGBUILD for this using the latest packaged version found at:

http://downloads.openkomodo.com/komodoe … x86.tar.gz

But Fatsobob has the PKGBUILD already covered.  The only real difference in mine, and it may not matter, is I installed into /opt/openkomodo since this package is pretty self-contained (./install.sh -I $startdir/pkg/opt/openkomodo).  I don't want it's own mozilla directory to clobber any existing mozilla directory in /usr/lib.  Arch installs Firefox and such into it's own directory in /opt of course, but I want to be able to install my own Seamonkey or Firefox in /usr/lib if I pleased.  I would, though use the install command "./install.sh -I $startdir/pkg/usr" to keep stuff in /usr if I was not going to install into /opt.  But this is probably not the cause of your problem.  I will look more at my install as well when I get home tonite.

Openkomodo builds are now being released as Komodo Edit, as well:

http://lists.openkomodo.com/pipermail/o … 00004.html

Last edited by Jason5876 (2007-12-05 19:20:01)

Offline

#11 2007-12-05 14:50:47

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: Can anyone build an Archlinux package for OpenKomodo [IDE] please ?

I removed the package, edited the PKGBUILD to install in /opt/openkomodo/.  Now it works, thanks.  I like /opt/ better than /usr/.

Offline

Board footer

Powered by FluxBB