You are not logged in.

#1 2010-12-04 12:22:10

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Ubuntu Unity: help needed in order to succesfully build it

Unity (now on AUR) can't be built right now due to the fact that some of it's dependencies can't be built. For example, nux-bzr. It doesn't find "glewmx", even though it's currently installed.

If there are any suggestions, please post them here, so that we could have something that works.

Offline

#2 2010-12-04 12:35:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Ubuntu Unity: help needed in order to succesfully build it

I'm too lazy to build it myself, but would take a look at the error if some build output was posted...  tongue

Offline

#3 2010-12-04 12:38:35

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

About nux-bzr ?

Here you are

http://aur.pastebin.com/M59v0DGB

(of course glewmx is installed since it's in the dependencies in PKGBUILD)

Offline

#4 2010-12-05 15:51:12

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

Nobody huh ? ... hmm

Offline

#5 2010-12-05 16:12:29

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Ubuntu Unity: help needed in order to succesfully build it

nothing to see here

Last edited by falconindy (2010-12-05 16:53:53)

Offline

#6 2010-12-05 16:19:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Ubuntu Unity: help needed in order to succesfully build it

It looks like glewmx needs to install a pkg-config file or the nux-bzr PKGBUILD has to:

# Alternatively, you may set the environment variables NUX_MESH_CFLAGS
# and NUX_MESH_LIBS to avoid the need to call pkg-config.

Fixing glewmx would be my first choice.

Offline

#7 2010-12-05 16:49:06

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

Well, it seems glewmx installs a pkgconfig file, which reports "glew" instead of glewmx (1).

Instead of that, I tried to make symlinks in the PKGBUILD

package() {
        cd glew-${pkgver}
        make GLEW_DEST="${pkgdir}/usr" install
        ln -s "${pkgdir}/usr/lib/libGLEW.so.${pkgver}" "${pkgdir}/usr/lib/libGLEWmx.so.${pkgver}"
        ln -s "${pkgdir}/usr/lib/libGLEW.so.${pkgver}" "${pkgdir}/usr/lib/libGLEWmx.so"
}

(2). Well, that, of course doesn't help. I'll try sed'ing the pkgconfig file.

EDIT: That didn't help too... I hope there were any .spec files to investigate.

Last edited by flamelab (2010-12-05 16:54:26)

Offline

#8 2010-12-05 16:56:54

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Ubuntu Unity: help needed in order to succesfully build it

This seems relevant.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582546

Looks like debian just added a glewmx.pc file but never bothered to feed it back upstream?

Offline

#9 2010-12-05 17:21:15

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

Hmm, *that* fixes the glewmx pkgconfig detection

package() {
        cd glew-${pkgver}
        make GLEW_DEST="${pkgdir}/usr" install
        ln -s "${pkgdir}/usr/lib/libGLEW.so.${pkgver}" "${pkgdir}/usr/lib/libGLEWmx.so.${pkgver}"
        ln -s "${pkgdir}/usr/lib/libGLEW.so.${pkgver}" "${pkgdir}/usr/lib/libGLEWmx.so"
        cd ${pkgdir}/usr/lib/pkgconfig && mv glew.pc glewmx.pc
        sed -i s'/glew/glewmx/g' glewmx.pc
        sed -i s'/GLEW/GLEWmx/g' glewmx.pc

}

And it can be found by nux-bzr, BUT new problem

checking pkg-config is at least version 0.9.0... yes
checking for NUX_CORE... yes
checking for NUX_IMAGE... yes
checking for NUX_MESH... no
configure: error: Package requirements (glib-2.0 >= 2.25.14
                  gdk-pixbuf-2.0
                  glew
                  glewmx
                  ) were not met:

No package 'glew' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables NUX_MESH_CFLAGS
and NUX_MESH_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

glewmx must COEXIST with glew. But glewmx in AUR conflicts with glew.

Huh...



------------

OH,


        cd ${pkgdir}/usr/lib/pkgconfig && mv glew.pc glewmx.pc

I replaced mv with cp and we have both "glew.pc" and "glewmx.pc", so nux-bzr can detect it. Continuing...

Last edited by flamelab (2010-12-05 17:29:31)

Offline

#10 2010-12-08 18:32:40

lafka
Member
Registered: 2010-08-24
Posts: 9

Re: Ubuntu Unity: help needed in order to succesfully build it

Your package glewmx-fixed resolves the issue: http://aur.archlinux.org/packages.php?ID=44175

I encountered problems with PNG library i don't have access to the machine im building on right now, il come back with an error later.

Anyways since Unity is part of the Ayatana project, this should be posted under there.

Offline

#11 2010-12-09 23:25:39

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

I made dependency changes in unity PKGBUILD. It is highly possible that it can RUN now. Please try it ! I'm currently unable to make ... the decorations work in Compiz 0.9.x for unknown reason.

------

OK, the decorations were enabled by running


compiz-git --replace --sm-disable --ignore-desktop-hints ccp

Here is Unity, barely running (it surely needs more GNOME & Ubuntu stuff installed as well)


tNmh5aQ

Last edited by flamelab (2010-12-10 00:11:40)

Offline

#12 2011-04-26 21:37:50

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

I had abandoned all the Unity packages, since they were a bit of a pain maintaining them.

Today, I wanted to try them again, and I found out that the glewmx-fixed is long gone from AUR ! Where can I find maybe a conv on aur-general, if somebody requested deletion ?

Offline

#13 2011-04-26 23:37:09

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Ubuntu Unity: help needed in order to succesfully build it

flamelab wrote:

I had abandoned all the Unity packages, since they were a bit of a pain maintaining them.

Today, I wanted to try them again, and I found out that the glewmx-fixed is long gone from AUR ! Where can I find maybe a conv on aur-general, if somebody requested deletion ?

I don't remember seeing that request, but couldn't you simply search the archives?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#14 2011-04-27 05:44:29

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

ngoonee wrote:
flamelab wrote:

I had abandoned all the Unity packages, since they were a bit of a pain maintaining them.

Today, I wanted to try them again, and I found out that the glewmx-fixed is long gone from AUR ! Where can I find maybe a conv on aur-general, if somebody requested deletion ?

I don't remember seeing that request, but couldn't you simply search the archives?

Αre they searchable? From where ?

Offline

#15 2011-04-27 08:01:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Ubuntu Unity: help needed in order to succesfully build it

Here.

Offline

#16 2011-04-27 13:41:58

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Ubuntu Unity: help needed in order to succesfully build it

tomk wrote:

Or use google with <search terms> site:<address as shown above>


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#17 2011-04-29 02:11:23

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

glewmx-fixed is back, I didn't find any mail up there (manually or with google).

But, despite that, Unity is a pain again. Bamf can't be built without glib2 patched with Ubuntu's patches. Well, the latest glib2 on Canonical's servers with patches available (the .diffs), is 2.26. It conflicts with arch's 2.28, glib2-ubuntu, thus, doesn't "provide" glib2 2.28, and I think it can't be installed aside. A dead end, pfff.

Last edited by flamelab (2011-04-29 02:11:53)

Offline

#18 2011-05-03 05:55:28

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Ubuntu Unity: help needed in order to succesfully build it

glib2-ubuntu has been updated, but now I think I need half the GNOME 2 + Ubuntu patches for that thing to work.

-_-

Offline

#19 2011-05-03 14:28:44

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: Ubuntu Unity: help needed in order to succesfully build it

Your best bet might be to instead work with Unity 2d packages. From all looks of it, it is uing qt toolkit and not dependant on gnome. I even saw a screenshot of it running on top of KDE.

That, or wait until they beging working on the 11.10 version where supposedly they'll be porting unity to run on top of GNOME 3.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

Board footer

Powered by FluxBB