debian: initial packaging work

This commit is contained in:
2026-09-16 21:43:25 +02:00
parent 0af4dae0e2
commit ad7256b4fb
7 changed files with 65 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
debian/files
debian/.debhelper/
debian/*.log
debian/lite-xl/
debian/debhelper-build-stamp
debian/*.substvars
+11
View File
@@ -0,0 +1,11 @@
lite-xl (2.1.8-2) stonking; urgency=medium
* Drop the ":native" qualifiers on the meson/ninja-build Build-Depends.
-- Valentin Haudiquet <valentin.haudiquet@canonical.com> Wed, 16 Sep 2026 16:40:00 +0200
lite-xl (2.1.8-1) stonking; urgency=medium
* Initial release.
-- Valentin Haudiquet <valentin.haudiquet@canonical.com> Wed, 16 Sep 2026 13:56:53 +0200
+22
View File
@@ -0,0 +1,22 @@
Source: lite-xl
Section: utils
Priority: optional
Maintainer: Valentin Haudiquet <valentin.haudiquet@canonical.com>
Rules-Requires-Root: no
Standards-Version: 4.7.2
Build-Depends: debhelper-compat (= 13),
meson,
ninja-build,
libsdl3-dev,
libfreetype-dev,
libpcre2-dev,
liblua5.4-dev
Homepage: https://lite-xl.com/
Package: lite-xl
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: A lightweight text editor written in Lua
A lightweight, fast and extensible text editor written in Lua, designed to be
highly customizable and to have a small footprint. It is written in C and Lua
and uses the SDL library for cross-platform rendering.
+11
View File
@@ -0,0 +1,11 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lite-xl
Source: https://lite-xl.com/
Files: *
Copyright: 2026 Valentin Haudiquet <valentin.haudiquet@canonical.com>
License: MIT
The package is distributed under the terms of the MIT license. The full license text is available at <https://spdx.org/licenses/MIT.html>.
License: MIT
The package is distributed under the terms of the MIT license. The full license text is available at <https://spdx.org/licenses/MIT.html>.
Vendored Executable
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/make -f
%:
dh $@ --buildsystem=meson
# Use the system Lua from the declared Build-Depends (liblua5.4-dev) instead of
# the bundled lua subproject wrap, so the build works offline and exercises the
# declared dependency (including for cross-builds). freetype2 and pcre2 are also
# resolved from their -dev packages via pkg-config, so no wraps are fetched.
# Note: do NOT pass -Dwrap_mode here; some build drivers (e.g. pkh) already pass
# --wrap-mode on the meson command line, and Meson errors out if the same option
# is given in both forms.
override_dh_auto_configure:
dh_auto_configure -- -Duse_system_lua=true
+1
View File
@@ -0,0 +1 @@
3.0 (quilt)
+1
View File
@@ -0,0 +1 @@
single-debian-patch