[arch-commits] Commit in lyx/trunk (PKGBUILD lyx.desktop lyx.install)

Ronald van Haren ronald at archlinux.org
Fri Sep 9 19:58:39 UTC 2011


    Date: Friday, September 9, 2011 @ 15:58:38
  Author: ronald
Revision: 137568

upgpkg: lyx 2.0.1-1

update to 2.0.1; FS#25860 desktop file mime-type association; FS#25112 spell checking depend on enchant

Added:
  lyx/trunk/lyx.install
Modified:
  lyx/trunk/PKGBUILD
  lyx/trunk/lyx.desktop

-------------+
 PKGBUILD    |   16 +++++++++-------
 lyx.desktop |   17 +++++++++++------
 lyx.install |   14 ++++++++++++++
 3 files changed, 34 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-09 18:36:00 UTC (rev 137567)
+++ PKGBUILD	2011-09-09 19:58:38 UTC (rev 137568)
@@ -3,18 +3,19 @@
 # Contributor: Jason Chu <jason at archlinux.org>
 
 pkgname=lyx
-pkgver=2.0.0
-pkgrel=3
+pkgver=2.0.1
+pkgrel=1
 pkgdesc="An advanced open-source document processor."
 arch=('i686' 'x86_64')
 url="http://www.lyx.org"
-depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'aspell' 'aiksaurus' 'boost-libs')
-makedepends=('boost')
+depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'enchant' 'boost-libs')
+makedepends=('boost' 'libmythes')
 license=('GPL')
 source=(ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz \
         lyx.desktop)
-sha1sums=('27bf0ee623aae0e59780d9f627cdf5cb788a2516'
-          'e207a0b14d58aeb7b83f8fc47ab2e668cbc66844')
+install=lyx.install
+sha1sums=('225b4d853f38463e986a9b42a39cac432da56d8a'
+          'e2b8f6d6cdeec41e1d5795167f5557e4a6ea28ad')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -22,7 +23,8 @@
   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
+    --with-frontend=qt4 --without-included-boost \
+    --without-included-mythes
   make
 }
 

Modified: lyx.desktop
===================================================================
--- lyx.desktop	2011-09-09 18:36:00 UTC (rev 137567)
+++ lyx.desktop	2011-09-09 19:58:38 UTC (rev 137568)
@@ -1,9 +1,14 @@
 [Desktop Entry]
-Name=Lyx
-Comment=Latex WYSIWYM Editor
-Icon=/usr/share/lyx/images/lyx.png
-Exec=lyx
-Terminal=false
+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
-Categories=Office;
+StartupWMClass=Lyx
+Terminal=false
+Categories=Office;WordProcessor;Qt;
+MimeType=text/x-lyx;application/x-lyx;

Added: lyx.install
===================================================================
--- lyx.install	                        (rev 0)
+++ lyx.install	2011-09-09 19:58:38 UTC (rev 137568)
@@ -0,0 +1,14 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove () {
+  post_install
+}
+
+
+




More information about the arch-commits mailing list