From 4185cfbb4dcf564a727d92767d7d39b0e703012b Mon Sep 17 00:00:00 2001 From: onekk Date: Wed, 30 Apr 2014 22:13:57 +0200 Subject: [PATCH] New Package: lyx: Lyx the document processor & Latex frontend Hope this work, in INSTALL file there are infos to set up for better working Regards Carlo --- srcpkgs/lyx/INSTALL | 49 ++++++++++++++++++++++++++++++++++++++++++++ srcpkgs/lyx/template | 18 ++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 srcpkgs/lyx/INSTALL create mode 100644 srcpkgs/lyx/template diff --git a/srcpkgs/lyx/INSTALL b/srcpkgs/lyx/INSTALL new file mode 100644 index 00000000000..9bc0fcd4049 --- /dev/null +++ b/srcpkgs/lyx/INSTALL @@ -0,0 +1,49 @@ +# +# This script will advise the user of the needed TeXLive packages +# that are needed to make Lyx working out of the box in a smooth +# way +# +case "${ACTION}" in +post) + + cat << _EOF +===================================================================== + + LyX the document processor need a set of TeXLive packages present + to deploy his power, so you nedd to check if this packages are + installed. + + If you have the default (small) installation of TeXLive, you have to + install them. The quickiest way is to run: + + 'tlmgr install algorithm2e algorithms apacite bbding besoz + bibtopic breakurl covington csquotes diagbox endnotes enumitem + epstopdf esint eurosym feyn fragments framed frankenstein + harvard hyphenat jurabib lettrine luainputenc marginnote + mathdesign mathdots mhchem multirow nicefrac nomencl picinpar + pict2e prettyref preview rotfloat rsfs shapepar sidecap splitidx + splitindex symbol tex-gyre ulem undertilde units wasy wasysym + wrapfig xargs' + + and then run it without --dry-run to install the missing packages. + + To check if some packages are missing under the menu: + "Help" the choice "Latex Configuration" may give you some help. + + As there are many flavour of your preferred applications, i didn't + force you to use any in particular so you must have at least: + a text editor, a PDF viewer, an internet browser. + + If LyX appear on your screen a look in the file: + '~/.lyx/configure.log' + may give you an idea of what is supported by LyX. + + Happy LyXing + + The VoidLinux mantainers + +===================================================================== +_EOF + ;; +esac + diff --git a/srcpkgs/lyx/template b/srcpkgs/lyx/template new file mode 100644 index 00000000000..b02e56dff22 --- /dev/null +++ b/srcpkgs/lyx/template @@ -0,0 +1,18 @@ +# Template file for 'lyx' + +pkgname="lyx" +version="2.1.0" +revision=1 +build_style=gnu-configure +short_desc="LyX the Document Processor WYSIWYM Editor & Latex frontend" +maintainer="Carlo Dormeletti " +license="GPL-2" +hostmakedepends="pkg-config" +makedepends="bc boost-devel enchant-devel file-devel ImageMagick python + qt-devel hunspell-devel" +depends="${makedepends} texlive" +configure_args="--prefix=/usr --without-included-boost --with-hunspell" +conf_files="/etc/lyx/lyxrc.dist" +homepage="http://www.lyx.org/Home" +distfiles="ftp://ftp.lyx.org/pub/${pkgname}/stable/2.1.x/${pkgname}-${version}.tar.gz" +checksum="b55100ee050e3eb8f645b71c5268657d7c2de4a1e90c627d9eab07f044deace3"