[SOLVED] building Cinnamon (sid)

Archived topics about LMDE 1 and LMDE 2
Locked
xircon

Re: building Cinnamon (sid)

Post by xircon »

I can't remember, as I said I installed all sorts of crap. What you have to remember is Cinnamon is written on a Mint Lisa(?) Ubuntu base, not LMDE, we are just pushing the envelope a touch :)
GeneC

Re: building Cinnamon (sid)

Post by GeneC »

GS

Just for the heck of it I tried to uninstall the Debian libecal-1.2-10, so I could try the Ubuntu libecal1.2-10
But, no go. It will uninstall Gnome shell plus a lot more.
xircon

Re: building Cinnamon (sid)

Post by xircon »

Gene, I have both, so try to install along side.
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

i believe that this libecal issue doesn't lie there (now where it does, no idea) because this is what i have here

Code: Select all

dpkg -l | grep libecal
ii  libecal-1.2-10                        3.2.2-1                         Client library for evolution calendars
ii  libecal1.2-7                          2.30.3-2                        Client library for evolution calendars
ii  libecal1.2-8                          3.0.3-2                         Client library for evolution calendars
ii  libecal1.2-dev                        3.2.2-1                         Client library for evolution calendars (development files)
amadeu@amadeu:~$ apt-cache policy libecal-1.2-10
libecal-1.2-10:
  Installed: 3.2.2-1
  Candidate: 3.2.2-1
  Version table:
 *** 3.2.2-1 0
        700 http://ftp.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
amadeu@amadeu:~$ 
now i just gonna get something to eat and will be back in mins :D
GeneC

Re: building Cinnamon (sid)

Post by GeneC »

Not quite yet, Homer.


Ummmm! Cinnamon Muffins! :lol:
Image
TheGreatSudoku

Re: building Cinnamon (sid)

Post by TheGreatSudoku »

I'm searching threads on how to change a package's "depends" . I'd really like to test out changing the cinnamon .deb's dependency to the DEBIAN version of libecal-1.2-10. I want to see if it is at all possible to get Cinnamon up and running without having to install any Ubuntu packages. Now to read up on how to change the dependencies of a package.
xircon

Re: building Cinnamon (sid)

Post by xircon »

This is the link to the correct libecal, the mirror.pnl.gov is not 3.2.2 its 3.2.0

https://launchpad.net/ubuntu/oneiric/am ... u1~oneiric

:Edit:

It installs along side:

Code: Select all

sudo dpkg -i libecal1.2-10_3.2.2-0ubuntu1~oneiric_amd64.deb 
(Reading database ... 503949 files and directories currently installed.)
Preparing to replace libecal1.2-10 3.2.0-0ubuntu1 (using libecal1.2-10_3.2.2-0ubuntu1~oneiric_amd64.deb) ...
Unpacking replacement libecal1.2-10 ...
Setting up libecal1.2-10 (3.2.2-0ubuntu1~oneiric) ...
This is after I accidentally downgraded!!!!!!!
GeneC

Re: building Cinnamon (sid)

Post by GeneC »

I thought this problem sounded familiar (I am getting senile) :lol:

Look at the first comment.
http://cinnamon.linuxmint.com/?page_id=61

Old problem from Cinnamon 1.1.2
xircon

Re: building Cinnamon (sid)

Post by xircon »

Senility has it's advantages, I can now watch TV repeats - it is all new! ;)
xircon

Re: building Cinnamon (sid)

Post by xircon »

It is late -midnight here, but could you not find the references to libecal in the cinnamon source and add the dash?
TheGreatSudoku

Re: building Cinnamon (sid)

Post by TheGreatSudoku »

fun with dependencies..I was able to rename the dependency for libecal but the fun doesn't stop there. It appears there are SEVERAL Ubuntu packages needed as deps for cinnamon:

