Package Base Details: textadept

Git Clone URL: (read-only, click to copy)
Keywords: editor lua
Submitter: bitwave
Maintainer: TwoFinger
Last Packager: lmartinez-mirror
Votes: 30
Popularity: 0.30
First Submitted: 2015-09-04 11:30 (UTC)
Last Updated: 2023-02-25 01:06 (UTC)

Pinned Comments

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


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

Latest Comments

1 2 3 4 5 Next › Last »

lmartinez-mirror commented on 2023-02-25 00:44 (UTC)

Thank you for the patch, I'll add it to the package!

TwoFinger commented on 2023-02-12 02:43 (UTC) (edited on 2023-02-12 03:21 (UTC) by TwoFinger)

Fix for the mixup -

The reason was that Makefile was producing the executables not inside the src{,-gtk3,-curses} directories, but in their common parent. So the last build "wins", and all the three packages get its executables.

I also

  • removed the GTK3=1 make argument, as such a variable doesn't exist in the build system.
  • fixed the depends/provides/conflicts blocks

lmartinez-mirror commented on 2023-01-16 05:24 (UTC)

Yes I just noticed this too. I'm even forcing a GTK2 build. Not sure what's happening here.

TwoFinger commented on 2023-01-14 13:27 (UTC)

After the textadept package started producing a GTK3 executable again. I did try uninstalling and building from scratch, to no avail.

lmartinez-mirror commented on 2023-01-11 16:06 (UTC) (edited on 2023-01-11 16:07 (UTC) by lmartinez-mirror)

I had put all compilation in the package() step because otherwise users would be building binaries they weren't going to install, increasing build time. I see now that better this than the absolute mess I wrote months ago.

I'll have this fixed soon.

TrialnError commented on 2022-10-30 19:19 (UTC)

Something I noticed, while building this package.
The checksum is still the wrong one.
And formally this PKGBUILD needs to be updated/changed as it currently compiles in the respective package() functions which is frowned upon as it for example kinda breaks --repackage.
package() is only for moving files into their respective locations. Compiling source should be done in build()

TwoFinger commented on 2022-08-07 05:58 (UTC)

Since both textadept and textadept-gtk3 build GTK3 executables, as GTK3 is the default target now. Here's a fix:

@@ -35,9 +35,9 @@ package_textadept() {
        if [[ -f ../textadept ]]; then
                make clean
-       make
+       make GTK2=1
        make curses
-       make PREFIX=/usr DESTDIR="$pkgdir" install
+       make GTK2=1 PREFIX=/usr DESTDIR="$pkgdir" install
        rm "$pkgdir/usr/share/pixmaps/"textadept{.svg,.png}
        make curses PREFIX=/usr DESTDIR="$pkgdir" install

@@ -58,9 +58,9 @@ package_textadept-gtk3() {
        if [[ -f ../textadept ]]; then
                make clean
-       make GTK3=1
+       make
        make curses
-       make GTK3=1 PREFIX=/usr DESTDIR="$pkgdir" install
+       make PREFIX=/usr DESTDIR="$pkgdir" install
        rm "$pkgdir/usr/share/pixmaps/"textadept{.svg,.png}
        make curses PREFIX=/usr DESTDIR="$pkgdir" install

ivoshm commented on 2022-08-06 20:40 (UTC) (edited on 2022-08-06 20:41 (UTC) by ivoshm)

Please correct the checksum of downloaded package for 11.4 version:

==> Retrieving sources...
  -> Found textadept-11.4.tar.gz
==> Validating source files with sha256sums...
    textadept-11.4.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: textadept (textadept-gtk3)


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

Certificate of 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.