Package Details: emacs-git 30.0.50.169253-1

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: 104
Popularity: 0.000757
First Submitted: 2014-01-05 02:05 (UTC)
Last Updated: 2023-10-14 18:36 (UTC)

Required by (313)

Sources (2)

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 the emacs-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.

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 38 Next › Last »

MuffinBomber commented on 2021-04-09 14:48 (UTC)

The native-compilation feature is getting merged onto master next weekend (https://lists.gnu.org/archive/html/emacs-devel/2021-04/msg00484.html)

It would be a good idea to add a NATIVE_COMPILATION variable that would enable '--with-native-compilation' option.

esrevinu commented on 2021-03-21 18:04 (UTC)

conf in the below part of PKGBUILD looks like a typo of _conf.

# ctags/etags may be provided by other packages, e.g, universal-ctags
conf+=('--program-transform-name="s/\([ec]tags\)/\1.emacs/"')

But with the typo fixed, build failed. Finally, the following modification works.

 # ctags/etags may be provided by other packages, e.g, universal-ctags
-conf+=('--program-transform-name="s/\([ec]tags\)/\1.emacs/"')
+_conf+=('--program-transform-name=s/\([ec]tags\)/\1.emacs/')

toropisco commented on 2021-03-19 22:45 (UTC) (edited on 2021-03-19 22:47 (UTC) by toropisco)

zhenya1007 thanks for the patch. I took the chance to fix some standing bugs and it is already up. Please give it a good beating and report back.

zhenya1007 commented on 2021-03-19 16:50 (UTC)

Would you consider something like the patch below which (IMO) makes a few improvements to the CLI-only build? If you like the idea but object to some aspects of execution, I am happy to work with you to make adjustments. TIA!

diff --git a/PKGBUILD b/PKGBUILD
index 9ea97ca..bbe70b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,16 +48,20 @@ NOGZ="YES"        # Don't compress .el files.

 ################################################################################
 pkgname="emacs-git"
-pkgver=28.0.50.144634
-pkgrel=2
+if [[ $CLI == "YES" ]]; then
+   pkgname="emacs-nox-git"
+fi
+pkgver=28.0.50.145922
+pkgrel=1
 pkgdesc="GNU Emacs. Development master branch."
 arch=('x86_64' )
 url="http://www.gnu.org/software/emacs/"
 license=('GPL3' )
-depends=('alsa-lib' 'gnutls' 'libxml2' 'jansson' 'm17n-lib' 'libotf' 'harfbuzz' 'gpm')
+nox_depends=('alsa-lib' 'gnutls' 'libxml2' 'jansson' 'gpm') # when $CLI is "YES"
+depends=("${nox_depends[@]}" 'm17n-lib' 'libotf' 'harfbuzz')
 makedepends=('git')
 provides=('emacs' 'emacs-seq')
-conflicts=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq')
+conflicts=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq', 'emacs-nox')
 replaces=('emacs26-git' 'emacs27-git' 'emacs-seq')
 source=("emacs-git::git://git.savannah.gnu.org/emacs.git")
 # If Savannah access is blocked for reasons, use Github instead.
@@ -141,6 +145,10 @@ if [[ $XWIDGETS == "YES" ]]; then
   fi
 fi

+if [[ $CLI == "YES" ]]; then
+   depends=("${nox_depends[@]}")
+fi
+
 if [[ $DOCS_PDF == "YES" ]]; then
   makedepends+=( 'texlive-core' );
 fi
@@ -235,6 +243,10 @@ fi
 if [[ $NOGZ == "YES" ]]; then
   _conf+=( '--without-compress-install' );
 fi
+
+# ctags/etags may be provided by other packages, e.g, universal-ctags
+conf+=('--program-transform-name="s/\([ec]tags\)/\1.emacs/"')
+
 ################################################################################

 ################################################################################
@@ -275,15 +287,6 @@ package() {
   if [[ $DOCS_HTML == "YES" ]]; then make DESTDIR="$pkgdir/" install-html; fi
   if [[ $DOCS_PDF == "YES" ]]; then make DESTDIR="$pkgdir/" install-pdf; fi

-  # remove conflict with ctags package
-  mv "$pkgdir"/usr/bin/{ctags,ctags.emacs}
-
-  if [[ $NOGZ == "YES" ]]; then
-    mv "$pkgdir"/usr/share/man/man1/{ctags.1,ctags.emacs.1};
-  else
-    mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1.gz}
-  fi
-
   # fix user/root permissions on usr/share files
   find "$pkgdir"/usr/share/emacs/ | xargs chown root:root

Hi-Angel commented on 2021-02-23 17:44 (UTC)

Now by default PKGBUILD files will have sh-mode enabled by default, you can also see the bug report:

Oh, this is amazing, thanks!

utkarsh commented on 2021-02-23 17:23 (UTC)

Now by default PKGBUILD files will have sh-mode enabled by default, you can also see the bug report:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46660

utkarsh commented on 2021-02-20 04:27 (UTC) (edited on 2021-02-20 04:27 (UTC) by utkarsh)

@vorbote Oh! Thanks for notifying about the package:

https://github.com/juergenhoetzel/pkgbuild-mode

@Hi-Angle I will try to implement it and keep you updated on the matter.

toropisco commented on 2021-02-19 18:57 (UTC)

@utkarsh, there is a PKGBUILD major mode in AUR that is far more specific than sh-mode. That's why I've never bothered to add an emacs modeline.

Hi-Angel commented on 2021-02-19 18:25 (UTC)

@utkarsh well, you could send a patch upstream to add to sh-mode support for PKGBUILD files. FWIW, I tried doing that after I saw your comment, but I couldn't figure out how sh-script.el defines file-extensions to operate upon.

utkarsh commented on 2021-02-19 17:05 (UTC)

Thanks for maintaining emacs-git!

Since this package is explicitly dealing with Emacs it want you to add the following line on the top of PKGBUILD:

#-*-mode: sh-*-

As the line suggest, it tell Emacs the file is a shell script. Since we are already accepting 'vim' based modification in the last line this can be a quality of life improvement.