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

Submit to distro repos #20

Open
rugk opened this issue Apr 15, 2017 · 11 comments
Open

Submit to distro repos #20

rugk opened this issue Apr 15, 2017 · 11 comments

Comments

@rugk
Copy link

rugk commented Apr 15, 2017

It would be nice to have this application in distro's repos. Or maybe offer a flatpak/snap if that is possible.

@p-e-w
Copy link
Owner

p-e-w commented Apr 16, 2017

The biggest issue with any sort of automatic installation is getting the environment variable right.

We would need to set GTK3_MODULES globally, while respecting existing modules already found in it, then remove it again when uninstalling.

If you have any suggestions how to do that reliably, I'm all ears.

@bmeznarsic
Copy link

Hey there!
I issued a packaging request on the Solus Project's issue tracker and got shot down for a couple of reasons. https://dev.solus-project.com/T3294
One of the reasons was that you don't provide any release tarballs or git tags. There's no immutable point from which they could build a package. Could you please provide a tarball or at least a git tag?
In regards to the gtk modules variable:.
[18:22] <@Ikey> the GTK_MODULES thing we could work out with a /usr/share/defaults/etc/profile.d file on solus
[18:22] <@Ikey> so that you reboot and boom its working
[18:23] <@Ikey> newer systemd versions support environment.d files
[18:23] <@Ikey> so up or down there is a solution :]
[18:23] <blaz_> Is that the stateless location?
[18:23] <@Ikey> yeah
[18:24] <@Ikey> upstream would likely default to /etc/profile.d
[18:24] <@Ikey> the cost of being different
[18:24] <@Ikey> lol
[18:24] <blaz_> :)

@p-e-w
Copy link
Owner

p-e-w commented Apr 23, 2017

@bmeznarsic: Thank you for your effort! You can now find both a tarball and a Git tag here.

@bmeznarsic
Copy link

@JoshStrobl
Copy link

Just an update, adding the profile.d file in the Solus package currently so it'll work automagically after reboot.

@JoshStrobl
Copy link

Landed in rel 2: https://dev.solus-project.com/R3392:ff7d3f8ba1873e83a3537e56b139aa094ebd8f3f

@p-e-w
Copy link
Owner

p-e-w commented May 13, 2017

@JoshStrobl: Cool! 😎

You should use GTK3_MODULES instead of GTK_MODULES to avoid problems with GTK+ 2 applications. The accessibility issue mentioned in the packaging thread is a good example of how hard it is to get global environment variables right on Linux.

@rugk
Copy link
Author

rugk commented May 13, 2017

What about other distro's such as Debian or Fedora?

@deikatsuo
Copy link

@p-e-w How to make Plotinus working on Flatpak apps?
screenshot from 2017-12-18 07-19-03

@samdroid-apps
Copy link

In NixOS, I just added a package and system module: NixOS/nixpkgs@16fa6f5

So users can add one line to their system configuration; and the appropriate environment vars are set. Then just Ctrl-Shift-P and 😄.

I can submit a patch to document it in the readme is @p-e-w would be receptive to that?

@lf-araujo
Copy link

It would be nice to also be able to use it within flatpak apps. Did anyone find a way of doing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants