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

mysql-workbench: 8.0.14 -> 8.0.15 #57328

Merged
merged 1 commit into from Apr 9, 2019

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mysql-workbench/versions.

meta.description for mysql-workbench is: '"Visual MySQL database modeling, administration and querying tool"'.

Checks done (click to expand)
  • built on NixOS
  • Warning: no invocation of /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15/bin/mysql-workbench-bin had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15/bin/wbcopytables-bin had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15/bin/.mysql-workbench-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15/bin/mysql-workbench had a zero exit code or showed the expected version
  • /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15/bin/.wbcopytables-wrapped passed the binary check.
  • /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15/bin/wbcopytables passed the binary check.
  • 2 of 6 passed binary check by having a zero exit code.
  • 0 of 6 passed binary check by having the new version present in output.
  • found 8.0.15 with grep in /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15
  • directory tree listing: https://gist.github.com/729dce676266fdc63d1c4919a0c0bba6
  • du listing: https://gist.github.com/68bfdb53c03034922b394a49c63c30b6
Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
mysql-workbench

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

nix-build -A mysql-workbench https://github.com/r-ryantm/nixpkgs/archive/2896a87a7d1d399f8ef039d088bc75abb0dd03b2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15
ls -la /nix/store/3kmdvsdf3xgrvkl95gkxirgbgc514kb9-mysql-workbench-8.0.15/bin

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mysql-workbench/versions
@xeji
Copy link
Contributor

xeji commented Apr 1, 2019

@GrahamcOfBorg build mysql-workbench

@xeji
Copy link
Contributor

xeji commented Apr 9, 2019

build succeeds locally, looks ok

@xeji xeji merged commit dc717bd into NixOS:master Apr 9, 2019
@jtojnar
Copy link
Contributor

jtojnar commented Apr 9, 2019

@zookatron
Copy link
Contributor

zookatron commented Apr 9, 2019

@jtojnar Not caused by this change, but FYI this package doesn't work very well within a KDE desktop environment.

It's unable to make any connections to MySQL servers if you don't have gnome3.gnome-keyring service activated due to the error "The name org.freedesktop.secrets was not provided by any .service files". I don't know if NixOS has any concept of packages that rely on other services being installed to run properly because they need to talk to them via DBus, or if there's some way this should be documented.

It also seems to be hard-coded into using the Adwaita GTK theme instead of whatever GTK theme is set by kde-gtk-config. I even tried setting GTK override env vars like GTK_THEME and it didn't seem to have any effect. It keeps generating errors like "Error loading theme icon 'window-close' for stock: Icon 'window-close' not present in theme Adwaita". Unfortunately I don't know enough about GTK to diagnose exactly what is causing this.

@jtojnar
Copy link
Contributor

jtojnar commented Apr 9, 2019

@zookatron

It's unable to make any connections to MySQL servers if you don't have gnome3.gnome-keyring service activated due to the error "The name org.freedesktop.secrets was not provided by any .service files".

I would expect KWallet to provide this interface but for some reason it does not?

I don't know if NixOS has any concept or packages that rely on other services being installed to run properly because they need to talk to them via DBus, or if there's some way this should be documented.

Yeah, this is a common issue (especially with dconf). Unfortunately there is currently no such mechanism. I would like something like described in #52777 (comment)

It also seems to be hard-coded into using the Adwaita GTK theme instead of whatever GTK theme is set by kde-gtk-config. I even tried setting GTK override env vars like GTK_THEME and it didn't seem to have any effect. It keeps generating errors like "Error loading theme icon 'window-close' for stock: Icon 'window-close' not present in theme Adwaita". Unfortunately I don't know enough about GTK to diagnose exactly what is causing this.

That is a problem with icon theme, not GTK theme. There is currently not a consensus how to best solve this (see discussion in #43150 (comment) for details). Installing gnome3.adwaita-icon-theme should work.

@zookatron
Copy link
Contributor

@jtojnar

I would expect KWallet to provide this interface but for some reason it does not?

Yeah, doing a bit more research into this it seems like a common problem people are having with KDE, apparently both kwallet and ksecretsservice which was supposed to replace kwallet are not really maintained very much and are out of date with modern standards like the freedesktop.org secrets spec. ☹️

Yeah, this is a common issue (especially with dconf). Unfortunately there is currently no such mechanism. I would like something like described in #52777 (comment)

Thanks for the info, I like your suggestion for being able to specify system dependencies.

That is a problem with icon theme, not GTK theme. There is currently not a consensus how to best solve this (see discussion in #43150 (comment) for details). Installing gnome3.adwaita-icon-theme should work.

Thanks for pointing that out, that helped me a get a bit further with my research into this. After digging into this a bit more I realized that my problem was that I didn't have a ${XDG_CONFIG_HOME}/gtk-3.0/settings.ini file to set the GTK icon theme to Breeze instead of the default of Adwaita. After getting that set up it finds the Breeze icons just fine! Still though it's not entirely clear to me why my home directory was automatically populated with a ~/.gtkrc-2.0 file which sets the GTK icon themes for GTK2 applications, but not a ${XDG_CONFIG_HOME}/gtk-3.0/settings.ini file to set the same icon theme for GTK3 applications. I guess this just must be a limitation of the version of KDE that is in NixOS.

To anyone finding this while searching this is what I added to my ${XDG_CONFIG_HOME}/gtk-3.0/settings.ini file to get this working:

[Settings]
gtk-icon-theme-name = breeze
gtk-theme-name = breeze

@r-ryantm r-ryantm deleted the auto-update/mysql-workbench branch April 14, 2019 04:57
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.

None yet

6 participants