Updated to the latest version.
md5=0ae3b9ccb2aa74776be4af8c199dbbe9
sha256=d720ff082ed29d385c52e7ad370499d23275e595e9d7a321b383609f68acf23e
+[ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.bz2]
+md5=fdac2fc40b435857afa1089fc04c1fcb
+sha256=8f45da9653fc9ea927f3b8c7c96390fc8277d7c969b735a7b615c06e4e5c03d7
+
[http://downloads.sourceforge.net/sevenzip/lzma417.tar.bz2]
md5=b1ab85e4dc1eb1323d77fef47a2cb71c
sha256=84124d4501798ecb284fceb28931db023850535e1b1146c884add7b3b0331cbc
--- /dev/null
+Index: lyx-1.6.1/src/frontends/qt4/GuiApplication.cpp
+===================================================================
+--- lyx-1.6.1.orig/src/frontends/qt4/GuiApplication.cpp
++++ lyx-1.6.1/src/frontends/qt4/GuiApplication.cpp
+@@ -1320,6 +1320,7 @@
+
+ void GuiApplication::commitData(QSessionManager & sm)
+ {
++#if 0 // no session manager in OE's Qt4
+ /// The implementation is required to avoid an application exit
+ /// when session state save is triggered by session manager.
+ /// The default implementation sends a close event to all
+@@ -1329,6 +1330,7 @@
+ /// FIXME: verify if the default implementation is enough now.
+ if (sm.allowsInteraction() && !closeAllViews())
+ sm.cancel();
++#endif
+ }
+
+
+++ /dev/null
-DESCRIPTION = "LyX is an advanced type setting processor - a frontend for LaTeX"
-SECTION = "x11/office"
-LICENSE = "GPL"
-HOMEPAGE = "http://www.lyx.org"
-DEPENDS = "boost"
-RRECOMMENDS = "tetex"
-PR = "r1"
-
-# we're checking out from svn because the tarball doesn't contain the necessary stuff to run autoreconf
-SRC_URI = "svn://svn.lyx.org/lyx/lyx-devel/tags;module=lyx-1_4_1;rev=13847"
-S = "${WORKDIR}/lyx-1_4_1"
-
-inherit qt3x11 autotools
-
-EXTRA_OECONF = "--with-frontend=qt --with-qt-dir=${QTDIR}"
-PARALLEL_MAKE = ""
-
-do_configure_prepend() {
- echo "NOTE: touching missing files, please report to upstream"
- touch lib/configure.ac lib/doc/LaTeXConfig.lyx lib/textclass.lst
-}
-
-export UIC="${OE_QMAKE_UIC}"
-export MOC="${OE_QMAKE_MOC}"
+++ /dev/null
-DESCRIPTION = "LyX is an advanced type setting processor - a frontend for LaTeX"
-SECTION = "x11/office"
-LICENSE = "GPL"
-HOMEPAGE = "http://www.lyx.org"
-DEPENDS = "boost"
-RRECOMMENDS = "tetex"
-PR = "r0"
-
-# we're checking out from svn because the tarball doesn't contain the necessary stuff to run autoreconf
-SRC_URI = "svn://svn.lyx.org/lyx/lyx-devel/tags;module=lyx-1_4_4;rev=17185"
-S = "${WORKDIR}/lyx-1_4_4"
-
-inherit qt3x11 autotools
-
-EXTRA_OECONF = "--with-frontend=qt --with-qt-dir=${QTDIR}"
-PARALLEL_MAKE = ""
-
-do_configure_prepend() {
- echo "NOTE: touching missing files, please report to upstream"
- touch lib/configure.ac lib/doc/LaTeXConfig.lyx lib/textclass.lst
-}
-
-export UIC="${OE_QMAKE_UIC}"
-export MOC="${OE_QMAKE_MOC}"
+++ /dev/null
-DESCRIPTION = "LyX is an advanced type setting processor - a frontend for LaTeX"
-SECTION = "x11/office"
-LICENSE = "GPL"
-HOMEPAGE = "http://www.lyx.org"
-DEPENDS = "boost qt4-x11-free"
-RSUGGESTS = "tetex"
-RDEPENDS = "python-shell python-textutils"
-PR = "r0"
-
-SRC_URI = "http://lyx.cybermirror.org/stable/lyx-${PV}.tar.bz2"
-
-inherit qt4x11 autotools
-
-EXTRA_OECONF = " --with-qt4-dir=${QTDIR} -enable-pch"
-EXTRA_QMAKEVARS_POST = "DEFINES+=_LIBC"
-PARALLEL_MAKE = ""
-
-do_configure_prepend() {
- echo "NOTE: touching missing files, please report to upstream"
- touch lib/configure.ac lib/doc/LaTeXConfig.lyx lib/textclass.lst
-}
-
-export UIC="${OE_QMAKE_UIC}"
-export MOC="${OE_QMAKE_MOC}"
-export OE_QMAKE_LIBS_X11="-lX11 -lXext"
SECTION = "x11/office"
LICENSE = "GPL"
HOMEPAGE = "http://www.lyx.org"
-DEPENDS = "boost qt4-x11-free"
+DEPENDS = "qt4-x11-free"
RSUGGESTS = "tetex"
RDEPENDS = "python-shell python-textutils"
PR = "r0"
-SRC_URI = "http://lyx.cybermirror.org/stable/lyx-${PV}.tar.bz2"
+SRC_URI = "\
+ ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-${PV}.tar.bz2 \
+ file://no-session-manager.patch;patch=1 \
+"
inherit qt4x11 autotools
-EXTRA_OECONF = " --with-qt4-dir=${QTDIR} -enable-pch"
+EXTRA_OECONF = "\
+ --with-qt4-dir=${QTDIR} \
+ --enable-threads=posix \
+"
+
EXTRA_QMAKEVARS_POST = "DEFINES+=_LIBC"
PARALLEL_MAKE = ""
-do_configure_prepend() {
- echo "NOTE: touching missing files, please report to upstream"
- touch lib/configure.ac lib/doc/LaTeXConfig.lyx lib/textclass.lst
+do_configure() {
+ gnu-configize
+ oe_runconf
}
-
-#export UIC="${OE_QMAKE_UIC}"
-#export MOC="${OE_QMAKE_MOC}"
-#export OE_QMAKE_LIBS_X11="-lX11 -lXext"