From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.emacs.devel Subject: Re: an xwidget-emacs rpm Date: Thu, 07 May 2015 09:28:08 +0200 Message-ID: <87wq0kvoc7.fsf@mango.localdomain> References: <554B00A4.6080300@online.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1430983722 4410 80.91.229.3 (7 May 2015 07:28:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 07:28:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 07 09:28:35 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YqGEU-00013w-NB for ged-emacs-devel@m.gmane.org; Thu, 07 May 2015 09:28:35 +0200 Original-Received: from localhost ([::1]:48888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqGET-0002D1-Vr for ged-emacs-devel@m.gmane.org; Thu, 07 May 2015 03:28:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqGEG-0002Cv-MJ for emacs-devel@gnu.org; Thu, 07 May 2015 03:28:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqGEB-00019R-Lw for emacs-devel@gnu.org; Thu, 07 May 2015 03:28:20 -0400 Original-Received: from sender1.zohomail.com ([74.201.84.162]:28981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqGEB-00019A-DU for emacs-devel@gnu.org; Thu, 07 May 2015 03:28:15 -0400 Original-Received: from localhost (x4d023628.dyn.telefonica.de [77.2.54.40]) by mx.zohomail.com with SMTPS id 1430983692094216.17518981567036; Thu, 7 May 2015 00:28:12 -0700 (PDT) In-reply-to: <554B00A4.6080300@online.de> X-Zoho-Virus-Status: 1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 74.201.84.162 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186312 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Andreas Röhler writes: > being slightly bewildered by the rpm-format. As used to either doing > make or rmp... > BTW is there a way to compile it from source? Attached is a recipe for GNU Guix to compile Emacs from source. (It inherits from the Emacs package definition in Guix.) You can just drop this file somewhere (for example in ~/my-packages) and then run GUIX_PACKAGE_PATH=~/my-packages/ guix build emacs-xwidget It will fetch commit 0cfb6600a837f67997aef027f0183aca9df05df9 from the git repository on savannah, run autogen.sh and build Emacs with the xwidget feature. ~~ Ricardo --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=emacs-xwidget.scm (define-module (emacs-xwidget) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages emacs) #:use-module (gnu packages autotools) #:use-module (guix utils) #:use-module (srfi srfi-1)) (define-public emacs-xwidget (let ((commit "0cfb6600a837f67997aef027f0183aca9df05df9")) (package (inherit emacs) (name "emacs-xwidget") (source (origin (method git-fetch) (uri (git-reference (url "http://git.savannah.gnu.org/r/emacs.git") (commit commit))) (sha256 (base32 "1b6gacwg16836g3hy5mqlpg1fxx8idvss0xhlwvskj6rf0lxyqji")) (file-name (string-append name "-checkout-" commit)) (patches (list (search-patch "emacs-exec-path.patch"))))) (synopsis "The extensible, customizable, self-documenting text editor (with xwidget support)" ) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ,@(package-native-inputs emacs))) (arguments (substitute-keyword-arguments (package-arguments emacs) ((#:configure-flags flags) `(append '("--with-xwidgets" "--with-x-toolkit=gtk3") ,flags)) ((#:phases phases) `(modify-phases ,phases (add-before 'configure 'autogen (lambda _ (zero? (system* "bash" "autogen.sh"))))))))))) --=-=-=--