Commit Graph

9 Commits

Author SHA1 Message Date
Sabri Ünal 62a82aed08 feat(build): use appstreamcli to validate appdata 2024-01-06 21:33:15 -05:00
oscfdezdz 4926ca91de
Add custom actions symbolic icons
Using gresource file and based on the suggestions for the merge menu
made in https://github.com/MightyCreak/diffuse/issues/90.
2023-04-11 17:12:44 +02:00
Hugo Holgersson bb998a8785 Docs and build fixes to run Diffuse on macOS
Here we strip away Linux-only stuff so devs
can create a local "Mac build".

There might be other Linux-only stuff that
are not needed on Mac still. Follow-ups are
welcome.
2022-10-23 15:58:09 -04:00
Romain Failliot 70b1bdbb9f No python files are processed by Meson anymore
* Linters can be run sooner (before install)
* Moved some constants in the config file
* Added a new keyword in the config syntax: "option"
* Better messages when an error occurs while parsing the config
2021-11-27 21:55:49 -05:00
Romain Failliot 124d086009 ci: call the linters on the installed directory 2021-11-24 20:27:47 -05:00
Romain Failliot 6f45d164a5 Update POTFILES and .pot files
* Rename POTFILES.in to POTFILES
2021-11-24 10:30:33 -05:00
Romain Failliot be40411b66 Fix subprocess call from within Flatpak
Fixes #103
2021-11-16 22:48:40 -05:00
Romain Failliot fd3c2bfb92 Start modularizing the code
* The entry point (`__main__`) is in diffuxe.in
* The main (almost all) code is now in main.py
* Some util functions and variables are in utils.py
* Following the same folder structure as with a new project with GNOME
  Builder:
    - `src/` is now just for the code itself
    - `data/` is for the other files (metainfo, desktop, config, ...)
    - `po/` for the translations
    - The Desktop file is renamed with the app ID
    - The `meson.build` files are closer to what GNOME Builder generates
    - More tests for the package (appstream and desktop)
    - Almost all the files in `etc/`, `usr/` are properly handled by
      meson now
    - Just use `gettext.install()` to initialize gettext
    - Remove call to `Gtk.Window.set_default_icon_name()`
* Website now points to https://mightycreak.github.io/diffuse/
2021-11-16 17:48:34 -05:00
Romain Failliot 4cd8943e10 Add .desktop translations in .po files 2020-12-08 14:07:26 -05:00