From c9b09c743418238f1b150c923dd20f8b25d01a2f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 29 Nov 2016 19:20:12 +0000 Subject: adjust default lxqt menu, do not mix categories, put entries where they belong --- lxqt-base/lxqt-common/Manifest | 1 + .../files/lxqt-applications-menu-cleanup.patch | 87 ++++++++++++++++++++++ lxqt-base/lxqt-common/lxqt-common-0.11.0-r1.ebuild | 39 ++++++++++ 3 files changed, 127 insertions(+) create mode 100644 lxqt-base/lxqt-common/Manifest create mode 100644 lxqt-base/lxqt-common/files/lxqt-applications-menu-cleanup.patch create mode 100644 lxqt-base/lxqt-common/lxqt-common-0.11.0-r1.ebuild diff --git a/lxqt-base/lxqt-common/Manifest b/lxqt-base/lxqt-common/Manifest new file mode 100644 index 00000000..735770cd --- /dev/null +++ b/lxqt-base/lxqt-common/Manifest @@ -0,0 +1 @@ +DIST lxqt-common-0.11.0.tar.xz 3216520 SHA256 3a34a2105a49545d2695cccaf6310d261a7e760455e583efa2d80b3ab54d6053 SHA512 5eeaa6ead263a93b58ab9ec536c287fe383b5abade722dd3c7232840bc12c56e2208904bfbbc5ee9092c340d14d939a2ac0dcd37cf2175a0f601bbe050f00a2c WHIRLPOOL 7c889291741a729ea642eeb14cdf0aa7fb4bb78aa2a0d6ede64ff8bae9ca6091649ab39642d3477fbc498e35ec021b4bf255db536e5c88a8da21681b039639e3 diff --git a/lxqt-base/lxqt-common/files/lxqt-applications-menu-cleanup.patch b/lxqt-base/lxqt-common/files/lxqt-applications-menu-cleanup.patch new file mode 100644 index 00000000..991d2f89 --- /dev/null +++ b/lxqt-base/lxqt-common/files/lxqt-applications-menu-cleanup.patch @@ -0,0 +1,87 @@ +diff -Nur a/menu/lxqt-applications.menu b/menu/lxqt-applications.menu +--- a/menu/lxqt-applications.menu 2016-09-23 23:44:22.000000000 +0100 ++++ b/menu/lxqt-applications.menu 2016-11-29 19:12:49.779191588 +0000 +@@ -20,12 +20,13 @@ + + + Utility +- + Accessibility + System ++ Graphics + + + +@@ -61,6 +62,7 @@ + + + Education ++ Office + + + +@@ -83,7 +85,7 @@ + + + Graphics +- Utility ++ Office + + + +@@ -95,6 +97,7 @@ + + + Network ++ Game + + + +@@ -125,6 +128,7 @@ + + + Office ++ Network + + + +@@ -140,26 +144,10 @@ + PackageManager + X-Leave + Screensaver +- lxqt-about.desktop + + + + +- +- +- Other +- lxde-other.directory +- +- +- +- Core +- Settings +- Screensaver +- +- +- +- +- + + DesktopSettings + lxde-settings.directory +@@ -204,7 +192,7 @@ + + + +- ++ + + X-Leave + lxqt-leave.directory diff --git a/lxqt-base/lxqt-common/lxqt-common-0.11.0-r1.ebuild b/lxqt-base/lxqt-common/lxqt-common-0.11.0-r1.ebuild new file mode 100644 index 00000000..86f847ed --- /dev/null +++ b/lxqt-base/lxqt-common/lxqt-common-0.11.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit cmake-utils + +DESCRIPTION="LXQt common resources" +HOMEPAGE="http://lxqt.org/" + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git" +else + SRC_URI="https://downloads.lxqt.org/lxqt/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" + +DEPEND=">=lxqt-base/liblxqt-0.11.0" +RDEPEND="${DEPEND}" +PDEPEND=">=lxqt-base/lxqt-session-0.11.0" + +src_prepare() { + epatch "${FILESDIR}"/lxqt-applications-menu-cleanup.patch +} + +src_configure() { + local mycmakeargs=( -DPULL_TRANSLATIONS=OFF ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodir "/etc/X11/Sessions" + dosym "/usr/bin/startlxqt" "/etc/X11/Sessions/lxqt" +} -- cgit v1.2.3