Page 4 of 21

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 2:29 pm
by GeneC
zerozero wrote:hi Gene, you need 2 things (and even then i'm not sure it gonna work :lol: )
- the deb-src for mint and debian repos;
- correct the pin-priority (i was stuck with libcairo2-dev until then), so the preferences file reads 700 for all repos (you already know the drawbacks of that- font rendering might go bummm :shock: )
I tried it that way. Your right.

I'd have to update 'libcairo2' from debian to install 'libcairo2-dev' and loose my nice fonts from Clem. :D
As you know :lol: I am real fussy about that. So THAT ain't going to happen.
Going to wait and see.

Thanks.

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 7:32 pm
by mockturtl
zerozero wrote:mockturtl, do you have muffin and its debs already compiled at that moment? if so install them before go to compile cinnamon, that dep (libmuffin-deb) is available as one of the debs you compiled;
Ah ha. I ran make install in the muffin directory, but never noticed the pile of .debs in the parent. :oops:

After compiling and installing those with gdebi...

Code: Select all

muffin-common
libmuffin-dev
gir1.2-muffin-3.0
libmuffin0
muffin
...Cinnamon spits out a .deb, which gives me "Dependency not satisfiable: libgjs0-libmozjs8d." That's Gene's problem on page 3, which I hope is a sign my i386 debs are healthy. :)

200MB of updates available after adding the deb-src repos... I'll d-u and see what happens.

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 7:40 pm
by zerozero
heh i was a bit lost for seconds as well in the same compiling moment as you :lol:

