summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-11 19:46:15 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:46:15 +0200
commitc59266011766838e102b389968aaedeefeb0f41a (patch)
treeba13be22127a72923dfd24df9ab06ca8fdb1d12e /office
parent6a378d8fc008754c2c076d738c27b99d4d18453b (diff)
downloadslackbuilds-c59266011766838e102b389968aaedeefeb0f41a.tar.gz
office/lyx: Updated for version 1.4.5.1
Diffstat (limited to 'office')
-rw-r--r--office/lyx/README32
-rw-r--r--office/lyx/lyx.SlackBuild16
-rw-r--r--office/lyx/lyx.info8
-rw-r--r--office/lyx/slack-desc26
4 files changed, 53 insertions, 29 deletions
diff --git a/office/lyx/README b/office/lyx/README
index 580e0a172f..82c91646b8 100644
--- a/office/lyx/README
+++ b/office/lyx/README
@@ -1,9 +1,23 @@
-LyX is a document processor that encourages an approach to writing
-based on the structure of your documents, not their appearance. It is
-released under a Free Software / Open Source license.
-
-LyX is for people that write and want their writing to look great, right out
-of the box. No more endless tinkering with formatting details, 'finger
-painting' font attributes or futzing around with page boundaries. You just
-write. In the background, Prof. Knuth's legendary TeX typesetting engine
-makes you look good.
+LyX is a document processor that encourages an approach to
+writing based on the structure of your documents, not their
+appearance. It is released under a Free Software / Open Source
+license.
+
+LyX is for people that write and want their writing to look great,
+right out of the box. No more endless tinkering with formatting
+details, 'finger painting' font attributes or futzing around with
+page boundaries. You just write. In the background, Prof. Knuth's
+legendary TeX typesetting engine makes you look good.
+
+On screen, LyX looks like any word processor; its printed output
+-- or richly cross-referenced PDF, just as readily produced --
+looks like nothing else. Gone are the days of industrially bland
+.docs, all looking similarly not-quite-right, yet coming out
+unpredictably different on different printer drivers. Gone are the
+crashes 'eating' your dissertation the evening before going to press.
+
+Please note that Lyx 1.5.x will not be available until Slackware ships with
+QT4, or until more Lyx frontends are released (at the moment, the only
+frontend is for QT 4).
+
+Thank you
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index aafaee85c1..0d44e04973 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for LyX
-# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
+# Copyright 2007 Martin Lefebvre <dadexter@sekurity.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
+set -e
PRGNAM=lyx
-VERSION=1.4.3
+VERSION=1.4.5.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -44,7 +45,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
@@ -62,9 +63,12 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --enable-shared \
--with-frontend=${_FRONTEND} \
--with-qt-dir=/usr/lib/qt \
--with-program-prefix="" \
+ --with-aspell \
+ --with-ispell \
|| exit 1
make || exit 1
@@ -75,12 +79,10 @@ make install DESTDIR=$PKG || exit 1
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
-if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
-fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/office/lyx/lyx.info b/office/lyx/lyx.info
index 76b056bf47..378083c5bd 100644
--- a/office/lyx/lyx.info
+++ b/office/lyx/lyx.info
@@ -1,8 +1,8 @@
PRGNAM="lyx"
-VERSION="1.4.3"
+VERSION="1.4.5.1"
HOMEPAGE="http://www.lyx.org"
-DOWNLOAD="ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.4.3.tar.gz"
-MD5SUM="6720eb43626dabbd506279f1fee6d70c"
+DOWNLOAD="http://lyx.cybermirror.org/stable/lyx-1.4.5.1.tar.bz2"
+MD5SUM="b74d82e80c49c7edb782ec7395b7ca27"
MAINTAINER="Martin Lefebvre"
EMAIL="dadexter@gmail.com"
-APPROVED="elohim,robw810"
+APPROVED="BP{k}"
diff --git a/office/lyx/slack-desc b/office/lyx/slack-desc
index 7d94e90aaa..e01f517c83 100644
--- a/office/lyx/slack-desc
+++ b/office/lyx/slack-desc
@@ -1,11 +1,19 @@
-lyx: LyX - a document processor
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+lyx: LyX (a document processor)
lyx:
lyx: LyX is a document processor that encourages an approach to writing
-lyx: based on the structure of your documents, not their appearance. It is
-lyx: released under a Free Software / Open Source license.
-lyx:
-lyx: LyX is for people that write and want their writing to look great, right
-lyx: out of the box. No more endless tinkering with formatting details, 'finger
-lyx: painting' font attributes or futzing around with page boundaries. You just
-lyx: write. In the background, Prof. Knuth's legendary TeX typesetting engine
-lyx: makes you look good.
+lyx: based on the structure of your documents, not their appearance. It
+lyx: is released under a Free Software / Open Source license.
+lyx: LyX is for people that write and want their writing to look great,
+lyx: right out of the box. No more endless tinkering with formatting det-
+lyx: ails,'fingerpainting' font attributes or futzing around with page
+lyx: boundaries.You just write. In the background, Prof. Knuth's legendary
+lyx: TeX typesetting engine makes you look good.
+lyx: \ No newline at end of file