-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
inkscape: openclipart integration is broken #52963
Comments
I researched a bit and thought adding glib-networking would fix it. I wrote the following patch, but it doesn't seem to have any effect: diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index 01243f6bdee..9821b02f48c 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -3,6 +3,7 @@
, glibmm, libsigcxx, lcms, boost, gettext
, gsl, python2, poppler, imagemagick, libwpg, librevenge
, libvisio, libcdr, libexif, potrace, cmake, hicolor-icon-theme
+, glib-networking, wrapGAppsHook
}:
let
@@ -40,13 +41,13 @@ stdenv.mkDerivation rec {
--replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
'';
- nativeBuildInputs = [ pkgconfig cmake python2Env ]
+ nativeBuildInputs = [ pkgconfig cmake python2Env wrapGAppsHook ]
++ (with perlPackages; [ perl XMLParser ]);
buildInputs = [
libXft libpng zlib popt boehmgc
libxml2 libxslt glib gtkmm2 glibmm libsigcxx lcms boost gettext
gsl poppler imagemagick libwpg librevenge
- libvisio libcdr libexif potrace hicolor-icon-theme
+ libvisio libcdr libexif potrace hicolor-icon-theme glib-networking
python2Env perlPackages.perl
]; |
I wonder whether it really is because TLS support is unavailable, or because openclipart.org uses an invalid security certificate? |
Good point. Hm, that's weird. I followed that URL (http://openclipart.org/media/feed/rss/car) a day or two ago (when I first noticed this) and was redirected to https:// without problems. But now I see the certificate warning in firefox. |
I think it may be a packaging bug after all. Look at this grep:
The message only appears in the glib tree, in the gdummytlsbackend.c file. No matches from glib-networking, which AFAIK, provides TLS support. |
I tried the patch and am getting
Probably because the site is down. |
https://openclipart.org/ is not down for me. |
GLib Gio’s GFile uses gvfs daemon for opening files over HTTP protocol. To support HTTPS, we need to include glib-networking. Closes: NixOS#52963
@jtojnar: Thank you! |
Issue description
Inkscape has support for openclipart but it doesn't work in the package provided by nixpkgs.
Steps to reproduce
Could not connect to the Open Clip Art
in the GUI andin the terminal.
Technical details
NixOS 18.09 and nixpkgs master.
The text was updated successfully, but these errors were encountered: