Package Details: textadept 11.3-1

Git Clone URL: https://aur.archlinux.org/textadept.git (read-only, click to copy)
Package Base: textadept
Description: A fast, minimalist, and remarkably extensible cross-platform text editor
Upstream URL: https://github.com/orbitalquark/textadept
Keywords: editor lua
Licenses: MIT
Conflicts: textadept-curses
Provides: textadept-curses
Submitter: bitwave
Maintainer: lmartinez-mirror
Last Packager: lmartinez-mirror
Votes: 28
Popularity: 0.67
First Submitted: 2015-09-04 11:30 (UTC)
Last Updated: 2022-02-01 19:32 (UTC)

Pinned Comments

lmartinez-mirror commented on 2021-06-29 03:45 (UTC)

NOTICE

The modules from before were removed as I plan to repackage them separately.

Latest Comments

pio commented on 2021-10-03 11:28 (UTC) (edited on 2021-10-03 11:52 (UTC) by pio)

Certificate of invisible-mirror.net has expired. As a workaround, add sed -i '/invisible-mirror/ s/$/ --no-check-certificate/' Makefile before make deps in PKGBUILD. Also reported upstream.

csts commented on 2021-09-30 02:06 (UTC) (edited on 2021-09-30 02:06 (UTC) by csts)

@lmartinez-mirror, it's no big deal for me, I downloaded the nightly, placed a shortcut in /usr/bin/ and it works fine.

csts commented on 2021-09-30 01:54 (UTC) (edited on 2021-09-30 01:54 (UTC) by csts)

@lmartinez-mirror, the same error appears in textadept-gtk3.

csts commented on 2021-09-30 01:49 (UTC) (edited on 2021-09-30 01:54 (UTC) by csts)

@lmartinez-mirror, I tried again building textadept:

Resolving www.lua.org (www.lua.org)... 88.99.213.221, 2a01:4f8:10a:3edc::2
Connecting to www.lua.org (www.lua.org)|88.99.213.221|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 353472 (345K) [application/gzip]
Saving to: ‘lua-5.4.2.tar.gz’

lua-5.4.2.tar.gz    100%[===================>] 345,19K  1,16MB/s    in 0,3s    

2021-09-30 04:46:22 (1,16 MB/s) - ‘lua-5.4.2.tar.gz’ saved [353472/353472]

