[SOLVED] building Cinnamon (sid)

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

Re: [SOLVED] building Cinnamon (sid)

Postby zerozero on Sun Mar 11, 2012 8:24 pm

the posts about Dan's issues are here

and i want in the meantime to highlight mockturtl's howto in the first page of this topic This should be everything you need to build Cinnamon on LMDE
Image

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

Linux Mint is funded by ads and donations.
 

Re: [SOLVED] building Cinnamon (sid)

Postby xircon on Mon Mar 12, 2012 4:34 pm

Trying to update cinnamon today, sudo apt build is failing:
Code: Select all
<snip>
ibs/libgvc.a -lpulse-mainloop-glib -lpulse -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib/cinnamon
/usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libmuffin.so, may conflict with libffi.so.6
./.libs/libcinnamon.so: undefined reference to `meta_get_top_window_group_for_screen'
collect2: ld returned 1 exit status
make[4]: *** [cinnamon-real] Error 1
make[4]: Leaving directory `/home/molly2/Cinnamon/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/molly2/Cinnamon/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/molly2/Cinnamon'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/molly2/Cinnamon'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Any ideas?

:Edit: It appears I need a new version of muffin. I still cannot build :(
Code: Select all
core/display.c:2886:3: error: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]


If some kind person could build me a set of x64 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: [SOLVED] building Cinnamon (sid)

Postby mockturtl on Mon Mar 12, 2012 7:24 pm

xircon wrote:Trying to update cinnamon today, sudo apt build is failing:
Code: Select all
<snip>
ibs/libgvc.a -lpulse-mainloop-glib -lpulse -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib/cinnamon
/usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libmuffin.so, may conflict with libffi.so.6
./.libs/libcinnamon.so: undefined reference to `meta_get_top_window_group_for_screen'
Don't worry, that zapped the devs too. :lol: If I caught the gist, top_window_group was added this weekend to fix a bug, and an old muffin doesn't know about it. I think they've fixed it now.

my amd64-wheezy:
muffin builds and installs (0e57527)
cinnamon builds and installs (ce6bbce)

I can zip up the debs and/or try a i386 build, if you like. Apparently 1.4 will drop this week. :D

I'm getting a better handle on a correct installation sequence; I guess make install is supposed to output to /usr/local, but make uninstall removes the files in /usr.
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: [SOLVED] building Cinnamon (sid)

Postby mockturtl on Mon Mar 12, 2012 7:40 pm

32-bit
md5: 7d565910927dfdfe6ab7b91a08e168e3

64-bit
md5: 3344be248d8eb6cff39f02c0722292a4
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: [SOLVED] building Cinnamon (sid)

Postby iLobster on Tue Mar 13, 2012 3:28 am

mockturtl wrote:32-bit
md5: 7d565910927dfdfe6ab7b91a08e168e3
64-bit
md5: 3344be248d8eb6cff39f02c0722292a4

"A later version is already installed". Should I force?
And, by the way, what exactly updated in this archive? Same names as present :?:

UPD: Suddenly found that I could move elements on upper panel just draggin 'em. :shock: So the panel is customizable! Wonderful!! :D
iLobster
Level 2
Level 2
 
Posts: 69
Joined: Fri Jul 08, 2011 9:07 am

Re: [SOLVED] building Cinnamon (sid)

Postby mockturtl on Tue Mar 13, 2012 8:21 am

iLobster wrote:"A later version is already installed". Should I force?

And, by the way, what exactly updated in this archive? Same names as present :?:
The official version in the linuxmint repos is 1.3.1-lmde1. My files are labeled 1.3.1 because the configs are not bumped to "1.4" until the release.

APT thinks the official version is newer, so if you apt-get upgrade before then, the stable 1.3.1 will overwrite the almost-1.4 you just installed.

UPD: Suddenly found that I could move elements on upper panel just draggin 'em. :shock: So the panel is customizable! Wonderful!! :D
I haven't been following along, I'm sure the changelog for the past 3 weeks is massive. 8)
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: [SOLVED] building Cinnamon (sid)

Postby zerozero on Tue Mar 13, 2012 12:50 pm

Image

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

Re: [SOLVED] building Cinnamon (sid)

Postby mockturtl on Tue Mar 13, 2012 1:56 pm

muffin 1.0.2, cinnamon 1.4

32-bit
md5: c4985bae87886710b43019990762df6a

64-bit
md5: 88bccaf2a355045fb5bff3b84c140edc

brought to you by the Utility Muffin Research Kitchen
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: [SOLVED] building Cinnamon (sid)

Postby xircon on Tue Mar 13, 2012 5:59 pm

Cheers MT, that has done the trick, will be able to build cinnamon again (until my muffin goes stale again :D).
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: [SOLVED] building Cinnamon (sid)

Postby iLobster on Wed Mar 14, 2012 3:41 am

1.4 installed, thanks. Everything seems all right so far.
Is there any changelog or something?
iLobster
Level 2
Level 2
 
Posts: 69
Joined: Fri Jul 08, 2011 9:07 am

Re: [SOLVED] building Cinnamon (sid)

Postby mockturtl on Wed Mar 14, 2012 1:25 pm

Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: [SOLVED] building Cinnamon (sid)

Postby xircon on Thu Mar 15, 2012 4:32 pm

Is it just me or do the themes not work properly with the new version? (except cinnamon theme) In expo overview, I am missing the "x" on the desktops and the "+" on the right.

I have fixed by copying the contents of the default theme over the theme I am using and skipping all files except the cinnamon.css, so that I get the missing files.

Also the colour code for the panel has gone from rgba to html styleee (I think! - color: #ffffff).
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: [SOLVED] building Cinnamon (sid)

Postby AlbertP on Thu Mar 15, 2012 4:48 pm

The style code used with HTML is called CSS, but yes "HTML style" also clearly describes what you mean.

In fact it's still kind of RGB: #ffffff
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6517
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: [SOLVED] building Cinnamon (sid)

Postby mockturtl on Thu Mar 15, 2012 5:06 pm

xircon wrote:Is it just me or do the themes not work properly with the new version? (except cinnamon theme) In expo overview, I am missing the "x" on the desktops and the "+" on the right.
Yep. No hot-corner icon, either. Clem's advising commenters on the blog to revert to the default (Cinnamon) theme until artists have a chance to update. Bimsebasse jumped on it already. :D

I have fixed by copying the contents of the default theme over the theme I am using and skipping all files except the cinnamon.css, so that I get the missing files.
Good idea!

Code: Select all
export THEME=Minty  # or whatever
sudo cp /usr/share/cinnamon/theme/*.png /usr/share/themes/$THEME/cinnamon/
sudo cp /usr/share/cinnamon/theme/*.svg /usr/share/themes/$THEME/cinnamon/
Restarting cinnamon, it looks like cinnamon.css will need classes for workspace-add-button and workspace-close-button, probably more. I'll wait for a proper update. That laptop's ugly anyway. :mrgreen:
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: [SOLVED] building Cinnamon (sid)

Postby zerozero on Thu Mar 15, 2012 5:23 pm

Image

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

Re: [SOLVED] building Cinnamon (sid)

Postby GeoNeil on Fri Mar 16, 2012 1:25 pm

I tried building muffin 1.0.2 and cinnamon 1.4 separately from getting the source code from Git (following instructions from here) ...it didn't work

Code: Select all
make[1]: Entering directory `/home/neil/cinnamon/Cinnamon'
/usr/bin/make  all-recursive
make[2]: Entering directory `/home/neil/cinnamon/Cinnamon'
Making all in data
make[3]: Entering directory `/home/neil/cinnamon/Cinnamon/data'
sed -e "s|@bindir[@]|/usr/bin|" \
       -e "s|@VERSION[@]|1.4.0|" \
       cinnamon.desktop.in.in > cinnamon.desktop.in || rm cinnamon.desktop.in
