From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: patch org-mode Makefile - solve a couple debian build problems and a slackware build problem Date: Fri, 08 Jul 2011 16:04:10 +0530 Message-ID: <81aacpm57h.fsf@gmail.com> References: <8739ii885d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf8O8-0000NI-JB for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 06:34:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf8O6-0003Z6-6g for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 06:34:23 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:64977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf8O5-0003Yg-8n for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 06:34:21 -0400 Received: by pvc12 with SMTP id 12so1303125pvc.0 for ; Fri, 08 Jul 2011 03:34:19 -0700 (PDT) In-Reply-To: (Jude DaShiell's message of "Fri, 8 Jul 2011 03:33:33 -0400 (EDT)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jude DaShiell Cc: Bastien , emacs-orgmode@gnu.org Jude DaShiell writes: > No I can't provide any patch that works with all distros. I don't have > all distros available to me; not all Linux distros are accessible for > screen reader users either. I use screen reading software just to use a > computer and I don't have all distros even under the category of distros > that are accessible yet. I think there are build services that can simulate different architectures and (maybe) distros. I wonder whether SuSE's build farm could help you out here. https://build.opensuse.org/ I am sure there are hosted services out there particularly to cater to this need. You only need to talk to some folks who do packaging and they will be able to point you to or lend some machine in the cloud that you can use for deployment. Why bother about Makefile etc for installing. Just use Emacs package-manager for installing. M-x list-packages. You need Emacs-24.? though. I am sure you can take your initiative a step further and send a feeler to folks in the distros mailing list. > > To use org-mode default uncomment /usr/local as prefix for all systems > that put emacs stuff or some emacs stuff under /usr/local. For > Slackware and Debian though, /usr/local isn't in the load-paths. The > install-info part of the patch was using debian's install-info program > all along and that was apparently depricated in favor of ginstall-info. > That change will effect other distros into the future as they update > their packages. The org-mode default would be to uncomment install-info > choice but debian squeeze needs ginstall-info uncommented. There's > another reason I can't provide better patches. The Makefile structure > itself. I wrote code earlier which tested if [ -r /etc/debian_version > ]; then and took action if that was true but putting it into the > variables section of the Make file and running make caused make to freak > out on me with the complaint that commands were in the variables > section. Apparently Makefile structure and COBOL share some > similarities and not the good ones. > > On Thu, 7 Jul 2011, Bastien wrote: > >> Hi Jude, >> >> I infer this patch will break most non-debian/slackware configs. >> Could you provide a patch that works for *every* distro, including >> debian and slackware? >> >> Thanks! >> >> Jude DaShiell writes: >> >> > diff -c a//Makefile b//Makefile >> > *** a//Makefile 2011-07-05 21:05:08.000000000 -0400 >> > --- b//Makefile 2011-07-05 21:05:21.000000000 -0400 >> >> > > > > --