if [ -d lua ]; then rm -rf lua; fi
mkdir lua && tar xzf lua-5.4.2.tar.gz -C lua && mv lua/*/* lua
patch -d lua -N -p1 < lua.patch
patching file src/luaconf.h
Hunk #1 succeeded at 199 (offset 33 lines).
patching file src/loslib.c
Hunk #2 succeeded at 412 (offset 21 lines).
Hunk #3 succeeded at 428 (offset 21 lines).
Hunk #4 succeeded at 440 (offset 21 lines).
wget -O lpeg-1.0.2.tar.gz http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
--2021-09-30 04:46:22--  http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
Resolving www.inf.puc-rio.br (www.inf.puc-rio.br)... 139.82.16.205
Connecting to www.inf.puc-rio.br (www.inf.puc-rio.br)|139.82.16.205|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 71840 (70K) [application/x-gzip]
Saving to: ‘lpeg-1.0.2.tar.gz’

lpeg-1.0.2.tar.gz   100%[===================>]  70,16K   123KB/s    in 0,6s    

2021-09-30 04:46:24 (123 KB/s) - ‘lpeg-1.0.2.tar.gz’ saved [71840/71840]

mkdir -p lua/src/lib/lpeg && tar xzf lpeg-1.0.2.tar.gz -C lua/src/lib/lpeg && mv lua/src/lib/lpeg/*/*.c lua/src/lib/lpeg/*/*.h lua/src/lib/
wget -O v1_8_0.zip https://github.com/keplerproject/luafilesystem/archive/v1_8_0.zip
--2021-09-30 04:46:24--  https://github.com/keplerproject/luafilesystem/archive/v1_8_0.zip
SSL_INIT
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/keplerproject/luafilesystem/zip/v1_8_0 [following]
--2021-09-30 04:46:25--  https://codeload.github.com/keplerproject/luafilesystem/zip/v1_8_0
SSL_INIT
Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘v1_8_0.zip’

v1_8_0.zip              [ <=>                ]  37,63K  --.-KB/s    in 0,1s    

2021-09-30 04:46:25 (313 KB/s) - ‘v1_8_0.zip’ saved [38535]

if [ -d lua/src/lib/lfs ]; then rm -r lua/src/lib/lfs; fi
mkdir -p lua/src/lib/lfs && unzip -d lua/src/lib/ -j v1_8_0.zip "*/src/*.c" "*/src/*.h"
Archive:  v1_8_0.zip
7c6e1b013caec0602ca4796df3b1d7253a2dd258
  inflating: lua/src/lib/lfs.c       
  inflating: lua/src/lib/lfs.h       
wget -O 64587546482a1a6324706d75c80b77d2f87118a4.zip https://github.com/orbitalquark/gtdialog/archive/64587546482a1a6324706d75c80b77d2f87118a4.zip -O 64587546482a1a6324706d75c80b77d2f87118a4.zip
--2021-09-30 04:46:25--  https://github.com/orbitalquark/gtdialog/archive/64587546482a1a6324706d75c80b77d2f87118a4.zip
SSL_INIT
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/orbitalquark/gtdialog/zip/64587546482a1a6324706d75c80b77d2f87118a4 [following]
--2021-09-30 04:46:26--  https://codeload.github.com/orbitalquark/gtdialog/zip/64587546482a1a6324706d75c80b77d2f87118a4
SSL_INIT
Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘64587546482a1a6324706d75c80b77d2f87118a4.zip’

64587546482a1a63247     [  <=>               ] 329,41K  1,19MB/s    in 0,3s    

2021-09-30 04:46:27 (1,19 MB/s) - ‘64587546482a1a6324706d75c80b77d2f87118a4.zip’ saved [337317]

unzip -d gtdialog -j 64587546482a1a6324706d75c80b77d2f87118a4.zip "*/*.c" "*/*.h"
Archive:  64587546482a1a6324706d75c80b77d2f87118a4.zip
64587546482a1a6324706d75c80b77d2f87118a4
  inflating: gtdialog/gtdialog.c     
  inflating: gtdialog/gtdialog.h     
wget -O cdk-5.0-20200923.tgz https://invisible-mirror.net/archives/cdk/cdk-5.0-20200923.tgz
--2021-09-30 04:46:27--  https://invisible-mirror.net/archives/cdk/cdk-5.0-20200923.tgz
SSL_INIT
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving invisible-mirror.net (invisible-mirror.net)... 160.153.42.69
Connecting to invisible-mirror.net (invisible-mirror.net)|160.153.42.69|:443... connected.
ERROR: The certificate of ‘invisible-mirror.net’ is not trusted.
ERROR: The certificate of ‘invisible-mirror.net’ has expired.
make: *** [Makefile:400: cdk-5.0-20200923.tgz] Error 5
==> ERROR: A failure occurred in prepare().
    Aborting...

Command 'makepkg --force' failed to execute.
:: Try recovering?
[R] retry build
[p] PGP check skip
[c] checksums skip
[i] ignore architecture
[d] delete build dir and try again
[e] edit PKGBUILD
------------------------
[s] skip building this package
[a] abort building all the packages
>  

csts commented on 2021-09-29 08:33 (UTC)

@lmartinez-mirror I used textadept-bin and it works fine.

lmartinez-mirror commented on 2021-09-29 05:09 (UTC)

@csts Could not replicate in a clean chroot. Have you tried a clean build?

csts commented on 2021-09-24 21:55 (UTC)

Can't build:

Resolving www.lua.org (www.lua.org)... 88.99.213.221, 2a01:4f8:10a:3edc::2
Connecting to www.lua.org (www.lua.org)|88.99.213.221|:443... connected.
GnuTLS: Error in the pull function.
Unable to establish SSL connection.
make: *** [Makefile:386: lua-5.4.2.tar.gz] Error 4
==> ERROR: A failure occurred in prepare().
    Aborting...

Command 'makepkg --force' failed to execute.
:: Try recovering?

lmartinez-mirror commented on 2021-06-29 03:45 (UTC)

NOTICE

The modules from before were removed as I plan to repackage them separately.

lmartinez-mirror commented on 2021-06-29 03:43 (UTC) (edited on 2021-06-29 07:28 (UTC) by lmartinez-mirror)

Pushed a fix for this PKGBUILD.

lacsaP commented on 2021-06-28 07:11 (UTC)

hi, have a look at https://github.com/orbitalquark/textadept/issues/110. a small patch in the PKGBUILD should do the trick.

lmartinez-mirror commented on 2021-06-21 19:48 (UTC)

Unfortunately this seems like an upstream error. You can try to open an issue on their end.

lacsaP commented on 2021-06-21 15:12 (UTC) (edited on 2021-06-22 07:02 (UTC) by lacsaP)

hi, on my side, build is stopped with this error reported on github : https://github.com/orbitalquark/textadept/issues/110

lmartinez-mirror commented on 2021-06-02 18:41 (UTC)

Package currently does not build, investigating.

reztho commented on 2021-05-25 15:54 (UTC)

Not having a lot of time lately. Disowning it.

sunplan commented on 2020-12-28 11:58 (UTC)

/usr/share/doc/textadept is a broken symlink pointing to non-existent /usr/share/textadept/doc.

MarcusE1W commented on 2020-05-12 12:18 (UTC)

Successfully build with Pinebook Pro. You could add the 'aarch64' architecture as supported.

slut commented on 2019-04-16 08:13 (UTC)

pretty far out of date and doesnt build

mgr commented on 2019-01-28 05:56 (UTC)

Textadept 9.6 is more than a year old by now. Please update to 10.2 if you can.

noch commented on 2018-06-08 23:56 (UTC) (edited on 2018-06-08 23:57 (UTC) by noch)

Please note that before one runs make doc, she should patch luadoc with textadept/modules/luadoc.patch to ensure documentation is formatted properly. ref: https://foicica.com/lists/code/201806/4495.html

It might be useful to make a note of this in the PKGBUILD.

reztho commented on 2017-09-21 18:52 (UTC)

Check the pinned comments, Popolon

Popolon commented on 2017-09-20 23:15 (UTC) (edited on 2017-09-30 20:42 (UTC) by Popolon)

Can't clone it due to unsecure protocol settings on the mercurial server :(. Edit : Oops thanks, just seen it.

fushinari commented on 2017-06-08 23:40 (UTC)

9.4 has been out for some time now.

twitt commented on 2016-10-05 12:13 (UTC)

Just small addition: `hg config -e` always opens $HOME/.hgrc for editing and ignores $HGRCPATH if set. But Mercurial itself will ignore $HOME/.hgrc if $HGRCPATH is set. So make sure to open the right hgrc file.

reztho commented on 2016-10-03 18:14 (UTC)

fusion809, it's explained inside the PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=textadept ,line 19 onward. But here's the text anyway: "If textadept can't be compiled try the following things in this order: - Run: hg config -e , and then add these lines: [hostsecurity] foicica.com:minimumprotocol = tls1.0 - Run makepkg with the -C argument"

fusion809 commented on 2016-10-03 03:26 (UTC)

I'm getting the error: -> Cloning textadept hg repo... (could not negotiate a common security protocol (tls1.1+) with foicica.com; the likely cause is Mercurial is configured to be more secure than the server can support) (consider contacting the operator of this server and ask them to support modern TLS protocol versions; or, set hostsecurity.foicica.com:minimumprotocol=tls1.0 to allow use of legacy, less secure protocols when communicating with this server) (see https://mercurial-scm.org/wiki/SecureConnections for more info) abort: error: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:590) ==> ERROR: Failure while downloading textadept hg repo Aborting..

chetgray commented on 2016-05-09 19:30 (UTC)

@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 (UTC)

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 (UTC) (edited on 2016-05-08 16:25 (UTC) by reztho)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2016-03-10 08:37 (UTC) by Tre0n)

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

reztho commented on 2016-03-06 10:36 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2015-11-24 21:53 (UTC) by ke7ofi)

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).