wok-current rev 13912

LyX and friends: up 2.0.5.1
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 24 00:38:46 2013 +0000 (2013-01-24)
parents 8263767f199e
children 631682a50801
files lyx-doc/receipt lyx-examples/receipt lyx-locales/receipt lyx/receipt lyx/stuff/lyx.desktop
line diff
     1.1 --- a/lyx-doc/receipt	Wed Jan 23 23:39:46 2013 +0100
     1.2 +++ b/lyx-doc/receipt	Thu Jan 24 00:38:46 2013 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lyx-doc"
     1.7 -VERSION="1.6.9"
     1.8 +VERSION="2.0.5.1"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Documentation for LyX"
    1.11  MAINTAINER="al.bobylev@gmail.com"
     2.1 --- a/lyx-examples/receipt	Wed Jan 23 23:39:46 2013 +0100
     2.2 +++ b/lyx-examples/receipt	Thu Jan 24 00:38:46 2013 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="lyx-examples"
     2.7 -VERSION="1.6.9"
     2.8 +VERSION="2.0.5.1"
     2.9  CATEGORY="office"
    2.10  SHORT_DESC="Examples for LyX"
    2.11  MAINTAINER="al.bobylev@gmail.com"
     3.1 --- a/lyx-locales/receipt	Wed Jan 23 23:39:46 2013 +0100
     3.2 +++ b/lyx-locales/receipt	Thu Jan 24 00:38:46 2013 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="lyx-locales"
     3.7 -VERSION="1.6.9"
     3.8 +VERSION="2.0.5.1"
     3.9  CATEGORY="office"
    3.10  SHORT_DESC="Locale files for LyX"
    3.11  MAINTAINER="al.bobylev@gmail.com"
     4.1 --- a/lyx/receipt	Wed Jan 23 23:39:46 2013 +0100
     4.2 +++ b/lyx/receipt	Thu Jan 24 00:38:46 2013 +0000
     4.3 @@ -1,33 +1,30 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="lyx"
     4.7 -VERSION="1.6.9"
     4.8 +VERSION="2.0.5.1"
     4.9  CATEGORY="office"
    4.10 -SHORT_DESC="An advanced open-source document processor."
    4.11 +SHORT_DESC="An advanced WYSIWYM document processor & LaTeX front-end"
    4.12  MAINTAINER="gokhlayeh@slitaz.org"
    4.13 -DEPENDS="qt4 python perl imagemagick aspell aiksaurus"
    4.14 -BUILD_DEPENDS="Qt4-dev"
    4.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.16  WEB_SITE="http://www.lyx.org"
    4.17 -WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$TARBALL"
    4.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.19 +WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$TARBALL"
    4.20 +
    4.21 +DEPENDS="aiksaurus aspell bzlib libQtGui python"
    4.22 +BUILD_DEPENDS="python Qt4-dev bison aspell-dev xorg-libX11-dev aiksaurus-dev"
    4.23  
    4.24  # Rules to configure and make the package.
    4.25  compile_rules()
    4.26  {
    4.27 -	cd $src
    4.28 -	sed -i 's|.*define STRFWD_H.*|&\n#include <stdlib.h>|' src/support/strfwd.h
    4.29 -	sed -i 's|.*<algorithm>.*|#include <cstddef>\n&|' src/support/weighted_btree.h
    4.30  	./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
    4.31 -	make && make -j1 install
    4.32 +	make &&
    4.33 +	make -j1 install
    4.34  }
    4.35  
    4.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.37  genpkg_rules()
    4.38  {
    4.39 -	mkdir -p $fs/usr/share/applications
    4.40 -	cp -a $install/usr/bin $fs/usr
    4.41 -	cp -a $install/usr/share/lyx $fs/usr/share
    4.42 -	cp -a $stuff/lyx.desktop $fs/usr/share/applications
    4.43 +	mkdir -p $fs/usr/share
    4.44 +	cp -a $_pkg/usr/bin $fs/usr
    4.45 +	cp -a $_pkg/usr/share/lyx $fs/usr/share
    4.46  	rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
    4.47  }
    4.48 -
     5.1 --- a/lyx/stuff/lyx.desktop	Wed Jan 23 23:39:46 2013 +0100
     5.2 +++ b/lyx/stuff/lyx.desktop	Thu Jan 24 00:38:46 2013 +0000
     5.3 @@ -24,5 +24,5 @@
     5.4  Icon=/usr/share/lyx/images/lyx.png
     5.5  StartupNotify=false
     5.6  StartupWMClass=Lyx
     5.7 -Categories=WordProcessor;Office;
     5.8 +Categories=Office;WordProcessor;Qt;
     5.9  MimeType=application/x-lyx;text/x-lyx;