Package Details: global 6.5.6-2

Git Clone URL: https://aur.archlinux.org/global.git (read-only)
Package Base: global
Description: A source code tag system
Upstream URL: http://www.gnu.org/software/global/
Keywords: global gtag
Licenses: GPL
Submitter: None
Maintainer: watersalesman
Last Packager: watersalesman
Votes: 111
Popularity: 2.991497
First Submitted: 2007-03-05 00:02
Last Updated: 2017-04-17 03:45

Latest Comments

rpodgorny commented on 2017-04-16 18:02

@watersalesman thanks!

@albert748 ftp is everything but secure. :-( let's get rid of that ancient protocol! ...still, i get your troubles - but the correct thing would be to "fix" china's great firewall. ;-)

watersalesman commented on 2017-04-15 04:11

I just adopted the package because it looked like some things needed changing. I'm not too familiar with the package, so if anyone would like to take over, let me know. Otherwise I have no problem keeping it updated.

@jpkotta I added sqlite support

@albert748 I changed the source to the GNU ftp site

jpkotta commented on 2017-04-12 17:41

Can sqlite support be added? It's required for gogtags, and I'd rather not make a new global-sqlite package. sqlite is already a dep of pacman.

diff --git a/PKGBUILD b/PKGBUILD
index 9e0fd76..7947bbc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@

pkgname=global
pkgver=6.5.6
-pkgrel=1
+pkgrel=2
pkgdesc="A source code tag system"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/global/"
license=('GPL')
-depends=('libltdl' 'bash' 'perl')
+depends=('libltdl' 'bash' 'perl' 'sqlite')
optdepends=('idutils' 'ctags' 'python-pygments' 'emacs' 'vim')
makedepends=('python')
options=(!emptydirs !libtool)
@@ -30,7 +30,7 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
autoreconf -fi
- ./configure --prefix=/usr --with-exuberant-ctags=/usr/bin/ctags
+ ./configure --prefix=/usr --with-exuberant-ctags=/usr/bin/ctags --with-sqlite3
make
}

zyzero commented on 2016-12-14 21:14

@theherk

had the same problem, worked for me after downloading global-6.5.5.tar.gz from gnu ftp (https://www.gnu.org/software/global/download.html). No idea if that was a good idea though -.-

theherk commented on 2016-12-13 02:52

Can't build.

makepkg

==> ERROR: One or more files did not pass the validity check!

updpkgsums (works)
tar -xvf global-6.5.5.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

albert748 commented on 2016-09-24 12:53

@ptrv could you please change source download url to gnu home: ftp://ftp.gnu.org/pub/gnu/global/global-6.5.tar.gz

It's more secure and tamacom.com is block from china, and may confuse user a lot.

ptrv commented on 2016-05-22 12:25

@dvzrv Thanks for pointing out to uncomment the vim plugin installation. Is fixed now. I added also emacs and vim as optional dependencies.

dvzrv commented on 2016-05-22 12:01

@ptrv: Thx for following up on my suggestion regarding moving in $pkgdir!
What about the vim plugins though? ;-)
Is there any reason to leave their move commented?
I've tried and tested this with current vim and it gets picked up flawlessly.

btw: You can add emacs and vim to optdepends for integrational purposes.

dvzrv commented on 2016-05-17 20:24

@ptrv: Can you also add the vim plugins at their system-wide destinations, please?
I suggest moving within $pkgdir though, as it is mostly the cleaner approach (will show up properly in pacman's listing of the package's files):

install -d "${pkgdir}/usr/share/emacs/site-lisp"
mv "${pkgdir}/usr/share/gtags/gtags.el" "${pkgdir}/usr/share/emacs/site-lisp/gtags.el"
install -d "${pkgdir}/usr/share/vim/vimfiles/plugin"
mv "${pkgdir}/usr/share/gtags/gtags.vim" "${pkgdir}/usr/share/vim/vimfiles/plugin/gtags.vim"
mv "${pkgdir}/usr/share/gtags/gtags-cscope.vim" "${pkgdir}/usr/share/vim/vimfiles/plugin/gtags-cscope.vim"

This way vim will pick them up automagically.

ptrv commented on 2016-05-07 11:41

@lilydjgw Install file is removed.

All comments