[SOLVED] building Cinnamon (sid)

Archived topics about LMDE 1 and LMDE 2
Locked
xircon

Re: [SOLVED] building Cinnamon (sid)

Post by xircon »

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

Re: [SOLVED] building Cinnamon (sid)

Post by mockturtl »

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

Re: [SOLVED] building Cinnamon (sid)

Post by mockturtl »

32-bit
md5: 7d565910927dfdfe6ab7b91a08e168e3

64-bit
md5: 3344be248d8eb6cff39f02c0722292a4
iLobster

Re: [SOLVED] building Cinnamon (sid)

Post by iLobster »

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
mockturtl

Re: [SOLVED] building Cinnamon (sid)

Post by mockturtl »

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

Re: [SOLVED] building Cinnamon (sid)

Post by zerozero »

mockturtl

Re: [SOLVED] building Cinnamon (sid)

Post by mockturtl »

muffin 1.0.2, cinnamon 1.4

32-bit
md5: c4985bae87886710b43019990762df6a

64-bit
md5: 88bccaf2a355045fb5bff3b84c140edc

brought to you by the Utility Muffin Research Kitchen
xircon

Re: [SOLVED] building Cinnamon (sid)

Post by xircon »

Cheers MT, that has done the trick, will be able to build cinnamon again (until my muffin goes stale again :D).
iLobster

Re: [SOLVED] building Cinnamon (sid)

Post by iLobster »

1.4 installed, thanks. Everything seems all right so far.
Is there any changelog or something?
mockturtl

Re: [SOLVED] building Cinnamon (sid)

Post by mockturtl »

xircon

Re: [SOLVED] building Cinnamon (sid)

Post by xircon »

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).
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: [SOLVED] building Cinnamon (sid)

Post by AlbertP »

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

Re: [SOLVED] building Cinnamon (sid)

Post by mockturtl »

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

Re: [SOLVED] building Cinnamon (sid)

Post by zerozero »

GeoNeil

Re: [SOLVED] building Cinnamon (sid)

Post by GeoNeil »

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

Re: [SOLVED] building Cinnamon (sid)

Post by GeoNeil »

Oh they're packages, never mind :lol:
mockturtl

Re: [SOLVED] building Cinnamon (sid)

Post by mockturtl »

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

Re: [SOLVED] building Cinnamon (sid)

Post by xircon »

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

Re: [SOLVED] building Cinnamon (sid)

Post by zerozero »

xircon wrote:
Any ideas where to look??

Code: Select all

gnome-session-properties
might be a start
xircon

Re: [SOLVED] building Cinnamon (sid)

Post by xircon »

And they are all there and all ticked...............................
Locked

Return to “LMDE Archive”