[arch-commits] Commit in lyx/repos (10 files)

Felix Yan fyan at archlinux.org
Mon Aug 11 13:48:37 UTC 2014


    Date: Monday, August 11, 2014 @ 15:48:36
  Author: fyan
Revision: 219568

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  lyx/repos/staging-i686/
  lyx/repos/staging-i686/PKGBUILD
    (from rev 219567, lyx/trunk/PKGBUILD)
  lyx/repos/staging-i686/lyx.desktop
    (from rev 219567, lyx/trunk/lyx.desktop)
  lyx/repos/staging-i686/lyx.install
    (from rev 219567, lyx/trunk/lyx.install)
  lyx/repos/staging-i686/lyxrc.dist
    (from rev 219567, lyx/trunk/lyxrc.dist)
  lyx/repos/staging-x86_64/
  lyx/repos/staging-x86_64/PKGBUILD
    (from rev 219567, lyx/trunk/PKGBUILD)
  lyx/repos/staging-x86_64/lyx.desktop
    (from rev 219567, lyx/trunk/lyx.desktop)
  lyx/repos/staging-x86_64/lyx.install
    (from rev 219567, lyx/trunk/lyx.install)
  lyx/repos/staging-x86_64/lyxrc.dist
    (from rev 219567, lyx/trunk/lyxrc.dist)

----------------------------+
 staging-i686/PKGBUILD      |   51 +++++++++++++++++++++++++++++++++++++++++++
 staging-i686/lyx.desktop   |   14 +++++++++++
 staging-i686/lyx.install   |   15 ++++++++++++
 staging-i686/lyxrc.dist    |   14 +++++++++++
 staging-x86_64/PKGBUILD    |   51 +++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/lyx.desktop |   14 +++++++++++
 staging-x86_64/lyx.install |   15 ++++++++++++
 staging-x86_64/lyxrc.dist  |   14 +++++++++++
 8 files changed, 188 insertions(+)

Copied: lyx/repos/staging-i686/PKGBUILD (from rev 219567, lyx/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2014-08-11 13:48:36 UTC (rev 219568)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jason Chu <jason at archlinux.org>
+
+pkgname=lyx
+pkgver=2.1.1
+pkgrel=2
+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)
+sha1sums=('78477ba4b6c6f04bf2c73da533f14913bdc5f53f'
+          'e2b8f6d6cdeec41e1d5795167f5557e4a6ea28ad'
+          '56416642cc3da2a13b87b84e6b87c1a239f3d09a')
+
+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
+}
+
+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.desktop (from rev 219567, lyx/trunk/lyx.desktop)
===================================================================
--- staging-i686/lyx.desktop	                        (rev 0)
+++ staging-i686/lyx.desktop	2014-08-11 13:48:36 UTC (rev 219568)
@@ -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/staging-i686/lyx.install (from rev 219567, lyx/trunk/lyx.install)
===================================================================
--- staging-i686/lyx.install	                        (rev 0)
+++ staging-i686/lyx.install	2014-08-11 13:48:36 UTC (rev 219568)
@@ -0,0 +1,15 @@
+post_install() {
+  update-desktop-database -q
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove () {
+  post_install
+}
+
+
+

Copied: lyx/repos/staging-i686/lyxrc.dist (from rev 219567, lyx/trunk/lyxrc.dist)
===================================================================
--- staging-i686/lyxrc.dist	                        (rev 0)
+++ staging-i686/lyxrc.dist	2014-08-11 13:48:36 UTC (rev 219568)
@@ -0,0 +1,14 @@
+### This file is part of
+### ========================================================
+###          LyX, The Document Processor
+###
+###          Copyright 1995 Matthias Ettrich
+###          Copyright 1995-2011 The LyX Team.
+###
+### ========================================================
+
+# The file lyxrc.dist gives initial global options for all LyX users.
+# Almost all settings here can be overridden through the preferences in LyX.
+
+\thesaurusdir_path "/usr/share/mythes"
+\hunspelldir_path "/usr/share/myspell"

Copied: lyx/repos/staging-x86_64/PKGBUILD (from rev 219567, lyx/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2014-08-11 13:48:36 UTC (rev 219568)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jason Chu <jason at archlinux.org>
+
+pkgname=lyx
+pkgver=2.1.1
+pkgrel=2
+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)
+sha1sums=('78477ba4b6c6f04bf2c73da533f14913bdc5f53f'
+          'e2b8f6d6cdeec41e1d5795167f5557e4a6ea28ad'
+          '56416642cc3da2a13b87b84e6b87c1a239f3d09a')
+
+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
+}
+
+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-x86_64/lyx.desktop (from rev 219567, lyx/trunk/lyx.desktop)
===================================================================
--- staging-x86_64/lyx.desktop	                        (rev 0)
+++ staging-x86_64/lyx.desktop	2014-08-11 13:48:36 UTC (rev 219568)
@@ -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/staging-x86_64/lyx.install (from rev 219567, lyx/trunk/lyx.install)
===================================================================
--- staging-x86_64/lyx.install	                        (rev 0)
+++ staging-x86_64/lyx.install	2014-08-11 13:48:36 UTC (rev 219568)
@@ -0,0 +1,15 @@
+post_install() {
+  update-desktop-database -q
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove () {
+  post_install
+}
+
+
+

Copied: lyx/repos/staging-x86_64/lyxrc.dist (from rev 219567, lyx/trunk/lyxrc.dist)
===================================================================
--- staging-x86_64/lyxrc.dist	                        (rev 0)
+++ staging-x86_64/lyxrc.dist	2014-08-11 13:48:36 UTC (rev 219568)
@@ -0,0 +1,14 @@
+### This file is part of
+### ========================================================
+###          LyX, The Document Processor
+###
+###          Copyright 1995 Matthias Ettrich
+###          Copyright 1995-2011 The LyX Team.
+###
+### ========================================================
+
+# The file lyxrc.dist gives initial global options for all LyX users.
+# Almost all settings here can be overridden through the preferences in LyX.
+
+\thesaurusdir_path "/usr/share/mythes"
+\hunspelldir_path "/usr/share/myspell"




More information about the arch-commits mailing list