Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636918 - gnome-extra/cinnamon[-networkmanager] - disable nm-applet to avoid error
Summary: gnome-extra/cinnamon[-networkmanager] - disable nm-applet to avoid error
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cinnamon Team (DISABLED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-11-08 20:46 UTC by cronolio
Modified: 2017-11-28 22:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cinnamon-3.6.0-optional-networkmanager.patch (cinnamon-3.6.0-optional-networkmanager.patch,3.39 KB, patch)
2017-11-28 22:25 UTC, cronolio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cronolio 2017-11-08 20:46:51 UTC
sorry i can't provide how error was looked (because this was long time ago) but i have this entries in my ebuild

## original ##

    if ! use networkmanager; then
        rm -rv files/usr/share/cinnamon/applets/network@cinnamon.org || die
    fi

## my ebuild ##

    if ! use networkmanager; then
	rm -rv files/usr/share/cinnamon/applets/network@cinnamon.org || die
	sed -i 's/nm-applet;//' \
	    files/usr/share/cinnamon-session/sessions/cinnamon*.session || die
    fi


Thanks.
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-11-28 19:34:58 UTC
networkmanager seems likely to be mandatory rather than a use flag for cinnamon going forwards anyways, so nothing to do here.
Comment 2 cronolio 2017-11-28 22:25:13 UTC
Created attachment 507042 [details, diff]
cinnamon-3.6.0-optional-networkmanager.patch

Alexandre Rostovtsev's patch can be optimized for 3.6.0
I don't know all this magic, only had optimize lines like "@@ -81,7 +81,40 @@"
Other cinnamon ebuilds can handle network-manager option (enable/disable)
Now I'm on cinnamon 3.6 without network-manager installed and all works fine

Thanks