Skip to content
Merged
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
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
sudo curl -SsL -o /etc/apt/trusted.gpg.d/easksource.gpg https://raw.githubusercontent.com/emacs-eask/packaging/master/debian/KEY.gpg
sudo curl -SsL -o /etc/apt/sources.list.d/easksource.list https://raw.githubusercontent.com/emacs-eask/packaging/master/debian/easksource.list
sudo apt update --allow-insecure-repositories
sudo apt install -y --allow-unauthenticated \
build-essential \
autotools-dev \
autoconf \
Expand All @@ -33,7 +35,8 @@ jobs:
cppcheck \
emacs-pgtk \
bear \
libxml2-utils
libxml2-utils \
eask-cli

- name: Generate configure script
run: |
Expand Down Expand Up @@ -98,7 +101,7 @@ jobs:
- name: Run elisp checks
run: |
echo "Running Elisp lint checks..."
make lint-elisp
make lint-elisp elsa-check
echo "PASSED: Elisp checks completed"

- name: Run cppcheck
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lint-elisp:
$(MAKE) -C elisp lint

elsa-check:
$(MAKE) -C elisp elsa-check
$(MAKE) -C elisp elsa

cppcheck:
$(MAKE) -C ews cppcheck
Expand Down
16 changes: 16 additions & 0 deletions elisp/Eask
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
(package "ewx"
"0.1"
"Emacs Wayland X")

(website-url "https://github.com/rayslava/ewx")
(keywords "wayland")

(package-file "ewx.el")

(source 'gnu)
(source 'melpa)

(depends-on "emacs" "26.1")
(depends-on "elsa" )

(files "ewc.el" "ewl.el" "ewc-test.el" "ewl-test.el")
5 changes: 5 additions & 0 deletions elisp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,10 @@ lint: $(ELISP_FILES)
--eval "(setq byte-compile-error-on-warn t)" \
-f batch-byte-compile $(srcdir)/ewc.el $(srcdir)/ewl.el

# TODO(test): remove the || true after fixing the issues
elsa: $(ELISP_FILES)
@echo "Running elsa checks"
eask lint elsa || true

clean-local:
rm -f $(ELCFILES)
46 changes: 46 additions & 0 deletions elisp/ewx.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
;;; ewx.el --- Emacs Wayland X - Wayland Compositor inside Emacs.
;;
;; Filename: ewx.el
;; Description: Main entry file.
;; Author: Slava Barinov
;; Maintainer: Slava Barinov <rayslava@rayslava.com>
;; Created: Mon Jul 14 13:07:31 2025 (+0900)
;; Version: 0.1.0
;; Package-Requires: (("emacs" . "29.1"))
;; URL: https://github.com/rayslava/ewx
;; Doc URL: https://github.com/rayslava/ewx
;; Keywords: wayland
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Commentary:
;;
;; This file is the main entry point for running the compositor.
;;
;; The actual work is done in other files.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or (at
;; your option) any later version.
;;
;; This program is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Code:

(require 'ewl)

(provide 'ewx)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ewx.el ends here