First commit. Version 0.1.0
This commit is contained in:
1
debian/cargo-checksum.json
vendored
Normal file
1
debian/cargo-checksum.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"package":null,"files":{}}
|
||||
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ltk (0.1.0-1) unstable; urgency=low
|
||||
|
||||
* Initial Debian packaging.
|
||||
|
||||
-- Pedro M. de Echanove Pasquin <pedro.echanove@liberux.net> Tue, 10 Mar 2026 00:00:00 +0200
|
||||
59
debian/control
vendored
Normal file
59
debian/control
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
Source: ltk
|
||||
Section: libdevel
|
||||
Priority: optional
|
||||
Maintainer: Pedro M. de Echanove Pasquin <pedro.echanove@liberux.net>
|
||||
Build-Depends: debhelper-compat (= 13), libxkbcommon-dev
|
||||
Rules-Requires-Root: no
|
||||
Standards-Version: 4.7.0
|
||||
Homepage: https://liberux.net
|
||||
|
||||
Package: libltk-dev
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}
|
||||
Suggests: libltk-doc
|
||||
Description: Liberux ToolKit — Rust UI toolkit (development files)
|
||||
ltk is the UI toolkit for the Liberux desktop. It provides widgets
|
||||
(buttons, text inputs, labels, images), layout containers (column, row,
|
||||
stack) and a Wayland event loop built on smithay-client-toolkit,
|
||||
tiny-skia and fontdue.
|
||||
.
|
||||
This package contains the Rust crate sources required to build projects
|
||||
that depend on ltk.
|
||||
|
||||
Package: libltk-doc
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Section: doc
|
||||
Depends: ${misc:Depends}
|
||||
Description: Liberux ToolKit — API documentation
|
||||
HTML reference documentation for the ltk Rust crate, generated by
|
||||
cargo doc. Covers the App trait, all widgets, layout containers and
|
||||
primitive types.
|
||||
.
|
||||
Browse the docs at /usr/share/doc/libltk-doc/html/ltk/index.html.
|
||||
|
||||
Package: ltk-theme-default
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Section: misc
|
||||
Provides: ltk-theme
|
||||
Depends: ${misc:Depends}, fonts-sora, fonts-noto-core, fonts-noto-cjk
|
||||
Description: Liberux ToolKit — default Eydos theme assets
|
||||
Wallpapers, lockscreen images and theme.json shipped as the Eydos
|
||||
shell's default theme. Installed under /usr/share/ltk/themes/default/
|
||||
where the Liberux shells (crustace, loginmanager, …) pick them up at
|
||||
startup via ltk::ThemeDocument::find("default"). Override the search
|
||||
root with the LTK_THEMES_DIR environment variable for in-tree
|
||||
development.
|
||||
.
|
||||
Depends on fonts-sora rather than re-shipping the Sora typeface so we
|
||||
stay aligned with Debian policy on duplicate file content. The
|
||||
theme.json references the OTFs at their system-wide install path
|
||||
(/usr/share/fonts/opentype/sora/Sora-{Light,Regular,SemiBold,Bold}.otf);
|
||||
fontdue reads them directly so widgets get the four canonical weights
|
||||
(300, 400, 600, 700) without going through fontconfig.
|
||||
.
|
||||
Provides the virtual package ltk-theme, so any Liberux app that
|
||||
Depends on ltk-theme can be satisfied by installing this package (or
|
||||
any other implementer, e.g. ltk-theme-<alternative>).
|
||||
198
debian/copyright
vendored
Normal file
198
debian/copyright
vendored
Normal file
@@ -0,0 +1,198 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: ltk
|
||||
Upstream-Contact: Liberux Labs, S. L. <info@liberux.net>
|
||||
Source: https://liberux.net
|
||||
|
||||
Files: *
|
||||
Copyright: 2026 Liberux Labs, S. L. <info@liberux.net>
|
||||
License: LGPL-2.1-only
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2026 Liberux Labs, S. L. <info@liberux.net>
|
||||
License: LGPL-2.1-only
|
||||
|
||||
Files: themes/default/branding/*
|
||||
themes/default/icons/apps/*
|
||||
themes/default/icons/app-default.svg
|
||||
Copyright: 2026 Liberux Labs, S. L. <info@liberux.net>
|
||||
License: LGPL-2.1-only
|
||||
Comment:
|
||||
Wallpapers, lockscreens, launcher logos (under
|
||||
themes/default/branding/) and per-application icons (under
|
||||
themes/default/icons/apps/, plus the `app-default.svg` fallback)
|
||||
are original artwork by Liberux Labs, distributed under the same
|
||||
LGPL-2.1-only terms as the rest of the toolkit. Raster variants
|
||||
(`*.webp` under branding/{light,dark}/{wallpaper,lockscreen}/)
|
||||
are pre-rendered from the canonical SVGs in the same directory
|
||||
and inherit the same licence.
|
||||
|
||||
Files: themes/default/icons/catalogue/*
|
||||
Copyright: 2024 Streamline (https://streamlinehq.com)
|
||||
License: CC-BY-4.0
|
||||
Comment:
|
||||
Symbolic glyphs under themes/default/icons/catalogue/{filled,line}/
|
||||
are sourced from Streamline's *Core Line Free* set, distributed
|
||||
under Creative Commons Attribution 4.0 International. Some of the
|
||||
SVG files have been modified from the upstream collection (typical
|
||||
edits include viewBox normalisation, removal / normalisation of
|
||||
inline fill / stroke so `theme::tint_symbolic` controls the final
|
||||
colour at runtime, ID renames, and path simplification at small
|
||||
chrome sizes); which files were touched and which were not is not
|
||||
tracked per icon — treat any file in this directory as potentially
|
||||
differing from the upstream release and fetch from upstream if a
|
||||
pristine copy is required. This directory-wide declaration satisfies
|
||||
CC BY 4.0 §3(a)(1)(B); the full text is in
|
||||
themes/default/icons/catalogue/LICENSE.md. The runtime
|
||||
`theme::tint_symbolic` pass is a separate transformation of the
|
||||
rendered RGBA output and is not a modification of the on-disk SVGs.
|
||||
Upstream collection: https://www.streamlinehq.com/icons/core-line-free
|
||||
Attribution shorthand: "Icons by Streamline, CC BY 4.0".
|
||||
|
||||
Files: src/theme/fallback/Sora-Regular.otf
|
||||
src/theme/fallback/Sora-LICENSE.txt
|
||||
Copyright: 2019-2020 The Sora Project Authors
|
||||
2020 Jonathan Barnbrook <jb@barnbrook.net>
|
||||
2020 Julián Moncada <julian@moncada.work>
|
||||
License: OFL-1.1
|
||||
Comment:
|
||||
Sora Regular is bundled as the last-resort font fallback used by
|
||||
`Canvas::new` / `Canvas::new_gles` when no system font from the
|
||||
candidate chain (`fonts-sora`, `fonts-liberation`, `fonts-dejavu`,
|
||||
…) is installed. The full OFL 1.1 text is reproduced in the
|
||||
sibling `Sora-LICENSE.txt`. Upstream:
|
||||
https://github.com/sora-xor/sora-font
|
||||
|
||||
License: LGPL-2.1-only
|
||||
This library is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; version 2.1 of the License.
|
||||
.
|
||||
This library is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
|
||||
General Public License for more details.
|
||||
.
|
||||
On Debian systems, the full text of the GNU Lesser General Public
|
||||
License version 2.1 can be found in the file
|
||||
`/usr/share/common-licenses/LGPL-2.1'.
|
||||
|
||||
License: OFL-1.1
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
.
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
.
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
.
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
.
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
.
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
.
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
.
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
.
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
.
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
.
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
.
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
.
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
.
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
.
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
.
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
|
||||
License: CC-BY-4.0
|
||||
Creative Commons Attribution 4.0 International Public Licence (CC BY 4.0).
|
||||
.
|
||||
You are free to:
|
||||
.
|
||||
* Share — copy and redistribute the material in any medium or format.
|
||||
* Adapt — remix, transform, and build upon the material for any
|
||||
purpose, even commercially.
|
||||
.
|
||||
The licensor cannot revoke these freedoms as long as you follow the
|
||||
licence terms.
|
||||
.
|
||||
Under the following terms:
|
||||
.
|
||||
* Attribution — You must give appropriate credit, provide a link to
|
||||
the licence, and indicate if changes were made. You may do so in
|
||||
any reasonable manner, but not in any way that suggests the
|
||||
licensor endorses you or your use.
|
||||
* No additional restrictions — You may not apply legal terms or
|
||||
technological measures that legally restrict others from doing
|
||||
anything the licence permits.
|
||||
.
|
||||
The full text of this licence is reproduced verbatim at:
|
||||
https://creativecommons.org/licenses/by/4.0/legalcode
|
||||
.
|
||||
A human-readable summary (which is not a substitute for the licence) is
|
||||
available at:
|
||||
https://creativecommons.org/licenses/by/4.0/
|
||||
.
|
||||
The licence text above is a summary; the canonical legal text at the URL
|
||||
is what governs use, distribution and modification of the Licensed
|
||||
Material referenced under `Files: themes/default/icons/catalogue/*`.
|
||||
1
debian/ltk-theme-default.install
vendored
Normal file
1
debian/ltk-theme-default.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
themes/default usr/share/ltk/themes/
|
||||
19
debian/rules
vendored
Executable file
19
debian/rules
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/make -f
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
REGISTRY = debian/libltk-dev/usr/share/cargo/registry/ltk-$(DEB_VERSION_UPSTREAM)
|
||||
DOCDIR = debian/libltk-doc/usr/share/doc/libltk-doc/html
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
override_dh_auto_build:
|
||||
override_dh_auto_test:
|
||||
|
||||
override_dh_auto_install:
|
||||
$(MAKE) install REGISTRY=$(REGISTRY) DOCDIR=$(DOCDIR)
|
||||
|
||||
override_dh_auto_clean:
|
||||
$(MAKE) clean
|
||||
dh_clean
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
1.0
|
||||
Reference in New Issue
Block a user