summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-06-25 21:40:44 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-06-25 21:40:44 -0400
commit47d8304e4d087c198ff4cdaa1fb1433a71122029 (patch)
treee035bced1b92fc7b57885cf389cbb1ddcac2142a
parent2897afc405bda80f770b7b546ac2d20467ce3b6d (diff)
downloadslackbuilds-47d8304e4d087c198ff4cdaa1fb1433a71122029.tar.gz
office/texstudio: Updated for version 2.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--office/texstudio/texstudio.157
-rw-r--r--office/texstudio/texstudio.SlackBuild9
-rw-r--r--office/texstudio/texstudio.info8
3 files changed, 8 insertions, 66 deletions
diff --git a/office/texstudio/texstudio.1 b/office/texstudio/texstudio.1
deleted file mode 100644
index 3ff8b56e00..0000000000
--- a/office/texstudio/texstudio.1
+++ /dev/null
@@ -1,57 +0,0 @@
-.TH texstudio 1 "April 3, 2006"
-.
-.SH NAME
-texstudio \- A Cross-Platform LaTeX Editor
-.
-.SH SYNOPSIS
-.B texstudio file [-master] [-line xx]
-.
-.SH DESCRIPTION
-.B texstudio
-is a clean, highly configurable LaTeX editor with good hot key support and extensive Latex documentation. Texstudio integrates many tools needed to
-develop documents with LaTeX, in just one application. It has some nice featuressuch as syntax highlighting, insertion of 370 mathematical symbols with only one
-click, a structure view of the document for easier navigation.
-
-\-master With this option, the document will be automatically defined
- as a "master" document.
-
-\-line xx With this option, Texstudio will ask you if you want to jump
- to the xx line after loading the document
-
- See the user manuels under the 'Help' directory for documentation on the
-use and features for Texstudio.
-
-Some of Texstudio's features are:
-
-- An unicode editor to write your LaTeX source files (syntax highlighting, undo-redo, search-replace, ...)
-
-- The principal LaTex tags can be inserted directly with the "LaTeX" and "Math" menus
-
-- 370 mathematical symbols can be inserted in just one click
-
-- Wizards to generate code ('Quick document', 'Quick letter', tabular, tabbing and array environments)
-
-- LaTeX-related programs can be launched via the "Tools" menu
-
-- The standard Bibtex entry types can be inserted in the ".bib" file with the "Bibliography" menu
-
-- A "structure view" of the document for easier navigation of a document (by clicking on an item in the "Structure" frame, you can jump directly to the corresponding part of your document
-
-- Extensive LaTeX documentation
-
-- In the "Messages / Log File" frame, you can see information about processes and the logfile after a LaTeX compilation
-
-- The "Next Latex Error" and "Previous Latex Error" commands let you reach the LaTeX errors detected in the log file
-
-- By clicking on the number of a line in the log file, the cursor jumps to the corresponding line in the editor
-
-- An integrated LaTeX to html conversion tool (for unix and macosx systems)
-.
-.SH Web Page
-http://texstudio.sourceforge.net/
-.
-.SH AUTHOR
-Pascal Brachet <pbrachet@xm1math.net>
-Benito van der Zander <benito@benibela.de>
-.
-.\" EOF
diff --git a/office/texstudio/texstudio.SlackBuild b/office/texstudio/texstudio.SlackBuild
index 906ccf1a94..0cb05b7c69 100644
--- a/office/texstudio/texstudio.SlackBuild
+++ b/office/texstudio/texstudio.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=texstudio
-VERSION=2.2
+VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,9 +52,9 @@ find . \
-exec chmod 644 {} \;
# Fix .desktop item.
-sed -i '/^Encoding/d' utilities/texstudio.desktop
+sed -i -e '/^Encoding/d' -e "/^Icon/s|=.*|=$PRGNAM|" utilities/texstudio.desktop
-qmake PREFIX=/usr LIBS+="-L/usr/lib${LIBDIRSUFFIX}" -o Makefile $PRGNAM.pro
+qmake PREFIX=/usr LIBS+="-L/usr/lib${LIBDIRSUFFIX}" CONFIG-=debug -o Makefile $PRGNAM.pro
make \
CFLAGS="-pipe $SLKCFLAGS -D_REENTRANT -Wall -W \$(DEFINES)" \
@@ -65,7 +65,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man1
-install -m 0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1
+install -m 0644 utilities/$PRGNAM.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man?/*.?
for i in 16 22 32 48 64 128; do
@@ -75,7 +75,6 @@ done
install -D -m 0644 utilities/$PRGNAM.svg \
$PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
-rm -rf $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
diff --git a/office/texstudio/texstudio.info b/office/texstudio/texstudio.info
index c719e1f6b9..6d89d823cd 100644
--- a/office/texstudio/texstudio.info
+++ b/office/texstudio/texstudio.info
@@ -1,10 +1,10 @@
PRGNAM="texstudio"
-VERSION="2.2"
+VERSION="2.3"
HOMEPAGE="http://texstudio.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/texstudio/texstudio-2.2.tar.gz"
-MD5SUM="d23cf71c90f3fd950d49bf480285e920"
+DOWNLOAD="http://downloads.sourceforge.net/texstudio/texstudio-2.3.tar.gz"
+MD5SUM="32cde0fe8398ec9b1d434c7ab6f70782"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
-APPROVED="rworkman"
+APPROVED="dsomero"