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

mypaint: 1.2.1 → 2.0.0-beta.0 #54677

Merged
merged 2 commits into from
Feb 19, 2020
Merged

mypaint: 1.2.1 → 2.0.0-beta.0 #54677

merged 2 commits into from
Feb 19, 2020

Conversation

jtojnar
Copy link
Member

@jtojnar jtojnar commented Jan 27, 2019

Motivation for this change

works with python 3 and contains cool new brushes

cc @cillianderoiste

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@jtojnar jtojnar added the 2.status: work-in-progress This PR isn't done label Jan 27, 2019
@jtojnar
Copy link
Member Author

jtojnar commented Jan 27, 2019

GIMP will need to be patched to support mypaint-brushes-2.0

@grahamc
Copy link
Member

grahamc commented Jan 27, 2019

@GrahamcOfBorg eval

@GrahamcOfBorg GrahamcOfBorg added 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 1-10 10.rebuild-linux: 11-100 labels Jan 27, 2019
@infinisil infinisil added the 8.has: package (update) This PR updates a package to a newer version label Mar 30, 2019
@jtojnar

This comment has been minimized.

@jtojnar jtojnar force-pushed the mypaint2 branch 2 times, most recently from 23b69b1 to f8fee5f Compare April 9, 2019 13:00
@jtojnar jtojnar force-pushed the mypaint2 branch 2 times, most recently from ba8aebc to c6c2016 Compare November 28, 2019 13:40
@jtojnar
Copy link
Member Author

jtojnar commented Nov 28, 2019

@jtojnar jtojnar changed the title mypaint: 1.2.1 → 2.0.0-alpha.0 mypaint: 1.2.1 → 2.0.0-alpha.13 Nov 28, 2019
@jtojnar jtojnar mentioned this pull request Dec 25, 2019
17 tasks
@jtojnar
Copy link
Member Author

jtojnar commented Jan 13, 2020

Just pasting here that beta.0 has been released with stable expected at the end of January. Do not have time to bump and test it at the moment.

@jtojnar jtojnar mentioned this pull request Jan 28, 2020
24 tasks
@jtojnar
Copy link
Member Author

jtojnar commented Feb 2, 2020

Delayed for week or two: http://mypaint.org/blog/2020/01/31/mypaint-2.0-postponement/

@jtojnar jtojnar changed the title mypaint: 1.2.1 → 2.0.0-alpha.13 mypaint: 1.2.1 → 2.0.0-beta.0 Feb 7, 2020
@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Feb 7, 2020
@sikmir
Copy link
Member

sikmir commented Feb 18, 2020

MyPaint v2.0.0 (2020-02-15) is out.

@jtojnar jtojnar merged commit e2b4abe into NixOS:master Feb 19, 2020
@jtojnar jtojnar deleted the mypaint2 branch February 19, 2020 00:57
@sikmir
Copy link
Member

sikmir commented Mar 5, 2020

@jtojnar Something is going wrong with mypaint-2.0.0:

$  mypaint
INFO: mypaint: Installation layout: conventional POSIX-like structure with prefix '/nix/store/xwb4dp2s4fzmgxsz4946axgbv966n2z5-mypaint-2.0.0'
WARNING: gui.userconfig: Failed to load settings file: /home/sikmir/.config/mypaint/settings.json
WARNING: gui.userconfig: Failed to load settings: using defaults
INFO: gui.main: No locale setting found, using system locale
INFO: lib.i18n: POSIX: LANG='fi_FI.UTF-8'
INFO: lib.i18n: POSIX: LANGUAGE=None

(.mypaint-wrapped:8116): Gtk-WARNING **: 14:41:14.015: Could not find the icon 'org.mypaint.MyPaint'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases
ERROR: gui.application: Missing icon 'org.mypaint.MyPaint': check that mypaint icons have been installed into /nix/store/xwb4dp2s4fzmgxsz4946axgbv966n2z5-mypaint-2.0.0/share/icons
Traceback (most recent call last):
  File "/nix/store/xwb4dp2s4fzmgxsz4946axgbv966n2z5-mypaint-2.0.0/lib/mypaint/gui/application.py", line 133, in _init_icons
    icon_theme.load_icon(icon_name, 32, 0)
