Go to file
Yue-Lan fc5ba70c48 update changelog. 2024-01-29 12:02:22 +08:00
debian update changelog. 2024-01-29 12:02:22 +08:00
peony-admin Merge branch 'fix-send-to-issue' into 'yhkylin/v101' 2022-06-02 16:34:50 +08:00
peony-bluetooth-plugin 修复编译错误 2023-05-18 15:37:31 +08:00
peony-drive-rename merge upstream 4.0.0.0 2023-03-30 11:19:24 +08:00
peony-engrampa-menu-plugin merge upstream 4.0.0.0 2023-03-30 11:19:24 +08:00
peony-extension-computer-view close-cd#I73ZTU 修复切换为华文字体后计算机视图显示问题 2023-06-20 11:25:33 +08:00
peony-menu-plugin-mate-terminal fix:#I8EQUH【终端】系统日常运行一段时间后,在文件管理器右键打开的终端窗口没有置顶 2024-01-29 04:01:00 +00:00
peony-send-to-device merge upstream 4.0.0.0 2023-03-30 11:19:24 +08:00
peony-set-wallpaper merge upstream 4.0.0.0 2023-03-30 11:19:24 +08:00
peony-share [FIX] #204782 【KVE】peony-extensions KVE-2023-1201 2024-01-16 17:36:11 +08:00
test-computer-view Import Upstream version 3.14.1.0 2022-06-02 16:34:49 +08:00
COPYING Import Upstream version 3.14.1.0 2022-06-02 16:34:49 +08:00
NEWS Import Upstream version 3.14.1.0 2022-06-02 16:34:49 +08:00
README.md Import Upstream version 3.14.1.0 2022-06-02 16:34:49 +08:00
common.json Import Upstream version 3.14.1.0 2022-06-02 16:34:49 +08:00
common.pri merge upstream 4.0.0.0 2023-03-30 11:19:24 +08:00
peony-extensions.pro Import Upstream version 3.14.1.0 2022-06-02 16:34:49 +08:00

README.md

peony-extensions

Getting Start

  • Make sure all build dependencies have been installed in your machine. You can reference debian/control for building depends.
  • Create build directory and change to it, then build with cmake. The follow commands will auto build extensions as library.
#cmake ..
qmake ..
make
  • Put the generated libraries into &&[QT_INSTALL_LIBS]/peony-extensions.

  • Test the extension with peony.

Current extensions

  • terminal, open terminal with right click menu.
  • shared, a share properties page in properties window.
  • admin, open a directory or a file as root with menu.
  • parchives, compress/uncompress files with menu.
  • computer view, a special view for displaying computer:///.
  • send-to-device, provides a directory menu action for sending selected files to mounted device.
  • bluetooth, provides a directory menu action for sneding selected files by bluetooth, depending on ukui-bluetooth.
  • set-wallparper, privides a directory menu action for set desktop background.

binary compatibility

Peony-Extensions strongly relies on Peony library, that means the binary files of those plugins might not compat with Peony when the library updated and some API changed. Sometimes the old plugins will not be loaded, or will make Peony crashed due to call an unmatch method. To avoid the binary compatibility problems, we add a version checkment in latest version both in this project and Peony. The plugins' version infomation are loaded from common.json, this must match to the Peony VERSION marco.

When peony extensions doesn't work or can't be build correctly, please consider using latest Peony library built locally, and rebuild this project again.

Translations

Unlike Peony, Peony Extensions translations job is relatively primitive and crude. The main idea is every plugin translates itself, and compile translations resources with code (qrc).

When you are going to translate peony extensions (I created), here are the mainly steps.

  • use lupdate to generate .ts file for your language, the naming rules reference existing files.
  • use lrelease to publish .ts file to .qm file.
  • modify the project's .qrc file, add your .qm file into recources to be compiled.