View previous topic :: View next topic |
Author |
Message |
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Sat May 04, 2013 6:04 pm Post subject: Cinnamon: how to? |
|
|
Hi guys!
I tried a Cinnamon on arch last week and decided to try it on gentoo, because arch can't handle him without gnome-session.
So I have two questions:
1. Is it possible to bind Cinnamon to any DM except gdm/gnome-session?
2. If it is, where can I found detailed manual about it? (something like kde installation article on wiki)
Thanks in advance |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun May 05, 2013 9:02 am Post subject: Re: Cinnamon: how to? |
|
|
creaker wrote: | Hi guys!
I tried a Cinnamon on arch last week and decided to try it on gentoo, because arch can't handle him without gnome-session.
So I have two questions:
1. Is it possible to bind Cinnamon to any DM except gdm/gnome-session?
2. If it is, where can I found detailed manual about it? (something like kde installation article on wiki)
Thanks in advance |
Take this with a grain of salt, since I am not a gnome user, but from my understanding, cinnamon is just a replacement for gnome-shell with a vintage layout, so, it wouldn't surprise me if it needed gnome to be built, and, of course, to run.
You can however use whatever login manager you prefer, gdm is probably not mandatory (just edit /etc/conf.d/xdm and set it to lightdm, xdm, kdm, or whatever you prefer).
As for running cinnamon, it would surprise me if it works standalone. If all you want is a windows-like taskbar and a menu, there are smaller projects that can work separately, such as lxpanel or xfce4-panel. |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Sun May 05, 2013 12:52 pm Post subject: |
|
|
Probably you are right regarding to use xfce. I have xfce installed as well, but the main thing I dislike in it is a panel. Menu and windows are not so bad. I tried a numerous of themes but xfce panel still ugly.
I just would like to leave periodically my kde for some fresh look and feel. Cinnamon looks fine, but totally unuseable when typing due to traditional keyboard switching is broken and could not be configured in legacy state (Ctrl+Shif or Alt+Shift). |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun May 05, 2013 11:27 pm Post subject: Re: Cinnamon: how to? |
|
|
i92guboj wrote: | creaker wrote: | Hi guys!
I tried a Cinnamon on arch last week and decided to try it on gentoo, because arch can't handle him without gnome-session.
So I have two questions:
1. Is it possible to bind Cinnamon to any DM except gdm/gnome-session?
2. If it is, where can I found detailed manual about it? (something like kde installation article on wiki)
Thanks in advance |
Take this with a grain of salt, since I am not a gnome user, but from my understanding, cinnamon is just a replacement for gnome-shell with a vintage layout, so, it wouldn't surprise me if it needed gnome to be built, and, of course, to run.
You can however use whatever login manager you prefer, gdm is probably not mandatory (just edit /etc/conf.d/xdm and set it to lightdm, xdm, kdm, or whatever you prefer).
As for running cinnamon, it would surprise me if it works standalone. If all you want is a windows-like taskbar and a menu, there are smaller projects that can work separately, such as lxpanel or xfce4-panel. |
YOu don't need gnome per-say to build Cinnamon. It has forked the window-manager of GNOME3 (mutter --> muffin, they rebase against mutter to get new shinies), they then just adapted it to provide a "traditional layout". It does use some of the gnome services though _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Tue May 07, 2013 11:32 am Post subject: |
|
|
Cinnamon-1.8 just released. Tons of new improvements and features, and you no longer need to use gnome-control-center. Also, Cinnamon no longer uses gnome-session for fallback, and now has so-called “Desklets.”
KDE calls them Plasmoids, Android calls them Widgets, in Cinnamon they’re called “Desklets”. The same way you can add applets to your panel, you can add desklets to your desktop.
http://cinnamon.linuxmint.com/?p=261
Is there a working 1.8 ebuild not in the portage tree yet, or is it likely a simple rename of 1.6.7-r1 and re-digest would work? _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Tue May 07, 2013 12:21 pm Post subject: |
|
|
I've just read the news under your link. Promised a new keybinding manager... I wonder when it will appear in portage tree? |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Tue May 07, 2013 4:06 pm Post subject: |
|
|
Yeah- wish I knew. I like to use Cinnamon as a backup and occasional substitute for kde.
I can't even get it yet on my Mint installs using the "unstable" (Romeo) repo. They said earlier on the Mint blog (or forum) it would be ported in Romeo in a few days, but so far nothing.
I looked online in the Mint soure directory at http://packages.linuxmint.com/pool/main/c/cinnamon , and the
cinnamon_1.8.2+olivia.tar.gz 2013-May-07 08:02:59 4.1M application/octet-stream package
is there, so I guess if we had a working ebuild we could try emerging it.
On the other hand, I don't know if the "+olivia.tar.gz" designation is an actual source package format that portage can use.
Maybe some kind ebuild expert will edit the 1.6.7 ebuild properly, and we can put it in an overlay, unless there's alreadys plans to add it to portage fairly soon.
UPDATE: Just found this from the Mint dev at: http://segfault.linuxmint.com/2013/05/only-one-bug-left
Quote: | clem May 4, 2013 01:33
Mint 13 is the LTS, so the focus would be primarily on getting a great Mint 15 release and then on backporting to Mint 13. After that we can look into backporting to Mint 14… we’ve got an automated build system for this, but it comes down to focus and testing, no promises here.
With that said, it’s likely to get into Romeo, for both Maya and Nadia, once 1.8.0 is out and prior to Mint 15 being released. |
So, I'm not sure what's going on exactly.... _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Tue May 07, 2013 5:06 pm Post subject: |
|
|
As far as I understood, cinnamon 1.8 will not be in public access until Mint15-RC out (it should be this month). At least officially. Mint15 RC is their main goal, not a backporting to Mint 13/14.
So we have to wait... |
|
Back to top |
|
|
Rukiri n00b
Joined: 28 Oct 2011 Posts: 59
|
Posted: Wed May 08, 2013 2:41 pm Post subject: |
|
|
Cinnamon and it's source was publicly released, you will have to more than likely write your own ebuild but make sure you find all it's dependencies and there version numbers (make sure they're even available in the portage tree) cinnamon 1.8.1 is already under arch linux. |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Wed May 08, 2013 9:23 pm Post subject: |
|
|
Rukiri wrote: | Cinnamon and it's source was publicly released, you will have to more than likely write your own ebuild but make sure you find all it's dependencies and there version numbers (make sure they're even available in the portage tree) cinnamon 1.8.1 is already under arch linux. |
Yes, I got it (1.8.1) in my Arch today with last update. It is exactly the same cinnamon that I had before update - 1.6.7. All the new things (new Control Center, desklets, Nemo's switchable side panel, filesystems free space bar) I had in 1.6.7. The only thing was changed - "About" menu shows now 1.8.0 instead 1.6.7. It is just renaming.
I'm not experienced in ebuilds, so I think it appears in portage tree faster than I can build it myself |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Fri May 10, 2013 7:02 pm Post subject: |
|
|
Creaker,
You mean what they said about: Quote: | Cinnamon 1.8 represents 7 months of development and 1,075 commits. It features a lot of bug fixes but also brand new features and many improvements | is just just a bunch of hype, and that it really is just a rename?
FWIW, I find that difficult to believe, unless the first Arch Linux package they put out hasn't implemented some the the changes yet, which also having run Arch for many years I also find it difficult to believe. Of course I could be wrong. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Fri May 10, 2013 8:39 pm Post subject: |
|
|
Yes, I put it wrong. Of course, a lot of fixes was put in latest update. Above I wrote about visible GUI changes. I did not noticed any visible changes from 1.6.7 to 1.8.1.
Not surprisingly that new things were available in 1.6.7. I think it was a test bed for 1.8.1. |
|
Back to top |
|
|
Rukiri n00b
Joined: 28 Oct 2011 Posts: 59
|
Posted: Sat May 11, 2013 4:28 am Post subject: |
|
|
This is a live ebuild I managed to get it running with practically 0 edits to the 1.6 ebuild, now I did remove version numbers and updated them or left them alone but the ebuild works and is pretty stable.
If you do NOT want to run a live ebuild you can still install it just fine with this ebuild, just remove the egit command and add this to src_uri.
https://github.com/linuxmint/Cinnamon/archive/1.8.2.tar.gz
Code: | # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: Cinnamon Live ebuild
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE="xml"
inherit autotools eutils gnome2 multilib pax-utils python-single-r1
DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2 GIT VERSION"
HOMEPAGE="http://cinnamon.linuxmint.com/"
SRC_URI=""
EGIT_REPO_URI="git://github.com/linuxmint/Cinnamon.git"
LICENSE="GPL-2+"
SLOT="0"
IUSE="+git +alsa +pulseaudio aalib altivec bzip2 curl dbus debug doc exif +gnome +gtk postscript jpeg jpeg2k lcms mmx mng pdf png python smp sse svg tiff udev webkit wmf xpm +bluetooth +networkmanager"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-vcs/git"
COMMON_DEPEND="dev-libs/glib
dev-libs/gjs
dev-libs/gobject-introspection
x11-libs/gdk-pixbuf[introspection]
>=x11-libs/gtk+-3.8.1[introspection]
>=media-libs/clutter-1.14.0[introspection]
media-libs/cogl[introspection]
app-misc/ca-certificates
dev-libs/json-glib
>=gnome-base/gnome-desktop-3.8.1[introspection]
>=gnome-base/gsettings-desktop-schemas-3.8.0
media-libs/gstreamer
media-libs/gst-plugins-base
net-libs/libsoup[introspection]
sys-auth/polkit[introspection]
x11-wm/muffin[introspection]
dev-libs/dbus-glib
dev-libs/libxml2
x11-libs/pango[introspection]
dev-libs/libcroco
gnome-base/gconf[introspection]
>=gnome-base/gnome-menus-3.8.0[introspection]
>=gnome-base/librsvg-2.36.4
media-libs/libcanberra
media-sound/pulseaudio
x11-libs/startup-notification
x11-libs/libX11
>=x11-libs/libXfixes
x11-apps/mesa-progs
${PYTHON_DEPS}
bluetooth? ( net-wireless/gnome-bluetooth[introspection] )
networkmanager? (
gnome-base/libgnome-keyring
>=net-misc/networkmanager-0.9.8.0[introspection] )"
RDEPEND="${COMMON_DEPEND}
>=gnome-base/dconf-0.16.0
>=gnome-base/libgnomekbd-3.6.0[introspection]
sys-power/upower[introspection]
>=gnome-base/gnome-session-3.8.1
>=gnome-base/gnome-settings-daemon-3.8.0
gnome-base/gnome-control-center-3.8.0-r1
>=sys-apps/accountsservice-0.6.14[introspection]
>=app-accessibility/caribou-0.3
x11-misc/xdg-utils
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/gconf-python:2
dev-python/imaging
dev-python/lxml
>=x11-themes/gnome-icon-theme-symbolic-3.8.0.1
dev-python/pygobject:3[${PYTHON_USEDEP}]
gnome-extra/nemo
|| (
app-admin/openrc-settingsd
>=sys-apps/systemd-30
<gnome-base/gnome-settings-daemon-3.3.5 )
networkmanager? (
net-misc/mobile-broadband-provider-info
sys-libs/timezone-data )"
DEPEND="${COMMON_DEPEND}
>=sys-devel/gettext-0.17
virtual/pkgconfig
>=dev-util/intltool-0.40
gnome-base/gnome-common
!!=dev-lang/spidermonkey-1.8.2*"
# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time
# https://bugs.gentoo.org/show_bug.cgi?id=360413
S="${WORKDIR}/linuxmint-Cinnamon-5ab432d"
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
# Gentoo uses /usr/libexec
sed -e "s:/usr/lib/gnome-session/gnome-session-check-accelerated:${EPREFIX}/usr/libexec/gnome-session-check-accelerated:" \
-i "files/usr/share/gnome-session/sessions/cinnamon.session" || die "sed 1 failed"
# Gentoo uses /usr/$(get_libdir), not /usr/lib even for python
sed -e "s:/usr/lib/:/usr/$(get_libdir)/:" \
-e 's:"/usr/lib":"/usr/'"$(get_libdir)"'":' \
-i files/usr/bin/cinnamon-menu-editor \
-i files/usr/bin/cinnamon-settings \
-i files/usr/lib/cinnamon-menu-editor/Alacarte/config.py \
-i files/usr/lib/cinnamon-menu-editor/Alacarte/MainWindow.py \
-i files/usr/lib/cinnamon-settings/cinnamon-settings.py || die "sed 2 failed"
if [[ "$(get_libdir)" != lib ]]; then
mv files/usr/lib "files/usr/$(get_libdir)" || die "mv failed"
fi
if ! use bluetooth; then
rm -rv files/usr/share/cinnamon/applets/bluetooth@cinnamon.org || die
fi
if ! use networkmanager; then
rm -rv files/usr/share/cinnamon/applets/network@cinnamon.org || die
fi
eautoreconf
gnome2_src_prepare
# Drop G_DISABLE_DEPRECATED for sanity on glib upgrades; bug #384765
# Note: sed Makefile.in because it is generated from several Makefile.ams
sed -e 's/-DG_DISABLE_DEPRECATED//g' \
-i src/Makefile.in browser-plugin/Makefile.in || die "sed 3 failed"
}
src_configure() {
# Don't error out on warnings
gnome2_src_configure \
--enable-compile-warnings=maximum \
--disable-schemas-compile \
--disable-jhbuild-wrapper-script \
$(use_with bluetooth) \
$(use_enable networkmanager) \
--with-ca-certificates="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" \
BROWSER_PLUGIN_DIR="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins"
}
src_configure() {
# Don't error out on warnings
gnome2_src_configure \
--enable-compile-warnings=maximum \
--disable-schemas-compile \
--disable-jhbuild-wrapper-script \
$(use_with bluetooth) \
$(use_enable networkmanager) \
--with-ca-certificates="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" \
BROWSER_PLUGIN_DIR="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins"
}
src_install() {
gnome2_src_install
python_optimize "${ED}usr/$(get_libdir)/cinnamon-"{settings,menu-editor}
# Fix broken shebangs
sed -e "s%#!.*python%#!$(python_get_PYTHON)%" \
-i "${ED}usr/bin/cinnamon-"{launcher,menu-editor,settings} \
-i "${ED}usr/$(get_libdir)/cinnamon-settings/cinnamon-settings.py" || die
# Required for gnome-shell on hardened/PaX, bug #398941
pax-mark mr "${ED}usr/bin/cinnamon"
}
pkg_postinst() {
gnome2_pkg_postinst
if ! has_version '>=media-libs/gst-plugins-good-0.10.23:0.10' || \
! has_version 'media-plugins/gst-plugins-vp8:0.10'; then
ewarn "To make use of Cinnamon's built-in screen recording utility,"
ewarn "you need to either install >=media-libs/gst-plugins-good-0.10.23:0.10"
ewarn "and media-plugins/gst-plugins-vp8:0.10, or use dconf-editor to change"
ewarn "org.cinnamon.recorder/pipeline to what you want to use."
fi
if ! has_version ">=x11-base/xorg-server-1.11"; then
ewarn "If you use multiple screens, it is highly recommended that you"
ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of"
ewarn "pointer barriers which will make it easier to use hot corners."
fi
if has_version "<x11-drivers/ati-drivers-12"; then
ewarn "Cinnamon has been reported to show graphical corruption under"
ewarn "x11-drivers/ati-drivers-11.*; you may want to use GNOME in"
ewarn "fallback mode, or switch to open-source drivers."
fi
if has_version "media-libs/mesa[video_cards_radeon]"; then
elog "Cinnamon is unstable under classic-mode r300/r600 mesa drivers."
elog "Make sure that gallium architecture for r300 and r600 drivers is"
elog "selected using 'eselect mesa'."
if ! has_version "media-libs/mesa[gallium]"; then
ewarn "You will need to emerge media-libs/mesa with USE=gallium."
fi
fi
if has_version "media-libs/mesa[video_cards_intel]"; then
elog "Cinnamon is unstable under gallium-mode i915/i965 mesa drivers."
elog "Make sure that classic architecture for i915 and i965 drivers is"
elog "selected using 'eselect mesa'."
if ! has_version "media-libs/mesa[classic]"; then
ewarn "You will need to emerge media-libs/mesa with USE=classic."
fi
fi
} |
|
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
binbash n00b
Joined: 04 Jul 2002 Posts: 16
|
Posted: Mon May 13, 2013 7:21 am Post subject: |
|
|
Ok. I have some working (for me at least) ebuilds for cinnamon, muffin and nemo. I put them in my local overlay in /usr/local/portage.
nemo-1.8.1.ebuild http://pastebin.com/jGWNNUL7
muffin-1.8.1.ebuild http://pastebin.com/X5xCsdyP
cinnamon-1.8.2.ebuild http://pastebin.com/Bfv0qSxb
The cinnamon ebuild uses the patches from the official portage so you'll have to copy those from there to your local overlay. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu Jun 06, 2013 9:07 pm Post subject: |
|
|
https://bugs.gentoo.org/show_bug.cgi?id=470248
These ebuilds are better. it also have the new cinnamon controlcentre and ss. Been using these ebuilds for a couple of weeks now. works really well _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|