[SOLVED] building Cinnamon (sid)

Questions about applications and software
Forum rules
Before you post please read this

Re: building Cinnamon (sid)

Postby GeneC on Thu Jan 26, 2012 2:29 pm

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.
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

Qiana (Cinnamon)
Sparky XFCE (Debian Testing)
EvolveOS (Budgie)
User avatar
GeneC
Level 7
Level 7
 
Posts: 1560
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Linux Mint is funded by ads and donations.
 

Re: building Cinnamon (sid)

Postby mockturtl on Thu Jan 26, 2012 7:32 pm

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.
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: building Cinnamon (sid)

Postby zerozero on Thu Jan 26, 2012 7:40 pm

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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6479
Joined: Tue Jul 07, 2009 2:29 pm

Re: building Cinnamon (sid)

Postby xircon on Thu Jan 26, 2012 7:45 pm

@ZZ - how did you get around the libgjs problem, I get the same error as Gene trying your debs.
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: building Cinnamon (sid)

Postby zerozero on Thu Jan 26, 2012 7:56 pm

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: )
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6479
Joined: Tue Jul 07, 2009 2:29 pm

Re: building Cinnamon (sid)

Postby xircon on Thu Jan 26, 2012 8:08 pm

Both mine are at v1.30.0-3 :?
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: building Cinnamon (sid)

Postby zerozero on Thu Jan 26, 2012 8:38 pm

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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6479
Joined: Tue Jul 07, 2009 2:29 pm

Re: building Cinnamon (sid)

Postby mockturtl on Thu Jan 26, 2012 8:45 pm

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:
Last edited by mockturtl on Fri Jan 27, 2012 12:22 am, edited 4 times in total.
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: building Cinnamon (sid)

Postby mockturtl on Thu Jan 26, 2012 9:15 pm

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.
Last edited by mockturtl on Fri Jan 27, 2012 12:09 am, edited 1 time in total.
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: building Cinnamon (sid)

Postby mockturtl on Fri Jan 27, 2012 12:08 am

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/cinnamuffin-1.2-SNAPSHOT-a64406545d-i386-sid.tar.gz
Last edited by mockturtl on Sun Jan 29, 2012 12:31 am, edited 2 times in total.
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: building Cinnamon (sid)

Postby andrew5859 on Fri Jan 27, 2012 2:02 am

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
Dell Latitude D810/2.26Ghz Intel/2GB Crucial/250GB WD/nVidia Quadro FX 1400 256MB/Intel Pro Wireless 2200BG
Win7 Bus 32 bit/LMDE-Sid-MATE 32/64 Tracking Sid


Image
User avatar
andrew5859
Level 4
Level 4
 
Posts: 418
Joined: Fri Mar 26, 2010 12:58 pm
Location: Boardman, Ohio USA

Re: building Cinnamon (sid)

Postby mockturtl on Fri Jan 27, 2012 2:31 am

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.
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: building Cinnamon (sid)

Postby mockturtl on Fri Jan 27, 2012 2:41 am

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.
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: building Cinnamon (sid)

Postby stz*j on Fri Jan 27, 2012 4:01 am

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.
Last edited by stz*j on Fri Jan 27, 2012 5:41 am, edited 1 time in total.
LMDE (Release 1), tracking debian testing, Kernel 3.14.1-686-pae i686 (32 bit), MATE & Enlightenment;
Plays (and rescues system) with experimental and sid repos on another partition with Cinnamon & Gnome3, if grub boots nice that is.
stz*j
Level 2
Level 2
 
Posts: 81
Joined: Fri Jun 25, 2010 3:08 am

Re: building Cinnamon (sid)

Postby xircon on Fri Jan 27, 2012 4:27 am

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.
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: building Cinnamon (sid)

Postby xircon on Fri Jan 27, 2012 5:59 am

So this is what I have got so far.....
Image
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: building Cinnamon (sid)

Postby zerozero on Fri Jan 27, 2012 6:17 am

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?
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6479
Joined: Tue Jul 07, 2009 2:29 pm

Re: building Cinnamon (sid)

Postby xircon on Fri Jan 27, 2012 6:49 am

Any ideas on how to change the window theme (close, max, min buttons etc)?
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: building Cinnamon (sid)

Postby stz*j on Fri Jan 27, 2012 6:59 am

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
LMDE (Release 1), tracking debian testing, Kernel 3.14.1-686-pae i686 (32 bit), MATE & Enlightenment;
Plays (and rescues system) with experimental and sid repos on another partition with Cinnamon & Gnome3, if grub boots nice that is.
stz*j
Level 2
Level 2
 
Posts: 81
Joined: Fri Jun 25, 2010 3:08 am

Re: building Cinnamon (sid)

Postby zerozero on Fri Jan 27, 2012 7:02 am

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 :(
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6479
Joined: Tue Jul 07, 2009 2:29 pm

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 4 guests