[arch-commits] Commit in inkscape/repos/extra-x86_64 (4 files)
Gaëtan Bisson
bisson at archlinux.org
Tue Mar 13 01:03:20 UTC 2018
Date: Tuesday, March 13, 2018 @ 01:03:20
Author: bisson
Revision: 318778
archrelease: copy trunk to extra-x86_64
Added:
inkscape/repos/extra-x86_64/PKGBUILD
(from rev 318777, inkscape/trunk/PKGBUILD)
inkscape/repos/extra-x86_64/PKGBUILD.cmake
(from rev 318777, inkscape/trunk/PKGBUILD.cmake)
Deleted:
inkscape/repos/extra-x86_64/PKGBUILD
inkscape/repos/extra-x86_64/PKGBUILD.cmake
----------------+
PKGBUILD | 120 +++++++++++++++++++++++++++---------------------------
PKGBUILD.cmake | 122 +++++++++++++++++++++++++++----------------------------
2 files changed, 121 insertions(+), 121 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-13 00:28:58 UTC (rev 318777)
+++ PKGBUILD 2018-03-13 01:03:20 UTC (rev 318778)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Tobias Kieslich <tobias at justdreams.de>
-# Contributor: tobias <tobias at archlinux.org>
-
-pkgname=inkscape
-pkgver=0.92.3
-pkgrel=1
-pkgdesc='Professional vector graphics editor'
-url='https://inkscape.org/'
-license=('GPL' 'LGPL')
-arch=('x86_64')
-depends=('gc' 'gsl' 'gtkmm' 'gtkspell' 'libmagick6' 'libxslt' 'poppler-glib'
- 'popt' 'potrace' 'ttf-dejavu' 'python2' 'libcdr'
- 'desktop-file-utils' 'hicolor-icon-theme')
-# python is needed for glib-genmarshal (at least with GLib 2.54)
-makedepends=('boost' 'intltool' 'python')
-optdepends=('gvfs: import clip art'
- 'pstoedit: latex formulas'
- 'python2-scour: optimized SVG output'
- 'texlive-core: latex formulas'
- 'python2-numpy: some extensions'
- 'python2-lxml: some extensions and filters')
-source=("https://media.inkscape.org/dl/resources/file/${pkgname}-${pkgver}.tar.bz2")
-sha256sums=('063296c05a65d7a92a0f627485b66221487acfc64a24f712eb5237c4bd7816b2')
-
-# NB: Some CDN nodes appear to be distributing an outdated version of this file.
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./autogen.sh
-
- sed -i 's|/usr/bin/python\>|/usr/bin/python2|g' cxxtest/*.py
- sed -i 's|/usr/bin/env python\>|/usr/bin/env python2|g' share/*/{test/,}*.py
- sed -i 's|"python" },|"python2" },|g' src/extension/implementation/script.cpp
- sed -i 's|python -c|python2 -c|g' configure share/extensions/uniconv*.py
- sed -i 's|"python"|"python2"|g' src/main.cpp
-
- sed -i 's| abs(| std::fabs(|g' src/ui/tools/flood-tool.cpp
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig"
-
- ./configure \
- --prefix=/usr \
- --with-python \
- --with-perl \
- --enable-lcms \
- --enable-poppler-cairo \
- --disable-strict-build \
- --disable-dependency-tracking
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: inkscape/repos/extra-x86_64/PKGBUILD (from rev 318777, inkscape/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-13 01:03:20 UTC (rev 318778)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+# Contributor: tobias <tobias at archlinux.org>
+
+pkgname=inkscape
+pkgver=0.92.3
+pkgrel=1
+pkgdesc='Professional vector graphics editor'
+url='https://inkscape.org/'
+license=('GPL' 'LGPL')
+arch=('x86_64')
+depends=('gc' 'gsl' 'gtkmm' 'gtkspell' 'libmagick6' 'libxslt' 'poppler-glib'
+ 'popt' 'potrace' 'ttf-dejavu' 'python2' 'libcdr'
+ 'desktop-file-utils' 'hicolor-icon-theme')
+# python is needed for glib-genmarshal (at least with GLib 2.54)
+makedepends=('boost' 'intltool' 'python')
+optdepends=('gvfs: import clip art'
+ 'pstoedit: latex formulas'
+ 'python2-scour: optimized SVG output'
+ 'texlive-core: latex formulas'
+ 'python2-numpy: some extensions'
+ 'python2-lxml: some extensions and filters')
+source=("https://media.inkscape.org/dl/resources/file/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('063296c05a65d7a92a0f627485b66221487acfc64a24f712eb5237c4bd7816b2')
+
+# NB: Some CDN nodes appear to be distributing an outdated version of this file.
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh
+
+ sed -i 's|/usr/bin/python\>|/usr/bin/python2|g' cxxtest/*.py
+ sed -i 's|/usr/bin/env python\>|/usr/bin/env python2|g' share/*/{test/,}*.py
+ sed -i 's|"python" },|"python2" },|g' src/extension/implementation/script.cpp
+ sed -i 's|python -c|python2 -c|g' configure share/extensions/uniconv*.py
+ sed -i 's|"python"|"python2"|g' src/main.cpp
+
+ sed -i 's| abs(| std::fabs(|g' src/ui/tools/flood-tool.cpp
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig"
+
+ ./configure \
+ --prefix=/usr \
+ --with-python \
+ --with-perl \
+ --enable-lcms \
+ --enable-poppler-cairo \
+ --disable-strict-build \
+ --disable-dependency-tracking
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Deleted: PKGBUILD.cmake
===================================================================
--- PKGBUILD.cmake 2018-03-13 00:28:58 UTC (rev 318777)
+++ PKGBUILD.cmake 2018-03-13 01:03:20 UTC (rev 318778)
@@ -1,61 +0,0 @@
-# $Id: PKGBUILD 305444 2017-09-13 20:29:19Z andyrtr $
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Tobias Kieslich <tobias at justdreams.de>
-# Contributor: tobias <tobias at archlinux.org>
-
-pkgname=inkscape
-pkgver=0.92.2
-pkgrel=3
-pkgdesc='Professional vector graphics editor'
-url='https://inkscape.org/'
-license=('GPL' 'LGPL')
-arch=('x86_64')
-makedepends=('boost' 'intltool' 'cmake')
-depends=('gc' 'gsl' 'gtkmm' 'gtkspell' 'imagemagick' 'libxslt' 'poppler-glib'
- 'popt' 'potrace' 'ttf-dejavu' 'python' 'libcdr' 'libvisio' 'libwpg'
- 'desktop-file-utils' 'hicolor-icon-theme')
-optdepends=('gvfs: import clip art'
- 'pstoedit: latex formulas'
- 'scour: optimized SVG output'
- 'texlive-core: latex formulas'
- 'python-numpy: some extensions'
- 'python-lxml: some extensions and filters'
- 'uniconvertor: reading/writing to some proprietary formats')
-source=("https://media.inkscape.org/dl/resources/file/${pkgname}-${pkgver}.tar.bz2"
- poppler-0.58.patch)
-sha256sums=('a628d0e04c254e9840947e6d866974f92c68ae31631a38b94d9b65e5cd84cfd3'
- 'af6796619a74b392432c72abdb703971fbcaf1c8ff196ce5bb37505914d38f5a')
-
-# NB: Some CDN nodes appear to be distributing an outdated version of this file.
-
-prepare() {
- cd ${pkgname}-${pkgver}
-
- mkdir ../build
-
- # https://gitlab.com/inkscape/inkscape/commit/93ccf03162cd2e46d962822d5507865f3451168c
- patch -Np1 -i ../poppler-0.58.patch
-}
-
-build() {
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
- -DLIB_INSTALL_DIR:PATH=/usr/lib \
- -DSYSCONF_INSTALL_DIR:PATH=/etc \
- -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
- -DCMAKE_ENABLE_LCMS=ON \
- -DCMAKE_ENABLE_POPPLER_CAIRO=ON \
- -DCMAKE_WITH_NLS=ON
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
-
- # cleanup
- rm $pkgdir/usr/include/*.a
-}
Copied: inkscape/repos/extra-x86_64/PKGBUILD.cmake (from rev 318777, inkscape/trunk/PKGBUILD.cmake)
===================================================================
--- PKGBUILD.cmake (rev 0)
+++ PKGBUILD.cmake 2018-03-13 01:03:20 UTC (rev 318778)
@@ -0,0 +1,61 @@
+# $Id: PKGBUILD 305444 2017-09-13 20:29:19Z andyrtr $
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+# Contributor: tobias <tobias at archlinux.org>
+
+pkgname=inkscape
+pkgver=0.92.2
+pkgrel=3
+pkgdesc='Professional vector graphics editor'
+url='https://inkscape.org/'
+license=('GPL' 'LGPL')
+arch=('x86_64')
+makedepends=('boost' 'intltool' 'cmake')
+depends=('gc' 'gsl' 'gtkmm' 'gtkspell' 'imagemagick' 'libxslt' 'poppler-glib'
+ 'popt' 'potrace' 'ttf-dejavu' 'python' 'libcdr' 'libvisio' 'libwpg'
+ 'desktop-file-utils' 'hicolor-icon-theme')
+optdepends=('gvfs: import clip art'
+ 'pstoedit: latex formulas'
+ 'scour: optimized SVG output'
+ 'texlive-core: latex formulas'
+ 'python-numpy: some extensions'
+ 'python-lxml: some extensions and filters'
+ 'uniconvertor: reading/writing to some proprietary formats')
+source=("https://media.inkscape.org/dl/resources/file/${pkgname}-${pkgver}.tar.bz2"
+ poppler-0.58.patch)
+sha256sums=('a628d0e04c254e9840947e6d866974f92c68ae31631a38b94d9b65e5cd84cfd3'
+ 'af6796619a74b392432c72abdb703971fbcaf1c8ff196ce5bb37505914d38f5a')
+
+# NB: Some CDN nodes appear to be distributing an outdated version of this file.
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+
+ mkdir ../build
+
+ # https://gitlab.com/inkscape/inkscape/commit/93ccf03162cd2e46d962822d5507865f3451168c
+ patch -Np1 -i ../poppler-0.58.patch
+}
+
+build() {
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
+ -DLIB_INSTALL_DIR:PATH=/usr/lib \
+ -DSYSCONF_INSTALL_DIR:PATH=/etc \
+ -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
+ -DCMAKE_ENABLE_LCMS=ON \
+ -DCMAKE_ENABLE_POPPLER_CAIRO=ON \
+ -DCMAKE_WITH_NLS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # cleanup
+ rm $pkgdir/usr/include/*.a
+}
More information about the arch-commits
mailing list