[SOLVED] building Cinnamon (sid)

Archived topics about LMDE 1 and LMDE 2
xircon

Re: building Cinnamon (sid)

Post by xircon »

I have also tried it with the oneiric repos as well, still no joy.
GeneC

Re: building Cinnamon (sid)

Post by GeneC »

Hmmm! :)
Ingo - reply
January 23, 2012 at 7:26 pm
Great – and thanks for a desktop which respects the preferences of existing Linux users (currently with Gnome2).

The update came in today for “Lisa”. One question: will Cinnamon be available also for Debian-Wheezy once ist is stable and released (spring 2013)?

Edit by Clem:
It works in Debian Testing at the moment and it will be provided to LMDE users when UP4 is released (it’s already in their repository).
From Cinnamon Blog
http://cinnamon.linuxmint.com/?p=119
whirly

Re: building Cinnamon (sid)

Post by whirly »

UP4 ?
M_aD
Level 4
Level 4
Posts: 204
Joined: Sun Apr 27, 2008 9:03 am
Location: Belgium
Contact:

Re: building Cinnamon (sid)

Post by M_aD »

whirly wrote:UP4 ?
Update Pack 4 ;)
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

Okay, this 'apt build' is a neat trick. :D My kind of command. Don't know how to fly a plane? Apt build. Forgot your anniversary? Apt build.
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

I groped my way down a few blind alleys, but things are happy enough to compile and install. I think this is what worked, with the dependencies listed above.

Sid, virtualbox:

Code: Select all

