From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Compiling non-Elisp files in ELPA packages (was: Including some functions from dash.el in Emacs?) Date: Thu, 30 Oct 2014 11:48:01 -0400 Message-ID: References: <87wq7j72wz.fsf@gmail.com> <87bnot1v3g.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414777541 20768 80.91.229.3 (31 Oct 2014 17:45:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 17:45:41 +0000 (UTC) Cc: Nicolas Petton , Emacs development discussions To: raman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 18:45:34 2014 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 1XkGGT-0003iq-Fs for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 18:45:33 +0100 Original-Received: from localhost ([::1]:40137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkGGT-0007E8-5Z for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 13:45:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkEK1-0000lH-Io for emacs-devel@gnu.org; Fri, 31 Oct 2014 11:42:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjrxC-00080T-LT for emacs-devel@gnu.org; Thu, 30 Oct 2014 11:48:10 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:34165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjrxC-00080M-HJ for emacs-devel@gnu.org; Thu, 30 Oct 2014 11:48:02 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s9UFlxlv022600; Thu, 30 Oct 2014 11:47:59 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A1CEE660F3; Thu, 30 Oct 2014 11:48:01 -0400 (EDT) In-Reply-To: <87bnot1v3g.fsf@gmail.com> (raman@google.com's message of "Thu, 30 Oct 2014 07:38:11 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5110=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5110> : inlines <1460> : streams <1330512> : uri <1830460> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:176103 Archived-At: > Sadly Not Yet at least, since elpa doesn't make it easy for me (or at > least I dont know how) to bundle the speech server which might need > compilation (not elisp) ELPA currently doesn't support such things, indeed, and since this is something that's needed by several "potential packages", it would be good to fix this and provide support for it. So I encourage you to try and see what would be needed and help us improve package.el in that direction. This said, in the mean time, you might get things to work by adding in the main Elisp file of your package something along the lines of: (eval-when-compile (call-process "make")) -- Stefan