Bug 3218 - texmacs, GNU TeXmacs, a free wysiwyw editing platform with special features for scientists
Summary: texmacs, GNU TeXmacs, a free wysiwyw editing platform with special features f...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-10-29 13:48 CEST by leo lenoir
Modified: 2012-02-02 15:25 CET (History)
3 users (show)

See Also:
Source RPM: texmacs
CVE:
Status comment:


Attachments
proposed spec file (4.66 KB, text/x-rpm-spec)
2011-11-15 19:33 CET, JeanClaude Colette
Details

Description leo lenoir 2011-10-29 13:48:06 CEST
GNU TeXmacs is a free wysiwyw editing platform with special features for scientists.The software aims to provide a unified and user friendly framework for editing structured documents with different types of content (text, graphics, mathematics, interactive content, etc.)
Packages exist for Fedora, Mandriva, ...

http://www.texmacs.org/tmweb/home/welcome.en.html

downloads :

http://www.texmacs.org/tmweb/download/unix.en.html

Thank you.
Comment 1 JeanClaude Colette 2011-11-15 16:14:25 CET
I send you a spec file for texmacs

--------------------------------------------------------------

Summary: A structured wysiwyg scientific text editor
Summary(fr.UTF-8): Un traitement de texte scientifique wysiwyg
Name: TeXmacs
Version: 1.0.7.14
Release:	%mkrel 69.1
License: GPL
Url: http://www.texmacs.org
Source: http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-1.0.7.14-src.tar.gz
Distribution: GNU/Linux
Group: Group: Applications/Publishing
#Applications/Editors

BuildArch: i586
BuildRoot: %{_tmppath}/%{name}-%{version}-x11-i386-pc-linux-gnu-root

Buildrequires: guile-devel, libqt4-devel


%description

GNU TeXmacs is a free wysiwyw (what you see is what you want) editing
platform with special features for scientists. The software aims to provide
a unified and user friendly framework for editing structured documents with
different types of content (text, graphics, mathematics, interactive content,
etc.). The rendering engine uses high-quality typesetting algorithms so as to
produce professionally looking documents, which can either be printed out
or presented from a laptop.

The software includes a text editor with support for mathematical formulas,
a small technical picture editor and a tool for making presentations from
a laptop. Moreover, TeXmacs can be used as an interface for many external
systems for computer algebra, numerical analysis, statistics, etc.
New presentation styles can be written by the user and new features can be
added to the editor using the Scheme extension language. A native spreadsheet
and tools for collaborative authoring are planned for later.

TeXmacs runs on all major Unix platforms and Windows. Documents can be
saved in TeXmacs, Xml or Scheme format and printed as Postscript or
Pdf files. Converters exist for TeX/LaTeX and Html/Mathml.

%description -l fr.UTF-8

GNU TeXmacs est un logiciel de traitement de texte wysiwyw (ce que vous voyez est ce que vous voulez) libre 
 spécialement conçu pour les scientifiques. Le logiciel fournit
un environnement de travail unifié et convivial adapté à l'édition de documents structurés
 pouvant contenir du texte, des graphiques, des formules mathématiques, etc.
 Le système de rendu utilise des algorithmes de composition de haute qualité 
 et permet de produire des documents d'aspect professionnel, prêts à être imprimés 
ou présentés à partir d'un ordinateur portable.

Le logiciel comprend un éditeur de texte supportant des formules mathématiques,
un petit éditeur de dessins techniques et un outil pour faire des présentations à partir
d'un ordinateur portable.

Par ailleurs, TeXmacs peut être utilisé comme une interface pour de nombreux 
 systèmes de calcul formel externes, d'analyse numérique, de statistiques, etc

De nouveaux styles de présentation peuvent être écrits par l'utilisateur et 
de nouvelles fonctionnalités peuvent être ajoutées à l'éditeur en utilisant
le langage d'extension Scheme. Un tableur natif et des outils pour
 la création collaborative sont prévus pour plus tard.