as for cinnamon, remember what clem said
Then get the source code for Cinnamon, compile it and install the deb. Make sure to get the source codes from Git, and if things don’t compile perform “sudo ./autogen.sh” and “apt build”.
i had to do
sudo ./autogen.sh
make
apt build
sudo make install
and somehow :lol: :lol: it worked

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 7:45 pm
by xircon
@ZZ - how did you get around the libgjs problem, I get the same error as Gene trying your debs.

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 7:56 pm
by zerozero
steve,
i have installed libgjs-dev and libgjs0b (both 1.30.0-2) can't trace back now when and how they got here (as you see in my logs from yesterday, i installed about half OS :mrgreen: )

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 8:08 pm
by xircon
Both mine are at v1.30.0-3 :?

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 8:38 pm
by zerozero
and i reckon that with that v. it doesn't work? i didn't try them yet in sid but maybe it's a no-go

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 8:45 pm
by mockturtl
Adding the deb-src sid repo seems to have fixed the "unsatisfiable libgjs-libmozjs" problem -- now I can gdebi cinnamon.deb. (It says it's removing python-pyapt. Sure, why not?) Then...

Code: Select all

$ cinnamon --replace
cinnamon: error while loading shared libraries: libmozjs.so.9d: cannot open shared object file: No such file or directory
So I install libmozjs9d, libmozjs-dev*... and recompile

* I don't think I rebuilt muffin after this step, which I should have done
* turned out things work without these packages, see below

Code: Select all

$ sudo autogen.sh && sudo apt build
Installing the new deb and running cinnamon gives me a segfault. This can't hurt, can it?

Code: Select all

$ sudo make install
Now running cinnamon seems to do something -- reboot, and it's an option in gdm. Loads up without complaining, although I have no panels anywhere in sight. :lol:

Re: building Cinnamon (sid)

Posted: Thu Jan 26, 2012 9:15 pm
by mockturtl
mockturtl wrote:200MB of updates available after adding the deb-src repos... I'll d-u and see what happens.
Hmm. This had the effect of:

Code: Select all

$ tail /var/log/aptitude
...
Will install 135 packages, and remove 4 packages.
48.5 MB of disk space will be freed
===============================================================================
[REMOVE, NOT USED] libmozjs-dev
[REMOVE, NOT USED] libmozjs9d
[REMOVE, NOT USED] xulrunner-9.0
[REMOVE, NOT USED] xulrunner-dev
[INSTALL, DEPENDENCIES] libcrystalhd3
[INSTALL, DEPENDENCIES] libmozjs185-1.0
[INSTALL, DEPENDENCIES] libmozjs185-dev
...
[UPGRADE] libgjs-dev 1.30.0-2 -> 1.30.0-3
[UPGRADE] libgjs0b 1.30.0-2 -> 1.30.0-3
...
Log complete.
Aptitude 0.6.4: log report
Thu, Jan 26 2012 18:08:59 -0500
I already reinstalled libmozjs. I'll try putting xulrunner back, too.

edit: None of that helped, so I re-removed all four of those packages.

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 12:08 am
by mockturtl

Code: Select all

muffin$ sudo apt build
Installed all these debs.

Code: Select all

Cinnamon$ sudo ./autogen.sh && sudo make && sudo make install
Cinnamon$ cinnamon --replace
...gave me the gnome-shell Sad Face Of Death, over and over.

Code: Select all

Cinnamon$ sudo apt build
Note: I did not install this deb! (edit: in retrospect, that doesn't make much sense... I might have gotten confused. If at first you don't succeed, try installing the deb.)

Code: Select all

Cinnamon$ cinnamon --replace
Frabjous day! Callooh! Callay!

Image

Image

http://dl.dropbox.com/u/8181658/cinnamu ... sid.tar.gz

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 2:02 am
by Andrew33
I don't mean to interupt, but is there a repo yet for cinnamon....I've tried installing cinnamon 1.2 & cinnamon session on my laptop, but there are some dependency issues that apparently can't be installed.....it's funny though, because a lot of those dependencies are actually in LMDE and I'm also running Sid....any thoughts...cheers


Andrew

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 2:31 am
by mockturtl
andrew5859 wrote:I don't mean to interupt, but is there a repo yet for cinnamon....I've tried installing cinnamon 1.2 & cinnamon session on my laptop, but there are some dependency issues that apparently can't be installed.....it's funny though, because a lot of those dependencies are actually in LMDE and I'm also running Sid....any thoughts...cheers

Andrew
Kind of -- a cinnamon package is in the LMDE repo, but it's not usable yet (the linuxmint incoming repo will have to be brought up to date with debian testing, with UP4).

Meanwhile, we have to build from source. My i386-sid debs, or zerozero's amd64-wheezy debs may work on your system. Warning: installing these could break your system. Don't try it in a mission-critical environment.

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 2:41 am
by mockturtl
Secret sauce!

Image

Themes

Code: Select all

$ git clone git://github.com/linuxmint/cinnamon-themes
Run the test script.

Weather

Code: Select all

$ git clone git://github.com/merlwiz79/cinnamon-extension-weather
Follow the instructions in the README to build and configure.

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 4:01 am
by stz*j
Hi all, jumping in for a treat of muffin with cinnamon :lol:

Trying to run apt build in the muffin directory, got this error (excerpt below):

Code: Select all

checking for CLUTTER... no
configure: error: Package requirements (clutter-1.0) were not met:

Package 'Clutter' requires 'atk >= 2.1.5' but version of Atk is 2.0.1

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

Alternatively, you may set the environment variables CLUTTER_CFLAGS
and CLUTTER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [debian/stamp-autotools] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I got libatk1.0-dev (v2.2.0-2) and libclutter-1.0-dev (v1.8.2-2) both installed from testing, but it's still not building. Then what dependency am I missing?? Running on 32-bit btw.

EDIT: Not a dependency problem, I run ./configure and it passes the Clutter part just fine, but running apt build fails :( Thinking of how to bypass that part.

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 4:27 am
by xircon
Mockturtl, I am not worthy! Installed the deb produced by your last set of instructions, cinnamon --replace fails miserably, but it is now in the menu of desktops at login.

So I have muffin from the precompiled debs and cinnamon compiled by me and installed from the deb in my home folder.

Time to play.

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 5:59 am
by xircon
So this is what I have got so far.....
Image

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 6:17 am
by zerozero
mockturtl wrote: Frabjous day! Callooh! Callay!

Image
8) yeahh

steve, i don't see any problem in your last screenie, that looks like cinnamon to me :D


@stz*j, are you trying on testing or sid, 32 or 64?

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 6:49 am
by xircon
Any ideas on how to change the window theme (close, max, min buttons etc)?

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 6:59 am
by stz*j
zerozero wrote: @stz*j, are you trying on testing or sid, 32 or 64?
LMDE Testing, 32-bit (With minimal mixing of gnome-shell 3.2 from sid, that shouldn't affect things too much, I think). I don't see why 'apt build' detects that I have atk 2.0.1 installed but running ./configure on a freshly baked muffin folder passes that clutter point. Tried reinstalling libatk1.0-dev but didn't work either :/

Maybe I should reboot and test it out, or change the PKG_CONFIG_PATH somewhere, if I can find it. Let's see how my fonts will change into :D

Re: building Cinnamon (sid)

Posted: Fri Jan 27, 2012 7:02 am
by zerozero
steve, according to Mint 12 Tips & Tricks Guide 5h you should be able to do it with Dconf, but i don't have that key here in my system :(