plotinus icon indicating copy to clipboard operation
plotinus copied to clipboard

Submit to distro repos

Open rugk opened this issue 8 years ago • 11 comments

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

rugk avatar Apr 15 '17 10:04 rugk

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.

p-e-w avatar Apr 16 '17 15:04 p-e-w

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_> :)

bmeznarsic avatar Apr 20 '17 16:04 bmeznarsic

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

p-e-w avatar Apr 23 '17 15:04 p-e-w

@p-e-w
https://dev.solus-project.com/source/plotinus/

tmp_12772-screenshot_2017-05-09-16-44-38365344529

bmeznarsic avatar May 09 '17 14:05 bmeznarsic

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

JoshStrobl avatar May 09 '17 17:05 JoshStrobl

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

JoshStrobl avatar May 09 '17 18:05 JoshStrobl

@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.

p-e-w avatar May 13 '17 18:05 p-e-w

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

rugk avatar May 13 '17 20:05 rugk

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

deikatsuo avatar Dec 18 '17 00:12 deikatsuo

In NixOS, I just added a package and system module: https://github.com/NixOS/nixpkgs/commit/16fa6f59f77fd635665ba719e278bc673ceb1d9e

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

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

samdroid-apps avatar Feb 15 '18 09:02 samdroid-apps

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

lf-araujo avatar Feb 15 '18 11:02 lf-araujo