From aaf5688e17a544745e11f4960628c927aa461fca Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 31 Oct 2017 21:04:38 +0100 Subject: [PATCH] atom: update to version 1.22 Closes #9035. --- common/shlibs | 1 + srcpkgs/atom/template | 23 +++++++++++++++-------- srcpkgs/curl/template | 5 +++-- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/common/shlibs b/common/shlibs index 6373f1ddee7..18d09da0d2f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -355,6 +355,7 @@ libnssdbm3.so nss-3.12.4_1 libnssckbi.so nss-3.12.4_1 libnss3.so nss-3.12.4_1 libcurl.so.4 libcurl-7.19_1 +libcurl-gnutls.so.4 libcurl-7.19_1 libdaemon.so.0 libdaemon-0.14_1 libavahi-common.so.3 avahi-libs-0.6.25_1 libavahi-core.so.7 avahi-libs-0.6.25_1 diff --git a/srcpkgs/atom/template b/srcpkgs/atom/template index 5eaa1c4e2f6..13679abf8be 100644 --- a/srcpkgs/atom/template +++ b/srcpkgs/atom/template @@ -1,25 +1,25 @@ # Template file for 'atom' pkgname=atom -version=1.19.0 -revision=1 +version=1.22.0 +revision=2 nocross=yes nostrip=yes -hostmakedepends="git pkg-config python-devel nodejs curl" +hostmakedepends="git pkg-config python-devel nodejs curl gtk+ libXtst libXScrnSaver nss python alsa-lib" makedepends="python-devel GConf-devel libgnome-keyring-devel libX11-devel libxkbfile-devel libsecret-devel" short_desc="Chrome-based text editor from Github" maintainer="Orphaned " license="MIT" homepage="https://atom.io" distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz" -checksum=233b699eac07b098627dfef064da4836b5d595796403ae07bcdce2d9cf7cc114 +checksum=28f2db2c92e2ee12fedbcf8e21f91df7a8308f05babc7b93f196f61f0b975103 only_for_archs="i686 x86_64" -broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/4126/steps/shell_3/logs/stdio" +#broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/4126/steps/shell_3/logs/stdio" pre_build() { - local NVM_VERSION=0.33.2 - local NODE_VERSION=6 + local NVM_VERSION=0.33.6 + local NODE_VERSION=6.9.5 curl -o- https://raw.githubusercontent.com/creationix/nvm/v$NVM_VERSION/install.sh | bash source $HOME/.nvm/nvm.sh nvm install $NODE_VERSION @@ -32,7 +32,14 @@ pre_build() { resources/linux/atom.desktop.in > resources/linux/Atom.desktop } do_build() { - script/build || script/build # FIXME: bug with overlayfs, build twice to fix + if [ -e ./apm/package-lock.json ]; then + rm ./apm/package-lock.json + fi + script/build + if [ -e ./apm/package-lock.json ]; then + rm ./apm/package-lock.json + fi + script/build } do_install() { diff --git a/srcpkgs/curl/template b/srcpkgs/curl/template index bd8f2d22d3e..faca0ea3e76 100644 --- a/srcpkgs/curl/template +++ b/srcpkgs/curl/template @@ -1,7 +1,7 @@ # Template build file for 'curl'. pkgname=curl version=7.56.1 -revision=2 +revision=3 build_style=gnu-configure configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6 $(vopt_with rtmp) @@ -22,7 +22,6 @@ license="MIT" homepage="https://curl.haxx.se" distfiles="$homepage/download/$pkgname-$version.tar.bz2" checksum=2594670367875e7d87b0f129b5e4690150780884d90244ba0fe3e74a778b5f90 - build_options="gnutls gssapi ldap rtmp ssh ssl" build_options_default="ssh ssl" vopt_conflict ssl gnutls @@ -39,8 +38,10 @@ post_install() { libcurl_package() { short_desc="The multiprotocol file transfer library" + shlib_provides="libcurl-gnutls.so.4" pkg_install() { vmove "usr/lib/*.so.*" + ln -sf ${PKGDESTDIR}/usr/lib/libcurl.so.4.5.0 ${PKGDESTDIR}/usr/lib/libcurl-gnutls.so.4 } } libcurl-devel_package() {