libecal (same version, different numbering scheme in Ubuntu, I'm assuming the Ubuntu version needs installed)
https://launchpad.net/ubuntu/oneiric/am ... u1~oneiric

libedataserver1.2-15 (Sid only has libedataserver1.2-14, nothing in experimental. The version needed is ONLY in Ubuntu Precise)
http://mirror.pnl.gov/ubuntu//pool/univ ... _amd64.deb

[*]libffi6[*][/b] (not in Sid, but a suitable version appears to be in experimental)
http://ftp.us.debian.org/debian/pool/ma ... _amd64.deb

libnspr4 (the version WITHOUT "-0d" . This appears to be an Ubuntu specific package, I'm guessing the one in Ocelot would work)
http://mirror.pnl.gov/ubuntu//pool/main ... _amd64.deb

caribou (there seems to be a suitable sid candidate for this that could be installed via normal procedures.)


here's how I arrived at that based on trying to install the modified cinnamon deb:

Code: Select all

~/Downloads$ sudo dpkg -i cinnamon2.deb 
Selecting previously unselected package cinnamon.
(Reading database ... 284359 files and directories currently installed.)
Unpacking cinnamon (from cinnamon2.deb) ...
dpkg: dependency problems prevent configuration of cinnamon:
 cinnamon depends on libedataserver1.2-15 (>= 3.2.2); however:
  Package libedataserver1.2-15 is not installed.
 cinnamon depends on libffi6 (>= 3.0.4); however:
  Package libffi6 is not installed.
 cinnamon depends on libnspr4 (>= 1.8.0.10); however:
  Package libnspr4 is not installed.
 cinnamon depends on caribou; however:
  Package caribou is not installed.
Anyone feel like testing this out? I need a break for dinner at the moment. :lol:
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

mockturtl wrote:ZZ, is this still representative of what worked for you? My suspicion is that libgjs-dev is behind the segfaults I'm seeing in testing. I think what's happening, maybe, is that they're breaking off xulrunner dependencies (source: mozjs, gjs), and Canonical already handled it.

So... if there's gecko in the muffin, it won't rise, because the gnome needs to bind to a different flavor of spidermonkey.

:shock:
i believe a few things changed in testing since this mainly this

Code: Select all

Start-Date: 2012-01-27  23:11:38
Commandline: apt-get dist-upgrade
Install: xulrunner-9.0:amd64 (9.0.1-1, automatic), libmozjs9d:amd64 (9.0.1-1, automatic), mate-applets-common:amd64 (1.1.2-1, automatic)
Upgrade: libmozjs-dev:amd64 (8.0-3+b1, 9.0.1-1), mate-applets:amd64 (1.1.0-1, 1.1.2-1), iceweasel:amd64 (8.0-3+b1, 9.0.1-1), xulrunner-dev:amd64 (8.0-3+b1, 9.0.1-1)
End-Date: 2012-01-27  23:12:28
and this i believe it was totally removed

Code: Select all

2012-01-23 22:55:23 startup packages purge
2012-01-23 22:55:23 status installed gir1.2-muffin-3.0 1.0.0
2012-01-23 22:55:24 remove gir1.2-muffin-3.0 1.0.0 <none>
2012-01-23 22:55:24 status half-configured gir1.2-muffin-3.0 1.0.0
2012-01-23 22:55:24 status half-installed gir1.2-muffin-3.0 1.0.0
2012-01-23 22:55:24 status config-files gir1.2-muffin-3.0 1.0.0
2012-01-23 22:55:24 status config-files gir1.2-muffin-3.0 1.0.0
2012-01-23 22:55:24 status config-files gir1.2-muffin-3.0 1.0.0
2012-01-23 22:55:24 status not-installed gir1.2-muffin-3.0 <none>
2012-01-23 22:55:24 status installed libmuffin0 1.0.0
2012-01-23 22:55:24 remove libmuffin0 1.0.0 <none>
2012-01-23 22:55:24 status half-configured libmuffin0 1.0.0
2012-01-23 22:55:24 status half-installed libmuffin0 1.0.0
2012-01-23 22:55:24 status config-files libmuffin0 1.0.0
2012-01-23 22:55:25 purge libmuffin0 1.0.0 <none>
2012-01-23 22:55:25 status config-files libmuffin0 1.0.0
2012-01-23 22:55:25 status config-files libmuffin0 1.0.0
2012-01-23 22:55:25 status config-files libmuffin0 1.0.0
2012-01-23 22:55:25 status config-files libmuffin0 1.0.0
2012-01-23 22:55:25 status config-files libmuffin0 1.0.0
2012-01-23 22:55:25 status not-installed libmuffin0 <none>
2012-01-23 22:55:25 status installed muffin-common 1.0.0
2012-01-23 22:55:25 remove muffin-common 1.0.0 <none>
2012-01-23 22:55:25 status half-configured muffin-common 1.0.0
2012-01-23 22:55:25 status half-installed muffin-common 1.0.0
2012-01-23 22:55:25 status triggers-pending man-db 2.6.0.2-3
2012-01-23 22:55:25 status half-installed muffin-common 1.0.0
2012-01-23 22:55:25 status triggers-pending gconf2 2.32.4-1
2012-01-23 22:55:25 status half-installed muffin-common 1.0.0
2012-01-23 22:55:25 status config-files muffin-common 1.0.0
2012-01-23 22:55:25 purge muffin-common 1.0.0 <none>
2012-01-23 22:55:25 status config-files muffin-common 1.0.0
2012-01-23 22:55:26 status config-files muffin-common 1.0.0
2012-01-23 22:55:26 status config-files muffin-common 1.0.0
2012-01-23 22:55:26 status config-files muffin-common 1.0.0
2012-01-23 22:55:26 status config-files muffin-common 1.0.0
2012-01-23 22:55:26 status not-installed muffin-common <none>
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

GS, i think that won't lead anywhere, either you start chasing ubuntu pkgs to met the deps and as soon as you know something is broken or you end up in a loop
http://pastebin.com/7B6xXdLb
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

SpNightMare wrote:Thank you to everyone who has done so much work on this.

I followed stz*j's tutorial under a 32bit system, everything worked perfectly fine.
My only issue is when I attempt to select Cinnamon at the login menu after I login it starts to load, then sends me right back to the login manager :?
That's what I see in testing. I think it's how gdm handles (what I think is) a segfault. Log into gnome-shell and try "$ cinnamon --replace" from a terminal.
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

WHOA, guys!

Remember the dependency sets that are known to be sufficient, or nearly so -- here, here:

Code: Select all

libecal1.2-dev
This is in debian!
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

xircon wrote:I can't remember, as I said I installed all sorts of crap. What you have to remember is Cinnamon is written on a Mint Lisa(?) Ubuntu base, not LMDE, we are just pushing the envelope a touch :)
There are debian versions of everything muffin needs. A cinnamon deb that tells you "dependencies aren't satisfiable" was not correctly linked. My working sid install is 100% debian, compiled from source.

My theory is still that there's a snag with the javascript runtime, which ubuntu fixed, and which debian upstream fixed, but it has not yet migrated to debian testing.

edit: It probably would be better to merge the two apt install steps for muffin and cinnamon in the instructions, so all dependencies for both are setup beforehand... changing the environment midstream seems to add potential failure modes.
Last edited by mockturtl on Sat Jan 28, 2012 9:01 pm, edited 1 time in total.
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

My working sid install is 100% debian, compiled from source.
and i add my working testing install is 100% debian, muffin and cinnamon compiled from source but probably here is the "problem":
they are trying to install pre-compiled debs and not compile them in their systems.
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

zerozero
I got muffin to compile with the various posts that I read.
I could not get cinnamon to compile.
Can you clarify how you got it to compile.
Here is what I get when I apt build Cinnamon:
dcihon@dcihon-linux-mint-debian:~/Cinnamon$ sudo apt build
[sudo] password for dcihon:
dpkg-buildpackage: source package cinnamon
dpkg-buildpackage: source version 1.2.0
dpkg-buildpackage: source changed by Clement Lefebvre <root@linuxmint.com>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build Cinnamon
dpkg-checkbuilddeps: Unmet build dependencies: libgjs-dev (>= 1.29.18) gsettings-desktop-schemas-dev (>= 0.1.7) libcaribou-dev libcroco3-dev (>= 0.6.2) libdbus-glib-1-dev libgnome-bluetooth-dev (>= 3.1.0) libgnome-desktop-3-dev (>= 2.90.0) libgnome-keyring-dev libgnome-menu-3-dev libgstreamer0.10-dev (>= 0.10.16) libgudev-1.0-dev libnm-glib-dev (>= 0.8.999) librsvg2-dev libxss-dev libpulse-dev libecal1.2-dev (>= 2.32) libedataserver1.2-dev (>= 3.0.0) libedataserverui-3.0-dev (>= 3.0.0) libfolks-dev (>= 0.5.2) libtelepathy-glib-dev (>= 0.15.5) libtelepathy-logger-dev (>= 0.2.4) libpolkit-agent-1-dev (>= 0.100)
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

zerozero wrote:
My working sid install is 100% debian, compiled from source.
and i add my working testing install is 100% debian, muffin and cinnamon compiled from source but probably here is the "problem":
they are trying to install pre-compiled debs and not compile them in their systems.
Hm. I'm at a loss for why I'm seeing segfaults in testing, then. That's a "clean" install, not one where you've pulled anything from sid and experimental?
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

mockturtl, maybe this
Locked

Return to “LMDE Archive”