gi.repository.GLib.GError: gtk-icon-theme-error-quark: Kuvake 'org.mypaint.MyPaint' ei ole osana teemaa Adwaita (0)
ERROR: gui.application: Missing icon 'mypaint-brush-symbolic': check that librsvg is installed, and update loaders.cache
Traceback (most recent call last):
  File "/nix/store/xwb4dp2s4fzmgxsz4946axgbv966n2z5-mypaint-2.0.0/lib/mypaint/gui/application.py", line 133, in _init_icons
    icon_theme.load_icon(icon_name, 32, 0)
gi.repository.GLib.GError: gtk-icon-theme-error-quark: Kuvake 'mypaint-brush-symbolic' ei ole osana teemaa Adwaita (0)
CRITICAL: gui.application: Required icon(s) missing
ERROR: gui.application: Icon search path: ['/home/sikmir/.local/share/icons', '/home/sikmir/.icons', '/nix/store/xwb4dp2s4fzmgxsz4946axgbv966n2z5-mypaint-2.0.0/share/icons', '/nix/store/w6cqc17j0b9ibrnaa5zmfyy251r57hhm-gtk+3-3.24.14/share/gsettings-schemas/gtk+3-3.24.14/icons', '/nix/store/1xfwclrqkyxllnh8x549lj5ywn541kym-gsettings-desktop-schemas-3.34.0/share/gsettings-schemas/gsettings-desktop-schemas-3.34.0/icons', '/nix/store/1xfwclrqkyxllnh8x549lj5ywn541kym-gsettings-desktop-schemas-3.34.0/share/gsettings-schemas/gsettings-desktop-schemas-3.34.0/icons', '/nix/store/w6cqc17j0b9ibrnaa5zmfyy251r57hhm-gtk+3-3.24.14/share/gsettings-schemas/gtk+3-3.24.14/icons', '/home/sikmir/.nix-profile/share/icons', '/etc/profiles/per-user/sikmir/share/icons', '/nix/var/nix/profiles/default/share/icons', '/run/current-system/sw/share/icons', '/nix/store/xwb4dp2s4fzmgxsz4946axgbv966n2z5-mypaint-2.0.0/share/pixmaps', '/nix/store/w6cqc17j0b9ibrnaa5zmfyy251r57hhm-gtk+3-3.24.14/share/gsettings-schemas/gtk+3-3.24.14/pixmaps', '/nix/store/1xfwclrqkyxllnh8x549lj5ywn541kym-gsettings-desktop-schemas-3.34.0/share/gsettings-schemas/gsettings-desktop-schemas-3.34.0/pixmaps', '/nix/store/1xfwclrqkyxllnh8x549lj5ywn541kym-gsettings-desktop-schemas-3.34.0/share/gsettings-schemas/gsettings-desktop-schemas-3.34.0/pixmaps', '/nix/store/w6cqc17j0b9ibrnaa5zmfyy251r57hhm-gtk+3-3.24.14/share/gsettings-schemas/gtk+3-3.24.14/pixmaps', '/home/sikmir/.nix-profile/share/pixmaps', '/etc/profiles/per-user/sikmir/share/pixmaps', '/nix/var/nix/profiles/default/share/pixmaps', '/run/current-system/sw/share/pixmaps', '/nix/store/xwb4dp2s4fzmgxsz4946axgbv966n2z5-mypaint-2.0.0/share/icons']
ERROR: gui.application: MyPaint can't run sensibly without its icons; please check your installation. See https://github.com/mypaint/mypaint/wiki/FAQ-Missing-icons for possible solutions.

@jtojnar
Copy link
Member Author

jtojnar commented Mar 5, 2020

Do you have icons installed? See https://nixos.wiki/wiki/GNOME#Running_GNOME_programs_outside_of_GNOME

@sikmir
Copy link
Member

sikmir commented Mar 5, 2020

Yes, I have gnome3.adwaita-icon-theme installed.

@jtojnar
Copy link
Member Author

jtojnar commented Mar 5, 2020

Do you have gtk.iconCache.enable option enabled?

@sikmir
Copy link
Member

sikmir commented Mar 6, 2020

I've enabled gtk.iconCache.enable, but doesn't help(

@jtojnar
Copy link
Member Author

jtojnar commented Sep 8, 2020

I managed to reproduce it using env XDG_DATA_DIRS= $(nix-build -A mypaint --no-out-link)/bin/mypaint and fix it using env XDG_DATA_DIRS=$(nix-build -A hicolor-icon-theme --no-out-link)/share $(nix-build -A mypaint --no-out-link)/bin/mypaint. Should be fixed by #97416.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants