Luz

Cannot run Luz Studio in Ubuntu Oneiric

Bug #850734 reported by Ian McIntosh
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Luz
In Progress
High
Ian McIntosh

Bug Description

hunzikea@AlexT400s:~/vcs/luz$ sudo apt-get install bzr ruby libgtk2-ruby libglade2-ruby libgtkglext1-ruby librmagick-ruby libcairo-ruby libsdl-ruby libinline-ruby imagemagick libopengl-ruby1.8 libserialport-ruby1.8 libvte-ruby1.8 ffmpeg libavcodec-extra-52 build-essential libasound2-dev libfftw3-dev liblo0-dev libgtkmm-2.4-dev libgtkglextmm-x11-1.2-dev libgl1-mesa-dev libglu1-mesa-dev libx11-dev libxext-dev libxi-dev libsdl1.2-dev libcwiimote-dev libbluetooth-dev libportmidi-dev liblo-dev libunique-dev libgst-ruby1.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'liblo-dev' instead of 'liblo0-dev'
Package libavcodec-extra-52 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libglade2-ruby
E: Unable to locate package libgtkglext1-ruby
E: Package 'libavcodec-extra-52' has no installation candidate

Revision history for this message
Ian McIntosh (ian-mcintosh) wrote :

I think libglade2-ruby has been deprecated and a port to Gtk::Builder is necessary.

I'm still unsure about libgtkglext1-ruby and libavcodec-extra-52.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

According to the changelog, it was dropped as it has been deprecated upstream.

* The following packages were dropped because they were deprecated by
    upstream:
    - libart2-ruby
    - libart2-ruby1.8
    - libart2-ruby1.8-dbg
    - libgnomecanvas2-ruby
    - libgnomecanvas2-ruby1.8
    - libgnomecanvas2-ruby1.8-dbg
    - libgnome2-ruby
    - libgnome2-ruby1.8
    - libgnome2-ruby1.8-dbg
    - libgconf2-ruby
    - libgconf2-ruby1.8
    - libgconf2-ruby1.8-dbg
    - libglade2-ruby
    - libglade2-ruby1.8
    - libglade2-ruby1.8-dbg
    - libgtkglext1-ruby
    - libgtkglext1-ruby1.8
    - libgtkglext1-ruby1.8-dbg
    - libgnomevfs2-ruby (Closes: #583901)
    - libgnomevfs2-ruby1.8
    - libgnomevfs2-ruby1.8-dbg
    - libpanel-applet2-ruby
    - libpanel-applet2-ruby1.8
    - libpanel-applet2-ruby1.8-dbg

https://launchpad.net/ubuntu/oneiric/+source/ruby-gnome2/+changelog

Changed in luz:
milestone: none → 1.0
Revision history for this message
Ian McIntosh (ian-mcintosh) wrote :

The dependence on libglade has been removed in trunk, so we're a big step closer to running in 11.10+.

I still don't know what we should be using for GL support in Ruby-Gtk+, now that gtkglext is gone.

Changed in luz:
assignee: nobody → Ian McIntosh (ian-mcintosh)
status: Confirmed → In Progress
Revision history for this message
Ian McIntosh (ian-mcintosh) wrote :

The maintainer of the Ruby-Gtk bindings reports that "We dropped [GtkGLExt] because nobody can maintain it."[1]

This leaves a few options:

1) Find a new maintainer for GtkGlExt in the official bindings

2) Adopt the GtkGlExt bindings into the Luz repo

3) Move to Luz 2.0, which includes dropping Gtk in Luz Studio and moving to a pure Ruby + OpenGL interface, with the benefits of Windows and OSX support, easy multi-user-over-a-LAN (aka LuzNet)

It seems that (2) could be a good short term solution, especially now that Luz is packaged for Ubuntu.

[1] http://sourceforge.net/mailarchive/forum.php?thread_name=20120401.110333.1047977546051732498.kou%40cozmixng.org&forum_name=ruby-gnome2-devel-en

Revision history for this message
cellstorm (cellstorm) wrote :

hm. I somehow got it to work on 12.04

I copied the /usr/lib/site_ruby folder from maverick (where luz works perfectly) into /opt/luz/lib on my percise install.

then I open terminal in precise:

   export PKG_CONFIG_PATH=/opt/luz/lib/pkgconfig/:$PKG_CONFIG_PATH
   export RUBYLIB=/opt/luz/lib/site_ruby/:$RUBYLIB

external dependencies: some are set for caution, e.g have not tried serial:

   sudo apt-get install ruby-builder, ruby-rmagick, ruby-serialport, ruby-blankslate, ruby-inline, libcairo-ruby, imagemagick, libopengl-ruby1.8, ffmpeg, libavcodec-extra-53

then get sources:

   bzr co --lightweight lp:~ian-mcintosh/luz/trunk luz

Now I had to replace Gdk::Keyval::GDK_ to Gdk::Keyval::GDK_KEY_ in all souce-files, as the naming for Keyval changed.

, and then make in luz folder worked.

Works fine as far as I can tell, albeit a bit hacky method.

I will make a package out of it, if there is demand I'll share it.

Revision history for this message
Ian McIntosh (ian-mcintosh) wrote : Re: [Bug 850734] Re: Cannot run Luz Studio in Ubuntu Oneiric

Luz development has moved to GitHub:

https://github.com/lighttroupe/luz

There are some instructions there for using it in 12.04.

2012/10/31 cellstorm <email address hidden>:
> hm. I somehow got it to work on 12.04
>
> I copied the /usr/lib/site_ruby folder from maverick (where luz works
> perfectly) into /opt/luz/lib on my percise install.
>
> then I open terminal in precise:
>
> export PKG_CONFIG_PATH=/opt/luz/lib/pkgconfig/:$PKG_CONFIG_PATH
> export RUBYLIB=/opt/luz/lib/site_ruby/:$RUBYLIB
>
>
> external dependencies: some are set for caution, e.g have not tried serial:
>
> sudo apt-get install ruby-builder, ruby-rmagick, ruby-serialport,
> ruby-blankslate, ruby-inline, libcairo-ruby, imagemagick, libopengl-
> ruby1.8, ffmpeg, libavcodec-extra-53
>
> then get sources:
>
> bzr co --lightweight lp:~ian-mcintosh/luz/trunk luz
>
> Now I had to replace Gdk::Keyval::GDK_ to Gdk::Keyval::GDK_KEY_ in
> all souce-files, as the naming for Keyval changed.
>
> , and then make in luz folder worked.
>
>
> Works fine as far as I can tell, albeit a bit hacky method.
>
> I will make a package out of it, if there is demand I'll share it.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/850734
>
> Title:
> Cannot run Luz Studio in Ubuntu Oneiric
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/luz/+bug/850734/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.