pharo: update URL to HTTPS

This commit is contained in:
AndersonTorres 2020-10-25 21:41:28 -03:00
parent 507a352361
commit d0702162e9
4 changed files with 62 additions and 43 deletions

@ -55,10 +55,10 @@ stdenv.mkDerivation rec {
test "$?" == 124 && echo "ok") test "$?" == 124 && echo "ok")
''; '';
meta = { meta = with stdenv.lib; {
description = "Launcher for Pharo distributions"; description = "Launcher for Pharo distributions";
homepage = "https://pharo.org";
longDescription = '' longDescription = ''
Pharo's goal is to deliver a clean, innovative, free open-source Pharo's goal is to deliver a clean, innovative, free open-source
Smalltalk-inspired environment. By providing a stable and small Smalltalk-inspired environment. By providing a stable and small
core system, excellent dev tools, and maintained releases, Pharo core system, excellent dev tools, and maintained releases, Pharo
@ -75,8 +75,7 @@ stdenv.mkDerivation rec {
access it very rapidly from your OS application launcher. As a access it very rapidly from your OS application launcher. As a
result, launching any image is never more than 3 clicks away. result, launching any image is never more than 3 clicks away.
''; '';
homepage = "http://pharo.org"; license = licenses.mit;
license = stdenv.lib.licenses.mit;
maintainers = [ ]; maintainers = [ ];
platforms = pharo.meta.platforms; platforms = pharo.meta.platforms;
}; };

@ -1,4 +1,20 @@
{ stdenv, fetchurl, cmake, bash, unzip, glibc, openssl, gcc, libGLU, libGL, freetype, xorg, alsaLib, cairo, libuuid, makeWrapper, ... }: { stdenv
, fetchurl
, cmake
, bash
, unzip
, glibc
, openssl
, gcc
, libGLU
, libGL
, freetype
, xorg
, alsaLib
, cairo
, libuuid
, makeWrapper
, ... }:
{ name, src, ... }: { name, src, ... }:
@ -10,7 +26,15 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" "pic" ]; hardeningDisable = [ "format" "pic" ];
# Building nativeBuildInputs = [ unzip cmake gcc makeWrapper ];
buildInputs = [ bash glibc openssl libGLU libGL freetype
xorg.libX11 xorg.libICE xorg.libSM alsaLib cairo pharo-share ];
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath
[ cairo libGLU libGL freetype openssl libuuid alsaLib
xorg.libICE xorg.libSM ];
preConfigure = '' preConfigure = ''
cd build/ cd build/
''; '';
@ -46,12 +70,9 @@ stdenv.mkDerivation rec {
ln -s "${pharo-share}/lib/"*.sources $prefix/lib/$name ln -s "${pharo-share}/lib/"*.sources $prefix/lib/$name
''; '';
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ cairo libGLU libGL freetype openssl libuuid alsaLib xorg.libICE xorg.libSM ]; meta = with stdenv.lib; {
nativeBuildInputs = [ unzip cmake gcc makeWrapper ];
buildInputs = [ bash glibc openssl libGLU libGL freetype xorg.libX11 xorg.libICE xorg.libSM alsaLib cairo pharo-share ];
meta = {
description = "Clean and innovative Smalltalk-inspired environment"; description = "Clean and innovative Smalltalk-inspired environment";
homepage = "https://pharo.org";
longDescription = '' longDescription = ''
Pharo's goal is to deliver a clean, innovative, free open-source Pharo's goal is to deliver a clean, innovative, free open-source
Smalltalk-inspired environment. By providing a stable and small core Smalltalk-inspired environment. By providing a stable and small core
@ -65,9 +86,8 @@ stdenv.mkDerivation rec {
Please fill bug reports on http://bugs.pharo.org under the 'Ubuntu Please fill bug reports on http://bugs.pharo.org under the 'Ubuntu
packaging (ppa:pharo/stable)' project. packaging (ppa:pharo/stable)' project.
''; '';
homepage = "http://pharo.org"; license = licenses.mit;
license = stdenv.lib.licenses.mit; maintainers = [ maintainers.lukego ];
maintainers = [ stdenv.lib.maintainers.lukego ];
# Pharo VM sources are packaged separately for darwin (OS X) # Pharo VM sources are packaged separately for darwin (OS X)
platforms = stdenv.lib.filter platforms = stdenv.lib.filter
(system: with stdenv.lib.systems.elaborate { inherit system; }; (system: with stdenv.lib.systems.elaborate { inherit system; };

@ -46,6 +46,33 @@ stdenv.mkDerivation rec {
# while the VM depends on <= gcc48: # while the VM depends on <= gcc48:
"stackprotector" ]; "stackprotector" ];
# gcc 4.8 used for the build:
#
# gcc5 crashes during compilation; gcc >= 4.9 produces a
# binary that crashes when forking a child process. See:
# http://forum.world.st/OSProcess-fork-issue-with-Debian-built-VM-td4947326.html
#
# (stack protection is disabled above for gcc 4.8 compatibility.)
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
bash
unzip
glibc
openssl
gcc48
libGLU libGL
freetype
xorg.libX11
xorg.libICE
xorg.libSM
alsaLib
cairo
pharo-share
libuuid
];
enableParallelBuilding = true;
# Regenerate the configure script. # Regenerate the configure script.
# Unnecessary? But the build breaks without this. # Unnecessary? But the build breaks without this.
autoreconfPhase = '' autoreconfPhase = ''
@ -123,35 +150,9 @@ stdenv.mkDerivation rec {
ln -s ${libgit2}/lib/libgit2.so* "$out/" ln -s ${libgit2}/lib/libgit2.so* "$out/"
''; '';
enableParallelBuilding = true;
# gcc 4.8 used for the build:
#
# gcc5 crashes during compilation; gcc >= 4.9 produces a
# binary that crashes when forking a child process. See:
# http://forum.world.st/OSProcess-fork-issue-with-Debian-built-VM-td4947326.html
#
# (stack protection is disabled above for gcc 4.8 compatibility.)
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
bash
unzip
glibc
openssl
gcc48
libGLU libGL
freetype
xorg.libX11
xorg.libICE
xorg.libSM
alsaLib
cairo
pharo-share
libuuid
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Clean and innovative Smalltalk-inspired environment"; description = "Clean and innovative Smalltalk-inspired environment";
homepage = "https://pharo.org";
longDescription = '' longDescription = ''
Pharo's goal is to deliver a clean, innovative, free open-source Pharo's goal is to deliver a clean, innovative, free open-source
Smalltalk-inspired environment. By providing a stable and small core Smalltalk-inspired environment. By providing a stable and small core
@ -165,7 +166,6 @@ stdenv.mkDerivation rec {
Please fill bug reports on http://bugs.pharo.org under the 'Ubuntu Please fill bug reports on http://bugs.pharo.org under the 'Ubuntu
packaging (ppa:pharo/stable)' project. packaging (ppa:pharo/stable)' project.
''; '';
homepage = "http://pharo.org";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.lukego ]; maintainers = [ maintainers.lukego ];
platforms = [ "i686-linux" "x86_64-linux" ]; platforms = [ "i686-linux" "x86_64-linux" ];

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Shared files for Pharo"; description = "Shared files for Pharo";
homepage = "http://pharo.org"; homepage = "https://pharo.org";
license = stdenv.lib.licenses.mit; license = stdenv.lib.licenses.mit;
maintainers = [ ]; maintainers = [ ];
}; };