mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] installer depuis les sources


Chronological Thread 
  • From: Massimiliano Gubinelli <address@hidden>
  • To: Vincent Douce <address@hidden>
  • Cc: texmacs-users <address@hidden>
  • Subject: Re: [TeXmacs] installer depuis les sources
  • Date: Sat, 23 Nov 2013 15:02:39 +0100

Vincent,

on the Mac I would tend to prefer a different procedure since I do not like
to install libraries on my system. So I prepared a series of scripts which
automatically download, build and install locally the libraries and another
script that configure texmacs to build with these local libraries. At this
point it is possible to produce a .app which is independent of any external
library and all the above stuff (the texmacs sources and all the libraries)
can be removed from the machine leaving it as it was before.
I use them on all my macs and I do not have experienced any problem. Moreover
Qt is recompiled stripping away all the stuff which is not needed by TeXmacs
reducing the size of the .app.

You can find the sources in the src/misc/tm-devel-mac/ directory of the
TeXmacs trunk.

A possible recipe to build TeXmacs can then be as follows:

1) set up a working dir in ~/tm-build for example
2) download texmacs sources in ~/tm-build/texmacs
3) copy ~/tm-build/texmacs/misc/tm-devel-mac/Makefile and
~/tm-build/texmacs/misc/tm-devel-mac/configure-tm in ~/tm-build/.
4) copy the directory ~/tm-build/texmacs/tm-devel-mac/src in ~/tm-build/src
5) you have to modify Makefile and configure-tm in order for things to work
on your machine, they are configured for my setup... all this machinery is
also able to cross-compile (i386, pcc or 64 bits macs) but maybe it would be
nice to have a version of these files which is tuned to create a standard
build environment suitable only for the user machine.
6) you do :
make qt guile freetype pkg-config
7) you wait that the script download, configure, compile and link all the
libraries (take half an hour at most)
8) you are ready to build texmacs
9) go inside ~/tm-build/texmacs and do
source ../configure-tm
8) do
make -jN
9) do
make BUNLDE
10) If everything is right the application can be found in ~/tm-build/distr
11) copy the .app bundle into /Applications
12) remove the ~/tm-build directory since now it is not more needed (unless
you want to develop or keep up to date your TeXmacs build)

Max

On 23 Nov 2013, at 06:36, Vincent Douce <address@hidden> wrote:

> salut à tous
> i want to install texmacs from the sources on my new retina ; i had already
> installed texmacs from the sources on my former mac, and had written this
> summary
> now i am under X.8.4 and would liek to know if, according to your
> experience, you would have any advice for me : i will follow my summary
> step after step, and maybe it is obvious for you that any steps are no
> longer correct and might be modified to be compatible with
> retina/moutainlion ? in this case please tell me
> i will proceed to the installation on an external hard drive, due to thin
> ssd hard drive on the retina ; hope it does not create any complication
> thanks for your eventual suggestions
> Vincent
> ps i am sorry, this file (pièce jointe) is written in french
> <sources_installation.fr.tm>




Archive powered by MHonArc 2.6.19.

Top of page