Commit graph

12 commits

Author SHA1 Message Date
Sophie Herold
f6b7ae7567 meson: Don't mangle profile and app id suffix 2024-09-27 21:22:52 +02:00
Sophie Herold
bf9392e8a2 config: Use env instead of code generation
Code generation messes with the actual source directory and makes it
impossible to use tools like clippy without having generated the config
via meson.
2024-09-27 20:54:04 +02:00
Sabri Ünal
3ed3b26450 appdata: Improve appdata for AppStream 1.0
- Add the `<developer><name>` tag
- Mark the `<developer_name>` as deprecated
- Use appstreamcli to validate appdata
- Remove one of Purism tag to pass appstreamcli validation
2023-12-23 21:45:13 +03:00
Matteo Nardi
5e32cfa1df window: remember image property visibility state
Added GSettings support to Loupe. Inspiration was taken from Fractal:
LpApplication will contain `gio::Settings` and all code needing them
will reach them as a singleton by calling `g_application_get_default`.
This design makes the settings dependency less explicit than dependency
injection, but allows for shorter code when new settings will be added
across different parts of the application.

A `show-properties` setting is added for remembaring the image property
sidebar state. It's read by LpWindow when the current page changes, and
saved when toggling the sidebar. When no image is being shown, the
sidebar is always hidden, while the setting remains unchanged. The
sidebar state will be restored when a picture is opened.

Closes #147
2023-12-07 15:25:26 +00:00
Sophie Herold
6fe77fa6e5 flatpak: Use newer glycin version to test JXL
Closes #90

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/260>
2023-07-29 14:26:24 +00:00
Sophie Herold
4eae4503bf data: Generate list of mime types in meson
First, this format is more easy to maintain.
Second, future image decoder dependencies will be
opt-out via build options. This way we can also not
add the mime types in that case.

Closes #125

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/181>
2023-04-19 01:17:24 +00:00
Sophie Herold
ae5ca76176 printing: Add printing support
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/165>
2023-04-18 23:52:53 +00:00
AsciiWolf
743577757f data: Rename appdata to metainfo
The appdata file/directory name is deprecated.

Also change the desktop component type to desktop-application. Same reason.
2022-10-06 16:38:46 +02:00
Christopher Davis
d443107146 build: Drop join_paths() in favor of / 2022-08-05 00:39:50 -04:00
Christopher Davis
cced598239 general: Rename to Loupe
Sets the codename, binary name, and app ID name to Loupe.
The user-visible name is still Image Viewer.
2021-09-28 17:44:26 -07:00
Christopher Davis
5d8c6756e2 data: Disable appdata test
This test isn't needed for now.
2020-12-29 20:29:08 -08:00
Christopher Davis
f692ab5626 Initial Commit
The initial commit of gnome-image-viewer.
Things are in an MVP state, with image viewing and
opening from the desktop functional. We also can
open images externally, print them, and set them as
backgrounds.
2020-12-26 02:18:23 -08:00