themix-project / themix-gui

Graphical application for generating different color variations of Oomox (Numix-based) theme (GTK2, GTK3, Cinnamon, GNOME, Openbox, Xfwm), Archdroid, Gnome-Color, Numix, Papirus and Suru++ icon themes. Have a hack for HiDPI in gtk2. Its Base16 plugin also allowing a lot of app themes support like Alacritty, Emacs, GTK4, KDE, VIM and many more.
GNU General Public License v3.0
2.11k stars 69 forks source link

Generate a pre-compiled Debian package #278

Closed alexarnaud closed 4 years ago

alexarnaud commented 4 years ago

Hello,

Currently at each installation Oomox is compiled and that takes many times.

This will be useful for two stuff:

Best regards.

actionless commented 4 years ago

it is already done for few years: https://github.com/themix-project/oomox#debian-ubuntu-linux-mint

alexarnaud commented 4 years ago

it is already done for few years: https://github.com/themix-project/oomox#debian-ubuntu-linux-mint

I was probably not clear but the Debian packages are indeed generated but not pre-compiled. At the end of the postinst process there is this line: python3 -O -m compileall /opt/oomox/oomox_gui

The package already available takes 50M to download but almost 600mb after installation.

I think we could propose to have a pre-compiled package (before installation).

actionless commented 4 years ago

could you show me those 550 MB of *.pyc files?

alexarnaud commented 4 years ago

OK, my bad. The huge installation time (10 minutes) is only due to the huge amount of themes / icons.

The latest version takes 550MB on disk whereas the version 1.2.6 takes 30MB on disk.

Do you know which plugins / icons / themes should I keep to have the same feature as of version 1.2.6?

I'd like to reduce the size and installation time of Oomox because the amount of icons / themes / plugins was sufficient for our downstream need.

Also "only" having essential theme will be easier for our users (usually not power users).

Sorry for all that question. I'm looking at finding the best compromise between feature and simplicity.

We customize theme for visual-impaired or elderly people.

Best regards.

actionless commented 4 years ago

i recommend you to do smth like cd /opt/oomox && ncdu . to see for yourself, but yeah, most of the space are taking the new icon packs

actionless commented 4 years ago

also please see/participate in https://github.com/themix-project/oomox/issues/129 regarding splitting the main themix-gui and plugins into separate packages