Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: pantheon-session-20200331 #20538

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -3862,3 +3862,5 @@ libstk-4.6.1.so libstk-4.6.1_1
libc++utilities.so.5 cpp-utilities-5.2.0_1
libtagparser.so.9 tagparser-9.1.2_1
libqtutilities.so.6 qtutilities-6.0.4_1
libgala.so.0 gala-3.2.0_1
libwingpanel-2.0.so.0 wingpanel-2.3.0_1
LinArcX marked this conversation as resolved.
Show resolved Hide resolved
21 changes: 17 additions & 4 deletions srcpkgs/AppStream/template
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# Template file for 'AppStream'
pkgname=AppStream
version=0.12.10
revision=1
revision=2
wrksrc="appstream-${version}"
build_style=meson
configure_args="-Dgir=false -Dstemming=false -Dapidocs=false -Dqt=true"
build_helper="gir"
configure_args="-Dvapi=$(vopt_if vala true false) -Dgir=$(vopt_if gir true false)
-Dstemming=false -Dapidocs=false -Dqt=true"
hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config
qt5-host-tools"
makedepends="libglib-devel libxml2-devel libyaml-devel qt5-devel lmdb-devel libsoup-devel"
qt5-host-tools $(vopt_if gir gobject-introspection) $(vopt_if vala vala)"
makedepends="libglib-devel libxml2-devel libyaml-devel qt5-devel lmdb-devel
libsoup-devel $(vopt_if gir libgirepository-devel)"
short_desc="Tools and libraries to work with AppStream metadata"
maintainer="Orphaned <[email protected]>"
license="GPL-2.0-or-later"
Expand All @@ -18,6 +21,9 @@ checksum=f79de39dc8eacff817cbda10b3d6a878d0d59aac23130aa436f0d3c66dd9280a
conf_files="/etc/appstream.conf"
triggers="appstream-cache"

build_options="gir vala"
build_options_default="gir vala"

nocross="https://api.travis-ci.org/v3/job/592923595/log.txt"

AppStream-devel_package() {
Expand All @@ -27,6 +33,13 @@ AppStream-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
vmove usr/lib/girepository-1.0
fi
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
}
}

Expand Down
1 change: 1 addition & 0 deletions srcpkgs/gala-devel
25 changes: 25 additions & 0 deletions srcpkgs/gala/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Template file for 'gala'
pkgname=gala
version=3.3.0
revision=1
build_style=meson
hostmakedepends="pkg-config gettext glib-devel vala"
makedepends="gnome-desktop-devel gnome-settings-daemon-devel bamf-devel
plank-devel granite-devel mutter-devel libcanberra-devel"
short_desc="Gala Window Manager"
maintainer="linarcx <[email protected]>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/gala"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=b4c5ac87b601630d01a13bb6ddc76da90602c8213a4b84c5701d234a20ae5295

gala-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/vala
vmove "usr/lib/*.so"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Authentication Dialog
Exec=/usr/libexec/policykit-1-pantheon/io.elementary.desktop.agent-polkit
Icon=dialog-password
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
LinArcX marked this conversation as resolved.
Show resolved Hide resolved
12 changes: 8 additions & 4 deletions srcpkgs/pantheon-agent-polkit/template
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# Template file for 'pantheon-agent-polkit'
pkgname=pantheon-agent-polkit
version=1.0.0
revision=1
version=1.0.1
revision=2
build_style=meson
hostmakedepends="intltool pkg-config vala gobject-introspection"
makedepends="gtk+3-devel polkit-devel granite-devel"
short_desc="Pantheon Polkit Agent"
maintainer="Orphaned <[email protected]>"
maintainer="linarcx <[email protected]>"
license="LGPL-3.0-or-later"
homepage="https://github.com/elementary/${pkgname}"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=8e730f335545a4ca2717e1c9ccad61c329c1f19ea51f76ae4783da9e0416d484
checksum=3d6a2ccc1c1626017af91631a691f130260a2d13413fbc55cfd0dfa00a1dd3d1

post_install() {
vinstall ${FILESDIR}/io.elementary.desktop.agent-polkit.desktop 0644 etc/xdg/autostart
}
16 changes: 16 additions & 0 deletions srcpkgs/pantheon-applications-menu/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Template file for 'pantheon-applications-menu'
pkgname=pantheon-applications-menu
version=2.6.0
revision=1
wrksrc="applications-menu-${version}"
build_style=meson
configure_args="-Dwith-unity=false"
hostmakedepends="pkg-config glib-devel vala"
makedepends="wingpanel-devel libsoup-devel AppStream-devel json-glib-devel
zeitgeist-devel gnome-menus-devel switchboard-devel"
short_desc="Pantheon applications menu"
maintainer="linarcx <[email protected]>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/applications-menu"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=64f2648b1fb591148394a52a60ddc4cc084b2ced51cc02982f16bc841e4a1c8b
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
[net.launchpad.plank.dock.settings]
dock-items=['gala-multitaskingview.dockitem','io.elementary.switchboard.dockitem']
hide-delay=250
hide-mode='window-dodge'
show-dock-item=false
theme='Gtk+'

