Skip to content
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

Set necessary env for system gtk themes to work and clean up content interfaces #97

Closed
wants to merge 4 commits into from

Conversation

kenvandine
Copy link
Contributor

This also reverts a previous commit which disabled the usage of gtk2-common-themes. This was originally done because gtk2-common-themes was only built for amd64. We'll soon have gtk2-common-themes for all supported architectures.

@@ -81,6 +84,9 @@ environment:
LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/lapack:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/blas:$LD_LIBRARY_PATH
PYTHONPATH: $SNAP/usr/lib/python2.7:$SNAP/usr/lib/python2.7/site-packages:$PYTHONPATH
FINAL_BINARY: $SNAP/usr/bin/gimp
GTK_PATH: $SNAP/lib/gtk-2.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this break GTK3?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it looks like the symlinks created in the gnome-extension part should be adjusted so we don't need to set GTK_PATH or GTK3 will be inoperable. (Line 170 and 171)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also see the GTK3 version linking into the platform snap on 167 and 168 for inspiration :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this break GTK3?

I don't think GTK3 uses GTK_PATH.

patches/desktop-launch.patch Outdated Show resolved Hide resolved
patches/desktop-launch.patch Outdated Show resolved Hide resolved
kenvandine and others added 2 commits January 31, 2020 16:50
force symlinks

Co-Authored-By: Daniel Llewellyn <[email protected]>
force symlinks

Co-Authored-By: Daniel Llewellyn <[email protected]>
@jnsgruk
Copy link
Member

jnsgruk commented Jan 19, 2024

This is no longer relevant as far as I can tell, and already fixed on both the candidate and preview branches. Thanks all!

@jnsgruk jnsgruk closed this Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants