From patchwork Mon May 23 22:19:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roel Janssen X-Patchwork-Id: 12485 Received: (qmail 56469 invoked by uid 89); 23 May 2016 22:19:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=1391 X-Spam-Status: No, score=-3.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 23 May 2016 22:19:47 +0000 Received: from localhost ([::1]:50686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4yCO-0005DW-K3 for patchwork@sourceware.org; Mon, 23 May 2016 18:19:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4yCG-0005Aw-8k for guix-devel@gnu.org; Mon, 23 May 2016 18:19:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4yCB-0002RU-2O for guix-devel@gnu.org; Mon, 23 May 2016 18:19:35 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4yC3-0002LK-Im; Mon, 23 May 2016 18:19:23 -0400 Received: from 5469160b.cm-12-2a.dynamic.ziggo.nl ([84.105.22.11]:51388 helo=roel-tp) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1b4yC1-00027G-Gl; Mon, 23 May 2016 18:19:22 -0400 References: <87posdzltg.fsf@gnu.org> <878tz0mpdd.fsf@gnu.org> User-agent: mu4e 0.9.17; emacs 25.1.50.1 From: Roel Janssen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [PATCH] gnu: Add texmaker. In-reply-to: <878tz0mpdd.fsf@gnu.org> Date: Tue, 24 May 2016 00:19:23 +0200 Message-ID: <874m9owh78.fsf@gnu.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix-devel Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" Ludovic Courtès writes: > Hi! > > Roel Janssen skribis: > >> For the lack of a better place, I created a new file for texmaker. >> Maybe we should consider moving all LaTeX-related stuff into latex.scm. >> >> Here's a patch for Texmaker -- a decent LaTeX editor for the non-Emacs >> users ;-). > > Maybe we could rename texlive.scm to tex.scm and stuff everything in > there (that would be TeXLive + Rubber + TeXmaker.) Thoughts? Great idea. I attached two patches to make this change. I'm not sure if my commit message is OK this way. Could you change it when it is not entirely perfect? Thanks! Kind regards, Roel Janssen From f54915ab4ab70133adced8fd71649918e38ba659 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Tue, 24 May 2016 00:16:05 +0200 Subject: [PATCH 2/2] gnu: Add texmaker. * gnu/packages/tex.scm (texmaker): New variable. --- gnu/packages/tex.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index e11e5d4..c1ab8b3 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -389,3 +389,40 @@ to manage bibliographic references. Automatic execution of dvips to produce PostScript documents is also included, as well as usage of pdfLaTeX to produce PDF documents.") (license license:gpl2+))) + +(define-public texmaker + (package + (name "texmaker") + (version "4.5") + (source (origin + (method url-fetch) + (uri (string-append "http://www.xm1math.net/texmaker/texmaker-" + version ".tar.bz2")) + (sha256 + (base32 + "056njk6j8wma23mlp7xa3rgfaxx0q8ynwx8wkmj7iy0b85p9ds9c")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Qt has its own configuration utility. + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (zero? (system* "qmake" + (string-append "PREFIX=" out) + (string-append "DESKTOPDIR=" out + "/share/applications") + (string-append "ICONDIR=" out "/share/pixmaps") + "texmaker.pro")))))))) + (inputs + `(("poppler-qt5" ,poppler-qt5) + ("qt" ,qt) + ("zlib" ,zlib))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://www.xm1math.net/texmaker/") + (synopsis "LaTeX editor") + (description "Texmaker is a program that integrates many tools needed to +develop documents with LaTeX, in a single application.") + (license license:gpl2+))) -- 2.7.4