From unknown Sat Jun 21 03:29:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39674 <39674@debbugs.gnu.org> To: bug#39674 <39674@debbugs.gnu.org> Subject: Status: [PATCH] enable PostScript backend in Evince Reply-To: bug#39674 <39674@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:29:09 +0000 retitle 39674 [PATCH] enable PostScript backend in Evince reassign 39674 guix-patches submitter 39674 raingloom severity 39674 normal tag 39674 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 19 07:08:15 2020 Received: (at submit) by debbugs.gnu.org; 19 Feb 2020 12:08:15 +0000 Received: from localhost ([127.0.0.1]:41724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4O9G-0003U7-SX for submit@debbugs.gnu.org; Wed, 19 Feb 2020 07:08:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:42481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4O9F-0003U0-DH for submit@debbugs.gnu.org; Wed, 19 Feb 2020 07:08:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51282) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4O9E-0008Vz-7P for guix-patches@gnu.org; Wed, 19 Feb 2020 07:08:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4O9D-00051R-2b for guix-patches@gnu.org; Wed, 19 Feb 2020 07:08:12 -0500 Received: from mx1.riseup.net ([198.252.153.129]:58742) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4O9C-000513-PW for guix-patches@gnu.org; Wed, 19 Feb 2020 07:08:11 -0500 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 48MxLx5qjDzF0RQ for ; Wed, 19 Feb 2020 04:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1582114089; bh=OtCLajwMGc25D1TsKKxtOG1rNNsx5owAY0HQvAIgQLA=; h=Date:From:Subject:To:From; b=KJqAzHn2HxNHA59t0rEILGK63CQQg7zFIISg3Msid2akT34W0P4VG7J1LR2sYZlrC 3LbvVL7aQyxtp1AgAYGz/pZL5cllM7/w/30KcC4SWHLjEGPBmvulsdXu1x4xrVKG2n Exnl/3SNPdCG2iwqOaRQZwWNe8LLENujBnRa50kQ= X-Riseup-User-ID: F2A796878FABE1A23F896073DA3DE922E5721FBD93FD186501761F2EB89C55F5 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 48MxLw57xzz8sts for ; Wed, 19 Feb 2020 04:08:08 -0800 (PST) Date: Wed, 19 Feb 2020 13:08:03 +0100 From: raingloom Subject: [PATCH] enable PostScript backend in Evince To: guix-patches@gnu.org Message-Id: <1582114083.2225.0@riseup.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-bXZCVCW53J3+BdOsLWsv" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 198.252.153.129 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-bXZCVCW53J3+BdOsLWsv Content-Type: text/plain; charset=us-ascii; format=flowed Some of my teacheres distribute notes in .ps files, so I kinda need this, and I think others will find it helpful as well. AFAIK other distros enable it too. Much easier than converting PostScript files to PDF. --=-bXZCVCW53J3+BdOsLWsv Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-evince-enable-ps.patch Content-Transfer-Encoding: quoted-printable >From c767aa2d6a3d779d90e8185e313892eb2212dd37 Mon Sep 17 00:00:00 2001 From: raingloom Date: Wed, 19 Feb 2020 12:47:42 +0100 Subject: [PATCH] gnu: evince: --enable-ps --- gnu/packages/gnome.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3c63ab283d..5fae5d11ad 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1502,7 +1502,8 @@ forgotten when the session ends.") "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w")))) (build-system glib-or-gtk-build-system) (arguments - `(#:configure-flags '("--disable-nautilus" "--enable-introspection") + `(#:configure-flags '("--disable-nautilus" "--enable-introspection" + "--enable-ps") #:phases (modify-phases %standard-phases (add-before 'install 'skip-gtk-update-icon-cache --=20 2.25.0 = --=-bXZCVCW53J3+BdOsLWsv-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 19 07:27:58 2020 Received: (at 39674) by debbugs.gnu.org; 19 Feb 2020 12:27:58 +0000 Received: from localhost ([127.0.0.1]:41740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4OSI-0003zW-TG for submit@debbugs.gnu.org; Wed, 19 Feb 2020 07:27:58 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4OSF-0003zH-0k for 39674@debbugs.gnu.org; Wed, 19 Feb 2020 07:27:52 -0500 Received: by mail-wr1-f68.google.com with SMTP id w12so331168wrt.2 for <39674@debbugs.gnu.org>; Wed, 19 Feb 2020 04:27:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=zCodCHInd8DkroWzACHo/ecKkkxDmGfYRWh4hc4miBU=; b=AD1R6Ads6udQduLp/kcA3OXKhxhCaZpgcasSdVHP59W+crtVFurwJX6Z3UduCAs3CJ loyev+QSfn2H8mAC5yA2ZbDg12WhXWezcxYhdUxIUuucCdGXXhR8eXjxUzIggx28djyZ N2/ERjpxWEXCCFvOYKcEsv6WKdKWpxEAXRZ+uSobMM5TgZ0MLY9lsCW2ZC5sa/To4ie/ DLmcy+xG4DYxDs1W68/WQKqnXKHwX1bWUBl+es8VQQo/xAJk1enUoSqKIoOUkQI6mIXm Of2h4d6gbzOdnIknA9ADwUG/BaCu8QrRqegFdXGttDH7/xWhzJsVGQaSkLiLJvsOMSuS ws2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=zCodCHInd8DkroWzACHo/ecKkkxDmGfYRWh4hc4miBU=; b=jlYS0OviFxfwHRSPa0rvLyk54S2ITQjgjJrP12xFn/r0N3z+NtcMWL+ze2sUpKNQHE D299L9xUMW1izpIwGti+1WleuFYM3KGGeyey4tsYgi3c1gU+nJLPzP4QXougOZmw6wPm otPl5sGSPeiv8kGsd9Qog/Zb22J01WNeFCAKWP9xXRJPeGt4nskP/XaZJ8t0lQhmclw+ XLrw+gm7iLwiYqsGbAn5Jwg60wvFyKMrNZy2GutPP+/GHs3guIewhwwQTYIbAfsMwCaR s+fjUz7xCOmQApno35jnxa6d+ntY+t3Kmv7l4Kndr6J8v/+oHdqD0bcF2HJAKOuc7b7J vnOA== X-Gm-Message-State: APjAAAXbnSxkZ7WqxqsSlQGZEGQzUOgJiYuW8C83jPebziAVmHHbMWiB HL7R8Db9AhgogtULzuTlTcFpYd47 X-Google-Smtp-Source: APXvYqzK+a2/USlCV+NmyUhnC1TouIsfEHR2fQrE5soPZGzhKZwnkEnFC6wQoiQZiOIGV38iKHOzvw== X-Received: by 2002:a5d:62d0:: with SMTP id o16mr35625475wrv.197.1582115264661; Wed, 19 Feb 2020 04:27:44 -0800 (PST) Received: from guixSD ([95.232.154.110]) by smtp.gmail.com with ESMTPSA id b16sm2682888wmj.39.2020.02.19.04.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2020 04:27:43 -0800 (PST) From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti To: raingloom , 39674@debbugs.gnu.org Subject: Re: [bug#39674] [PATCH] enable PostScript backend in Evince In-Reply-To: <1582114083.2225.0@riseup.net> References: <1582114083.2225.0@riseup.net> Date: Wed, 19 Feb 2020 13:27:42 +0100 Message-ID: <87o8tubw3l.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39674 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks! I was wondering why it could not open .eps files! I tested the patch, applies, build and now I can open them. guix size reports +3% (1009.6 -> 1038.0). +1 for merging raingloom writes: > Some of my teacheres distribute notes in .ps files, so I kinda need > this, and I think others will find it helpful as well. > > AFAIK other distros enable it too. > > Much easier than converting PostScript files to PDF. > > From c767aa2d6a3d779d90e8185e313892eb2212dd37 Mon Sep 17 00:00:00 2001 > From: raingloom > Date: Wed, 19 Feb 2020 12:47:42 +0100 > Subject: [PATCH] gnu: evince: --enable-ps > > --- > gnu/packages/gnome.scm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index 3c63ab283d..5fae5d11ad 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -1502,7 +1502,8 @@ forgotten when the session ends.") > "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w")))) > (build-system glib-or-gtk-build-system) > (arguments > - `(#:configure-flags '("--disable-nautilus" "--enable-introspection") > + `(#:configure-flags '("--disable-nautilus" "--enable-introspection" > + "--enable-ps") > #:phases > (modify-phases %standard-phases > (add-before 'install 'skip-gtk-update-icon-cache > -- > 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 02:05:53 2020 Received: (at 39674) by debbugs.gnu.org; 20 Feb 2020 07:05:53 +0000 Received: from localhost ([127.0.0.1]:43768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4fuD-0001Sm-Ez for submit@debbugs.gnu.org; Thu, 20 Feb 2020 02:05:53 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4fuB-0001SX-6N for 39674@debbugs.gnu.org; Thu, 20 Feb 2020 02:05:51 -0500 Received: by mail-wm1-f67.google.com with SMTP id p17so799536wma.1 for <39674@debbugs.gnu.org>; Wed, 19 Feb 2020 23:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=5sc21UwECk64MjTNwnv2EG1DSqEArF9a84KCyUZ4BVg=; b=ovfvbhkezAFvxstCjRpjsL1tmpxglf9kjFzimjf34i5xVUDAdfXu5kOLOvVsRBrkU7 MUvrVc2IOljN4CsoVLoa6GvvF30X6eJnHOjjkjdNZ0fdBO0AODbsCZT/muAIhGrGg8UL S9uTp/ypWL8brNZ8AHeKNDY6RVhfnyDls/+uP7qn3AIr5PR8MNHsPIw2u8MvKhwYkuuD TtyVCTzvayHKfI5CwwrgHXRJcah+jJuH19o7CHVwzZlwZhJTcButMRtfs0bk22vY+U32 O2oGTK1Bu5qZ2Tw1dBIcdilFJARGpSPDjsQBBfiAlqBNcVe/XUYBIL7dbz66s9NS+C3T HiLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=5sc21UwECk64MjTNwnv2EG1DSqEArF9a84KCyUZ4BVg=; b=t4PNRVk+xmmmDFsSgjDf0DFfe6KQ+ADNq48RuPSUQ92y6FWmgWkCKUPmpfswv3bNMP voIEWXHqi4tOsCcrGQRLk7H8EKj4S8+zVE/UzwpSPj92OuHYsUldEXLmtTaNPzJusplJ lAJMh+3DTG8jnKewSum/J2cpDExQa36bKO6lX5uZXw9V78w2wl93Yhs/gLIlUAF1GafO bh6wdeGkLDzJeJIgwUmeojZSg4hWdJPyDLQ/tiqZeMGRsR/4zPJJfyoa5KtMQlh5jlb9 SIrNR918fjmPyYt6vvt4WwoZUxe5TfD0pRLzyWmEYjUfB14wGzIgsNkIJ08whHDoytNo 20ew== X-Gm-Message-State: APjAAAXOXe0vUkBnZjNBvhLvAw9OwaQNT+4SjvdvCPl3vxUOrQwAhm+y We3krUVR98cQ+FmCnGSkZCeCpHEf X-Google-Smtp-Source: APXvYqw/DN2VkK9BjBkoEIdHf+i6tM79W7VJHi97Dm9OhTM+DWlOZldXncIgozEJqfGfPDyLRqIb5g== X-Received: by 2002:a05:600c:204f:: with SMTP id p15mr2615536wmg.6.1582182344859; Wed, 19 Feb 2020 23:05:44 -0800 (PST) Received: from guixSD ([90.147.180.254]) by smtp.gmail.com with ESMTPSA id q3sm3123224wmj.38.2020.02.19.23.05.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2020 23:05:44 -0800 (PST) From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti To: raingloom , 39674@debbugs.gnu.org Subject: Re: [bug#39674] [PATCH] enable PostScript backend in Evince In-Reply-To: <87o8tubw3l.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> References: <1582114083.2225.0@riseup.net> <87o8tubw3l.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Date: Thu, 20 Feb 2020 08:05:42 +0100 Message-ID: <8736b591rt.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39674 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Should we enable DVI too? What are other distributions doing? Nicol=C3=B2 Balzarotti writes: > Thanks! > > I was wondering why it could not open .eps files! I tested the patch, > applies, build and now I can open them. guix size reports +3% > (1009.6 -> 1038.0). > > +1 for merging > > raingloom writes: > >> Some of my teacheres distribute notes in .ps files, so I kinda need=20 >> this, and I think others will find it helpful as well. >> >> AFAIK other distros enable it too. >> >> Much easier than converting PostScript files to PDF. >> >> From c767aa2d6a3d779d90e8185e313892eb2212dd37 Mon Sep 17 00:00:00 2001 >> From: raingloom >> Date: Wed, 19 Feb 2020 12:47:42 +0100 >> Subject: [PATCH] gnu: evince: --enable-ps >> >> --- >> gnu/packages/gnome.scm | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm >> index 3c63ab283d..5fae5d11ad 100644 >> --- a/gnu/packages/gnome.scm >> +++ b/gnu/packages/gnome.scm >> @@ -1502,7 +1502,8 @@ forgotten when the session ends.") >> "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))= )) >> (build-system glib-or-gtk-build-system) >> (arguments >> - `(#:configure-flags '("--disable-nautilus" "--enable-introspection= ") >> + `(#:configure-flags '("--disable-nautilus" "--enable-introspection" >> + "--enable-ps") >> #:phases >> (modify-phases %standard-phases >> (add-before 'install 'skip-gtk-update-icon-cache >> --=20 >> 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 18:24:43 2020 Received: (at 39674) by debbugs.gnu.org; 22 Feb 2020 23:24:43 +0000 Received: from localhost ([127.0.0.1]:50210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5e8Z-0006XS-8D for submit@debbugs.gnu.org; Sat, 22 Feb 2020 18:24:43 -0500 Received: from mx1.riseup.net ([198.252.153.129]:34226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5e8Y-0006XL-CC for 39674@debbugs.gnu.org; Sat, 22 Feb 2020 18:24:42 -0500 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 48Q4D95bm7zF0l9 for <39674@debbugs.gnu.org>; Sat, 22 Feb 2020 15:24:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1582413881; bh=VoiApGmj5MGDnqk4GIlz0l5WwIDUnZ8+nth4tDBJTO4=; h=Date:From:Subject:To:In-Reply-To:References:From; b=CkQa/T7AubbyMBYW513WLkjQ0OsXjsuAXCmEOV6bz1uCaP+2HxfImWIzy9L75X6pB DeTQTe/POH8snHs5vIfw6QW+ca5xfLJ41P2olMHP832aYj7LvschYRvpg03jWUZn6N /hTcl2VH2+99XD8AW2Zjw2Poo03lJvsZ7YhE6Yhs= X-Riseup-User-ID: 29CA67391BD4380A19C5AAEE033813D0BE24FC3F93FD2B51C7371D4869390270 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 48Q4D90mx9z8tqF for <39674@debbugs.gnu.org>; Sat, 22 Feb 2020 15:24:40 -0800 (PST) Date: Sun, 23 Feb 2020 00:24:37 +0100 From: raingloom Subject: Re: [bug#39674] [PATCH] enable PostScript backend in Evince To: 39674@debbugs.gnu.org Message-Id: <1582413877.30358.1@riseup.net> In-Reply-To: <8736b591rt.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> References: <1582114083.2225.0@riseup.net> <87o8tubw3l.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <8736b591rt.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39674 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Looks like it's an optional feature in Arch, provided by installing the=20 texlive optional dependency. Isn't that enough on Guix as well? I have no DVI files on hand to test=20 it. https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=3Dpac= kages/evince&id=3Df1f028f091aa277ffac13388e01d2d0f2f396fab On Thu, Feb 20, 2020 at 08:05, Nicol=F2 Balzarotti=20 wrote: > Should we enable DVI too? What are other distributions doing? >=20 > Nicol=F2 Balzarotti writes: >=20 >> Thanks! >>=20 >> I was wondering why it could not open .eps files! I tested the=20 >> patch, >> applies, build and now I can open them. guix size reports +3% >> (1009.6 -> 1038.0). >>=20 >> +1 for merging >>=20 >> raingloom writes: >>=20 >>> Some of my teacheres distribute notes in .ps files, so I kinda need >>> this, and I think others will find it helpful as well. >>>=20 >>> AFAIK other distros enable it too. >>>=20 >>> Much easier than converting PostScript files to PDF. >>>=20 >>> From c767aa2d6a3d779d90e8185e313892eb2212dd37 Mon Sep 17 00:00:00=20 >>> 2001 >>> From: raingloom >>> Date: Wed, 19 Feb 2020 12:47:42 +0100 >>> Subject: [PATCH] gnu: evince: --enable-ps >>>=20 >>> --- >>> gnu/packages/gnome.scm | 3 ++- >>> 1 file changed, 2 insertions(+), 1 deletion(-) >>>=20 >>> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm >>> index 3c63ab283d..5fae5d11ad 100644 >>> --- a/gnu/packages/gnome.scm >>> +++ b/gnu/packages/gnome.scm >>> @@ -1502,7 +1502,8 @@ forgotten when the session ends.") >>> =20 >>> "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w")))) >>> (build-system glib-or-gtk-build-system) >>> (arguments >>> - `(#:configure-flags '("--disable-nautilus"=20 >>> "--enable-introspection") >>> + `(#:configure-flags '("--disable-nautilus"=20 >>> "--enable-introspection" >>> + "--enable-ps") >>> #:phases >>> (modify-phases %standard-phases >>> (add-before 'install 'skip-gtk-update-icon-cache >>> -- >>> 2.25.0 = From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 18 06:02:39 2020 Received: (at 39674) by debbugs.gnu.org; 18 Mar 2020 10:02:39 +0000 Received: from localhost ([127.0.0.1]:39833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEVX5-0007fI-2f for submit@debbugs.gnu.org; Wed, 18 Mar 2020 06:02:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEVX3-0007f5-Qf for 39674@debbugs.gnu.org; Wed, 18 Mar 2020 06:02:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jEVWy-0004k8-M3; Wed, 18 Mar 2020 06:02:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58860 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jEVWy-0006zx-3N; Wed, 18 Mar 2020 06:02:32 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Nicol=C3=B2?= Balzarotti Subject: Re: [bug#39674] [PATCH] enable PostScript backend in Evince References: <1582114083.2225.0@riseup.net> <87o8tubw3l.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Date: Wed, 18 Mar 2020 11:02:30 +0100 In-Reply-To: <87o8tubw3l.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> (=?utf-8?Q?=22Nicol=C3=B2?= Balzarotti"'s message of "Wed, 19 Feb 2020 13:27:42 +0100") Message-ID: <87imj29e15.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39674 Cc: 39674@debbugs.gnu.org, raingloom , guix-security@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Nicol=C3=B2 & raingloom! (+ Cc: guix-security) Nicol=C3=B2 Balzarotti skribis: > Thanks! > > I was wondering why it could not open .eps files! I tested the patch, > applies, build and now I can open them. guix size reports +3% > (1009.6 -> 1038.0). > > +1 for merging I think PostScript support is often disabled by default because of security issues: PostScript is a very versatile language and Ghostscript has had a series of problems due to its inability to =E2=80=9Csandbox=E2=80= =9D PostScript code. A particularly important issue is thumbnail generation: you could find yourself running PostScript code without explicitly opening a file. FWIW, I resort to gv (or ps2pdf) when I need to open a PostScript that I deem trustworthy. Leo, Mark, WDYT? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 22 09:05:53 2022 Received: (at 39674) by debbugs.gnu.org; 22 Apr 2022 13:05:54 +0000 Received: from localhost ([127.0.0.1]:51969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsyv-0007q4-MR for submit@debbugs.gnu.org; Fri, 22 Apr 2022 09:05:53 -0400 Received: from knopi.disroot.org ([178.21.23.139]:55712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsyt-0007pv-Jw for 39674@debbugs.gnu.org; Fri, 22 Apr 2022 09:05:52 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EC727406A3 for <39674@debbugs.gnu.org>; Fri, 22 Apr 2022 15:05:49 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id Xa86vmAJbj8M for <39674@debbugs.gnu.org>; Fri, 22 Apr 2022 15:05:49 +0200 (CEST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1650632644; bh=5DwDpHh4vmsO3AMJ4pYVNXLuJpc+iVTVADF52UBTKpQ=; h=Date:To:From:Subject; b=hZPdS61wZ/JqTVl+d8+vmK91zt+ElH3kgHripodEI0eAlNP/OCZNhPw7g5szuhhHf h2yLvM5PLcmTwpynEefg9NQWNTCLEHhfjIVZmFoWvuJEy9b8RuPwHMi9FsGtOoqOcd XWjpko55W52TgyW8xIaVOfl/nY84bs+gbEg6/VqsWRNFtvfXb2Wqfb8NYWuQQoM6aU a4651KWJWstexFxmgDLDlPlhkLkU/WN2YqelR774Qik4X98kMzynklEbQfv6KWfwqR yc9I0IkFDjzhfPHuJcGv82/secDpBCxqZAhaTenmF/z0D0iiHQCdXrS/YZL1ZPIyAX I0Hasriz4sVUQ== Date: Fri, 22 Apr 2022 15:04:03 +0200 Mime-Version: 1.0 Content-Language: en-US To: 39674@debbugs.gnu.org From: calcium Subject: [PATCH] enable PostScript backend in Evince Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39674 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) +1 for merging, .ps files are common enough. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 22 10:19:34 2024 Received: (at 39674) by debbugs.gnu.org; 22 Oct 2024 14:19:34 +0000 Received: from localhost ([127.0.0.1]:56821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3FjS-0005q8-5a for submit@debbugs.gnu.org; Tue, 22 Oct 2024 10:19:34 -0400 Received: from mail-pj1-f43.google.com ([209.85.216.43]:44434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3FjO-0005ps-Lh for 39674@debbugs.gnu.org; Tue, 22 Oct 2024 10:19:33 -0400 Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2e2dcf4b153so4153335a91.1 for <39674@debbugs.gnu.org>; Tue, 22 Oct 2024 07:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729606677; x=1730211477; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1bVRptzm+QQNXNBC++W8VEHR4gCy8p+nlhT/WnwUkMk=; b=CYUl60LFCP04qyt0XGMRLd0DxjcYJMkrjX9W0qTF+ujP1037soawiEd9lAdWLtmt17 fNpZ1/wb/8xNz8SyA2ss5w2kNVfVc8QagXywP6Mcqztr7+HTv5SI+4TcRZByM1qSgd1+ U363sOPGqGC44Masr8m+Gj6Dv91qUeWEP1qmAwmcXUfPKt7CozjQcWzSP+4ZpFV0Rt6C jKWnKMq8aSMP1G0gWnaUYKNuJiCuWyV8whAqc23gVRDyKWYItukJPb20GHQ4sqrAXTP2 VAenH9XyIFg0bOK4zUqfGgsI2XrHXraMVUdk7DJIDG68o1f+vcDcVa9qDhAKFLZU5MM/ bXLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729606677; x=1730211477; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=1bVRptzm+QQNXNBC++W8VEHR4gCy8p+nlhT/WnwUkMk=; b=A2DWWQLIHwlDkNb2E/SiEnVCv/2oh+3CoIbXzao59u/GjrmxOVlllZlxDkFFo/PX+c QsoLZT/jcmOzI4/Lm0tryX9jjniFyTuis34khS1bSxeU02l/VU/SwPTWgIAJTXTcXOfi d7NCq1kwoVoSQcjtWZ2e7eeFMTHyxRUrtgPO8F7FQm8kvv1WbwoFuQsd8AZDAvvYuNeP udq+74YdqIqLr2nR8onh3YUR6TD8vbCApHqjizLJsA0rCyEvZpamOM8wEO1pYeXOHpCQ DwGmh/4k8QsF+vc5CR4q/vJOp4iivL7V8/dF4WVXnLFxPoCSPiBc3p7K7Q/8h9Og4Rmf Gu3g== X-Forwarded-Encrypted: i=1; AJvYcCURChT+hC3ppJMpZkAXLb9N2cY7XJ696nXYIpx5f0eF97SeYWbRJB2H8CaxFgWtSO1/ZnBNzA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwSw0I8hiEX7n26RmZCFXYsTwAl60uA/vQpUNj9gcVaQswekvM0 ZfYiICep5i4IjvZSbR3Dq3DoYbwRlp/sUAXnbT8seL4Lsp2yQUYZ X-Google-Smtp-Source: AGHT+IGzMkAE+moJpBZ3BPtnSpW9EMdQuyZoj/q4cRcVP9DbjFxGjroOgu9wzEGcvs/Crnjk3QXFwg== X-Received: by 2002:a17:90b:108:b0:2e1:d5c9:1bc4 with SMTP id 98e67ed59e1d1-2e5da552612mr3932924a91.7.1729606676941; Tue, 22 Oct 2024 07:17:56 -0700 (PDT) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e5ad25c33asm6272497a91.2.2024.10.22.07.17.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 07:17:56 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#39674] [PATCH] enable PostScript backend in Evince In-Reply-To: <87imj29e15.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 18 Mar 2020 11:02:30 +0100") References: <1582114083.2225.0@riseup.net> <87o8tubw3l.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87imj29e15.fsf@gnu.org> Date: Tue, 22 Oct 2024 23:17:50 +0900 Message-ID: <87o73c1asx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39674 Cc: guix-security@gnu.org, 39674@debbugs.gnu.org, raingloom , =?utf-8?Q?Nicol=C3=B2?= Balzarotti X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Ludovic Court=C3=A8s writes: > Hi Nicol=C3=B2 & raingloom! > > (+ Cc: guix-security) > > Nicol=C3=B2 Balzarotti skribis: > >> Thanks! >> >> I was wondering why it could not open .eps files! I tested the patch, >> applies, build and now I can open them. guix size reports +3% >> (1009.6 -> 1038.0). >> >> +1 for merging > > I think PostScript support is often disabled by default because of > security issues: PostScript is a very versatile language and Ghostscript > has had a series of problems due to its inability to =E2=80=9Csandbox=E2= =80=9D > PostScript code. > > A particularly important issue is thumbnail generation: you could find > yourself running PostScript code without explicitly opening a file. > > FWIW, I resort to gv (or ps2pdf) when I need to open a PostScript that I > deem trustworthy. My opinion is that we should enable it. It's advertised as a supported format [0]; if there was a serious security issue upstream would probably drop support for it, or at least hide it behind some configuration warning, and not advertize it. Debian, known for its security track record, also has it enabled [1]. [0] https://help.gnome.org/users/evince/stable/formats.html.en [1] https://salsa.debian.org/gnome-team/evince/-/blob/debian/latest/debian= /rules?ref_type=3Dheads#L15 --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 09:48:58 2025 Received: (at 39674-done) by debbugs.gnu.org; 20 Jan 2025 14:48:58 +0000 Received: from localhost ([127.0.0.1]:49611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tZt5G-0008DA-3V for submit@debbugs.gnu.org; Mon, 20 Jan 2025 09:48:58 -0500 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:46178) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tZt5D-0008Cq-Jz for 39674-done@debbugs.gnu.org; Mon, 20 Jan 2025 09:48:56 -0500 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-219f8263ae0so79449725ad.0 for <39674-done@debbugs.gnu.org>; Mon, 20 Jan 2025 06:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737384529; x=1737989329; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=DVGuIKcTAiL7Rn2dFOfU1E+XUzWQIrYqKp9UxETID40=; b=Uem5ir0lXYFdjgkIFdheqZdXyl46EdXCZ/53DBncO71g7pvOXsBjD14jOzbuKzsgoM pc/tS9BpNPeeVOCcgUQ6OEjJMb1sPPxQn6hLgC1wGLWDQyVfH0kkmJgq+uTy+ymIIISQ 1HVlJo7HST972Dy1YAisn7lzepmluGqja4pgOHUo6Qi4Z6uzeDkFr5N6wzmVbjWF6wSL xQ0BAEp4t6gMVHi2IFogys4HalYM2AuCpi3CpjvJ+/QHsr6x6q/BjJteT9aqFdBfDaBH ktzUnLjhkGy5r/FLpwdBKtGeTzZzhtdvQpvKmPYYDIfDB2/m98aKX/whSM5/6SYncqGH jsVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737384529; x=1737989329; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DVGuIKcTAiL7Rn2dFOfU1E+XUzWQIrYqKp9UxETID40=; b=GgVfyaz5sglWXpPZxY8NHNHFEK5c8Iuc9Szh8CZMDULUCwlStaLTGhOQ29bIOdS+KS W8EVRQDh9deF5VTKEkK1moPVDpRphL/F+JbmlYjr8/fhbjrA6Utig9V/7BEUFtvhoZja i6/fOoghWaS3RvEOOXdxTZzIF2G73O6V9WU2HUgJMJwSFld8EGeGSce52wMfJoWYoGgg 7/ug1qYB8zNZa3Bc67iuIGoauY7iTrmyAv+z41NadprV3p8ydf6OdlcJ/4caS2ujP+yn PmyKODk5VAN7nfkwKhKlXLpsV+ITFOwc5WWXykDj+cvvPMp+W2DcoCZ5tVJKPhSdEX6K rtWw== X-Gm-Message-State: AOJu0Yz9kwMu9X3AiC8rMSLWK+k7hjd0VNchqNGg7+qbA5u/jLUFIQBx MPKFKDj08tYS/V0ljo5smTegvkQ5crXpYwoRUwt9g7RDgBBeISGf X-Gm-Gg: ASbGncuDZNi1n+Jl4NOwhtXylfDwjgZQMPhoUR1mX9K7zWSiwCvaFmmb2EPRDbwZg9I mCJ/MJTtNv/bsRdI8K0IKQf4e5va/5vKdrrWLZ7s1SPlRRXZU4fuPzpBwPdFHZhuv4+9O6EWxq0 +7hBMfN7GgzJ7KjZH/2/yo/DwR/v3IhbAhpeRZr8nASZMfhTq2T8ubyqFIlgxNOVFk8738vEnWx wfBEGvsYWIDud9tg58ov2xjAK50ROKZ43rolq1haItcDz8pqz+MiCJ6cGovIRtr6eo= X-Google-Smtp-Source: AGHT+IHgoc0IRpXsNDHV/zo3LvJDpiX+8IAbZ2CfgBZIjerFqTjAZvONvjdHnjvNE4vlDEm/qV8iUg== X-Received: by 2002:a05:6a00:9082:b0:725:cfa3:bc6b with SMTP id d2e1a72fcca58-72daf931c0dmr21033645b3a.3.1737384529431; Mon, 20 Jan 2025 06:48:49 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72dab9c8e65sm7430813b3a.103.2025.01.20.06.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2025 06:48:48 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#39674] [PATCH] enable PostScript backend in Evince In-Reply-To: <87o73c1asx.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 22 Oct 2024 23:17:50 +0900") References: <1582114083.2225.0@riseup.net> <87o8tubw3l.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87imj29e15.fsf@gnu.org> <87o73c1asx.fsf@gmail.com> Date: Mon, 20 Jan 2025 23:48:37 +0900 Message-ID: <8734hdczi2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39674-done Cc: 39674-done@debbugs.gnu.org, raingloom , =?utf-8?Q?Nicol=C3=B2?= Balzarotti X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, [...] > My opinion is that we should enable it. It's advertised as a > supported format [0]; if there was a serious security issue upstream > would probably drop support for it, or at least hide it behind some > configuration warning, and not advertize it. > > Debian, known for its security track record, also has it enabled [1]. > > [0] https://help.gnome.org/users/evince/stable/formats.html.en > [1] https://salsa.debian.org/gnome-team/evince/-/blob/debian/latest/debian/rules?ref_type=heads#L15 I've pushed 0a26cd43f9, which enables it. Closing, at last! -- Thanks, Maxim From unknown Sat Jun 21 03:29:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 18 Feb 2025 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator