Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751393AbdGQVzc (ORCPT ); Mon, 17 Jul 2017 17:55:32 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:54579 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751318AbdGQVza (ORCPT ); Mon, 17 Jul 2017 17:55:30 -0400 Date: Mon, 17 Jul 2017 18:55:20 -0300 From: Mauro Carvalho Chehab To: Jonathan Corbet Cc: Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/6] Better document Sphinx install instructions Message-ID: <20170717185520.39e640f7@vento.lan> In-Reply-To: <20170717152633.5cdeff38@lwn.net> References: <20170717134051.53c14205@lwn.net> <20170717182305.4dfacc21@vento.lan> <20170717152633.5cdeff38@lwn.net> Organization: Samsung X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2169 Lines: 56 Em Mon, 17 Jul 2017 15:26:33 -0600 Jonathan Corbet escreveu: > On Mon, 17 Jul 2017 18:23:05 -0300 > Mauro Carvalho Chehab wrote: > > > Btw, I'm submitting in a few a second version of the patches with > > add a script to check Sphinx dependencies. > > I figured I wasn't going to look at that until you get up to v42 or so - > maybe another day or two...? :) Just sent ;) There are two patches that I didn't send via e-mail: https://git.linuxtv.org/mchehab/experimental.git/commit/?h=sphinx_install_v2&id=4bd9e1ea9ddabce144ee4c84549449563f0b8416 https://git.linuxtv.org/mchehab/experimental.git/commit/?h=sphinx_install_v2&id=6b9596e432709f7a7def85873c8ccbb837fdf4a2 The problem is that SVG files often have lines bigger than 998 chars, with is the limit that e-mails usually accept (and VGER enforces). We need some sort of script to break long lines. I remember that I wrote one once, but need to seek for it, as it is not at the usual places. Those two patches are required for PDF build to work without errors on Ubuntu 17.04. The problem there is that ImageMagick is a way more pedantic there than on other distros, and don't support several atributes that inkscape add. I had to use some tools to filter out those arguments (svgo, scour) and even manually replace font-family there, for it to properly recognize the SVG contents. What's funny is that ImageMagick version on Ubuntu is newer than the one in Fedora 26: ubuntu17.04$ dpkg -l imagemagick Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=======================-================-================-==================================================== ii imagemagick 8:6.9.7.4+dfsg-3 amd64 image manipulation programs -- binaries fedora25$ rpm -q ImageMagick ImageMagick-6.9.3.0-6.fc25.x86_64 fedora26$ rpm -q ImageMagick ImageMagick-6.9.3.0-6.fc26.x86_64 Perhaps some regression? Thanks, Mauro