TeXmacs fonctionne sur toutes les grandes plates-formes Unix et Windows. 
Les documents peuvent être enregistrés aux formats TeXmacs, XML ou Scheme
 et imprimés sous forme de fichiers Postscript ou  Pdf.
Des convertisseurs existent entre TeX-LaTeX et HTML-MathML.

%prep
%setup -q -n %{name}-%{version}-src

%build
%configure2_5x --prefix=%{_prefix} \
	--mandir=%{_mandir} --bindir=%{_bindir} --datadir=%{_datadir}
sed -i 's/#include <util.h>//g' ./plugins/shell/src/tm_shell.cpp
sed -i 's/#include <util.h>//g' ./plugins/r/src/tm_r.c
%make
#make STATIC_TEXMACS

%install
make DESTDIR=$RPM_BUILD_ROOT install
export GUILE_DATA_PATH=`guile-config info pkgdatadir`
export GUILE_LOAD_PATH=`find $GUILE_DATA_PATH -type d | grep ice-9`
cp -r -f $GUILE_LOAD_PATH $RPM_BUILD_ROOT%{_datadir}/TeXmacs/progs

# install icons
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/pixmaps/TeXmacs.xpm   $RPM_BUILD_ROOT%{_datadir}/pixmaps/TeXmacs.xpm


# Install desktop file
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cat > $RPM_BUILD_ROOT%{_datadir}/applications/texmacs.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=GNUTeXmacs
Name[fr_FR]=GNUTeXmacs
Comment=A structured wysiwyg scientific text editor
Comment[fr_FR]=Un traitement de texte scientifique wysiwyg 
Exec=texmacs %f
Icon=/usr/share/pixmaps/TeXmacs.xpm
Type=Application
Terminal=false
MimeType=text/x-tm;text/plain;text/x-tex;
Categories=Qt;Office;WordProcessor;
EOF


%post
%update_desktop_database
%update_icon_cache hicolor

%postun
%clean_desktop_database
%clean_icon_cache hicolor

%clean
rm -rf $RPM_BUILD_ROOT

%files
%{_bindir}/fig2ps
%{_bindir}/texmacs
%{_includedir}/TeXmacs.h
%doc %{_mandir}/*/*
%{_libexecdir}/TeXmacs
%{_datadir}/TeXmacs/*
%{_datadir}/applications/texmacs.desktop
%{_datadir}/pixmaps/TeXmacs.xpm

CC: (none) => colette.jc

Comment 2 JeanClaude Colette 2011-11-15 19:33:47 CET
Created attachment 1061 [details]
proposed spec file
Comment 3 leo lenoir 2011-11-16 14:02:16 CET
Ok. I made the rpm of TeXmacs, in x86_64 according to my system.
I just changed :

 BuildArch: x86_64
 BuildRoot: %{_tmppath}/%{name}-%{version}-x11-x86_64-pc-linux-gnu-root

 Buildrequires: guile-devel, lib64qt4-devel

in your TeXmacs.spec

TeXmacs 's running, and seems working fine.

Thank you for your help.
Comment 4 Marja Van Waes 2012-01-10 17:12:54 CET
Setting version to cauldron, because package requests will usually be done for cauldron first. The package is then expected to be available in the first stable release that follows.

Keywords: (none) => PATCH
CC: (none) => marja11
Hardware: x86_64 => All
Version: 1 => Cauldron
Summary: rpm package for TeXmacs => texmacs, GNU TeXmacs, a free wysiwyw editing platform with special features for scientists
Source RPM: (none) => texmacs
Severity: normal => enhancement

Comment 5 Malo Deniélou 2012-02-02 15:25:41 CET
texmacs is now in Cauldron and will be in Mageia 2. Thanks for your request.

Status: NEW => RESOLVED
CC: (none) => malo
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.