Merge pull request #368 from onekk/master

New Package: lyx: Lyx the document processor & Latex frontend
This commit is contained in:
Juan RP 2014-05-01 08:26:53 +02:00
commit 6c8bb8d9fa
2 changed files with 67 additions and 0 deletions

49
srcpkgs/lyx/INSTALL Normal file
View File

@ -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

18
srcpkgs/lyx/template Normal file
View File

@ -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 <carlo.dormeletti@email.it>"
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"