diff options
-rw-r--r-- | office/texmaker/README | 3 | ||||
-rw-r--r-- | office/texmaker/doinst.sh | 4 | ||||
-rw-r--r-- | office/texmaker/focus.patch | 11 | ||||
-rw-r--r-- | office/texmaker/slack-desc | 19 | ||||
-rw-r--r-- | office/texmaker/texmaker.1 | 56 | ||||
-rw-r--r-- | office/texmaker/texmaker.SlackBuild | 76 | ||||
-rw-r--r-- | office/texmaker/texmaker.info | 10 |
7 files changed, 179 insertions, 0 deletions
diff --git a/office/texmaker/README b/office/texmaker/README new file mode 100644 index 0000000000000..836997f2a603d --- /dev/null +++ b/office/texmaker/README @@ -0,0 +1,3 @@ +Texmaker is a free LaTeX editor that integrates many +tools needed to develop documents with LaTeX in just +one application.
\ No newline at end of file diff --git a/office/texmaker/doinst.sh b/office/texmaker/doinst.sh new file mode 100644 index 0000000000000..4e8ba7071dea7 --- /dev/null +++ b/office/texmaker/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/office/texmaker/focus.patch b/office/texmaker/focus.patch new file mode 100644 index 0000000000000..dfbafc0d8f995 --- /dev/null +++ b/office/texmaker/focus.patch @@ -0,0 +1,11 @@ +--- texmaker-1.9/texmaker.cpp.orig 2009-05-21 12:56:32.047389802 -0300 ++++ texmaker-1.9/texmaker.cpp 2009-05-21 12:56:33.936554284 -0300 +@@ -402,6 +402,8 @@ + CentralLayout->setMargin(0); + CentralLayout->addWidget(centralToolBar); + EditorView=new QTabWidget(centralFrame); ++EditorView->setFocusPolicy(Qt::ClickFocus); ++EditorView->setFocus(); + EditorView->setTabsClosable(true); + connect(EditorView, SIGNAL( currentChanged( int ) ), this, SLOT(UpdateCaption()) ); + CentralLayout->addWidget(EditorView); diff --git a/office/texmaker/slack-desc b/office/texmaker/slack-desc new file mode 100644 index 0000000000000..48a5e6003c52f --- /dev/null +++ b/office/texmaker/slack-desc @@ -0,0 +1,19 @@ +# 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------------------------------------------------------| +texmaker: texmaker (LaTeX editor) +texmaker: +texmaker: Texmaker is a free LaTeX editor that integrates many tools needed to +texmaker: develop documents with LaTeX into just one application. +texmaker: +texmaker: Homepage: http://www.xm1math.net/texmaker/index.html +texmaker: +texmaker: +texmaker: +texmaker: +texmaker: diff --git a/office/texmaker/texmaker.1 b/office/texmaker/texmaker.1 new file mode 100644 index 0000000000000..600783651f9bf --- /dev/null +++ b/office/texmaker/texmaker.1 @@ -0,0 +1,56 @@ +.TH texmaker 1 "April 3, 2006" +. +.SH NAME +texmaker \- A Cross-Platform LaTeX Editor +. +.SH SYNOPSIS +.B texmaker file [-master] [-line xx] +. +.SH DESCRIPTION +.B texmaker +is a clean, highly configurable LaTeX editor with good hot key support and extensive Latex documentation. Texmaker 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, Texmaker 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 Texmaker. + +Some of Texmaker'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://www.xm1math.net/texmaker/ +. +.SH AUTHOR +Pascal Brachet <pbrachet@xm1math.net> +. +.\" EOF diff --git a/office/texmaker/texmaker.SlackBuild b/office/texmaker/texmaker.SlackBuild new file mode 100644 index 0000000000000..7cb31a7ae358f --- /dev/null +++ b/office/texmaker/texmaker.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for texmaker + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=texmaker +VERSION=${VERSION:-1.9.2} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +patch -p1 < $CWD/focus.patch + +qmake -unix PREFIX=/usr -o Makefile $PRGNAM.pro + +make \ + CFLAGS="-pipe $SLKCFLAGS -w -D_REENTRANT \$(DEFINES)" \ + CXXFLAGS="-pipe $SLKCFLAGS -w -D_REENTRANT \$(DEFINES)" +make install INSTALL_ROOT=$PKG + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $PKG/usr/man/man1 +install -m 0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1 +gzip -9 $PKG/usr/man/man?/*.? + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + INSTALL utilities/{AUTHORS,CHANGELOG.txt,license.txt,COPYING} \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/share/$PRGNAM/{COPYING,CHANGELOG.txt,AUTHORS} + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/office/texmaker/texmaker.info b/office/texmaker/texmaker.info new file mode 100644 index 0000000000000..bccc1b467f283 --- /dev/null +++ b/office/texmaker/texmaker.info @@ -0,0 +1,10 @@ +PRGNAM="texmaker" +VERSION="1.9.2" +HOMEPAGE="http://www.xm1math.net/texmaker/index.html" +DOWNLOAD="http://www.xm1math.net/texmaker/texmaker-1.9.2.tar.bz2" +MD5SUM="61842ccacf7d843e497aa74f7135d04a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" |