Commit Graph

138 Commits

Author SHA1 Message Date
wrj97 36e41e887a refactor: improve code organization in layer packager
1. Remove unused qcontainerfwd.h header to eliminate dead code
2. Split UUID generation and string conversion for better readability
3. Reformat mkfs.erofs command arguments for improved code style
4. Add missing filesystem header include to fix potential compilation issues

refactor: 改进层打包器代码组织

1. 移除未使用的 qcontainerfwd.h 头文件以消除死代码
2. 分离 UUID 生成和字符串转换以提高可读性
3. 重新格式化 mkfs.erofs 命令参数以改善代码风格
4. 添加缺失的 filesystem 头文件包含以修复潜在编译问题
2025-08-14 09:43:33 +08:00
reddevillg ccdc5dd9df feat: add new fmt based logging system
Introduces a new fmt based logging system to replace the previous
Qt-based logging mechanism.

Key features:
- Logging macros (LogD, LogI, LogW, LogE, LogF) for different levels.
- Configurable log levels and backends (Console, Journal).
- Configuration via environment variables (LINYAPS_LOG_LEVEL,
  LINYAPS_LOG_BACKEND) for flexible control.
- Integration with systemd-journal for structured logging, including
  code location (file, line, function).
- Custom `fmt` formatters for `QString`, `QStringList`, and
  `linglong::utils::error::Error`.
- New string utility functions (`stringEqual`, `splitString`) are added.

The `qdebug_helper.h` is removed as part of this transition.

Signed-off-by: reddevillg <reddevillg@gmail.com>
2025-08-05 16:28:53 +08:00
dengbo bf1899d328 chore: update external dependency libraries used
1. Update external tl-expected and cli11 to new version.
2. tl-expected and cli11 only import header files.
2025-07-31 14:56:56 +08:00
reddevillg 590c1c081f fix: remove vendor qdbusxml2cpp
tools/qdbusxml2cpp may not compile on all Qt versions.

Signed-off-by: reddevillg <reddevillg@gmail.com>
2025-07-22 14:21:12 +08:00
ComixHe 19235c222b refacrtor: use our custom container init
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
2025-06-16 17:01:03 +08:00
ComixHe 61d7086dc6 chore: start 1.10.0 development
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
2025-06-16 17:01:03 +08:00
dengbo 62baa65f89 fix: add MIPS-specific compiler flag to avoid GOT overflow
MIPS architecture and globally applies the `-mxgot` flag to
compiler settings to address potential GOT overflow issues caused by
the architecture's strict limitations on GOT size.
2025-06-11 16:37:23 +08:00
reddevillg c6386bdfe5 feat: modify the way container patches work
1. provide application level patches
2. application level patches will apply after global patches

move configure.h.in to src root, becasue lib utils depends on QT,
we don't want to introduce QT in certain scenarios.

Signed-off-by: reddevillg <reddevillg@gmail.com>
2025-06-04 14:45:07 +08:00
reddevillg 975aa956f8 chore: Development cycle for version 1.9.0
Signed-off-by: reddevillg <reddevillg@gmail.com>
2025-06-04 14:45:07 +08:00
dengbo 286d413070 fix: export desktop to a invalid export path
1. The custom desktop exported directory(CUSTOM_DATA_DIR) should only be in the share dir, not in the subdirectory;
2. LINGLONG_DATA_DIR should be exported;
3. need to update LINGLONG_EXPORT_VERSION to fix export.
2025-06-04 14:10:12 +08:00
ice909 d9d0a802c6 feat: support specifying the desktop installation directory
Specify 'LINGLONG_DESKTOP_EXPORT_PATH' during compilation.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-27 14:21:10 +08:00
reddevillg f32ba2cfb2 feat: add ll-builder-utils to build uab header and loader
Signed-off-by: reddevillg <reddevillg@gmail.com>
2025-04-15 10:14:35 +08:00
ComixHe 963e00d928 feat: vendoring 'dumb-init' as container init
project source: https://github.com/Yelp/dumb-init

We need an init process to forwarding signal and cleaning orphaned zombie processes.
In above cases, it is more convenent that replacing bash with dumb-init

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-10 16:52:23 +08:00
ComixHe c5271dd5fe refactor: remove vendoring ll-box
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-10 16:52:23 +08:00
dengbo 85b52cc23a release 1.8.0 2025-04-02 16:54:16 +08:00
dengbo 2fb12eca32 feat: support Qt6 packaging
Support Qt6 packaging according to the method recommended by the Qt official.
2025-04-02 15:56:22 +08:00
dengbo 8813fcf268 release 1.7.11 2025-03-21 17:42:09 +08:00
dengbo a0f68ba652 refactor: adust the behavior of install UAB
Do not Execute UAB when install UAB.
2025-03-12 16:30:56 +08:00
dengbo c7c3c6bb92 feat: add some translation
1. ll-dialog need to load translation file when running.
2. add some notification message translation.
2025-01-09 14:07:59 +08:00
dengbo de440dc6bc fix: can not install app in chroot
this is a temporary solution:
1. allow cache generation failure;
2. disable font cache generation.
2025-01-09 14:07:59 +08:00
kamiyadm 3d3d94804d refactor: the behavior of install UAB
* Specialize the behavior of installing uab on uos and deepin.
  Old: install->installFromFile->PM
  New: install->installFromFile->(Execute xxx.uab)->install->installFromFile->PM