[org.freedesktop.ibus.general.hotkey]
triggers=['<Control>space']

[org.freedesktop.ibus.panel]
show=1

[org.gnome.desktop.background]
picture-options='zoom'
picture-uri='file:///usr/share/backgrounds/elementaryos-default'
primary-color='#000000'

[org.gnome.desktop.datetime]
automatic-timezone=true

[org.gnome.desktop.input-sources]
xkb-options=['grp:alt_shift_toggle']

[org.gnome.desktop.interface]
cursor-theme='elementary'
document-font-name='Open Sans 10'
font-name='Inter 9'
gtk-theme='elementary'
icon-theme='elementary'
monospace-font-name='Roboto Mono 10'
show-unicode-menu=false

[org.gnome.desktop.peripherals.touchpad]
natural-scroll=true
tap-to-click=true

[org.gnome.desktop.screensaver]
lock-enabled=false

[org.gnome.desktop.wm.keybindings]
# defaults to <Super>Up, replaced by toggle below, so we need to clear it here
maximize=[]
move-to-workspace-1=['<Super><Shift>1','<Super><Alt>1']
move-to-workspace-2=['<Super><Shift>2','<Super><Alt>2']
move-to-workspace-3=['<Super><Shift>3','<Super><Alt>3']
move-to-workspace-4=['<Super><Shift>4','<Super><Alt>4']
move-to-workspace-5=['<Super><Shift>5','<Super><Alt>5']
move-to-workspace-6=['<Super><Shift>6','<Super><Alt>6']
move-to-workspace-7=['<Super><Shift>7','<Super><Alt>7']
move-to-workspace-8=['<Super><Shift>8','<Super><Alt>8']
move-to-workspace-9=['<Super><Shift>9','<Super><Alt>9']
move-to-workspace-left=['<Super><Alt>Left']
move-to-workspace-right=['<Super><Alt>Right']
panel-main-menu=['<Super>space','<Alt>F2']
panel-run-dialog=[]
# Gala shows workspaces overview instead of desktop
show-desktop=['<Super>Down','<Super>s']
switch-applications=[]
switch-applications-backward=[]
# See lp:1291788 for details about switch-input-source*
switch-input-source=[]
switch-input-source-backward=[]
switch-to-workspace-left=['<Super>Left']
switch-to-workspace-right=['<Super>Right']
switch-to-workspace-up=[]
switch-to-workspace-down=[]
switch-to-workspace-1=['<Super>1']
switch-to-workspace-2=['<Super>2']
switch-to-workspace-3=['<Super>3']
switch-to-workspace-4=['<Super>4']
switch-to-workspace-5=['<Super>5']
switch-to-workspace-6=['<Super>6']
switch-to-workspace-7=['<Super>7']
switch-to-workspace-8=['<Super>8']
switch-to-workspace-9=['<Super>9']
switch-windows=['<Alt>Tab']
switch-windows-backward=['<Alt><Shift>Tab']
toggle-maximized=['<Super>Up']
# defaults to <Super>Down used above, so we need to override it
unmaximize=['<Alt>F5']

[org.gnome.desktop.wm.preferences]
button-layout='close:maximize'
mouse-button-modifier='<Super>'
resize-with-right-button=true
theme='elementary'

[org.gnome.mutter]
auto-maximize=false
overlay-key='Super_L'
center-new-windows=true
workspaces-only-on-primary=true

[org.gnome.mutter.keybindings]
toggle-tiled-left=['<Control><Super>Left']
toggle-tiled-right=['<Control><Super>Right']

[org.gnome.nm-applet]
disable-connected-notifications=true
show-applet=false

[org.gnome.settings-daemon.peripherals.keyboard]
numlock-state='off'

[org.gnome.settings-daemon.peripherals.touchpad]
horiz-scroll-enabled=true
natural-scroll=true
scroll-method='two-finger-scrolling'

[org.gnome.settings-daemon.plugins.background]
active=false

[org.gnome.settings-daemon.plugins.color]
night-light-temperature=4500

[org.gnome.settings-daemon.plugins.media-keys]
terminal=['<Super>t']

[org.gnome.settings-daemon.plugins.power]
idle-dim=false

[org.gnome.settings-daemon.plugins.screensaver-proxy]
# Allows light-locker to accept DBus
active=false

