Package Details: lite-xl 1.16.5-2

Git Clone URL: https://aur.archlinux.org/lite-xl.git (read-only, click to copy)
Package Base: lite-xl
Description: A lightweight text editor written in Lua
Upstream URL: https://github.com/franko/lite-xl
Keywords: editor lua text
Licenses: MIT
Conflicts: lite
Provides: lite
Submitter: Terence
Maintainer: Terence
Last Packager: Terence
Votes: 1
Popularity: 0.34
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:

https://github.com/franko/lite-xl/commit/30cdc35df5254c174b41f544118286ea670ccc91

djmattyg007 commented on 2021-03-22 02:19

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

https://github.com/franko/lite-xl/commit/12aeac3d2c9dc8fd7b54159b20734b3ff07c7c2e

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:

https://github.com/franko/lite-xl/commit/8567f6a7ee159ff29f72214328c73d8740c41036

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:

https://github.com/franko/lite-xl#building

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 $pkgname.svg.zip 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:

https://wiki.archlinux.org/index.php/PKGBUILD#source

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

"https://github.com/rxi/lite/files/4716765/lite.svg.zip"

You'd put this:

"4716765-lite.svg.zip::https://github.com/rxi/lite/files/4716765/lite.svg.zip"

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:

https://wiki.archlinux.org/index.php/PKGBUILD#license

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.