# HG changeset patch # User Aleksej Bobylev # Date 1358987926 0 # Node ID c381a12e66eec3e1343b862f61fde550f094ca91 # Parent 8263767f199eab44c9c7d089a08ff44d331e3ed6 LyX and friends: up 2.0.5.1 diff -r 8263767f199e -r c381a12e66ee lyx-doc/receipt --- a/lyx-doc/receipt Wed Jan 23 23:39:46 2013 +0100 +++ b/lyx-doc/receipt Thu Jan 24 00:38:46 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lyx-doc" -VERSION="1.6.9" +VERSION="2.0.5.1" CATEGORY="office" SHORT_DESC="Documentation for LyX" MAINTAINER="al.bobylev@gmail.com" diff -r 8263767f199e -r c381a12e66ee lyx-examples/receipt --- a/lyx-examples/receipt Wed Jan 23 23:39:46 2013 +0100 +++ b/lyx-examples/receipt Thu Jan 24 00:38:46 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lyx-examples" -VERSION="1.6.9" +VERSION="2.0.5.1" CATEGORY="office" SHORT_DESC="Examples for LyX" MAINTAINER="al.bobylev@gmail.com" diff -r 8263767f199e -r c381a12e66ee lyx-locales/receipt --- a/lyx-locales/receipt Wed Jan 23 23:39:46 2013 +0100 +++ b/lyx-locales/receipt Thu Jan 24 00:38:46 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lyx-locales" -VERSION="1.6.9" +VERSION="2.0.5.1" CATEGORY="office" SHORT_DESC="Locale files for LyX" MAINTAINER="al.bobylev@gmail.com" diff -r 8263767f199e -r c381a12e66ee lyx/receipt --- a/lyx/receipt Wed Jan 23 23:39:46 2013 +0100 +++ b/lyx/receipt Thu Jan 24 00:38:46 2013 +0000 @@ -1,33 +1,30 @@ # SliTaz package receipt. PACKAGE="lyx" -VERSION="1.6.9" +VERSION="2.0.5.1" CATEGORY="office" -SHORT_DESC="An advanced open-source document processor." +SHORT_DESC="An advanced WYSIWYM document processor & LaTeX front-end" MAINTAINER="gokhlayeh@slitaz.org" -DEPENDS="qt4 python perl imagemagick aspell aiksaurus" -BUILD_DEPENDS="Qt4-dev" -TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.lyx.org" -WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$TARBALL" + +DEPENDS="aiksaurus aspell bzlib libQtGui python" +BUILD_DEPENDS="python Qt4-dev bison aspell-dev xorg-libX11-dev aiksaurus-dev" # Rules to configure and make the package. compile_rules() { - cd $src - sed -i 's|.*define STRFWD_H.*|&\n#include |' src/support/strfwd.h - sed -i 's|.*.*|#include \n&|' src/support/weighted_btree.h ./configure --with-frontend=qt4 $CONFIGURE_ARGS && - make && make -j1 install + make && + make -j1 install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/applications - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/lyx $fs/usr/share - cp -a $stuff/lyx.desktop $fs/usr/share/applications + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/lyx $fs/usr/share rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples } - diff -r 8263767f199e -r c381a12e66ee lyx/stuff/lyx.desktop --- a/lyx/stuff/lyx.desktop Wed Jan 23 23:39:46 2013 +0100 +++ b/lyx/stuff/lyx.desktop Thu Jan 24 00:38:46 2013 +0000 @@ -24,5 +24,5 @@ Icon=/usr/share/lyx/images/lyx.png StartupNotify=false StartupWMClass=Lyx -Categories=WordProcessor;Office; +Categories=Office;WordProcessor;Qt; MimeType=application/x-lyx;text/x-lyx;