Sorry, but why was libxpm
removed from dependency at the latest change[1]? build() fails again in configure process. Am I missing something?
Search Criteria
Package Details: emacs-git 30.0.50.169253-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/emacs-git.git (read-only, click to copy) |
---|---|
Package Base: | emacs-git |
Description: | GNU Emacs. Development master branch. |
Upstream URL: | http://www.gnu.org/software/emacs/ |
Keywords: | development editor IDE text |
Licenses: | GPL3 |
Conflicts: | emacs |
Provides: | emacs |
Submitter: | toropisco |
Maintainer: | toropisco |
Last Packager: | toropisco |
Votes: | 107 |
Popularity: | 1.93 |
First Submitted: | 2014-01-05 02:05 (UTC) |
Last Updated: | 2023-10-14 18:36 (UTC) |
Dependencies (23)
- cairo (cairo-gitAUR)
- giflib (giflib-gitAUR)
- gnutls (gnutls-gitAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- harfbuzz (harfbuzz-gitAUR)
- jansson (jansson-gitAUR)
- libgccjit (libgccjit-gitAUR, libgccjit-snapshotAUR)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libotf
- libpng (libpng-gitAUR, libpng-apngAUR)
- libsm
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- libwebp (libwebp-gitAUR)
- libxcb (libxcb-gitAUR)
- libxi (libxi-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- libxpm (libxpm-gitAUR)
- sqlite3 (sqlite)
- tree-sitter (tree-sitter-gitAUR)
- xcb-util
- git (git-gitAUR, git-glAUR) (make)
- libxi (libxi-gitAUR) (make)
- xorgproto (xorgproto-gitAUR) (make)
Required by (313)
- anthy-unicode (requires emacs) (make)
- anthy-unicode-git (requires emacs) (make)
- astroid-git (requires emacs) (optional)
- auctex (requires emacs)
- auctex-git (requires emacs)
- auto-complete-nxml-git (requires emacs)
- auto-complete-nxml-git (requires emacs) (make)
- bbdb (requires emacs)
- bigloo-devel (requires emacs) (make)
- bigloo-devel (requires emacs) (optional)
- carp (requires emacs) (make)
- cask (requires emacs)
- cask-git (requires emacs)
- cmake-git (requires emacs) (make)
- csvedepli (requires emacs) (make)
- dictionary (requires emacs)
- distel (requires emacs)
- dmscripts-git (requires emacs) (optional)
- eldev-git (requires emacs)
- eless (requires emacs)
- elfeed (requires emacs)
- emacs-a (requires emacs)
- emacs-ag (requires emacs)
- emacs-ag-git (requires emacs)
- emacs-android-git (requires emacs)
- emacs-annalist (requires emacs)
- emacs-annot-git (requires emacs)
- emacs-anzu (requires emacs)
- emacs-anzu-git (requires emacs)
- emacs-apache-mode (requires emacs)
- emacs-arch-xlicense-git (requires emacs)
- emacs-arduino-mode-git (requires emacs)
- emacs-async-git (requires emacs)
- emacs-ats-mode (requires emacs)
- emacs-auto-complete (requires emacs)
- emacs-auto-complete-clang-git (requires emacs)
- emacs-avy (requires emacs)
- emacs-avy-git (requires emacs)
- emacs-bash-completion (requires emacs)
- emacs-bookmarkplus (requires emacs)
- emacs-bui (requires emacs)
- emacs-calfw-git (requires emacs)
- emacs-chess-git (requires emacs)
- emacs-chinese-word-segmentation-git (requires emacs)
- emacs-cider (requires emacs)
- emacs-cider-git (requires emacs)
- emacs-clojure-mode (requires emacs)
- emacs-clojure-mode-git (requires emacs)
- emacs-cmake-ide-git (requires emacs)
- emacs-color-theme (requires emacs)
- emacs-color-theme (requires emacs) (make)
- emacs-color-theme-xoria256 (requires emacs)
- emacs-company-lsp (requires emacs)
- emacs-company-lsp-git (requires emacs)
- emacs-company-mode (requires emacs)
- emacs-company-mode-git (requires emacs)
- emacs-crdt (requires emacs)
- emacs-ctable (requires emacs)
- emacs-ctags-update (requires emacs)
- emacs-d-mode (requires emacs) (make)
- emacs-dash (requires emacs)
- emacs-dash (requires emacs) (make)
- emacs-dash-git (requires emacs)
- emacs-deferred (requires emacs)
- emacs-dracula-theme-git (requires emacs) (optional)
- emacs-ediprolog (requires emacs)
- emacs-editorconfig-git (requires emacs)
- emacs-elpy (requires emacs)
- emacs-elpy-git (requires emacs)
- emacs-else-git (requires emacs)
- emacs-emacsql (requires emacs)
- emacs-emacsql-sqlite3 (requires emacs)
- emacs-emmet-mode-git (requires emacs)
- emacs-epc (requires emacs)
- emacs-epl (requires emacs)
- emacs-ess (requires emacs)
- emacs-ess-git (requires emacs)
- emacs-eterm-256color (requires emacs) (make)
- emacs-evil (requires emacs)
- emacs-evil-collection-git (requires emacs)
- emacs-evil-git (requires emacs)
- emacs-evil-org-git (requires emacs)
- emacs-execline-mode-git (requires emacs)
- emacs-f (requires emacs)
- emacs-f-git (requires emacs)
- emacs-find-file-in-project (requires emacs)
- emacs-find-recursive (requires emacs)
- emacs-flycheck-clojure (requires emacs)
- emacs-flycheck-git (requires emacs)
- emacs-flycheck-pos-tip (requires emacs)
- emacs-flycheck-pos-tip-git (requires emacs)
- emacs-flycheck-pycheckers (requires emacs)
- emacs-fuzzy (requires emacs)
- emacs-general.el-git (requires emacs)
- emacs-ghub (requires emacs)
- emacs-git-timemachine (requires emacs)
- emacs-git-wip-git (requires emacs)
- emacs-gitolite-mode (requires emacs)
- emacs-gnuplot-mode-git (requires emacs) (make)
- emacs-goby (requires emacs)
- emacs-goby-git (requires emacs)
- emacs-graphql-git (requires emacs)
- emacs-groovy-mode-git (requires emacs)
- emacs-guess-style-git (requires emacs)
- emacs-guess-style-git (requires emacs) (make)
- emacs-haskell-mode-git (requires emacs) (make)
- emacs-haxe (requires emacs)
- emacs-hcl-mode-git (requires emacs)
- emacs-helm (requires emacs)
- emacs-helm-git (requires emacs)
- emacs-helm-ls-git (requires emacs) (make)
- emacs-hexrgb (requires emacs)
- emacs-highlight-indentation (requires emacs)
- emacs-hydra (requires emacs)
- emacs-hydra-git (requires emacs)
- emacs-identica-mode (requires emacs)
- emacs-idris-mode-git (requires emacs)
- emacs-iedit (requires emacs)
- emacs-j-mode-git (requires emacs)
- emacs-jabber-git (requires emacs)
- emacs-jedi (requires emacs)
- emacs-js2-mode (requires emacs)
- emacs-js2-mode-git (requires emacs)
- emacs-julia-mode (requires emacs)
- emacs-langtool (requires emacs)
- emacs-libegit2-git (requires emacs)
- emacs-libegit2-wbundled-git (requires emacs)
- emacs-libvterm-git (requires emacs)
- emacs-lll-mode-git (requires emacs)
- emacs-llvm-mode (requires emacs)
- emacs-lsp-mode-git (requires emacs)
- emacs-lsp-ui (requires emacs)
- emacs-lsp-ui-git (requires emacs)
- emacs-lyqi-mode-git (requires emacs)
- emacs-magit (requires emacs)
- emacs-magit-git (requires emacs)
- emacs-magit-popup (requires emacs)
- emacs-make-regexp (requires emacs)
- emacs-make-regexp (requires emacs) (make)
- emacs-maplev (requires emacs)
- emacs-markdown-mode (requires emacs)
- emacs-markdown-mode-git (requires emacs)
- emacs-markdown-preview-mode (requires emacs)
- emacs-meson-mode-git (requires emacs)
- emacs-mew (requires emacs)
- emacs-mew-git (requires emacs)
- emacs-mmm-mode-git (requires emacs)
- emacs-monky-git (requires emacs)
- emacs-moonscript-mode (requires emacs)
- emacs-mozc (requires emacs)
- emacs-mozc-ut-full (requires emacs)
- emacs-mozc-ut-full (requires emacs) (make)
- emacs-mozc-with-jp-dict (requires emacs)
- emacs-multiple-cursors (requires emacs)
- emacs-named-daemon (requires emacs)
- emacs-newlisp-mode-git (requires emacs)
- emacs-nyan-mode (requires emacs)
- emacs-onedark-theme-git (requires emacs)
- emacs-openrc (requires emacs)
- emacs-org-bullets-git (requires emacs)
- emacs-org-mode (requires emacs)
- emacs-org-roam (requires emacs)
- emacs-oz-mode (requires emacs)
- emacs-paredit (requires emacs) (make)
- emacs-parseclj (requires emacs)
- emacs-pdf-tools-git (requires emacs)
- emacs-pelican-mode-git (requires emacs)
- emacs-pg (requires emacs)
- emacs-pkg-info (requires emacs)
- emacs-pkgbuild-mode (requires emacs)
- emacs-pkgbuild-mode-git (requires emacs)
- emacs-popup-el (requires emacs)
- emacs-popup-el (requires emacs) (make)
- emacs-pos-tip (requires emacs)
- emacs-pos-tip-git (requires emacs)
- emacs-posframe (requires emacs)
- emacs-processing-mode-git (requires emacs)
- emacs-projectile (requires emacs)
- emacs-projectile-git (requires emacs)
- emacs-prop-menu-git (requires emacs)
- emacs-psgml (requires emacs)
- emacs-psvn (requires emacs)
- emacs-pure-mode (requires emacs)
- emacs-pyim (requires emacs)
- emacs-pyim-basedict (requires emacs)
- emacs-python-environment (requires emacs)
- emacs-pyvenv (requires emacs)
- emacs-queue (requires emacs)
- emacs-rich-minority (requires emacs)
- emacs-riece (requires emacs)
- emacs-rnc-mode-git (requires emacs)
- emacs-rtf-mode (requires emacs)
- emacs-rust-mode (requires emacs)
- emacs-s (requires emacs)
- emacs-s-git (requires emacs)
- emacs-scala-mode-git (requires emacs)
- emacs-screencast-mode-git (requires emacs)
- emacs-seq (requires emacs)
- emacs-sesman (requires emacs)
- emacs-sly-git (requires emacs)
- emacs-smart-mode-line (requires emacs)
- emacs-smex (requires emacs)
- emacs-sml-mode (requires emacs)
- emacs-solidity-mode-git (requires emacs)
- emacs-spacemacs-funcs (requires emacs)
- emacs-speechd-el-git (requires emacs)
- emacs-spinner (requires emacs)
- emacs-swiper (requires emacs)
- emacs-swiper-git (requires emacs)
- emacs-symbols-mode-git (requires emacs)
- emacs-tablist (requires emacs)
- emacs-tablist-git (requires emacs)
- emacs-terraform-mode-git (requires emacs)
- emacs-textile-mode (requires emacs)
- emacs-treepy-git (requires emacs)
- emacs-undo-tree (requires emacs)
- emacs-use-package (requires emacs)
- emacs-vala-mode (requires emacs)
- emacs-vlf-git (requires emacs)
- emacs-w3m-git (requires emacs)
- emacs-web-server (requires emacs)
- emacs-websocket (requires emacs)
- emacs-which-key (requires emacs)
- emacs-whitespace-mode (requires emacs)
- emacs-with-editor (requires emacs)
- emacs-with-editor-git (requires emacs)
- emacs-xclip (requires emacs) (make)
- emacs-xelb-git (requires emacs)
- emacs-xr (requires emacs)
- emacs-xterm-color (requires emacs) (make)
- emacs-yaml-mode (requires emacs)
- emacs-yasnippet (requires emacs)
- emacs-yasnippet-git (requires emacs)
- emacs-yasnippet-snippets (requires emacs)
- emacs-yasnippet-snippets-git (requires emacs)
- emacs-youtube-dl (requires emacs)
- emacs-zenburn-theme (requires emacs)
- emacsclient-desktop-git (requires emacs)
- emacspeak (requires emacs)
- emms (requires emacs)
- emms-git (requires emacs)
- fcitx5-mozc-ut-full (requires emacs) (make)
- ff-git (requires emacs) (optional)
- flycheck (requires emacs)
- flycheck (requires emacs) (make)
- fronde (requires emacs)
- gnuplot-nogui (requires emacs) (make)
- gtypist-single-space (requires emacs) (make)
- guix-git (requires emacs) (optional)
- helm-system-packages-git (requires emacs)
- htmlize-git (requires emacs)
- ibus-mozc-ut-full (requires emacs) (make)
- irony-mode (requires emacs)
- lean-bin (requires emacs) (optional)
- lean-git (requires emacs) (optional)
- lean2-git (requires emacs) (optional)
- macaulay2 (requires emacs) (make)
- maint (requires emacs) (optional)
- mcu8051ide (requires emacs) (optional)
- migemo-git (requires emacs)
- mozart2 (requires emacs)
- mozart2-bin (requires emacs)
- mozart2-git (requires emacs) (make)
- mozart2-git (requires emacs) (optional)
- mozc-ut-full-common (requires emacs) (make)
- mu (requires emacs) (make)
- mu (requires emacs) (optional)
- mu-git (requires emacs) (optional)
- ninja-kitware (requires emacs) (optional)
- nord-emacs (requires emacs)
- notmuch-emacs-git (requires emacs) (make)
- notmuch-emacs-git (requires emacs) (optional)
- notmuch-mutt-git (requires emacs) (make)
- notmuch-python-git (requires emacs) (make)
- notmuch-ruby-git (requires emacs) (make)
- notmuch-runtime-git (requires emacs) (make)
- notmuch-vim-git (requires emacs) (make)
- ocaml-typerex (requires emacs)
- org-cli-tangle (requires emacs)
- org-protocol-emacsclient (requires emacs) (optional)
- orgmk-git (requires emacs)
- orgtbl-query (requires emacs) (optional)
- pacjson (requires emacs) (make)
- proofgeneral (requires emacs)
- proofgeneral-git (requires emacs)
- pvs (requires emacs)
- pymacs (requires emacs)
- pymacs-git (requires emacs)
- quack (requires emacs)
- quack (requires emacs) (make)
- regexy (requires emacs) (make)
- ros-melodic-rosemacs (requires emacs)
- ros-noetic-rosemacs (requires emacs)
- ros-noetic-slime-wrapper (requires emacs)
- sawfish-git (requires emacs) (make)
- sawfish-git (requires emacs) (optional)
- shpp-git (requires emacs) (make)
- slime (requires emacs)
- slime-git (requires emacs)
- sph-scheme-mode-git (requires emacs)
- stumpwm-git (requires emacs) (optional)
- sunrise-commander (requires emacs)
- supercollider-git (requires emacs) (make)
- supercollider-git (requires emacs) (optional)
- supercollider-headless-git (requires emacs) (make)
- supercollider-headless-git (requires emacs) (optional)
- supercollider-portaudio (requires emacs) (make)
- supercollider-portaudio (requires emacs) (optional)
- synct-git (requires emacs) (optional)
- tramp (requires emacs) (make)
- translate-shell-git (requires emacs) (optional)
- uim-git (requires emacs) (optional)
- unison-git (requires emacs) (make)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 39 Next › Last »
ynakao commented on 2021-12-05 21:53 (UTC)
totsilence commented on 2021-12-05 21:26 (UTC)
Hey, in the latest version i think $SOUND should be $ALSA in line 263. Cheers!
ynakao commented on 2021-12-04 07:06 (UTC) (edited on 2021-12-04 07:07 (UTC) by ynakao)
In chroot environment, build() fails due to missing libxpm
[1]. This is caused by removing m17n-lib
[2] which depends on libxpm
via gd
[3]. So, I guess libxpm
should be added to depends
.
configure: error: The following required libraries were not found:
libXpm
Maybe some development libraries/packages are missing?
To build anyway, give:
--with-xpm=ifavailable
as options to configure.
==> ERROR: A failure occurred in build().
Aborting...
pancho commented on 2021-12-03 06:41 (UTC) (edited on 2021-12-03 06:42 (UTC) by pancho)
Well, I'll just say that the emacs
package on extra dropped libmagick6
on Aug 2020, as can be seen on the git history¹. No mention of imagemagick
or libmagick
in the current PKGBUILD
². ;-)
2: https://github.com/archlinux/svntogit-packages/blob/packages/emacs/trunk/PKGBUILD
toropisco commented on 2021-12-02 19:51 (UTC)
@zhenya1007 Don't tempt me! I've waited long enough to drop ImageMagick. I'll look at your patches this weekend. Cheers.
zhenya1007 commented on 2021-12-02 19:47 (UTC)
In a (perhaps misguided) effort to reduce the number of libraries needed to compile/install Emacs, I have added two knobs: one for GPM and another one for sound/ALSA. Here is the change for the GPM knob:
diff --git a/PKGBUILD b/PKGBUILD
index fd2a07a..c63d62c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -64,6 +64,7 @@ MAGICK= # ImageMagick 7 support. Deprecated (read the logs).
# -->>If you just *believe* you need ImageMagick, you don't.<<--
NOGZ="YES" # Don't compress .el files.
+GPM= # Support mouse in the Linux console via libgpm.
################################################################################
################################################################################
@@ -78,7 +79,7 @@ pkgdesc="GNU Emacs. Development master branch."
arch=('x86_64')
url="http://www.gnu.org/software/emacs/"
license=('GPL3')
-depends_nox=('alsa-lib' 'gnutls' 'libxml2' 'jansson' 'gpm')
+depends_nox=('alsa-lib' 'gnutls' 'libxml2' 'jansson')
depends=("${depends_nox[@]}" 'm17n-lib' 'libotf' 'harfbuzz')
makedepends=('git')
provides=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq' 'emacs-nox')
@@ -179,6 +180,14 @@ fi
if [[ $DOCS_PDF == "YES" ]]; then
makedepends+=( 'texlive-core' );
fi
+
+if [[ $GPM == "YES" ]]; then
+ if [[ $CLI == "YES" ]]; then
+ depends_nox+=( 'gpm' );
+ else
+ depends+=( 'gpm' );
+ fi
+fi
################################################################################
################################################################################
@@ -271,6 +280,11 @@ if [[ $NOGZ == "YES" ]]; then
_conf+=( '--without-compress-install' );
fi
+if [[ $GPM == "YES" ]]; then
+ true
+else
+ _conf+=( '--without-gpm' );
+fi
# ctags/etags may be provided by other packages, e.g, universal-ctags
_conf+=('--program-transform-name=s/\([ec]tags\)/\1.emacs/')
And here is the ALSA/sound knob:
diff --git a/PKGBUILD b/PKGBUILD
index c63d62c..681b86f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -65,6 +65,8 @@ MAGICK= # ImageMagick 7 support. Deprecated (read the logs).
NOGZ="YES" # Don't compress .el files.
GPM= # Support mouse in the Linux console via libgpm.
+SOUND= # Support for sound.
+ # The only useful values are "YES" and "alsa". The two are equivalent.
################################################################################
################################################################################
@@ -79,7 +81,7 @@ pkgdesc="GNU Emacs. Development master branch."
arch=('x86_64')
url="http://www.gnu.org/software/emacs/"
license=('GPL3')
-depends_nox=('alsa-lib' 'gnutls' 'libxml2' 'jansson')
+depends_nox=('gnutls' 'libxml2' 'jansson')
depends=("${depends_nox[@]}" 'm17n-lib' 'libotf' 'harfbuzz')
makedepends=('git')
provides=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq' 'emacs-nox')
@@ -188,6 +190,15 @@ if [[ $GPM == "YES" ]]; then
depends+=( 'gpm' );
fi
fi
+
+if [[ $SOUND == "YES" || $SOUND == [aA][lL][sS][aA] ]]; then
+ if [[ $CLI == "YES" ]]; then
+ depends_nox+=( 'alsa-lib' );
+ else
+ depends+=( 'alsa-lib' );
+ fi
+fi
+
################################################################################
################################################################################
@@ -224,7 +235,6 @@ build() {
--localstatedir=/var
--mandir=/usr/share/man
--with-gameuser=:games
- --with-sound=alsa
--with-modules
# Beware https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25228
# dconf and gconf break font settings you set in ~/.emacs.
@@ -285,6 +295,13 @@ if [[ $GPM == "YES" ]]; then
else
_conf+=( '--without-gpm' );
fi
+
+if [[ $SOUND == "YES" || $SOUND == [aA][lL][sS][aA] ]]; then
+ _conf+=( '--with-sound=alsa' );
+else
+ _conf+=( '--with-sound=no' );
+fi
+
# ctags/etags may be provided by other packages, e.g, universal-ctags
_conf+=('--program-transform-name=s/\([ec]tags\)/\1.emacs/')
If you would like me to provide the patches via some alternate means, please let me know.
zhenya1007 commented on 2021-12-02 19:34 (UTC)
FWIW, I couldn't agree more with the decision to drop GTK+2, libotf and m17n-flt. Now, if we could only get rid of Imagemagick for good... ;-)
zhenya1007 commented on 2021-10-05 23:13 (UTC) (edited on 2021-10-05 23:15 (UTC) by zhenya1007)
If set CLI="YES"
(am I the only user of that option?! :P), it sets $pkgname
to emacs-git-nox
, derives emacs-git-nox.install
as the name of the $install
file, and fails when it discovers that said $install
file doesn't exist.
My suggestion is to hard-code emacs-git.install
as the name of the $install
file, to wit:
@@ -75,7 +75,7 @@ replaces=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq' 'emacs-nox')
# If Savannah fails for reasons, use Github's mirror
source=("emacs-git::git://github.com/emacs-mirror/emacs.git")
options=(!strip)
-install="$pkgname".install
+install='emacs-git.install'
b2sums=('SKIP')
pancho commented on 2021-10-01 10:46 (UTC) (edited on 2021-10-01 10:47 (UTC) by pancho)
Hi, folks.
I've forked¹ this repo to track the just-created emacs-28² release branch.
Also, I've enabled JIT and AOT, as well as parallel compilation.
Thanks, and happy hacking!
¹: https://aur.archlinux.org/packages/emacs28-git/
²: https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg02290.html
Pinned Comments
toropisco commented on 2017-06-30 19:14 (UTC) (edited on 2022-05-15 13:26 (UTC) by toropisco)
This PKGBUILD is a work in progress. If you find PACKAGING bugs, please let me know ASAP.
Upstream bugs are to be reported upstream. Check out the emacs-devel archives to confirm if this is an already known bug. In fact... Why are you not subscribed to
emacs-devel
?. Also check theemacs-bug-tracker
archives.Reporting bugs: Write to the Emacs Bug Tracker and report it there. Or, better yet, use the
debbugs
client included with the text editor. You will find instructions at https://debbugs.gnu.org/. Good luck!If you confirm it is a packaging bug, you are welcome to report it here.
Yaourt and other automated tools users BEWARE! This PKGBUILD is written with hand updating in mind and I won't fix bugs arising from such use. Besides, cloning the same repository time and time again from a non-profit such as the GNU Project/FSF gives out a very low image of you.