~/Projects/mint $ git clone git://github.com/linuxmint/muffin
$ git clone git://github.com/linuxmint/Cinnamon
$ cd muffin
$ apt build
[ have a Snickers]
$ sudo make install
$ cd ../Cinnamon
$ ./autogen.sh
$ make
$ sudo make install
[log into gnome-session]
$ cinnamon --replace
OpenGL Info: Using XSHM for GLX_EXT_texture_from_pixmap
Segmentation fault
:( So close!
xircon

Re: building Cinnamon (sid)

Post by xircon »

Mine fails, incomprehensibly at:

Code: Select all

are -Werror -c core/display.c  -fPIC -DPIC -o .libs/display.o
core/display.c: In function 'key_event_description':
core/display.c:2886:3: error: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

make[5]: *** [display.lo] Error 1
make[5]: Leaving directory `/home/molly2/muffin/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/molly2/muffin/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/molly2/muffin/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/molly2/muffin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/molly2/muffin'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
molly2@n5010 ~/muffin $ 
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

xircon wrote:Mine fails, incomprehensibly at:

Code: Select all

are -Werror -c core/display.c  -fPIC -DPIC -o .libs/display.o
core/display.c: In function 'key_event_description':
core/display.c:2886:3: error: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

make[5]: *** [display.lo] Error 1
make[5]: Leaving directory `/home/molly2/muffin/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/molly2/muffin/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/molly2/muffin/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/molly2/muffin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/molly2/muffin'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
molly2@n5010 ~/muffin $ 
Deprecated, shmeprecated! It should power through the warning... I unfortunately don't know enough about the compile chain to offer useful advice. Try, uh, configure, make, apt build again?... that's a rough approximation to what I did :lol:
xircon

Re: building Cinnamon (sid)

Post by xircon »

Decided to ignore muffin as I have the deb installed from yesterday's playing around. Compiled/installed cinnamon all went OK, tried "cinnamon --replace" and, bang, I get the shell version of "Aw Snap" with log-out and turn off extensions, but no errors. Logged out (no choice) and underneath is cinnamon (or at least the bottom bar is there), so I turned off all extensions log out/in and tried again, still crashes, but again we get closer........................ ;)
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

xircon wrote:Decided to ignore muffin as I have the deb installed from yesterday's playing around. Compiled/installed cinnamon all went OK, tried "cinnamon --replace" and, bang, I get the shell version of "Aw Snap" with log-out and turn off extensions, but no errors. Logged out (no choice) and underneath is cinnamon (or at least the bottom bar is there), so I turned off all extensions log out/in and tried again, still crashes, but again we get closer........................ ;)
http://www.youtube.com/watch?v=DYD00DXZ9hk

I was explaining to someone about different Linux distros, and different desktops, and the new Cinnamon desktop, and how there's this poster on the forum with a great signature, it says Ubuntu is an African word that means 'I can't configure Debian.'

"That's funny," she says. "What are you doing over there?"

Uh...

"Cause it sounds like--"

Nope! Just making sure, the, ah, kernel... Validates? With all the proprietary, you know. Drivers.
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

hey, look at this :D :D
cinnamon-debian.png
bash history
apt log

64bit debs - USE AT YOUR OWN RISK - IT WORKS ON MY SYSTEM, MIGHT NOT IN YOURS

Edit: updated with 2012.01.31-snapshot cinnamon deb
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

Hey, that's great!

apt build -d (suppress warning: libmuffin-dev unavailable) in Cinnamon@e0a7a33ffa gives me:

Code: Select all

dpkg-shlibdeps: error: no dependency information found for /usr/lib/libmuffin.so.0 (used by debian/cinnamon/usr/lib/cinnamon/libcinnamon.so).
dh_shlibdeps: dpkg-shlibdeps -Tdebian/cinnamon.substvars debian/cinnamon/usr/bin/cinnamon debian/cinnamon/usr/lib/cinnamon/cinnamon-hotplug-sniffer debian/cinnamon/usr/lib/cinnamon/cinnamon-perf-helper debian/cinnamon/usr/lib/cinnamon/cinnamon-calendar-server debian/cinnamon/usr/lib/cinnamon/libcinnamon.so debian/cinnamon/usr/lib/mozilla/plugins/libcinnamon-browser-plugin.so returned exit code 2
make: *** [binary-predeb-IMPL/cinnamon] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
make has a permissions error with src/stamp-st-marshal.h. I'll keep trying.

Anyone have a reference for apt build? The apt(1) man page is for different stuff altogether.
xircon

Re: building Cinnamon (sid)

Post by xircon »

I followed your bash log - still get the same error with muffin :(
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

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;

i tried the apt build -d but it gave an error and i don't think it's a great idea anyway, because it tries to compile without checking;

once i had all the necessary deps (like 2 trucks of it :lol: ) compiling muffin was not hard; cinnamon was more difficult: first there's that dep loop, you have to install first the muffin debs before start the process (and i was banging my head against the wall for awhile there); then apt build failed a couple times but after ./autogen.sh things went smooth.

Code: Select all

cd Cinnamon
apt build
apt build
apt build
apt build
make
sudo make install
sudo ./autogen.sh
make
apt build
sudo make install
xircon, i dunno, hope this helps i based my "work" yesterday in your posts and mockturtl's :D
xircon

Re: building Cinnamon (sid)

Post by xircon »

I can't compile muffin, but can install the debs, I can compile cinnamon with no problems :?
GeneC

Re: building Cinnamon (sid)

Post by GeneC »

Gave it a shot, but better wait for the experts. :P

From 'zz's' .debs
http://dl.dropbox.com/u/17678856/cinnamon.tar.bz2


MUFFIN
Installed

Code: Select all

gir1.2-muffin-3.0_1.0.0_amd64.deb
muffin_1.0.0_amd64.deb
libmuffin0_1.0.0_amd64.deb
muffin-common_1.0.0_all.deb
Could not install

libmuffin-dev_1.0.0_amd64.deb

Code: Select all

Error: Cannot install 'libclutter-1.0-dev'
------------------------
libclutter-1.0-dev:
 Depends: libgdk-pixbuf2.0-dev but it is not going to be installed
 Depends: libcairo2-dev but it is not going to be installed
 Depends: libatk1.0-dev but it is not going to be installed
 Depends: libpango1.0-dev but it is not going to be installed
 Depends: libcogl-dev but it is not going to be installed
 Depends: libcogl-pango-dev but it is not going to be installed
 Depends: libjson-glib-dev but it is not going to be installed
kept chasing depends. and getting nowhere. :lol:

==================

CINNAMON

Code: Select all

cinnamon_1.2.0_amd64.deb

Error: Dependency is not satisfiable: libgjs0-libmozjs8d
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

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

Re: building Cinnamon (sid)

Post by GeneC »

00

OK. Will give it another try. Sounds like fun. :shock: :mrgreen:
I assume you are on 'testing' repos?
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

yeahh, this was made on lmde-testing

Code: Select all

inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.linuxmint.com/ debian main import backport romeo upstream
           deb-src http://packages.linuxmint.com/ debian main import backport romeo upstream #Added by software-properties
           deb http://ftp.debian.org/debian testing main contrib non-free
           deb-src http://ftp.debian.org/debian testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
           deb-src http://security.debian.org/ testing/updates main contrib non-free
           deb http://www.debian-multimedia.org testing main non-free
           deb-src http://www.debian-multimedia.org testing main non-free
           deb http://tridex.net/repo/debian/ wheezy main
GeneC

Re: building Cinnamon (sid)

Post by GeneC »

Thanks, buddy. :)

Lets see what happens.
(Where to heck is that CLONEZILLA disk) :?: :lol:
Locked

Return to “LMDE Archive”