A Crux port for ObMenu

If you know what Openbox is, I probably don’t have to tell you what ObMenu is. I looked around for a Crux port for it, but couldn’t find one. And since it’s an easy enough program to manage (it’s basically a one-liner to install), I scraped this together last night and tested it a couple of times.

# Description: Openbox menu editor
# URL: http://obmenu.sourceforge.net/
# Maintainer: 
# Packager: 
# Depends on: libglade pygtk

name=obmenu
version=1.0
release=1
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)

build() {
	cd $name-$version
	/usr/bin/python setup.py install --root=../../pkg/
}

It’s probably not the sexiest port out there, but it works well for me; let me know if it doesn’t for you. And no, I will not be setting up an entire repo so you can sync with it. That’s just silly. Besides, this hasn’t been updated in years.

Thanks to priyank for the AUR version, which is where most of this comes from. I listed only pygtk as a dependency (with libglade installed first, so it’s on hand when pygtk is compiled), since that should also draw in python if you don’t have that installed already. If I missed any others let me know.

Copy and paste (I put my edited ports into /usr/ports/local, but I suppose there are better ways of doing that), save and install. Fun!

About these ads

5 Responses to “A Crux port for ObMenu”


  1. 1 infinitycircuit 2008/06/09 at 9:53 AM

    Obmenu won’t run for me. It says that there is “No module named glade.” I have libglade installed, and I also tried installing glade but that didn’t fix it.

  2. 2 infinitycircuit 2008/06/09 at 10:18 AM

    Incidentally, I forgot to mention–I manually installed pygtk before libglade because otherwise I got strange footprint build errors with pygtk. Could this be the problem?

  3. 3 infinitycircuit 2008/06/09 at 11:11 AM

    That fixed it: I rebuilt pygtk with the following command with libgtk already installed:

    prt-get -if -fr depinst pygtk

  4. 4 infinitycircuit 2008/06/09 at 11:12 AM

    *libglade, not libgtk

    Sorry for quadruple posting!

  5. 5 K.Mandla 2008/06/09 at 3:18 PM

    So … is there a way to change the port so the dependencies are built in the correct order? Should it be …

    # Depends on: pygtk libglade

    ? And thanks for the note(s), by the way. :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,961,193 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: