Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions com.github.ahrm.sioyek.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
<update_contact>nbenitezl_AT_gmail.com</update_contact>
<content_rating type="oars-1.1"/>
<releases>
<release version="2.0.0.github260212" date="2026-02-12">
<description>
<p>Flathub Beta release from Sioyek github code at 12-02-2026.</p>
</description>
<url>https://github.com/ahrm/sioyek/commit/7b2b26547da4b644d646686a53b087d26ac7413f</url>
</release>
<release version="2.0.0.github241117" date="2024-11-17">
<description>
<p>Flathub Beta release from Sioyek github code at 17-11-2024.</p>
Expand Down Expand Up @@ -106,7 +112,7 @@
</release>
<release version="1.4.0fl1" date="2022-07-11">
<description>
Sioyek 1.4.0fl flathub maintance release:
<p>Sioyek 1.4.0fl flathub maintance release:</p>
<ul>
<li>Flathub packaging: Make Sioyek use Wayland backend when under Wayland, X11 otherwise</li>
<li>Flathub packaging: Fix launching Sioyek from desktop "Open with.." dialog</li>
Expand Down Expand Up @@ -162,13 +168,13 @@
</description>
<url>https://github.com/ahrm/sioyek/releases/tag/v1.3.0</url>
</release>
<release version="1.1.0.fl1" date="2022-03-14">
<description>Same 1.1.0 release but with updated dependencies (Qt 5.15 and Boost 1.78)</description>
<release version="1.1.0.fl1" date="2022-03-14">
<description><p>Same 1.1.0 release but with updated dependencies (Qt 5.15 and Boost 1.78)</p></description>
<url>https://github.com/ahrm/sioyek/releases/tag/v1.1.0</url>
</release>
<release version="1.1.0" date="2022-02-18">
<description>1.1.0 release</description>
<description><p>1.1.0 release</p></description>
<url>https://github.com/ahrm/sioyek/releases/tag/v1.1.0</url>
</release>
</releases>
</component>
</component>
30 changes: 17 additions & 13 deletions com.github.ahrm.sioyek.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
app-id: com.github.ahrm.sioyek

runtime: org.freedesktop.Platform
runtime-version: '24.08'
runtime-version: '25.08'
sdk: org.freedesktop.Sdk

command: sioyek
Expand All @@ -23,16 +23,7 @@ finish-args:
- --device=dri

modules:
- name: boost
buildsystem: simple
build-commands:
- ./bootstrap.sh
- ./b2 install --prefix=/app --with-system --with-random define="BOOST_SYSTEM_NO_DEPRECATED" -sNO_BZIP2=1 cxxflags=-fPIC cflags=-fPIC
sources:
- type: archive
url: https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2
sha256: 8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc
- qt5-15.yaml
- qt6.yaml
- "shared-modules/glu/glu-9.json"
- name: sioyek
buildsystem: simple
Expand All @@ -48,8 +39,7 @@ modules:
sources:
- type: git
url: https://github.com/ahrm/sioyek.git
# latest master HEAD at 17/11/2024
commit: 159304abef7eb0c77bf7892a305d60bea19a997b
commit: 7b2b26547da4b644d646686a53b087d26ac7413f
- type: patch
path: patch/sioyek_build_fix.patch
- type: file
Expand All @@ -59,8 +49,22 @@ modules:

cleanup:
- /share/man
- /share/runtime/docs
- /include # Reduces app size considerably (thx Aman9das)
- /lib/pkgconfig
- /share/aclocal
- '*.la'
- '*.a'
- '*.prl'
- /bin/a*
- /bin/q*
- /doc
- /lib/cmake
- /lib/libexec
- /lib/metadata
- /lib/modules
- /lib/objects-Release
- /lib/metatypes
- /lib/systemd
- /lib/qml
- /mkspecs
31 changes: 0 additions & 31 deletions patch/qtbase-avoid-hardcoding-kernel-version.patch

This file was deleted.

11 changes: 11 additions & 0 deletions patch/qtbase-find_package-paths.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/cmake/QtConfig.cmake.in 2024-02-08 21:31:05.000000000 +0530
+++ b/cmake/QtConfig.cmake.in 2024-02-08 21:31:05.000000000 +0530
@@ -131,6 +131,8 @@
${QT_BUILD_CMAKE_PREFIX_PATH}
${_qt_cmake_dir}
${_qt_additional_packages_prefix_paths}
+ "/app/lib/cmake"
+ "/app/lib/${CMAKE_CXX_LIBRARY_ARCHITECTURE}/cmake"
${__qt_find_package_host_qt_path}
${_qt_additional_host_packages_prefix_paths}
${__qt_use_no_default_path_for_qt_packages}

This file was deleted.

18 changes: 18 additions & 0 deletions patch/qtbase-use-adwaita-decorations-on-gnome-by-default.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/src/plugins/platforms/wayland/qwaylandintegration.cpp b/src/plugins/platforms/wayland/qwaylandintegration.cpp
index 669d47ee3b8b96484092527abaed7c4ba99dd030..4b6814f2c19586cd1cc0a3320f789559a85ff973 100644
--- a/src/plugins/platforms/wayland/qwaylandintegration.cpp
+++ b/src/plugins/platforms/wayland/qwaylandintegration.cpp
@@ -93,6 +93,12 @@ QWaylandIntegration::QWaylandIntegration(const QString &platformName)
QWaylandWindow::fixedToplevelPositions =
!qEnvironmentVariableIsSet("QT_WAYLAND_DISABLE_FIXED_POSITIONS");

+ const QByteArray xdgCurrentDesktop = qgetenv("XDG_CURRENT_DESKTOP");
+ if (xdgCurrentDesktop == "GNOME") {
+ if (!qEnvironmentVariableIsSet("QT_WAYLAND_DECORATION"))
+ qputenv("QT_WAYLAND_DECORATION", "adwaita");
+ }
+
sInstance = this;
if (platformName != "wayland"_L1)
initializeClientBufferIntegration();

20 changes: 0 additions & 20 deletions patch/qtbase-use-wayland-on-gnome.patch

This file was deleted.

Loading