From patchwork Wed Oct 24 14:47:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 22 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 18220165AB; Wed, 24 Oct 2018 16:05:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 02CC416449 for ; Wed, 24 Oct 2018 16:05:24 +0100 (BST) Received: from localhost ([::1]:48960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFKip-0003K0-AA for patchwork@mira.cbaines.net; Wed, 24 Oct 2018 11:05:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFKhe-0002ew-09 for guix-patches@gnu.org; Wed, 24 Oct 2018 11:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFKhZ-0001gk-Dn for guix-patches@gnu.org; Wed, 24 Oct 2018 11:04:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFKhV-0001fo-TE for guix-patches@gnu.org; Wed, 24 Oct 2018 11:04:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFKhV-0003l1-Nt for guix-patches@gnu.org; Wed, 24 Oct 2018 11:04:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33138] [PATCH] gnu: Add pdfpc. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Oct 2018 15:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33138 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33138@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154039341414396 (code B ref -1); Wed, 24 Oct 2018 15:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Oct 2018 15:03:34 +0000 Received: from localhost ([127.0.0.1]:40388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFKgx-0003jz-EO for submit@debbugs.gnu.org; Wed, 24 Oct 2018 11:03:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFKgr-0003jc-TQ for submit@debbugs.gnu.org; Wed, 24 Oct 2018 11:03:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFKgg-0001EI-Gl for submit@debbugs.gnu.org; Wed, 24 Oct 2018 11:03:16 -0400 Received: from lists.gnu.org ([2001:4830:134:3::11]:55306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gFKge-0001DU-2N for submit@debbugs.gnu.org; Wed, 24 Oct 2018 11:03:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFKgc-00026a-QJ for guix-patches@gnu.org; Wed, 24 Oct 2018 11:03:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFKgY-00018y-C9 for guix-patches@gnu.org; Wed, 24 Oct 2018 11:03:06 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gFKgX-00017n-L7 for guix-patches@gnu.org; Wed, 24 Oct 2018 11:03:02 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1540392462; cv=none; d=zoho.com; s=zohoarc; b=I6WW0yiaRDj1vUpTpijdLExK2DKE7krsuzXlgGxpX3osiwG5vCMMQDfVlvYDICT2y63FIuaBvSh+pABjlQ43kVHWImxh8OzZ5rU6o6qraFqSojJei8ykVDt/ZzAYGLuwk/K6D++EzM/9D7srjW6BTO1lm6RJMj0w69v65u2/73I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1540392462; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=ZcwyAJIKaDQvTVmR/7m68nyWnFY98rlV+SdAX1xisEg=; b=JRgGwhWi8e4AX4GseF2FHswlbDoclwjcWbGdvZ6M2l/jDGDIBQqTH01zBgN9G6CRBjKFb70rE3ocLc8IgRh909P6azUZbOX5QfC3qg/fXAJBiLnENEa/H+JRJjPl8IM+prEzwKnN8isvbG30MRq/6qTiAYboa0ANePuU95CT0pA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1540392462; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Message-ID:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2999; bh=ZcwyAJIKaDQvTVmR/7m68nyWnFY98rlV+SdAX1xisEg=; b=LhNG+DqruyW/LvhO5qY5UrjJVXKfpqBCYkJQ7uxrfFaudZJtVhkqDIYccmFpcOa5 VqzuUdlVg4NmBWrTUHBJihpqnGKFCBH20zZ9dMiAQkRLLYmPq9gnwYph3ztJVVh0Clh ZFukBPSbBHT6Vmrcci057tCQq5kmGm4SEorYAgEU= Received: from localhost (116.6.225.9 [116.6.225.9]) by mx.zohomail.com with SMTPS id 1540392460067473.72117280004863; Wed, 24 Oct 2018 07:47:40 -0700 (PDT) From: Ricardo Wurmus Message-ID: <20181024144733.8946-1-rekado@elephly.net> Date: Wed, 24 Oct 2018 16:47:33 +0200 X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Wurmus Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/pdf.scm (pdfpc): New variable. --- gnu/packages/pdf.scm | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 57a5e1c0e..e71f814b8 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2015, 2016 Andreas Enge ;;; Copyright © 2014 Mark H Weaver -;;; Copyright © 2014, 2015, 2016 Ricardo Wurmus +;;; Copyright © 2014, 2015, 2016, 2018 Ricardo Wurmus ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 Nils Gillmann @@ -34,6 +34,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) @@ -58,6 +59,7 @@ #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) + #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) @@ -1008,3 +1010,41 @@ Support some GNU grep options as file name output, page number output, optional case insensitivity, count occurrences, color highlights and search in multiple files.") (license license:gpl2+))) + +(define-public pdfpc + (package + (name "pdfpc") + (version "4.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pdfpc/pdfpc.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rmsrpf5vlqhnyyrhq8apndny88ld2qvfjx6258653pqbimv7mx5")))) + (build-system cmake-build-system) + (arguments '(#:tests? #f)) ; no test target + (inputs + `(("cairo" ,cairo) + ("gtk+" ,gtk+) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base) + ("libgee" ,libgee) + ("poppler" ,poppler) + ("pango" ,pango) + ("vala" ,vala))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://pdfpc.github.io/") + (synopsis "Presenter console with multi-monitor support for PDF files") + (description + "pdfpc is a presentation viewer application which uses multi-monitor +output to provide meta information to the speaker during the presentation. It +is able to show a normal presentation window on one screen, while showing a +more sophisticated overview on the other one providing information like a +picture of the next slide, as well as the left over time till the end of the +presentation. The input files processed by pdfpc are PDF documents.") + (license license:gpl2+)))