[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Package suggestion[nongnu]: Gnosis (γνῶσις)
|
From: |
Thanos Apollo |
|
Subject: |
Re: Package suggestion[nongnu]: Gnosis (γνῶσις) |
|
Date: |
Tue, 23 Jan 2024 18:20:16 +0200 |
|
User-agent: |
mu4e 1.10.6; emacs 29.1 |
Philip Kaludercic <philipk@posteo.net> writes:
[...]
>
> I notice that you have .texi and .info files in your repository. IIUC
> these are generated from the .org file, right? If that is so, you can
> get rid of the generated files and instead let the ELPA build server
> prepare these from the .org file for you.
>
>> + :ignored-files ("LICENSE"))
>
> It would be preferable, if you could track the files you wish not to
> distribute in the package in a .elpaignore file within your repository,
> that we don't need to update nongnu.git for any change.
>
Oh, this is convenient, thank you.
I've applied the requested changes:
# .elpaignore
================
doc/gnosis.org
LICENSE
Makefile -> Includes Makefile, not sure if that's desired
================
# Makefile
Note: Exports /doc/gnosis.org as .texi AND as .info, this makes it
easier for me, I hope it's not an issue.
================
.POSIX:
.PHONY: all compile test clean
.SUFFIXES: .el .elc
EMACS = emacs
ORG := doc/gnosis.org
TEXI := doc/gnosis.texi
INFO := doc/gnosis.info
ELFILES = $(wildcard *.el)
BYTEC = $(ELFILES:.el=.elc)
all: compile $(TEXI)
compile: $(BYTEC)
$(TEXI): $(ORG)
$(EMACS) --batch \
--load org \
--eval "(with-current-buffer (find-file \"$(ORG)\")
(org-texinfo-export-to-texinfo) (org-texinfo-export-to-info) (save-buffer))" \
--kill
clean:
rm -f $(BYTEC)
rm -f $(TEXI) $(INFO)
.el.elc:
$(EMACS) -Q --batch -L . -f batch-byte-compile $<
================
FYI I tried building nongnu elpa to create a new patch for gnosis, but
after cloning the repo:
========
$ make
git remote add --no-tags -ft elpa-admin \
gnu-elpa https://git.savannah.gnu.org/git/emacs/elpa.git
Updating gnu-elpa
remote: Counting objects: 1679, done.
remote: Compressing objects: 100% (776/776), done.
remote: Total 1679 (delta 798), reused 1628 (delta 787)
Receiving objects: 100% (1679/1679), 444.55 KiB | 730.00 KiB/s, done.
Resolving deltas: 100% (798/798), done.
From https://git.savannah.gnu.org/git/emacs/elpa
* [new branch] elpa-admin -> gnu-elpa/elpa-admin
git worktree add -b elpa-admin admin gnu-elpa/elpa-admin
Preparing worktree (new branch 'elpa-admin')
branch 'elpa-admin' set up to track 'gnu-elpa/elpa-admin'.
HEAD is now at 897fef4a23 * elpa-admin.el (elpaa--core-files): Simplify
ln -s admin/GNUmakefile ./
ln -s admin/elpa-manifest.scm manifest.scm
$ make build-all # I got the following error:
Opening output file: No such file or directory,
/home/thanos/Dev/emacs-lisp/nongnu/archive/archive-contents make: ***
[GNUmakefile:25: build-all] Error 255
========
--
Thanos Apollo
https://thanosapollo.org
signature.asc
Description: PGP signature
- Package suggestion[nongnu]: Gnosis (γνῶσις), Thanos Apollo, 2024/01/16
- Re: Package suggestion[nongnu]: Gnosis (γνῶσις), Philip Kaludercic, 2024/01/18
- Re: Package suggestion[nongnu]: Gnosis (γνῶσις), Thanos Apollo, 2024/01/19
- Re: Package suggestion[nongnu]: Gnosis (γνῶσις), Philip Kaludercic, 2024/01/20
- Re: Package suggestion[nongnu]: Gnosis (γνῶσις), Thanos Apollo, 2024/01/22
- Re: Package suggestion[nongnu]: Gnosis (γνῶσις), Philip Kaludercic, 2024/01/22
- Re: Package suggestion[nongnu]: Gnosis (γνῶσις), Thanos Apollo, 2024/01/22
- Re: Package suggestion[nongnu]: Gnosis (γνῶσις), Philip Kaludercic, 2024/01/23
- Re: Package suggestion[nongnu]: Gnosis (γνῶσις),
Thanos Apollo <=