unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thanos Apollo <public@thanosapollo.org>
To: Philip Kaludercic <philipk@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: Package suggestion[nongnu]: Gnosis (γνῶσις)
Date: Tue, 23 Jan 2024 18:20:16 +0200	[thread overview]
Message-ID: <87jzo0f15t.fsf@thanosapollo.org> (raw)
In-Reply-To: <87le8gpjt0.fsf@posteo.net>

[-- Attachment #1: Type: text/plain, Size: 2717 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 865 bytes --]

      reply	other threads:[~2024-01-23 16:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16  8:14 Package suggestion[nongnu]: Gnosis (γνῶσις) Thanos Apollo
2024-01-18 19:42 ` Philip Kaludercic
2024-01-19 14:45   ` Thanos Apollo
2024-01-20 12:20     ` Philip Kaludercic
2024-01-22 13:39       ` Thanos Apollo
2024-01-22 17:59         ` Philip Kaludercic
2024-01-22 22:55           ` Thanos Apollo
2024-01-23  7:53             ` Philip Kaludercic
2024-01-23 16:20               ` Thanos Apollo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzo0f15t.fsf@thanosapollo.org \
    --to=public@thanosapollo.org \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).