FS#23435 - [emacs] etags and it's manpage do not need to be renamed

Attached to Project: Arch Linux
Opened by Stefan Husmann (stefanhusmann) - Friday, 25 March 2011, 19:38 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 21 August 2011, 02:30 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: etags and it's manpage do not need to be renamed, at least not for the reason described in the comment in the PKGBUILD, since the ctags package only consists in the two files /usr/bin/ctags and /usr/share/man/man1/ctags.1

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce: Use the file list function of this webpage to look up the contents of ctags.
This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 21 August 2011, 02:30 GMT
Reason for closing:  Implemented
Additional comments about closing:  emacs-23.3.a-2
Comment by Greg (dolby) - Saturday, 26 March 2011, 06:49 GMT
Heres a patch to the 23.3-1 PKGBUILD.
It does the following:
bump pkgrel to 2
remove docs option ( its the default now in makepkg.conf, you better check yours is set that way though)
remove conflict with cedet ( fixes  FS#23270  )
remove mandir variable, replace it with the actual path where needed
remove gcc 4.5 workaround, no longer needed
remove all $startdir references, replace with $pkgdir and $srcdir
satisfy this feature request ( although personally i would prefer renaming it, that way it would be consistent )
remove uneeded 775 perms on directories, dirs have 775 permissions by default
some mostly cosmetic fixes of my own

Please check before using, this is untested, but should work.
Comment by Stefan Husmann (stefanhusmann) - Thursday, 14 April 2011, 21:53 GMT
The attached PKGBUILD works fine. Emacs builds and runs as expected. But namcap complains.
[code]
emacs W: Description should not contain the package name.
emacs W: File (var/games) exists in a non-standard directory.
emacs W: File (var/games/emacs) exists in a non-standard directory.
emacs W: File (var/games/emacs/tetris-scores) exists in a non-standard directory.
emacs W: File (var/games/emacs/snake-scores) exists in a non-standard directory.
emacs E: Mime type handler found. Add "update-desktop-database -q" to the install file
emacs E: File (var/games) has root/games permissions
emacs E: File (var/games/emacs) has root/games permissions
emacs E: File (var/games/emacs/tetris-scores) has root/games permissions
emacs E: File (var/games/emacs/snake-scores) has root/games permissions
emacs E: Dependency m17n-lib detected and not included (libraries ['usr/lib/libm17n-core.so.0', 'usr/lib/libm17n-flt.so.0'] needed in files ['usr/bin/emacs'])
emacs E: Dependency desktop-file-utils detected and not included (needed for update-desktop-database)
emacs W: Dependency dbus-core included but already satisfied
emacs W: Dependency libtiff included but already satisfied
emacs W: Dependency libjpeg included but already satisfied
emacs W: Dependency gtk2 included but already satisfied
emacs W: Dependency texinfo included but already satisfied
[/code]
The var/games related messages are made by design and needed for tetris lovers. The m17n-lib dependency is optional, emacs links against it if m17n-lib is installed. This can be avoided with adding --without- m17n-flt to the .configure line.

Loading...