office/texmaker: Updated for version 1.9.9.
This commit is contained in:
parent
9bae09be59
commit
2cb1b7b325
|
@ -1,3 +1,3 @@
|
||||||
Texmaker is a free LaTeX editor that integrates many
|
Texmaker is a free LaTeX editor that integrates many
|
||||||
tools needed to develop documents with LaTeX in just
|
tools needed to develop documents with LaTeX in just
|
||||||
one application.
|
one application.
|
||||||
|
|
|
@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
|
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- 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);
|
|
|
@ -5,9 +5,9 @@
|
||||||
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||||
|
|
||||||
PRGNAM=texmaker
|
PRGNAM=texmaker
|
||||||
VERSION=${VERSION:-1.9.2}
|
VERSION=${VERSION:-1.9.9}
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
|
@ -41,8 +41,6 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
patch -p1 < $CWD/focus.patch
|
|
||||||
|
|
||||||
qmake -unix PREFIX=/usr -o Makefile $PRGNAM.pro
|
qmake -unix PREFIX=/usr -o Makefile $PRGNAM.pro
|
||||||
|
|
||||||
make \
|
make \
|
||||||
|
@ -54,13 +52,22 @@ make install INSTALL_ROOT=$PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
xargs strip --strip-unneeded 2> /dev/null || true
|
xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||||
xargs strip --strip-unneeded 2> /dev/null
|
xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/man/man1
|
mkdir -p $PKG/usr/man/man1
|
||||||
install -m 0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1
|
install -m 0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1
|
||||||
gzip -9 $PKG/usr/man/man?/*.?
|
gzip -9 $PKG/usr/man/man?/*.?
|
||||||
|
|
||||||
|
for i in 16 22 32 48 64 128; do
|
||||||
|
install -D -m 0644 utilities/${PRGNAM}${i}x${i}.png \
|
||||||
|
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
|
||||||
|
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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
INSTALL utilities/{AUTHORS,CHANGELOG.txt,license.txt,COPYING} \
|
INSTALL utilities/{AUTHORS,CHANGELOG.txt,license.txt,COPYING} \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="texmaker"
|
PRGNAM="texmaker"
|
||||||
VERSION="1.9.2"
|
VERSION="1.9.9"
|
||||||
HOMEPAGE="http://www.xm1math.net/texmaker/index.html"
|
HOMEPAGE="http://www.xm1math.net/texmaker/index.html"
|
||||||
DOWNLOAD="http://www.xm1math.net/texmaker/texmaker-1.9.2.tar.bz2"
|
DOWNLOAD="http://www.xm1math.net/texmaker/texmaker-1.9.9.tar.bz2"
|
||||||
MD5SUM="61842ccacf7d843e497aa74f7135d04a"
|
MD5SUM="6a56af78aac811ec3a82e7d375d388ae"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Larry Hajali"
|
MAINTAINER="Larry Hajali"
|
||||||
EMAIL="larryhaja[at]gmail[dot]com"
|
EMAIL="larryhaja[at]gmail[dot]com"
|
||||||
APPROVED="rworkman"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in New Issue