[SOLVED] building Cinnamon (sid)

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

Re: building Cinnamon (sid)

Postby xircon on Mon Jan 23, 2012 5:35 pm

I have also tried it with the oneiric repos as well, still no joy.
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

Linux Mint is funded by ads and donations.
 

Re: building Cinnamon (sid)

Postby GeneC on Mon Jan 23, 2012 5:40 pm

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

Re: building Cinnamon (sid)

Postby whirly on Mon Jan 23, 2012 9:05 pm

UP4 ?
whirly
Level 2
Level 2
 
Posts: 68
Joined: Tue Jul 05, 2011 7:20 pm

Re: building Cinnamon (sid)

Postby Mr. B on Mon Jan 23, 2012 9:13 pm

whirly wrote:UP4 ?


Update Pack 4 ;)
User avatar
Mr. B
Level 3
Level 3
 
Posts: 146
Joined: Sun Apr 27, 2008 9:03 am

Re: building Cinnamon (sid)

Postby mockturtl on Mon Jan 23, 2012 11:05 pm

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.
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 Mon Jan 23, 2012 11:43 pm

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

Re: building Cinnamon (sid)

Postby xircon on Tue Jan 24, 2012 5:10 am

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 $
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 mockturtl on Tue Jan 24, 2012 5:23 am

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

Re: building Cinnamon (sid)

Postby xircon on Tue Jan 24, 2012 6:00 am

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........................ ;)
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 mockturtl on Tue Jan 24, 2012 12:53 pm

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.
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 Wed Jan 25, 2012 11:18 pm

hey, look at this :D :D
cinnamon-debian.png
cinnamon-debian.png (593.19 KiB) Viewed 3083 times

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
Image

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

Re: building Cinnamon (sid)

Postby mockturtl on Thu Jan 26, 2012 3:02 am

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

Re: building Cinnamon (sid)

Postby xircon on Thu Jan 26, 2012 5:19 am

I followed your bash log - still get the same error with muffin :(
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 6:58 am

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
Image

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

Re: building Cinnamon (sid)

Postby xircon on Thu Jan 26, 2012 7:08 am

I can't compile muffin, but can install the debs, I can compile cinnamon with no problems :?
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 GeneC on Thu Jan 26, 2012 1:47 pm

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

Re: building Cinnamon (sid)

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

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

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

Re: building Cinnamon (sid)

Postby GeneC on Thu Jan 26, 2012 1:59 pm

00

OK. Will give it another try. Sounds like fun. :shock: :mrgreen:
I assume you are on 'testing' repos?
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

Re: building Cinnamon (sid)

Postby zerozero on Thu Jan 26, 2012 2:02 pm

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
Image

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

Re: building Cinnamon (sid)

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

Thanks, buddy. :)

Lets see what happens.
(Where to heck is that CLONEZILLA disk) :?: :lol:
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.
 
PreviousNext

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 3 guests