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

catppuccin-gtk: 0.7.5 -> 1.0.3 #315143

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

isabelroses
Copy link
Member

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@isabelroses isabelroses changed the title catppuccin-gtk: 0.7.4 -> 1.0.0 catppuccin-gtk: 0.7.5 -> 1.0.0 May 27, 2024
dixslyf

This comment was marked as outdated.

@isabelroses isabelroses changed the title catppuccin-gtk: 0.7.5 -> 1.0.2 catppuccin-gtk: 0.7.5 -> 1.0.3 Jun 1, 2024
@isabelroses isabelroses requested a review from dixslyf June 1, 2024 19:49
dixslyf

This comment was marked as outdated.

@isabelroses
Copy link
Member Author

Force push fixed merge conflict.

@ofborg ofborg bot requested a review from dixslyf June 10, 2024 14:24
Copy link
Member

@dixslyf dixslyf left a comment

Choose a reason for hiding this comment

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

Result of nixpkgs-review pr 315143 run on x86_64-linux 1

1 package built:
  • catppuccin-gtk

@Aleksanaa
Copy link
Member

I don't fully understand the problems encountered by catppuccin-gtk. Do versions after 1.0 have more regressions than previous ones? Should we drop this package and prefer colloid (since Vince has added catppuccin flavor)?

@isabelroses
Copy link
Member Author

I don't fully understand the problems encountered by catppuccin-gtk.

Largely issues that simply shouldn't exist that pushed the maintainers over the edge.

Do versions after 1.0 have more regressions than previous ones?

They should function similarly with some changes, if not better. But are more broken on some distros then others, from personal testing works fine on nixos.

Should we drop this package and prefer colloid (since Vince has added catppuccin flavor)?

This does not seem like a bad idea to be honest.

@Aleksanaa Aleksanaa merged commit 10d4504 into NixOS:master Jun 17, 2024
25 checks passed
@isabelroses isabelroses deleted the update-catppuccin branch June 17, 2024 18:26
@Kranzes
Copy link
Member

Kranzes commented Jun 20, 2024

What's the point of this package now if it doesn't produce any themes in $out?

[kranzes@pongo ~/.cache/nixpkgs-review/pr-315143/results/catppuccin-gtk]$ tree
.
└── share
    └── themes

3 directories, 0 files

Edit: It seems there was a build failure, why was this merged?

https://hydra.nixos.org/build/263568619/log

@khaneliman
Copy link
Contributor

khaneliman commented Jun 20, 2024

What's the point of this package now if it doesn't produce any themes in $out?

[kranzes@pongo ~/.cache/nixpkgs-review/pr-315143/results/catppuccin-gtk]$ tree
.
└── share
    └── themes

3 directories, 0 files

Edit: It seems there was a build failure, why was this merged?

https://hydra.nixos.org/build/263568619/log

Yeah this PR seems to have broke catppuccin gtk theming for me..

image

@Aleksanaa
Copy link
Member

Edit: It seems there was a build failure, why was this merged?

It built successfully on ofborg though...

@Aleksanaa
Copy link
Member

