-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Various flatpak fixes and improvements #9527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
anarsoul
wants to merge
7
commits into
SoftFever:main
Choose a base branch
from
anarsoul:flatpak-may2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+57
−158
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2b12077
Revert 98be94a729ff39cd21442547d10e988422f58310
anarsoul 71db80c
flatpak: introduce ORCA_SLICER_DARK_THEME to force dark theme
anarsoul 3e13920
FIX: occt build failure
hadess 2670aef
Set policy CMP0167 to NEW
anarsoul 2133ed1
Add OpenSSL tarball link to the manifest
anarsoul 676643c
Add curl zip to the manifest
anarsoul 05f9db2
flatpak: bump runtime version to 47
anarsoul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -195,3 +195,27 @@ index 5ae9899f..0a17372b 100644 | |
|
||
if (!myFTLib->IsValid()) | ||
{ | ||
From 7236e83dcc1e7284e66dc61e612154617ef715d6 Mon Sep 17 00:00:00 2001 | ||
From: dpasukhi <[email protected]> | ||
Date: Tue, 27 Aug 2024 11:33:29 +0100 | ||
Subject: [PATCH] 0033808: Coding - FreeType Use unsigned point and contour | ||
indexing in `FT_Outline` | ||
|
||
Changes to auto instead of specific type | ||
--- | ||
src/StdPrs/StdPrs_BRepFont.cxx | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/StdPrs/StdPrs_BRepFont.cxx b/src/StdPrs/StdPrs_BRepFont.cxx | ||
index ab2d9b3c9f..cd701879b1 100644 | ||
--- a/src/StdPrs/StdPrs_BRepFont.cxx | ||
+++ b/src/StdPrs/StdPrs_BRepFont.cxx | ||
@@ -457,7 +457,7 @@ Standard_Boolean StdPrs_BRepFont::renderGlyph (const Standard_Utf32Char theChar, | ||
for (short aContour = 0, aStartIndex = 0; aContour < anOutline->n_contours; ++aContour) | ||
{ | ||
const FT_Vector* aPntList = &anOutline->points[aStartIndex]; | ||
- const char* aTags = &anOutline->tags[aStartIndex]; | ||
+ const auto* aTags = &anOutline->tags[aStartIndex]; | ||
const short anEndIndex = anOutline->contours[aContour]; | ||
const short aPntsNb = (anEndIndex - aStartIndex) + 1; | ||
aStartIndex = anEndIndex + 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 221be0af1a0b5bcf05c59b3403f969643b42dbaf Mon Sep 17 00:00:00 2001 | ||
From f0135d9c3faf0207f7100991ccf512f228b90570 Mon Sep 17 00:00:00 2001 | ||
From: Paul Cornett <[email protected]> | ||
Date: Sat, 30 Sep 2023 16:42:58 -0700 | ||
Subject: [PATCH] Enable using a dark theme when Gnome "dark style" is set | ||
|
@@ -8,11 +8,11 @@ automatically, so request it explicitly. | |
|
||
Co-authored-by: Colin Kinloch | ||
--- | ||
src/gtk/settings.cpp | 112 ++++++++++++++++++++++++++++++++++++++++++- | ||
1 file changed, 111 insertions(+), 1 deletion(-) | ||
src/gtk/settings.cpp | 118 ++++++++++++++++++++++++++++++++++++++++++- | ||
1 file changed, 117 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp | ||
index 304724773711..74898d9bb953 100644 | ||
index 3047247737..f13ea2ef24 100644 | ||
--- a/src/gtk/settings.cpp | ||
+++ b/src/gtk/settings.cpp | ||
@@ -183,6 +183,64 @@ static void notify_gtk_font_name(GObject*, GParamSpec*, void*) | ||
|
@@ -80,7 +80,7 @@ index 304724773711..74898d9bb953 100644 | |
// Some notes on using GtkStyleContext. Style information from a context | ||
// attached to a non-visible GtkWidget is not accurate. The context has an | ||
// internal visibility state, controlled by the widget, which it presumably | ||
@@ -1124,12 +1182,62 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index) | ||
@@ -1124,12 +1182,68 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index) | ||
class wxSystemSettingsModule: public wxModule | ||
{ | ||
public: | ||
|
@@ -109,8 +109,14 @@ index 304724773711..74898d9bb953 100644 | |
+ | ||
+ m_proxy = nullptr; | ||
+ | ||
+ if (getenv("ORCA_SLICER_DARK_THEME") != nullptr) { | ||
+ /* 1 for prefer dark */ | ||
+ GVariant *value = g_variant_new_uint32(1); | ||
+ UpdatePreferDark(value); | ||
+ g_variant_unref(value); | ||
+ } | ||
+ // GTK_THEME environment variable overrides other settings | ||
+ if (getenv("GTK_THEME") == nullptr) | ||
+ else if (getenv("GTK_THEME") == nullptr) | ||
+ { | ||
+ m_proxy = g_dbus_proxy_new_for_bus_sync( | ||
+ G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, nullptr, | ||
|
@@ -144,7 +150,7 @@ index 304724773711..74898d9bb953 100644 | |
void wxSystemSettingsModule::OnExit() | ||
{ | ||
#ifdef __WXGTK3__ | ||
@@ -1141,6 +1249,8 @@ void wxSystemSettingsModule::OnExit() | ||
@@ -1141,6 +1255,8 @@ void wxSystemSettingsModule::OnExit() | ||
g_signal_handlers_disconnect_by_func(settings, | ||
(void*)notify_gtk_font_name, NULL); | ||
} | ||
|
@@ -154,5 +160,5 @@ index 304724773711..74898d9bb953 100644 | |
if (gs_tlw_parent) | ||
{ | ||
-- | ||
2.46.2 | ||
2.49.0 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For CURL and OpenSSL, any reason why you're building those? The runtime versions should be new enough (curl 8.13.0 and openssl 3.3.3).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there is a way to disable building these. No one backported your patches from Bambu Studio for disabling built-in deps