sed s/^_// < cinnamon.desktop.in > cinnamon.desktop || rm cinnamon.desktop
LC_ALL=C /usr/bin/intltool-merge -x -u /tmp org.cinnamon.gschema.xml.in org.cinnamon.gschema.xml
Merging translations into org.cinnamon.gschema.xml.
CREATED org.cinnamon.gschema.xml
if test -f "org.cinnamon.gschema.xml"; then d=; else d="./"; fi; /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas --strict --dry-run  --schema-file=${d}org.cinnamon.gschema.xml && touch org.cinnamon.gschema.valid
/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas --targetdir=. .
rm cinnamon.desktop.in
make[3]: Leaving directory `/home/neil/cinnamon/Cinnamon/data'
Making all in js
make[3]: Entering directory `/home/neil/cinnamon/Cinnamon/js'
Makefile:314: *** commands commence before first target.  Stop.
make[3]: Leaving directory `/home/neil/cinnamon/Cinnamon/js'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/neil/cinnamon/Cinnamon'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/neil/cinnamon/Cinnamon'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Because Cinnamon 1.4 depends on Muffin 1.0.2 I've already built and installed Muffin 1.0.2, here's hoping this doesn't break Mockturtl's source code in his post (although I've noticed that his code is compiled for wheezy rather than sid)
GeoNeil
Level 1
Level 1
 
Posts: 7
Joined: Sun Mar 21, 2010 12:19 pm

Re: [SOLVED] building Cinnamon (sid)

Postby GeoNeil on Fri Mar 16, 2012 1:27 pm

Oh they're packages, never mind :lol:
GeoNeil
Level 1
Level 1
 
Posts: 7
Joined: Sun Mar 21, 2010 12:19 pm

Re: [SOLVED] building Cinnamon (sid)

Postby mockturtl on Wed Mar 21, 2012 5:32 pm

I had a little trouble upgrading to the official 1.4.0-lmde1 package. Kept crashing on startup. I fixed it by cleaning out all cinnamon references from the build process (find /usr/local -name cinnamon*). Tracking down the error messages, gsettings was giving precedence to an old local version of the schema (/usr/local/share/glib-2.0) missing some new keys needed by 1.4. Got rid of that directory, and everything runs smoothly.

Seems like the same problem ZZ encountered in the 1.3 upgrade. I believe we should have been running configure with prefix=/usr all this time.
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

Re: [SOLVED] building Cinnamon (sid)

Postby xircon on Wed Mar 21, 2012 7:45 pm

Upgraded to official release, am not getting Mockturtl's problems, but have some of my own :)

Some of my autostart programs, well, no longer autostart:
Gmail screenlet
Clear Weather screenlet
guake
clipman

They do launch from nautilus.

Any ideas where to look??
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: [SOLVED] building Cinnamon (sid)

Postby zerozero on Wed Mar 21, 2012 7:51 pm

xircon wrote:
Any ideas where to look??
Code: Select all
gnome-session-properties
might be a start
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6477
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