[catppuccin-gtk] [ERROR] - Something went wrong when building the theme:
Traceback (most recent call last):
  File "/build/source/build.py", line 16, in <module>
    execute_build(git_root, args)
  File "/build/source/sources/build/__init__.py", line 25, in execute_build
    apply_colloid_patches(colloid_tmp_dir, patch_dir)
  File "/build/source/sources/build/patches.py", line 28, in apply_colloid_patches
    subprocess.check_call(
  File "/nix/store/6b1fqdwb3g56j5pazv8zkx9qd0mv3wiz-python3-3.11.9/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)

This didn't happen on ofborg:

[catppuccin-gtk] [INFO] - Applying patches...
[catppuccin-gtk] [INFO] - Applying patch 'plank-dark.patch', located at 'sources/patches/colloid/plank-dark.patch'
[catppuccin-gtk] [INFO] - Applying patch 'plank-light.patch', located at 'sources/patches/colloid/plank-light.patch'
[catppuccin-gtk] [INFO] - Applying patch 'sass-palette-frappe.patch', located at 'sources/patches/colloid/sass-palette-frappe.patch'
[catppuccin-gtk] [INFO] - Applying patch 'sass-palette-mocha.patch', located at 'sources/patches/colloid/sass-palette-mocha.patch'
[catppuccin-gtk] [INFO] - Applying patch 'sass-palette-latte.patch', located at 'sources/patches/colloid/sass-palette-latte.patch'
[catppuccin-gtk] [INFO] - Applying patch 'sass-palette-macchiato.patch', located at 'sources/patches/colloid/sass-palette-macchiato.patch'
[catppuccin-gtk] [INFO] - Applying patch 'theme-func.patch', located at 'sources/patches/colloid/theme-func.patch'
[catppuccin-gtk] [INFO] - Patching finished.
[catppuccin-gtk] [INFO] - Building temp tweaks file
[catppuccin-gtk] [INFO] - Inserting gnome-shell imports
[catppuccin-gtk] [INFO] - Building main theme
[catppuccin-gtk] [INFO] - Build info:
    build_root: /nix/store/cm9yzv5q8vpfbzad8m1j7a4rk17a5kdw-catppuccin-gtk-1.0.3/share/themes
    src_root:   /build/source/.tmp/colloid-tmp-frappe/src
    theme_name: catppuccin
    flavor:     frappe
    accent:     blue
    size:       standard
    tweaks:     Tweaks(tweaks=[])
[catppuccin-gtk] [INFO] - Building into '/nix/store/cm9yzv5q8vpfbzad8m1j7a4rk17a5kdw-catppuccin-gtk-1.0.3/share/themes/catppuccin-frappe-blue-standard+default'...
[catppuccin-gtk] [INFO] - Main build complete
[catppuccin-gtk] [INFO] - Bundling assets...
[catppuccin-gtk] [INFO] - Asset bundling done
[catppuccin-gtk] [INFO] - Completed frappe with blue
[catppuccin-gtk] [INFO] - Done!
[catppuccin-gtk] [INFO] - 
[catppuccin-gtk] [INFO] - Built in 1.246s

@Aleksanaa
Copy link
Member

Oh...

My fault 😨 -> Not my fault 🙃 -> Still my fault 🫠

I updated colloid.

@Aleksanaa
Copy link
Member

A quick fix: try out colloid-gtk-theme.override { tweaks = [ "catppuccin" ]; } ...

@nonetrix
Copy link
Contributor

nonetrix commented Jun 20, 2024

Yep it brokee linux ricing is my passion
image
Made me laugh thanks

@getchoo getchoo added the backport release-24.05 Backport PR automatically label Jun 23, 2024
Copy link
Contributor

Backport failed for release-24.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-24.05
git worktree add -d .worktree/backport-315143-to-release-24.05 origin/release-24.05
cd .worktree/backport-315143-to-release-24.05
git switch --create backport-315143-to-release-24.05
git cherry-pick -x f91c4d43eaad88736dd27c3fe2c69cb6e43a5d92

@stelcodes
Copy link
Contributor

This broke my theming too just like @nonetrix 🥺

@isabelroses
Copy link
Member Author

isabelroses commented Jul 13, 2024

This broke my theming too just like @nonetrix 🥺

This should have been fixed by now. Try making the theme name all lower case, and remove -Dark and if you have any tweaks do +tweak,other-tweak

And don't use gtk2 🙃

@nonetrix
Copy link
Contributor

Everything works for me now can confirm, and I think gimp is the only thing that uses GTK2 still and it's fine doesn't apply theme though ¯_(ツ)_/¯

@stelcodes
Copy link
Contributor

I'm just gonna stick to 0.7.5 going forward from a copy pasta derivation. The newer version has subtle differences (like waybar button hover styling?) that I don't like. x(

@nonetrix
Copy link
Contributor

nonetrix commented Jul 15, 2024

In Waybar specifically? Just edit the CSS for it inside of Waybar, GTK themes are CSS your just injecting a theme at the application level

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

Successfully merging this pull request may close these issues.

9 participants