refi64 / stylepak

Automatically install your host GTK+ theme as a Flatpak
Mozilla Public License 2.0
442 stars 21 forks source link

Error installing Nordic theme #1

Closed etrigan63 closed 4 years ago

etrigan63 commented 4 years ago

Cloned the repo and gave it a shot on Solus 4.1 Mate. Got the following result:

✘ guru@gnomeregan  ~/github/pakitheme   master  ./pakitheme install-system Nordic
Converting theme: Nordic
Found theme located at: /usr/share/themes/Nordic
error: Unknown option --columns=application:f,branch:f
refi64 commented 4 years ago

What Flatpak version are you using?

On Tue, Feb 18, 2020, 6:44 PM Carlos Echenique notifications@github.com wrote:

Cloned the repo and gave it a shot on Solus 4.1 Mate. Got the following result:

✘ guru@gnomeregan  ~/github/pakitheme   master  ./pakitheme install-system Nordic

Converting theme: Nordic

Found theme located at: /usr/share/themes/Nordic

error: Unknown option --columns=application:f,branch:f

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/refi64/pakitheme/issues/1?email_source=notifications&email_token=AAM4YSMDDOLEWZHEDX6C42TRDR6GRA5CNFSM4KXPKFIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOPPM6A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM4YSL5JVHDOLP7YM2AIGTRDR6GRANCNFSM4KXPKFIA .

etrigan63 commented 4 years ago

flatpak 1.0.9

etrigan63 commented 4 years ago

Tried again and now I don't get an error, but I don't get a flatpak installed either.

refi64 commented 4 years ago

Sorry forgot to reply, 1.0.9 was too old for this.Can you run it with PAKITHEME_VERBOSE=1 ./pakitheme install-system Nordic and post the output?

etrigan63 commented 4 years ago
 guru@stormwind  ~/github/pakitheme   master  PAKITHEME_VERBOSE=1 ./pakitheme install-system Nordic
+ [[ -z install-system ]]
+ [[ install-system == \-\h ]]
+ [[ install-system == \-\-\h\e\l\p ]]
+ cache_home=/home/guru/.cache
+ data_home=/home/guru/.local/share
+ pakitheme_cache=/home/guru/.cache/pakitheme
+ repo_dir=/home/guru/.cache/pakitheme/repo
+ case "$1" in
+ install_target=system
+ [[ -n Nordic ]]
+ theme=Nordic
+ echo 'Converting theme: Nordic'
Converting theme: Nordic
+ app_id=org.gtk.Gtk3theme.Nordic
+ for location in "$data_home/themes" "$HOME/.themes" /usr/share/themes
+ [[ -d /home/guru/.local/share/themes/Nordic ]]
+ for location in "$data_home/themes" "$HOME/.themes" /usr/share/themes
+ [[ -d /home/guru/.themes/Nordic ]]
+ for location in "$data_home/themes" "$HOME/.themes" /usr/share/themes
+ [[ -d /usr/share/themes/Nordic ]]
+ echo 'Found theme located at: /usr/share/themes/Nordic'
Found theme located at: /usr/share/themes/Nordic
+ theme_path=/usr/share/themes/Nordic
+ break
+ [[ -n /usr/share/themes/Nordic ]]
+ bundles=()
+ read -r version
++ flatpak list --system --columns=application:f,branch:f
++ awk '/org\.freedesktop\.Platform\s/{print $2;}'
refi64 commented 4 years ago

Can you show the output of flatpak list --system and flatpak list --user?

On Tue, Mar 17, 2020, 1:44 AM Carlos Echenique notifications@github.com wrote:

guru@stormwind  ~/github/pakitheme   master  PAKITHEME_VERBOSE=1 ./pakitheme install-system Nordic

  • [[ -z install-system ]]

  • [[ install-system == -\h ]]

  • [[ install-system == --\h\e\l\p ]]

  • cache_home=/home/guru/.cache

  • data_home=/home/guru/.local/share

  • pakitheme_cache=/home/guru/.cache/pakitheme

  • repo_dir=/home/guru/.cache/pakitheme/repo

  • case "$1" in

  • install_target=system

  • [[ -n Nordic ]]

  • theme=Nordic

  • echo 'Converting theme: Nordic'

Converting theme: Nordic

  • app_id=org.gtk.Gtk3theme.Nordic

  • for location in "$data_home/themes" "$HOME/.themes" /usr/share/themes

  • [[ -d /home/guru/.local/share/themes/Nordic ]]

  • for location in "$data_home/themes" "$HOME/.themes" /usr/share/themes

  • [[ -d /home/guru/.themes/Nordic ]]

  • for location in "$data_home/themes" "$HOME/.themes" /usr/share/themes

  • [[ -d /usr/share/themes/Nordic ]]

  • echo 'Found theme located at: /usr/share/themes/Nordic'

Found theme located at: /usr/share/themes/Nordic

  • theme_path=/usr/share/themes/Nordic

  • break

  • [[ -n /usr/share/themes/Nordic ]]

  • bundles=()

  • read -r version

++ flatpak list --system --columns=application:f,branch:f

++ awk '/org.freedesktop.Platform\s/{print $2;}'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/refi64/pakitheme/issues/1#issuecomment-599904314, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM4YSLWQDGAYZB5TTO5KRDRH4L3LANCNFSM4KXPKFIA .

etrigan63 commented 4 years ago
 guru@stormwind  ~  flatpak list --system                       
Name                                                Application ID                                    Version             Branch
default                                             org.freedesktop.Platform.GL.default                                   19.08
html5-codecs                                        org.freedesktop.Platform.html5-codecs                                 18.08
openh264                                            org.freedesktop.Platform.openh264                                     2.0
GNOME Application Platform version 3.34             org.gnome.Platform                                                    3.34
GNOME Application Platform version 3.36             org.gnome.Platform                                                    3.36
Adwaita theme                                       org.kde.KStyle.Adwaita                                                5.12
Adwaita theme                                       org.kde.KStyle.Adwaita                                                5.14
KDE Application Platform                            org.kde.Platform                                                      5.12
KDE Application Platform                            org.kde.Platform                                                      5.14
 guru@stormwind  ~  flatpak list --user  
 guru@stormwind  ~  
refi64 commented 4 years ago

Ah I see the problem now. At this point I should probably rewrite Pakitheme in GJS or Python, it's getting kinda messy and the fix might be a bit messy as well... But in the meantime, just install org.freedesktop.Platform//19.08 and it should work. (All the runtimes you have are built on that one, so this shouldn't result in any extra disk space usage.)

On Tue, Mar 17, 2020 at 11:53 AM Carlos Echenique notifications@github.com wrote:

guru@stormwind  ~  flatpak list --system

Name Application ID Version Branch

default org.freedesktop.Platform.GL.default 19.08

html5-codecs org.freedesktop.Platform.html5-codecs 18.08

openh264 org.freedesktop.Platform.openh264 2.0

GNOME Application Platform version 3.34 org.gnome.Platform 3.34

GNOME Application Platform version 3.36 org.gnome.Platform 3.36

Adwaita theme org.kde.KStyle.Adwaita 5.12

Adwaita theme org.kde.KStyle.Adwaita 5.14

KDE Application Platform org.kde.Platform 5.12

KDE Application Platform org.kde.Platform 5.14

guru@stormwind  ~  flatpak list --user

guru@stormwind  ~ 

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/refi64/pakitheme/issues/1#issuecomment-600181266, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM4YSKPOB7DUYECHKOWPWTRH6THHANCNFSM4KXPKFIA .

-- Ryan (ライアン) Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else https://refi64.com/