[gentoo-commits] proj/emacs-openrc:master commit in: /

2023-11-21 Thread Maciej Barć
commit: 009917312aca1bdac04ffc8003633e099c9d7d41
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Nov 18 01:51:56 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Nov 21 09:50:37 2023 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=00991731

Add renovate.json

Signed-off-by: Maciej Barć  gentoo.org>

 renovate.json | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/renovate.json b/renovate.json
new file mode 100644
index 000..7190a60
--- /dev/null
+++ b/renovate.json
@@ -0,0 +1,3 @@
+{
+  "$schema": "https://docs.renovatebot.com/renovate-schema.json;
+}



[gentoo-commits] proj/emacs-openrc:master commit in: /

2023-04-25 Thread Maciej Barć
commit: 8ed5bd4a077b55132d8c015edfdf2fc19d7b851f
Author: Maciej Barć  gentoo  org>
AuthorDate: Wed Apr 26 00:12:29 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Wed Apr 26 00:12:29 2023 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=8ed5bd4a

.gitlab-ci.yml: use registry.gentoo.org/emacs/container-emacs

Signed-off-by: Maciej Barć  gentoo.org>

 .gitlab-ci.yml | 16 +---
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9b7c111..19583ef 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,22 +2,24 @@
 
 
 variables:
-   GIT_SUBMODULE_STRATEGY: recursive
-   TERM: dumb
+  GIT_SUBMODULE_STRATEGY: recursive
+  TERM: dumb
 
 stages:
   - install
 
-image: debian:unstable
-
-before_script:
-  - apt update && apt install -y emacs-nox make
-  - mkdir -p ~/.emacs.d
+image: registry.gentoo.org/emacs/container-emacs/debian-unstable:latest
 
 
 install:
   stage: install
   timeout: 10 minutes
 
+  rules:
+- changes:
+- "*.el"
+- .gitlab-ci.yml
+- Makefile
+
   script:
 - make install



[gentoo-commits] proj/emacs-openrc:master commit in: /

2023-04-25 Thread Maciej Barć
commit: d72464a257ba2a6dae16aa4db87c3c232226fa28
Author: Maciej Barć  gentoo  org>
AuthorDate: Tue Apr 25 20:54:17 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Apr 25 20:54:17 2023 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=d72464a2

add .gitlab-ci.yml

Signed-off-by: Maciej Barć  gentoo.org>

 .gitlab-ci.yml | 23 +++
 1 file changed, 23 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000..9b7c111
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+---
+
+
+variables:
+   GIT_SUBMODULE_STRATEGY: recursive
+   TERM: dumb
+
+stages:
+  - install
+
+image: debian:unstable
+
+before_script:
+  - apt update && apt install -y emacs-nox make
+  - mkdir -p ~/.emacs.d
+
+
+install:
+  stage: install
+  timeout: 10 minutes
+
+  script:
+- make install



[gentoo-commits] proj/emacs-openrc:master commit in: /

2023-04-25 Thread Maciej Barć
commit: a88ce7cf16d8549cb6a7373b7c8bd448f75a1d12
Author: Maciej Barć  gentoo  org>
AuthorDate: Tue Apr 25 19:43:17 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Apr 25 19:43:17 2023 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=a88ce7cf

add Eldev

Signed-off-by: Maciej Barć  gentoo.org>

 Eldev | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/Eldev b/Eldev
