From: Laurent Arnoud <laurent.arnoud@platform.sh>
To: emacs-devel@gnu.org
Subject: compile 28.2 with checkinstall
Date: Wed, 7 Dec 2022 11:00:30 +0100 [thread overview]
Message-ID: <CAP36UN_W=p=Rh2PqXPYH5-8SX0BaoPW6=mtO-zv4XZp-Uc5s0Q@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 189 bytes --]
Hi,
I've had the same issue when trying to compile emacs and install it with
the checkinstall tool that creates a quick Debian package.
Its my first patch to emacs hope it helps,
Laurent
[-- Attachment #1.2: Type: text/html, Size: 288 bytes --]
[-- Attachment #2: 0001-Use-abs_srcdir-for-install-from-other-pwd.patch --]
[-- Type: text/x-patch, Size: 929 bytes --]
From 97cee991496e399e609f4f7631f36e75d68b36fd Mon Sep 17 00:00:00 2001
From: Laurent Arnoud <laurent.arnoud@platform.sh>
Date: Wed, 7 Dec 2022 10:55:28 +0100
Subject: [PATCH] Use abs_srcdir for install from other pwd
when using checkinstall to package emacs it fail because
of the relative path of publicsuffix.txt
More info at
https://emacs.stackexchange.com/questions/52926/installing-emacs-26-3
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git Makefile.in Makefile.in
index 93609a4e16..6a93f52d72 100644
--- Makefile.in
+++ Makefile.in
@@ -749,7 +749,7 @@ install-arch-indep:
for f in `find . -name "*.elc" -print | sed 's/.elc$$/.el/'`; do \
${GZIP_PROG} -9n "$$f"; \
done; \
- ${GZIP_PROG} -9n "../etc/publicsuffix.txt"; \
+ ${GZIP_PROG} -9n "${abs_srcdir}/etc/publicsuffix.txt"; \
}
-chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
--
2.30.2
next reply other threads:[~2022-12-07 10:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-07 10:00 Laurent Arnoud [this message]
2022-12-07 17:41 ` compile 28.2 with checkinstall Eli Zaretskii
2022-12-08 14:59 ` Laurent Arnoud
2022-12-08 15:41 ` Eli Zaretskii
2022-12-13 13:37 ` Laurent Arnoud
2022-12-13 14:30 ` Eli Zaretskii
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='CAP36UN_W=p=Rh2PqXPYH5-8SX0BaoPW6=mtO-zv4XZp-Uc5s0Q@mail.gmail.com' \
--to=laurent.arnoud@platform.sh \
--cc=emacs-devel@gnu.org \
/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).