Package Details: lite-xl 1.16.5-2

Git Clone URL: (read-only, click to copy)
Package Base: lite-xl
Description: A lightweight text editor written in Lua
Upstream URL:
Keywords: editor lua text
Licenses: MIT
Conflicts: lite
Provides: lite
Submitter: Terence
Maintainer: Terence
Last Packager: Terence
Votes: 1
Popularity: 0.38
First Submitted: 2020-11-29 15:41
Last Updated: 2021-03-23 15:36

Latest Comments

1 2 Next › Last »

Terence commented on 2021-03-23 15:39

Thanks for all your input! The package is now using the repo's icon and I'm waiting for a new release to use its .desktop as well.

djmattyg007 commented on 2021-03-22 22:09

The .desktop entry has now also been committed as a standalone file to the repository:

djmattyg007 commented on 2021-03-22 02:19

As part of 1.16.5, an icon is now bundled with lite-xl:

It would be great if this could be used in the PKGBUILD so that the dependency on the original lite can be removed.

There is also now a defacto default .desktop entry. Unfortunately it's not stored as a standalone file in the repository, so we can't use it yet:

I'm communicating with upstream to hopefully resolve this.

djmattyg007 commented on 2020-12-07 23:52

v1.13 has been released with some important path handling changes:

Most noticebly, the path fix patch should hopefully no longer be necessary.

Terence commented on 2020-12-04 12:06

Do you reckon you'd be able to update the PKGBUILD to add the license file?

Of course, I was waiting for your answer to make sure I understood. It's updated now.

djmattyg007 commented on 2020-12-04 03:59

Yeah, I don't expect it to be an issue unless you do need to update it. If you do, you'll need to make sure the on-disk filename changes.

Do you reckon you'd be able to update the PKGBUILD to add the license file?

Terence commented on 2020-12-02 16:46

@djmattyg007 Really appreciate your detailed input :)

Ok so I get what you mean now. The thing is I don't expect this file to get updated. It's more of a workaround until the svg variant gets included into the project, in which case I will not have to download it this way.

Maybe it'd be more suiting to save it under $ in case the lite packager also decides to add it.

djmattyg007 commented on 2020-12-01 01:33

Apparently my previous message was very long, so I just wanted to make sure you don't miss the second half. Please don't forget to click the "Show More" button!

djmattyg007 commented on 2020-12-01 01:32

Thanks for making those updates so quickly, I really appreciate it!

The trick with the non-versioned filename is to make use of the download filename prefix technique listed here, in the red warning box:

So for example, instead of putting in the sources list:


You'd put this:


This is assuming that a new version of the file would result in a new file ID in the github URL, and therefore it only needs to be re-downloaded whenever that changes. You'll then of course need to make sure that the rest of the PKGBUILD understands the change.

For some files, using the package's version number is prudent, even if it results in it being re-downloaded for each update. Separately-downloaded license files are an example of this.

Speaking of license files, I noticed that the software's license file isn't being installed into '/usr/share/licenses'. While usually unnecessary for most non-custom licenses, it is recommended for MIT and a few others, as noted here:

It would be great if you could add that in too.

And yeah, I'll see what I can do about getting the maintainer of the 'lite' PKGBUILD to make some similar changes. It would be great to have them mostly consistent.

Terence commented on 2020-11-30 12:16

@djmattyg007 Thanks for your remarks, I included lua52 and gendesk (weird that lua52 wasn't in the original lite PKGBUILD I copied).

About the icon source, I think github doesn't save a file under the same url twice even if it was updated but please let me know if I'm wrong.