[org.gnome.settings-daemon.plugins.xsettings]
antialiasing='rgba'
hinting='slight'
overrides={'Gtk/DialogsUseHeader': <0>, 'Gtk/EnablePrimaryPaste': <0>, 'Gtk/ShellShowsAppMenu': <0>, 'Gtk/DecorationLayout': <'close:menu,maximize'>}

[org.gtk.Settings.FileChooser]
sort-directories-first=true

[org.onboard]
theme='/usr/share/onboard/themes/Nightshade.theme'

[org.pantheon.desktop.gala.behavior]
overlay-action='io.elementary.shortcut-overlay'
panel-main-menu-action='wingpanel --toggle-indicator=app-launcher'
use-new-notifications=true

[org.pantheon.desktop.gala.notifications.applications.gala-other]
bubbles=false
remember=false
sounds=false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[PlankDockItemPreferences]
Launcher=file:///usr/share/applications/gala-multitaskingview.desktop
1 change: 1 addition & 0 deletions srcpkgs/pantheon-default-settings/files/gtk-csd.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export GTK_CSD=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[PlankDockItemPreferences]
Launcher=file:///usr/share/applications/io.elementary.switchboard.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export GTK3_MODULES="${GTK3_MODULES:-}${GTK3_MODULES:+:}pantheon-filechooser-module"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export QT_QPA_PLATFORMTHEME=gtk3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export QT_STYLE_OVERRIDE=adwaita
7 changes: 7 additions & 0 deletions srcpkgs/pantheon-default-settings/files/settings.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Settings]
gtk-theme-name = elementary
gtk-icon-theme-name = elementary
gtk-fallback-icon-theme = gnome
gtk-sound-theme-name = elementary
gtk-icon-sizes = panel-menu-bar=24,24
gtk-font-name = Open Sans 9
21 changes: 21 additions & 0 deletions srcpkgs/pantheon-default-settings/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Template file for 'pantheon-default-settings'
pkgname=pantheon-default-settings
version=20200419
revision=1
depends="io.elementary.icons io.elementary.stylesheet fonts-droid-ttf"
short_desc="Default settings for pantheon desktop environment"
maintainer="linarcx <[email protected]>"
license="GPL-3.0-or-later"
homepage="https://elementary.io/"

do_install() {
vinstall ${FILESDIR}/settings.ini 644 etc/gtk-3.0
vinstall ${FILESDIR}/25_pantheon-default-settings.gschema.override 644 usr/share/glib-2.0/schemas 25_pantheon-default-settings.gschema.override
vinstall ${FILESDIR}/gtk-csd.sh 644 etc/profile.d
vinstall ${FILESDIR}/pantheon-filechooser-module.sh 644 etc/profile.d
vinstall ${FILESDIR}/qt-qpa-platformtheme.sh 644 etc/profile.d
vinstall ${FILESDIR}/qt-style-override.sh 644 etc/profile.d

vinstall ${FILESDIR}/gala-multitaskingview.dockitem 644 etc/skel/.config/plank/dock1/launchers
vinstall ${FILESDIR}/io.elementary.switchboard.dockitem 644 etc/skel/.config/plank/dock1/launchers
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=GNOME Settings Daemon's a11y-settings plugin
Exec=/usr/libexec/gsd-a11y-settings
OnlyShowIn=Pantheon;
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
9 changes: 9 additions & 0 deletions srcpkgs/pantheon-session/files/io.elementary.Color.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=GNOME Settings Daemon's color plugin
Exec=/usr/libexec/gsd-color
OnlyShowIn=Pantheon;
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
9 changes: 9 additions & 0 deletions srcpkgs/pantheon-session/files/io.elementary.DateTime.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=GNOME Settings Daemon's datetime plugin
Exec=/usr/libexec/gsd-datetime
OnlyShowIn=Pantheon;
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
13 changes: 13 additions & 0 deletions srcpkgs/pantheon-session/files/io.elementary.Gala.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Desktop Entry]
Type=Application
Name=gala
Comment=Gala Window Manager
Exec=gala --replace
Terminal=false
Categories=System;
OnlyShowIn=Pantheon;
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-AutoRestart=true
X-GNOME-Autostart-Notify=true
X-GNOME-Autostart-enabled=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=GNOME Settings Daemon's housekeeping plugin
Exec=/usr/libexec/gsd-housekeeping
OnlyShowIn=Pantheon;
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
9 changes: 9 additions & 0 deletions srcpkgs/pantheon-session/files/io.elementary.Keyboard.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=GNOME Settings Daemon's keyboard plugin
Exec=/usr/libexec/gsd-keyboard
OnlyShowIn=Pantheon;
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=GNOME Settings Daemon's media-keys plugin
Exec=/usr/libexec/gsd-media-keys
OnlyShowIn=Pantheon;
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
Loading