[arch-commits] Commit in lyx/repos (12 files)
Date: Thursday, October 15, 2015 @ 14:34:02 Author: bpiotrowski Revision: 249369 archrelease: copy trunk to staging-i686, staging-x86_64 Added: lyx/repos/staging-i686/ lyx/repos/staging-i686/PKGBUILD (from rev 249368, lyx/trunk/PKGBUILD) lyx/repos/staging-i686/lyx-C-11.patch (from rev 249368, lyx/trunk/lyx-C-11.patch) lyx/repos/staging-i686/lyx.desktop (from rev 249368, lyx/trunk/lyx.desktop) lyx/repos/staging-i686/lyx.install (from rev 249368, lyx/trunk/lyx.install) lyx/repos/staging-i686/lyxrc.dist (from rev 249368, lyx/trunk/lyxrc.dist) lyx/repos/staging-x86_64/ lyx/repos/staging-x86_64/PKGBUILD (from rev 249368, lyx/trunk/PKGBUILD) lyx/repos/staging-x86_64/lyx-C-11.patch (from rev 249368, lyx/trunk/lyx-C-11.patch) lyx/repos/staging-x86_64/lyx.desktop (from rev 249368, lyx/trunk/lyx.desktop) lyx/repos/staging-x86_64/lyx.install (from rev 249368, lyx/trunk/lyx.install) lyx/repos/staging-x86_64/lyxrc.dist (from rev 249368, lyx/trunk/lyxrc.dist) ---+ staging-i686/PKGBUILD | 56 ++ staging-i686/lyx-C-11.patch | 222 staging-i686/lyx.desktop | 14 ++ staging-i686/lyx.install | 15 ++ staging-i686/lyxrc.dist | 14 ++ staging-x86_64/PKGBUILD | 56 ++ staging-x86_64/lyx-C-11.patch | 222 staging-x86_64/lyx.desktop| 14 ++ staging-x86_64/lyx.install| 15 ++ staging-x86_64/lyxrc.dist | 14 ++ 10 files changed, 642 insertions(+) Copied: lyx/repos/staging-i686/PKGBUILD (from rev 249368, lyx/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-10-15 12:34:02 UTC (rev 249369) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Ronald van Haren +# Contributor: Jason Chu + +pkgname=lyx +pkgver=2.1.3 +pkgrel=3 +pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end" +arch=('i686' 'x86_64') +url="http://www.lyx.org"; +depends=('qt4' 'texlive-core' 'python2' 'imagemagick' 'enchant' 'boost-libs' 'libmythes' 'file') +makedepends=('boost' 'bc') +optdepends=('rcs: built-in version control system' +'texlive-latexextra: float wrap support') +license=('GPL') +backup=('etc/lyx/lyxrc.dist') +install=lyx.install +options=('emptydirs') +source=(ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/$pkgname-$pkgver.tar.xz +lyx.desktop lyxrc.dist lyx-C-11.patch) +sha1sums=('eba2e3476967cb33a59b9f7331df472d98d635bf' + 'e2b8f6d6cdeec41e1d5795167f5557e4a6ea28ad' + '56416642cc3da2a13b87b84e6b87c1a239f3d09a' + 'ca8358890bb425a1ad13b462f974c2be501d601e') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + find . -type f -exec sed -i 's|#!.*python|#!/usr/bin/env python2|' {} + + sed -i 's|"python|"python2|' lib/configure.py src/support/os.cpp + + # Fix build with C++11 + patch -p1 -i "$srcdir"/lyx-C-11.patch + autoreconf -vi +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export CXXFLAGS="$CXXFLAGS -fpermissive" + ./configure --prefix=/usr \ +--with-frontend=qt4 --without-included-boost \ +--without-included-mythes + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + # install desktop entry + install -Dm644 "${srcdir}/lyx.desktop" \ +"${pkgdir}/usr/share/applications/lyx.desktop" + install -Dm644 "lib/images/lyx.png" \ +"${pkgdir}/usr/share/pixmaps/lyx.png" + # install default config file + install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/etc/lyx/lyxrc.dist" + ln -sf /etc/lyx/lyxrc.dist "${pkgdir}/usr/share/lyx/lyxrc.dist" +} Copied: lyx/repos/staging-i686/lyx-C-11.patch (from rev 249368, lyx/trunk/lyx-C-11.patch) === --- staging-i686/lyx-C-11.patch (rev 0) +++ staging-i686/lyx-C-11.patch 2015-10-15 12:34:02 UTC (rev 249369) @@ -0,0 +1,222 @@ +From be41e2d16f551103a9b7c5d22cb774eb5bfcb0d9 Mon Sep 17 00:00:00 2001 +From: Georg Baum +Date: Tue, 12 May 2015 21:23:06 +0200 +Subject: [PATCH 153/163] Fix build with GNU libstdc++ C++11 ABI + +The GNU libstdc++ that ships witch gcc 5 can be used with the same ABI as +older versions, or with a new ABI which is conformant to the C++11 standard. +LyX did not build if the latter was used: +https://kojipkgs.fedoraproject.org//work/tasks/1267/9651267/build.log + +This is now fixed by detecting the ABI version and disabling the wrong forward +declarations. At the same time, STD_STRING_USES_COW is switched off for the +C++11 ABI version, because the std::basic_string implementation is now C++11 +conformant. Since the GNU libstdc++ can also used by other compilers such as +clang, we must not test for the compiler version. +--- + config/lyxinclude.m4| 80 ++--- +
[arch-commits] Commit in lyx/repos (12 files)
Date: Friday, March 29, 2013 @ 20:14:43 Author: stephane Revision: 181022 db-move: moved lyx from [staging] to [testing] (i686, x86_64) Added: lyx/repos/testing-i686/ lyx/repos/testing-i686/PKGBUILD (from rev 181010, lyx/repos/staging-i686/PKGBUILD) lyx/repos/testing-i686/lyx.desktop (from rev 181010, lyx/repos/staging-i686/lyx.desktop) lyx/repos/testing-i686/lyx.install (from rev 181010, lyx/repos/staging-i686/lyx.install) lyx/repos/testing-i686/lyxrc.dist (from rev 181010, lyx/repos/staging-i686/lyxrc.dist) lyx/repos/testing-x86_64/ lyx/repos/testing-x86_64/PKGBUILD (from rev 181010, lyx/repos/staging-x86_64/PKGBUILD) lyx/repos/testing-x86_64/lyx.desktop (from rev 181010, lyx/repos/staging-x86_64/lyx.desktop) lyx/repos/testing-x86_64/lyx.install (from rev 181010, lyx/repos/staging-x86_64/lyx.install) lyx/repos/testing-x86_64/lyxrc.dist (from rev 181010, lyx/repos/staging-x86_64/lyxrc.dist) Deleted: lyx/repos/staging-i686/ lyx/repos/staging-x86_64/ + testing-i686/PKGBUILD | 50 +++ testing-i686/lyx.desktop | 14 testing-i686/lyx.install | 14 testing-i686/lyxrc.dist| 14 testing-x86_64/PKGBUILD| 50 +++ testing-x86_64/lyx.desktop | 14 testing-x86_64/lyx.install | 14 testing-x86_64/lyxrc.dist | 14 8 files changed, 184 insertions(+) Copied: lyx/repos/testing-i686/PKGBUILD (from rev 181010, lyx/repos/staging-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-03-29 19:14:43 UTC (rev 181022) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Ronald van Haren +# Contributor: Jason Chu + +pkgname=lyx +pkgver=2.0.5.1 +pkgrel=3 +pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end" +arch=('i686' 'x86_64') +url="http://www.lyx.org"; +depends=('qt4' 'texlive-core' 'python2' 'imagemagick' 'enchant' 'boost-libs' 'libmythes') +makedepends=('boost') +optdepends=('rcs: built-in version control system' +'texlive-latexextra: float wrap support') +license=('GPL') +backup=('etc/lyx/lyxrc.dist') +install=lyx.install +options=('emptydirs') +source=(ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz +lyx.desktop lyxrc.dist) +sha1sums=('a822e99484c1652c4df5df717819dd7048fcff75' + 'e2b8f6d6cdeec41e1d5795167f5557e4a6ea28ad' + '56416642cc3da2a13b87b84e6b87c1a239f3d09a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + find . -type f -exec sed -i 's|#!.*python|#!/usr/bin/env python2|' {} + + sed -i 's|"python|"python2|' lib/configure.py src/support/os.cpp + export CXXFLAGS="$CXXFLAGS -fpermissive" + ./configure --prefix=/usr \ +--with-frontend=qt4 --without-included-boost \ +--without-included-mythes + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + # install desktop entry + install -Dm644 "${srcdir}/lyx.desktop" \ +"${pkgdir}/usr/share/applications/lyx.desktop" + install -Dm644 "lib/images/lyx.png" \ +"${pkgdir}/usr/share/pixmaps/lyx.png" + + # install default config file + install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/etc/lyx/lyxrc.dist" + ln -sf /etc/lyx/lyxrc.dist "${pkgdir}/usr/share/lyx/lyxrc.dist" +} Copied: lyx/repos/testing-i686/lyx.desktop (from rev 181010, lyx/repos/staging-i686/lyx.desktop) === --- testing-i686/lyx.desktop(rev 0) +++ testing-i686/lyx.desktop2013-03-29 19:14:43 UTC (rev 181022) @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=LyX Document Processor +GenericName=Document Processor +Comment=High level LaTeX frontend +Exec=lyx %F +TryExec=lyx +Icon=lyx +StartupNotify=false +StartupWMClass=Lyx +Terminal=false +Categories=Office;WordProcessor;Qt; +MimeType=text/x-lyx;application/x-lyx; Copied: lyx/repos/testing-i686/lyx.install (from rev 181010, lyx/repos/staging-i686/lyx.install) === --- testing-i686/lyx.install(rev 0) +++ testing-i686/lyx.install2013-03-29 19:14:43 UTC (rev 181022) @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove () { + post_install +} + + + Copied: lyx/repos/testing-i686/lyxrc.dist (from rev 181010, lyx/repos/staging-i686/lyxrc.dist) === --- testing-i686/lyxrc.dist (rev 0) +++ testing-i686/lyxrc.dist 2013-03-29 19:14:43 UTC (rev 181022) @@ -0,0 +1,14 @@ +### This file is part of +### +###
[arch-commits] Commit in lyx/repos (12 files)
Date: Sunday, July 15, 2012 @ 09:17:17 Author: ibiru Revision: 163552 db-move: moved lyx from [staging] to [testing] ( i686, x86_64) Added: lyx/repos/testing-i686/ lyx/repos/testing-i686/PKGBUILD (from rev 163541, lyx/repos/staging-i686/PKGBUILD) lyx/repos/testing-i686/lyx.desktop (from rev 163541, lyx/repos/staging-i686/lyx.desktop) lyx/repos/testing-i686/lyx.install (from rev 163541, lyx/repos/staging-i686/lyx.install) lyx/repos/testing-i686/lyxrc.dist (from rev 163541, lyx/repos/staging-i686/lyxrc.dist) lyx/repos/testing-x86_64/ lyx/repos/testing-x86_64/PKGBUILD (from rev 163541, lyx/repos/staging-x86_64/PKGBUILD) lyx/repos/testing-x86_64/lyx.desktop (from rev 163541, lyx/repos/staging-x86_64/lyx.desktop) lyx/repos/testing-x86_64/lyx.install (from rev 163541, lyx/repos/staging-x86_64/lyx.install) lyx/repos/testing-x86_64/lyxrc.dist (from rev 163541, lyx/repos/staging-x86_64/lyxrc.dist) Deleted: lyx/repos/staging-i686/ lyx/repos/staging-x86_64/ + testing-i686/PKGBUILD | 50 +++ testing-i686/lyx.desktop | 14 testing-i686/lyx.install | 14 testing-i686/lyxrc.dist| 14 testing-x86_64/PKGBUILD| 50 +++ testing-x86_64/lyx.desktop | 14 testing-x86_64/lyx.install | 14 testing-x86_64/lyxrc.dist | 14 8 files changed, 184 insertions(+) Copied: lyx/repos/testing-i686/PKGBUILD (from rev 163541, lyx/repos/staging-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-07-15 13:17:17 UTC (rev 163552) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Ronald van Haren +# Contributor: Jason Chu + +pkgname=lyx +pkgver=2.0.3 +pkgrel=4 +pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end" +arch=('i686' 'x86_64') +url="http://www.lyx.org"; +depends=('qt' 'texlive-core' 'python2' 'imagemagick' 'enchant' 'boost-libs' 'libmythes') +makedepends=('boost') +optdepends=('rcs: built-in version control system' +'texlive-latexextra: float wrap support') +license=('GPL') +source=(ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz +lyx.desktop lyxrc.dist) +backup=('etc/lyx/lyxrc.dist') +install=lyx.install +options=('emptydirs') +sha1sums=('109dae0ef22a7d8944964b32ee380ad170b0665f' + 'e2b8f6d6cdeec41e1d5795167f5557e4a6ea28ad' + '56416642cc3da2a13b87b84e6b87c1a239f3d09a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + find . -type f -exec sed -i 's|#!.*python|#!/usr/bin/env python2|' {} + + sed -i 's|"python|"python2|' lib/configure.py src/support/os.cpp + export CXXFLAGS="$CXXFLAGS -fpermissive" + ./configure --prefix=/usr \ +--with-frontend=qt4 --without-included-boost \ +--without-included-mythes + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + # install desktop entry + install -Dm644 "${srcdir}/lyx.desktop" \ +"${pkgdir}/usr/share/applications/lyx.desktop" + install -Dm644 "lib/images/lyx.png" \ +"${pkgdir}/usr/share/pixmaps/lyx.png" + + # install default config file + install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/etc/lyx/lyxrc.dist" + ln -sf /etc/lyx/lyxrc.dist "${pkgdir}/usr/share/lyx/lyxrc.dist" +} Copied: lyx/repos/testing-i686/lyx.desktop (from rev 163541, lyx/repos/staging-i686/lyx.desktop) === --- testing-i686/lyx.desktop(rev 0) +++ testing-i686/lyx.desktop2012-07-15 13:17:17 UTC (rev 163552) @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=LyX Document Processor +GenericName=Document Processor +Comment=High level LaTeX frontend +Exec=lyx %F +TryExec=lyx +Icon=lyx +StartupNotify=false +StartupWMClass=Lyx +Terminal=false +Categories=Office;WordProcessor;Qt; +MimeType=text/x-lyx;application/x-lyx; Copied: lyx/repos/testing-i686/lyx.install (from rev 163541, lyx/repos/staging-i686/lyx.install) === --- testing-i686/lyx.install(rev 0) +++ testing-i686/lyx.install2012-07-15 13:17:17 UTC (rev 163552) @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove () { + post_install +} + + + Copied: lyx/repos/testing-i686/lyxrc.dist (from rev 163541, lyx/repos/staging-i686/lyxrc.dist) === --- testing-i686/lyxrc.dist (rev 0) +++ testing-i686/lyxrc.dist 2012-07-15 13:17:17 UTC (rev 163552) @@ -0,0 +1,14 @@ +### This file is part of +### +###