new file mode 100644
index 000..497c35d
--- /dev/null
+++ b/Eldev
@@ -0,0 +1,7 @@
+; -*- mode: emacs-lisp; lexical-binding: t -*-
+
+(eldev-use-package-archive 'melpa)
+
+(eldev-use-plugin 'autoloads)
+
+(setf eldev-project-main-file "openrc.el")



[gentoo-commits] proj/emacs-openrc:master commit in: /

2023-02-10 Thread Maciej Barć
commit: 4c105fe5d1ce53538bf854cccd6737b0a05be917
Author: Maciej Barć  gentoo  org>
AuthorDate: Fri Feb 10 13:32:25 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Fri Feb 10 13:32:25 2023 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=4c105fe5

openrc.el: bump to 1.0.0

Signed-off-by: Maciej Barć  gentoo.org>

 openrc.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openrc.el b/openrc.el
index 7ee20ea..0f949eb 100644
--- a/openrc.el
+++ b/openrc.el
@@ -23,7 +23,7 @@
 ;; Keywords: processes
 ;; Maintainer: 
 ;; Package-Requires: ((emacs "24.3"))
-;; Version: 0.0.0
+;; Version: 1.0.0
 
 
 
@@ -51,7 +51,7 @@
 ;;  - rc-update show -v
 
 
-(defconst openrc-version "0.0.0"
+(defconst openrc-version "1.0.0"
   "Emacs-Openrc version.")
 
 (defgroup openrc nil



[gentoo-commits] proj/emacs-openrc:master commit in: /

2023-02-10 Thread Maciej Barć
commit: 0167e6c3849588200e60f7c016e0aa7dbee0f7e4
Author: Maciej Barć  gentoo  org>
AuthorDate: Fri Feb 10 13:31:50 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Fri Feb 10 13:31:50 2023 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=0167e6c3

openrc.el: add menu

Signed-off-by: Maciej Barć  gentoo.org>

 openrc.el | 13 +
 1 file changed, 13 insertions(+)

diff --git a/openrc.el b/openrc.el
index a1bc135..7ee20ea 100644
--- a/openrc.el
+++ b/openrc.el
@@ -273,6 +273,19 @@ If PRIVILEGED is true, then use the \"sudo\" or \"su\" to 
run the command."
 openrc-services-menu-mode-map)
   "Key map for `openrc-services-menu' major mode.")
 
+
+(easy-menu-define openrc-services-menu-menu openrc-services-menu-mode-map
+  "Menu for `el-fetch-mode'."
+  '("OpenRC"
+["Refresh" openrc-refresh-services]
+["Describe service" openrc-describe-entry]
+["Restart service" openrc-restart-entry]
+["Toggle service" openrc-toggle-entry]
+["Add to runlevel" openrc-add-entry]
+["Delete from runlevel" openrc-del-entry]
+["Quit" quit-window]
+["Help" describe-mode]))
+
 (define-derived-mode openrc-services-menu-mode tabulated-list-mode
   "OpenRC Services Menu"
   "Major mode for listing the OpenRC services."



[gentoo-commits] proj/emacs-openrc:master commit in: /

2023-02-03 Thread Maciej Barć
commit: b4d38155bd64388eac4042a1a6b5e91cdbb55cae
Author: Maciej Barć  gentoo  org>
AuthorDate: Fri Feb  3 13:51:46 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Fri Feb  3 13:51:46 2023 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=b4d38155

Makefile: bugfix - FIND -> RM

Signed-off-by: Maciej Barć  gentoo.org>

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ecb9ff5..040ef89 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ ELS  = $(wildcard $(PWD)/*.el)
 ELCS = $(ELS:.el=.elc)
 
 EMACS   := emacs
-FIND:= rm -f
+RM  := rm -f
 
 EMACFLAGS   := --batch -q --no-site-file -L $(PWD)
 EMACSCMD = $(EMACS) $(EMACFLAGS)



[gentoo-commits] proj/emacs-openrc:master commit in: /

2022-12-13 Thread Maciej Barć
commit: 21b7a3c44f19f3c9d15466ee2a955833518a88e4
Author: Maciej Barć  gentoo  org>
AuthorDate: Tue Dec 13 10:45:32 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Dec 13 10:45:32 2022 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=21b7a3c4

Makefile: update

Signed-off-by: Maciej Barć  gentoo.org>

 Makefile | 16 +++-
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 62da177..ecb9ff5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,12 @@
+PWD ?= $(shell pwd)
+
+ELS  = $(wildcard $(PWD)/*.el)
+ELCS = $(ELS:.el=.elc)
+
 EMACS   := emacs
-FIND:= find
+FIND:= rm -f
 
-EMACFLAGS   := --batch -q --no-site-file
+EMACFLAGS   := --batch -q --no-site-file -L $(PWD)
 EMACSCMD = $(EMACS) $(EMACFLAGS)
 
 
@@ -10,15 +15,16 @@ all: clean compile
 
 .PHONY: clean
 clean:
-   $(FIND) $(PWD) -iname "*.elc" -delete
+   $(RM) $(ELCS)
 
 %.elc:
$(EMACSCMD) --eval "(byte-compile-file \"$(*).el\" 0)"
 
 .PHONY: compile
-compile: openrc.elc
+compile: $(ELCS)
 
 .PHONY: install
 install: compile
$(EMACSCMD) \
-   --eval "(require 'package)" --eval "(package-install-file 
\"$(PWD)\")"
+   --eval "(require 'package)" \
+   --eval "(package-install-file \"$(PWD)\")"



[gentoo-commits] proj/emacs-openrc:master commit in: /

2022-07-07 Thread Maciej Barć
commit: c19f12fb4e9ebc0cdd0b49ef6c23161db9a5a953
Author: Maciej Barć  gentoo  org>
AuthorDate: Thu Jul  7 23:27:28 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Jul  7 23:27:28 2022 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=c19f12fb

Makefile: add install target for local installations

Signed-off-by: Maciej Barć  gentoo.org>

 Makefile | 5 +
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index 513142e..62da177 100644
--- a/Makefile
+++ b/Makefile
@@ -17,3 +17,8 @@ clean:
 
 .PHONY: compile
 compile: openrc.elc
+
+.PHONY: install
+install: compile
+   $(EMACSCMD) \
+   --eval "(require 'package)" --eval "(package-install-file 
\"$(PWD)\")"



[gentoo-commits] proj/emacs-openrc:master commit in: /

2022-07-07 Thread Maciej Barć
commit: 01c8dfd510951734d50f25f757eef90e714595d3
Author: Maciej Barć  gentoo  org>
AuthorDate: Thu Jul  7 23:05:21 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Jul  7 23:05:21 2022 +
URL:https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=01c8dfd5

LICENSE.txt: add

Signed-off-by: Maciej Barć  gentoo.org>

 LICENSE.txt | 339 
 1 file changed, 339 insertions(+)

diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 000..d159169
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,339 @@
+GNU GENERAL PUBLIC LICENSE
+   Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this