Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f8a84921aa9613b22a7f386d388a60f2f1d0b5d2
commit f8a84921aa9613b22a7f386d388a60f2f1d0b5d2 Author: crazy <[EMAIL PROTECTED]> Date: Thu Nov 8 00:49:58 2007 +0100 lyx-1.5.2-1-i686 * Version bump * added install script , we need run texhash * on install/upgrade/remove * added boost patch * use make all * fixed depends() for qt4 diff --git a/source/xapps-extra/lyx/FrugalBuild b/source/xapps-extra/lyx/FrugalBuild index a401696..8903b12 100644 --- a/source/xapps-extra/lyx/FrugalBuild +++ b/source/xapps-extra/lyx/FrugalBuild @@ -2,22 +2,33 @@ # Maintainer: Bence Nagy <[EMAIL PROTECTED]> pkgname=lyx -pkgver=1.5.1 +pkgver=1.5.2 pkgrel=1 pkgdesc="An advanced open-source document processor based on TeX" url='http://www.lyx.org' -depends=('qt4' 'tetex' 'python' 'perl' 'imagemagick' 'libgcc' 'aspell') +depends=('tetex' 'python' 'perl' 'imagemagick' 'aspell' 'libqtgui' 'boost' 'aspell') groups=('xapps-extra') archs=('i686' 'x86_64') options=('scriptlet') -up2date="lynx -dump 'http://lyx.cybermirror.org/stable/?N=D'|grep -m1 'lyx-[0-9]'| sed 's/.*-\(.*\).t.*/\1/'" -source=(http://lyx.cybermirror.org/stable/$pkgname-$pkgver.tar.bz2) -sha1sums=('d6fab5c00afe35fdafb6104fbd74d76107438367') +up2date="lynx -dump 'http://lyx.cybermirror.org/stable/?D=A'|Flasttarbz2" +source=(http://lyx.cybermirror.org/stable/$pkgname-$pkgver.tar.bz2 \ + boost.patch) +sha1sums=('1b1e8de870972ae5ea14bcdd91d6e4f326491b9c' \ + '849f1769729e08d9951f9820dea4db470c910597') build() { - Fbuild --with-frontend=qt4 --enable-pch --with-included-boost + Fcd + Fpatchall + Fautoreconf + Fconf \ + --with-frontend=qt4 \ + --enable-pch \ + --without-included-boost + ##--with-included-boost + make all || Fdie + Fmakeinstall Fdesktop "$pkgname" "/usr/share/lyx/images/lyx.xpm" "Application;Office;" } diff --git a/source/xapps-extra/lyx/boost.patch b/source/xapps-extra/lyx/boost.patch new file mode 100644 index 0000000..b73d630 --- /dev/null +++ b/source/xapps-extra/lyx/boost.patch @@ -0,0 +1,18 @@ +diff -Naur lyx-1.5.2/config/common.am lyx-1.5.2-p/config/common.am +--- lyx-1.5.2/config/common.am 2006-04-20 22:44:05.000000000 +0200 ++++ lyx-1.5.2-p/config/common.am 2007-11-07 23:53:12.000000000 +0100 +@@ -36,10 +36,10 @@ + BOOST_IOSTREAMS = $(top_builddir)/boost/libs/iostreams/src/libboost_iostreams.la + else + BOOST_INCLUDES = +-BOOST_FILESYSTEM = -lboost_filesystem +-BOOST_REGEX = -lboost_regex +-BOOST_SIGNALS = -lboost_signals +-BOOST_IOSTREAMS = -lboost_iostreams ++BOOST_FILESYSTEM = -lboost_filesystem-gcc42-mt ++BOOST_REGEX = -lboost_regex-gcc42-mt ++BOOST_SIGNALS = -lboost_signals-gcc42-mt ++BOOST_IOSTREAMS = -lboost_iostreams-gcc42-mt + endif + + LIBS = diff --git a/source/xapps-extra/lyx/lyx.install b/source/xapps-extra/lyx/lyx.install new file mode 100644 index 0000000..52e2272 --- /dev/null +++ b/source/xapps-extra/lyx/lyx.install @@ -0,0 +1,20 @@ +post_install() +{ + /usr/bin/texhash +} + +post_upgrade() +{ + post_install +} + +post_remove() +{ + post_install +} + +op=$1 +shift + +$op $* + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
