Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18896 - [ne] syntax hilghlighting doesn't work

Attached to Project: Arch Linux
Opened by Wenzhi Liang (lang2) - Wednesday, 31 March 2010, 19:33 GMT
Last edited by Dan Griffiths (Ghost1227) - Thursday, 13 May 2010, 18:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dan Griffiths (Ghost1227)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The syntax highlighting for ne doesn't work out of the box. The supporting files seems to be installed in /usr/lib/ne/syntax but has no effect. 'cp -R /usr/lib/ne/syntax ~/.ne' and it works fine.

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


Steps to reproduce:
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Thursday, 13 May 2010, 18:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  And tested! ;)
Comment by Wenzhi Liang (lang2) - Sunday, 04 April 2010, 22:32 GMT
The following build() function works for me:

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i ',(cd doc; make),d' makefile
#sed -i 's,local/lib/ne,lib/ne,g' src/makefile
cd src make NE_GLOBAL_DIR=/usr/lib/ne
cd -
make PREFIX="${pkgdir}/usr" install || return 1
}

It also remove the dependency on texlive, etc. OK the nice pdf documentation won't be build but it's just daft to have to install TeX just to be able to install a little editor.

Somebody want to see to this?

Thanks,
Comment by Wenzhi Liang (lang2) - Monday, 05 April 2010, 14:35 GMT
The following build() function works for me:

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i ',(cd doc; make),d' makefile
#sed -i 's,local/lib/ne,lib/ne,g' src/makefile
cd src make NE_GLOBAL_DIR=/usr/lib/ne
cd -
make PREFIX="${pkgdir}/usr" install || return 1
}

It also remove the dependency on texlive, etc. OK the nice pdf documentation won't be build but it's just daft to have to install TeX just to be able to install a little editor.

Somebody want to see to this?

Thanks,
Comment by Wenzhi Liang (lang2) - Monday, 05 April 2010, 14:35 GMT
oops. somehow refreshing the page re-submitted the previous post.
Comment by Wenzhi Liang (lang2) - Sunday, 11 April 2010, 00:24 GMT Comment by Johan R (cleanrock) - Wednesday, 12 May 2010, 19:07 GMT
- syntax highlighting still broken (i dont think NE_GLOBAL_DIR have the effect you want)
- doc (pdf/info) is built by regular "make install" so perhaps you dont need to make the package so complicated
PS. please test next ne package before updating
Comment by Dan Griffiths (Ghost1227) - Wednesday, 12 May 2010, 21:57 GMT
I don't use ne, nor do I plan on starting to use it... I don't have the slightest clue how to use it beyond 'ne <filename>'. If you have a functioning package for it (since apparently the aformentioned one doesn't work despite the author's claims), please feel free to submit it. Alternatively, this package has been unmaintained for some time. If you want to maintain it yourself we could see about moving it to AUR.
Comment by Johan R (cleanrock) - Thursday, 13 May 2010, 04:48 GMT
This build() seem to work fine for me :

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX="/usr" DESTDIR="${pkgdir}" install || return 1
}

Loading...