Package Details: textadept 8.7-1

Git Clone URL: https://aur.archlinux.org/textadept.git (read-only)
Package Base: textadept
Description: A fast, minimalist, and remarkably extensible cross-platform text editor
Upstream URL: http://foicica.com/textadept/
Keywords: editor lua
Licenses: MIT
Conflicts: textadept-bin
Provides: textadept
Replaces: textadept-bin
Submitter: bitwave
Maintainer: reztho
Last Packager: reztho
Votes: 13
Popularity: 2.626665
First Submitted: 2015-09-04 11:30
Last Updated: 2016-05-08 16:01

Latest Comments

chetgray commented on 2016-05-09 19:30

@reztho, I didn't flag the package out-of-date to demand you update it (I already had for my local PKGBUILD), merely to helpfully send notification that a new version was released, in case it fell by the wayside. No rush intended; I appreciate you maintaining a package for a mighty fine text editor. Cheers!

reztho commented on 2016-05-08 16:00

Ok, it's done. Make sure you build this package like this:
makepkg -C

, so makepkg cleans the src folder before compiling.

reztho commented on 2016-05-08 15:50

duarnimator, chetgray: I made the package the way it is now, because that was what was available at the time. EDIT: well, the modules link can be versioned, but still no tag for the latest version in the hg repository, so I'll keep using a revision changeset number.

I'm going to update the package now. I'm sorry if I can't update the package the very same day a new version is released. I have things to do in real life, you know. So please, be patient next time. Anyways I think this text editor is very interesting and should be in [community]. The more of you ask for it in the mailing list so a TU would like to get in charge of it, the better. Thanks for the help though.

daurnimator commented on 2016-05-05 04:21

diff --git a/PKGBUILD b/PKGBUILD
index 60f686d..8274716 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Based on a contribution of: bitwave
pkgname=textadept
pkgver=8.6
-pkgrel=2
+pkgrel=3
pkgdesc="A fast, minimalist, and remarkably extensible cross-platform text editor"
arch=('i686' 'x86_64')
url="http://foicica.com/textadept/"
@@ -12,8 +12,8 @@ makedepends=('mercurial' 'wget' 'unzip')
provides=("$pkgname")
conflicts=('textadept-bin')
replaces=('textadept-bin')
-source=("hg+http://foicica.com/hg/textadept#revision=f27778cd1d49"
- 'http://foicica.com/textadept/download/textadept_LATEST.modules.zip')
+source=("hg+http://foicica.com/hg/textadept#tag=textadept_${pkgver}"
+ "http://foicica.com/textadept/download/textadept_${pkgver}.modules.zip")

build() {
cd "$srcdir/$pkgname/src"

chetgray commented on 2016-05-03 13:17

Better sources, using pkgver:

source=("hg+http://foicica.com/hg/textadept#tag=textadept_${pkgver}"
"http://foicica.com/textadept/download/textadept_${pkgver}.modules.zip")

Currently, textadept_LATEST.modules.zip points to textadept_8.7.modules.zip, breaking package() that expects 8.6.

N.b. There is currently no Hg tag for 8.7, but there are binary tgz packages for both i386 and x64_86 (http://foicica.com/textadept/CHANGELOG.html)

Tre0n commented on 2016-03-10 08:35

This depends on wget and unzip to build. (Possibly more, haven't checked)

reztho commented on 2016-03-06 10:36

Notice that the dependencies in this package are managed by its build system unfortunately, so it downloads them the first time. What that error is telling you is that the scintilla363.tgz file wasn't successfully downloaded from Sourceforge. I suggest removing your "pkg" and "src" dirs and make the package again.

test0 commented on 2016-03-06 10:18

mkdir scintilla && tar xzf scintilla363.tgz -C scintilla && mv scintilla/*/* scintilla

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Makefile:408: recipe for target 'scintilla' failed
make: *** [scintilla] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build textadept.
==> Restart building textadept ? [y/N]

reztho commented on 2016-02-28 16:31

I finally finished it. In the future, I'll consider converting the PKGBUILD into a multipackage one.

reztho commented on 2016-02-02 20:32

It's going to take a while till I prepare the new package. In the mean time, disown this package to see if another one wants it besides me.

bitwave commented on 2016-02-02 07:21

Hey folks,

due to the comments from reztho, I will drop this package. He would like to contribute a source-only package under this name. This binary package will be available now under: https://aur.archlinux.org/packages/textadept-bin

Please update to this package, so you can receive the latest updates or use the new textadept source only package.

Regards
bitwave

bitwave commented on 2015-11-26 16:53

because this is a binary package, the textadept-curses elf is linked against an old version of curses:

ldd /usr/bin/textadept-curses
linux-vdso.so.1 (0x00007fff731a8000)
libncursesw.so.5 => not found
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f8fb192e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f8fb15ac000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f8fb12ae000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f8fb1098000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f8fb0cf4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8fb1b32000)

but arch linux current version is 6:

ncurses /usr/lib/libncurses.so
ncurses /usr/lib/libncursesw.so
ncurses /usr/lib/libncursesw.so.6
ncurses /usr/lib/libncursesw.so.6.0

you can use a symbolic link or the LD_PRELOAD variable, to point the elf to the correct location or you wait until the lib is updated upstream.

regards,
bitwave

ke7ofi commented on 2015-11-24 21:52

textadept-curses won't start and says `textadept-curses: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory`. Is that an issue with the program, the package, or something on my end?

A bit of Ducking indicates that it may have to do with library architecture for curses, but I don't see that set as a dependency here (which could be part of the problem if multilib is required).