-
Notifications
You must be signed in to change notification settings - Fork 243
gui-wm/somewm: add somewm wayland compositor #473
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
Open
shuber2
wants to merge
1
commit into
gentoo:master
Choose a base branch
from
shuber2:add-gui-wm-somewm
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DIST somewm-1.4.1.tar.gz 3191096 BLAKE2B 2308f61103a0ec19186bfde2358f89e8ddefef78443d0f1e3cf469670347cf059a25004b672e8bb2585ff2cf1de57f9bf5ce34d067c1fa9b09f811e62b376675 SHA512 05214ef62863f389c89b3e87267df094f67797115428db832f9abbffc76eeec3a8062e589e9f92297aaeb0b4c507e7f2867999dd758735b534a7a9734e33c659 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
| <pkgmetadata> | ||
| <maintainer type="project"> | ||
| <email>shuber@sthu.org</email> | ||
| <name>Stefan Huber</name> | ||
| </maintainer> | ||
| <longdescription> | ||
| SomeWM is a Lua-scriptable Wayland compositor and designed as a modern, | ||
| compatible alternative to AwesomeWM. It is compatible with AwesomeWM's Lua | ||
| API such that existing configs, widgets and themes carry over. While the 1.4 | ||
| version give 100% AwesomeWM 4.4 compatibility, later versions will add new | ||
| features and may break compatibility. | ||
| </longdescription> | ||
| <upstream> | ||
| <remote-id type="github">trip-zip/somewm</remote-id> | ||
| <bugs-to>https://github.com/trip-zip/somewm/issues</bugs-to> | ||
| <changelog>https://github.com/trip-zip/somewm/blob/main/CHANGELOG.md</changelog> | ||
| <doc>https://somewm.org/</doc> | ||
| </upstream> | ||
| </pkgmetadata> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| # Copyright 2026 Gentoo Authors | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=8 | ||
|
|
||
| LUA_COMPAT=( lua5-4 luajit ) | ||
|
|
||
| inherit meson lua-single | ||
|
|
||
| if [[ ${PV} == *9999* ]]; then | ||
| inherit git-r3 | ||
| EGIT_REPO_URI="https://github.com/trip-zip/${PN}.git" | ||
|
|
||
| if [[ ${PV} == 1.4.* ]]; then | ||
| EGIT_BRANCH="release/1.4" | ||
| fi | ||
| else | ||
| KEYWORDS="~amd64" | ||
| SRC_URI="https://github.com/trip-zip/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" | ||
| fi | ||
|
|
||
| DESCRIPTION="An AwesomeWM-compatible dynamic floating and tiling Wayland compositor" | ||
| HOMEPAGE="https://somewm.org https://github.com/trip-zip/somewm" | ||
|
|
||
| LICENSE="GPL-3" | ||
| SLOT="0" | ||
|
|
||
| REQUIRED_USE="${LUA_REQUIRED_USE}" | ||
|
|
||
| RDEPEND=" | ||
| ${LUA_DEPS} | ||
| $(lua_gen_cond_dep 'dev-lua/lgi[${LUA_USEDEP}]') | ||
| dev-libs/glib:2 | ||
| dev-libs/libffi | ||
| dev-libs/libinput | ||
| dev-libs/wayland | ||
| dev-libs/wayland-protocols | ||
| gui-libs/wlroots:0.19 | ||
| sys-apps/dbus | ||
| x11-base/xwayland | ||
| x11-libs/cairo[X] | ||
| x11-libs/gdk-pixbuf:2 | ||
| x11-libs/libdrm | ||
| x11-libs/libxkbcommon | ||
| x11-libs/pango | ||
| x11-libs/xcb-util-wm | ||
| " | ||
| DEPEND=" | ||
| ${RDEPEND} | ||
| " | ||
| BDEPEND=" | ||
| ${LUA_DEPS} | ||
| dev-build/meson | ||
| dev-build/ninja | ||
| dev-util/wayland-scanner | ||
| virtual/pkgconfig | ||
| " | ||
|
|
||
| pkg_setup() { | ||
| lua-single_pkg_setup | ||
| } | ||
|
|
||
| src_configure() { | ||
| meson_src_configure | ||
| } | ||
|
|
||
| pkg_postinst() { | ||
| einfo "Migration check from AwesomeWM:" | ||
| einfo " somewm --check ~/.config/awesome/rc.lua" | ||
| einfo "" | ||
| einfo "Launching somewm from a TTY:" | ||
| einfo " somewm-session" | ||
| einfo "" | ||
| einfo "Further details at: https://somewm.org/docs/intro" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| # Copyright 2026 Gentoo Authors | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=8 | ||
|
|
||
| LUA_COMPAT=( lua5-{4..5} luajit ) | ||
|
|
||
| inherit meson lua-single | ||
|
|
||
| if [[ ${PV} == *9999* ]]; then | ||
| inherit git-r3 | ||
| EGIT_REPO_URI="https://github.com/trip-zip/${PN}.git" | ||
|
|
||
| if [[ ${PV} == 1.4.* ]]; then | ||
| EGIT_BRANCH="release/1.4" | ||
| fi | ||
| else | ||
| KEYWORDS="~amd64" | ||
| SRC_URI="https://github.com/trip-zip/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" | ||
| fi | ||
|
|
||
| DESCRIPTION="An AwesomeWM-compatible dynamic floating and tiling Wayland compositor" | ||
| HOMEPAGE="https://somewm.org https://github.com/trip-zip/somewm" | ||
|
|
||
| LICENSE="GPL-3" | ||
| SLOT="0" | ||
|
|
||
| REQUIRED_USE="${LUA_REQUIRED_USE}" | ||
|
|
||
| RDEPEND=" | ||
| ${LUA_DEPS} | ||
| $(lua_gen_cond_dep 'dev-lua/lgi[${LUA_USEDEP}]') | ||
| dev-libs/glib:2 | ||
| dev-libs/libffi | ||
| dev-libs/libinput | ||
| dev-libs/wayland | ||
| dev-libs/wayland-protocols | ||
| gui-libs/wlroots:0.19 | ||
| sys-apps/dbus | ||
| x11-base/xwayland | ||
| x11-libs/cairo[X] | ||
| x11-libs/gdk-pixbuf:2 | ||
| x11-libs/libdrm | ||
| x11-libs/libxkbcommon | ||
| x11-libs/pango | ||
| x11-libs/xcb-util-wm | ||
| " | ||
| DEPEND=" | ||
| ${RDEPEND} | ||
| " | ||
| BDEPEND=" | ||
| ${LUA_DEPS} | ||
| dev-build/meson | ||
| dev-build/ninja | ||
| dev-util/wayland-scanner | ||
| virtual/pkgconfig | ||
| " | ||
|
|
||
| pkg_setup() { | ||
| lua-single_pkg_setup | ||
| } | ||
|
|
||
| src_configure() { | ||
| meson_src_configure | ||
| } | ||
|
|
||
| pkg_postinst() { | ||
| einfo "Migration check from AwesomeWM:" | ||
| einfo " somewm --check ~/.config/awesome/rc.lua" | ||
| einfo "" | ||
| einfo "Launching somewm from a TTY:" | ||
| einfo " somewm-session" | ||
| einfo "" | ||
| einfo "Further details at: https://somewm.org/docs/intro" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| # Copyright 2026 Gentoo Authors | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=8 | ||
|
|
||
| LUA_COMPAT=( lua5-4 luajit ) | ||
|
|
||
| inherit meson lua-single | ||
|
|
||
| if [[ ${PV} == *9999* ]]; then | ||
| inherit git-r3 | ||
| EGIT_REPO_URI="https://github.com/trip-zip/${PN}.git" | ||
|
|
||
| if [[ ${PV} == 1.4.* ]]; then | ||
| EGIT_BRANCH="release/1.4" | ||
| fi | ||
| else | ||
| KEYWORDS="~amd64" | ||
| SRC_URI="https://github.com/trip-zip/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" | ||
| fi | ||
|
|
||
| DESCRIPTION="An AwesomeWM-compatible dynamic floating and tiling Wayland compositor" | ||
| HOMEPAGE="https://somewm.org https://github.com/trip-zip/somewm" | ||
|
|
||
| LICENSE="GPL-3" | ||
| SLOT="0" | ||
|
|
||
| REQUIRED_USE="${LUA_REQUIRED_USE}" | ||
|
|
||
| RDEPEND=" | ||
| ${LUA_DEPS} | ||
| $(lua_gen_cond_dep 'dev-lua/lgi[${LUA_USEDEP}]') | ||
| dev-libs/glib:2 | ||
|
Comment on lines
+28
to
+33
|
||
| dev-libs/libffi | ||
| dev-libs/libinput | ||
| dev-libs/wayland | ||
| dev-libs/wayland-protocols | ||
| gui-libs/wlroots:0.19 | ||
| sys-apps/dbus | ||
| x11-base/xwayland | ||
| x11-libs/cairo[X] | ||
| x11-libs/gdk-pixbuf:2 | ||
| x11-libs/libdrm | ||
| x11-libs/libxkbcommon | ||
| x11-libs/pango | ||
| x11-libs/xcb-util-wm | ||
| " | ||
| DEPEND=" | ||
| ${RDEPEND} | ||
| " | ||
| BDEPEND=" | ||
| ${LUA_DEPS} | ||
| dev-build/meson | ||
| dev-build/ninja | ||
| dev-util/wayland-scanner | ||
| virtual/pkgconfig | ||
| " | ||
|
|
||
| pkg_setup() { | ||
| lua-single_pkg_setup | ||
| } | ||
|
|
||
| src_configure() { | ||
| meson_src_configure | ||
| } | ||
|
|
||
| pkg_postinst() { | ||
| einfo "Migration check from AwesomeWM:" | ||
| einfo " somewm --check ~/.config/awesome/rc.lua" | ||
| einfo "" | ||
| einfo "Launching somewm from a TTY:" | ||
| einfo " somewm-session" | ||
| einfo "" | ||
| einfo "Further details at: https://somewm.org/docs/intro" | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Symlinks should not be used in ebuild repositories
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. What instead? A plain copy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thanks. Done.