* Check LINGLONG_UAB_SKIP_RUNNING is exist or not before 'll-cli run'.

Log:
2024-12-25 16:54:17 +08:00
ComixHe a39015081c refactor(gen): make all generator as a static library
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-18 15:28:04 +08:00
ComixHe d2e37dc5cf feat: add permission dialog
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-10 18:13:49 +08:00
ComixHe a396a3cd9f fix: compatible with old gtest
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-02 16:29:15 +08:00
ComixHe 01eb8ab22b feat: add sha256 implementation for uab
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-11-29 17:58:00 +08:00
black-desk e7b72a8d93 test: bring some tests back
Signed-off-by: black-desk <me@black-desk.cn>
2024-11-29 13:54:51 +08:00
ComixHe 57ea9cb404 feat: filepathMapping supports multiple files or urls
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-11-22 15:15:50 +08:00
ComixHe eecb4201c7 chore: vendor qdbusxml2cpp from Qt 6.8.0
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-11-13 16:03:50 +08:00
dengbo11 583ad9d024 feat(cli): linglong cli help information internationalization
Add ll-cli chinese and spanish help information.
2024-11-05 20:12:08 +08:00
kamiyadm c056e3959a fix: auth_admin_keep is not worked
-

Log:
2024-11-01 17:37:54 +08:00
dengbo11 795f2d681e chore: remove docopt
Use CLI11 to replace docopt.
2024-11-01 10:56:18 +08:00
dengbo11 5ffddb523e feat: add CLI11 command line parsing library
Use CLI11 to optimize command line parsing function.
2024-11-01 10:56:18 +08:00
dengbo11 56400783b5 refactor: code refactor
1. Remove the redundant header files included.
2. Remove redundant code(file.h,file.cpp).
3. remove ll-store-installer

Log: Code optimization
2024-10-09 15:01:51 +08:00
dengbo11 bc51aa6fa3 chore: update CMakeList
update CMakeList version to 1.6.1

Log:
2024-10-08 17:40:34 +08:00
myml 2fd118814d chore: clean build dependencies
添加libcurl的依赖, 清理不再需要的构建依赖

Log:
2024-09-26 19:09:16 +08:00
myml 773f34d607 refactor: use libcurl to replace QT NetworkManager
为简化程序依赖, 使用openapi generator生成新的http api相关代码
使用libcurl的替换现有的QT NetworkManager
2024-09-26 19:09:16 +08:00
dengbo11 3c3ffc8272 chore: code clean
Project configuration file optimization.

Log:
2024-09-26 15:12:47 +08:00
black-desk 89bc5ba1a9 build: update CMakeLists project
Signed-off-by: black-desk <me@black-desk.cn>
2024-08-20 10:20:31 +08:00
dengbo f1ca50579c feat: move linglong-installer project to linglong
move linglong-installer project to linglong

Log:
2024-07-18 15:37:44 +08:00
bluesky 105ba70cf0 feat: add session-helper
新增 session-helper 模块,用来做用户级服务调用,目前先新增文件监视的功能,给后续 ll-cli 监视配置文件的修改移动到 /run/user/$uid/linglong/monitor

Issue: https://github.com/linuxdeepin/developer-center/issues/8989
Log: add session-helper
2024-06-26 17:06:12 +08:00
kamiyadm 879ace5b49 fix: fix a warning during build deb
* Rename ENABLE_UAB_HEADER to ENABLE_UAB.
* If ENABLE_UAB is not set, do not build uab-loader.

Log:
2024-06-20 17:41:01 +08:00
kamiyadm ddea8b0667 refactor: add 25-host-env to generate env variables
Add new generator 25-host-env and use it.

Log:
2024-06-20 10:52:46 +08:00
ComixHe 1326fb0c0e feat: support export uab file
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-19 16:08:11 +08:00
ComixHe 8d099eeda3 refactor: split target linglong::linglong into four parts
- linglong::linglong
 - linglong::utils
 - linglong::api
 - linglong::dbus-api

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-17 11:04:45 +08:00
ComixHe 15e4912007 build: uab-header is not built by default
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-11 14:46:10 +08:00
ComixHe edfbb6626c feat: add uab-header
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-07 11:09:15 +08:00
ComixHe 8edfe5c297 build: set PROJECT_VERSION instead of CMAKE_PROJECT_VERSION
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-03 13:33:17 +08:00
ComixHe 66cd16bb6e chore: changing how project versions are generated
add deps 'util-linux' for linglong-box

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-22 11:15:16 +08:00
bluesky d64e7668bd feat: update project version
修改项目的版本

Log: update project version
2024-05-16 14:59:13 +08:00
dengbo 4035ca9f68 Reapply "chore: use ll-box replace crun"
This reverts commit 69491336f3.
2024-05-15 16:23:40 +08:00