summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-04-18 02:05:58 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-04-18 02:05:58 +0000
commit411fd6e027cae59c0b00052fd3273048df369c3c (patch)
tree4c27827bed684b19cee58c843c114741fd6f9794
parentf58b545bfff04b5857fbfb3f5ec41a8e8c248daa (diff)
parent61ef4165c184ba012b8c519d5851ca3459a3e6b0 (diff)
downloadpackages-411fd6e027cae59c0b00052fd3273048df369c3c.tar.gz
packages-411fd6e027cae59c0b00052fd3273048df369c3c.tar.bz2
packages-411fd6e027cae59c0b00052fd3273048df369c3c.tar.xz
packages-411fd6e027cae59c0b00052fd3273048df369c3c.zip
Merge branch 'mate.session' into 'master'
Move MATE session to `mate-complete` and add consolekit2 invocation. See merge request adelie/packages!431
-rw-r--r--user/mate-complete/APKBUILD12
-rw-r--r--user/mate-complete/mate.desktop11
-rw-r--r--user/mate-session-manager/APKBUILD1
3 files changed, 20 insertions, 4 deletions
diff --git a/user/mate-complete/APKBUILD b/user/mate-complete/APKBUILD
index a828fd924..011965eca 100644
--- a/user/mate-complete/APKBUILD
+++ b/user/mate-complete/APKBUILD
@@ -8,7 +8,7 @@ url="https://mate-desktop.org"
arch="noarch"
options="!check" # No tests
license="Public-Domain"
-depends="atril caja caja-dropbox caja-extensions engrampa eom marco
+depends="atril caja caja-dropbox caja-extensions consolekit2 engrampa eom marco
mate-applets mate-backgrounds mate-calc mate-control-center
mate-desktop mate-icon-theme mate-indicator-applet mate-media
mate-menus mate-netbook mate-notification-daemon mate-panel
@@ -17,12 +17,16 @@ depends="atril caja caja-dropbox caja-extensions engrampa eom marco
mate-terminal mate-user-guide mate-user-share mate-utils mozo pluma"
makedepends=""
subpackages=""
-source="org.adelie-linux.about-mate.desktop"
+source="org.adelie-linux.about-mate.desktop
+ mate.desktop"
package() {
- mkdir -p "$pkgdir"/usr/share/applications
+ mkdir -p "$pkgdir"/usr/share/applications "$pkgdir"/usr/share/xsessions
install -Dm644 "$srcdir"/org.adelie-linux.about-mate.desktop \
"$pkgdir"/usr/share/applications
+ install -Dm644 "$srcdir"/mate.desktop \
+ "$pkgdir"/usr/share/xsessions
}
-sha512sums="24fd0524d949a22b22e38c81667f31498bc524302c52128c10d8a5802315720543426ba82245f5e7510832c493389ff59f36be14433f1a6a6c68993f733f329c org.adelie-linux.about-mate.desktop"
+sha512sums="24fd0524d949a22b22e38c81667f31498bc524302c52128c10d8a5802315720543426ba82245f5e7510832c493389ff59f36be14433f1a6a6c68993f733f329c org.adelie-linux.about-mate.desktop
+bb01b5fa7b30001ad06833d56b4ab5a6054ba09789b1beb3d6b9ed7b70ef4b304daf5a7e69dde58bef65d6ea82bd623d7576f2e1323e01ea29450cc06af8d78b mate.desktop"
diff --git a/user/mate-complete/mate.desktop b/user/mate-complete/mate.desktop
new file mode 100644
index 000000000..f3c0adda5
--- /dev/null
+++ b/user/mate-complete/mate.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=MATE
+Comment=This session logs you into MATE
+Exec=ck-launch-session --sh-syntax mate-session
+TryExec=mate-session
+Icon=
+Type=Application
+DesktopNames=MATE
+# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
+Keywords=launch;MATE;desktop;session;
+
diff --git a/user/mate-session-manager/APKBUILD b/user/mate-session-manager/APKBUILD
index 1947acf5f..2949030fa 100644
--- a/user/mate-session-manager/APKBUILD
+++ b/user/mate-session-manager/APKBUILD
@@ -29,6 +29,7 @@ check() {
package() {
make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir"/usr/share/xsessions
}
sha512sums="ee519c8ded1f2df26e62a1384439e8929942d19560c258c91010f8d34bcc7518975406fbc0a5b76d4e73e954cdc2ea106d71476e446573d4a77d2704f6cc9e37 mate-session-manager-1.24.0.tar.xz"