Merge branch 'staging'
This includes a fix to closure-size regression that moved share/doc/*/ to share/doc/
This commit is contained in:
commit
e9379f7416
|
@ -98,9 +98,9 @@ in {
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pulseaudioLight;
|
default = pulseaudioLight.out;
|
||||||
defaultText = "pkgs.pulseaudioLight";
|
defaultText = "pkgs.pulseaudioLight.out";
|
||||||
example = literalExample "pkgs.pulseaudioFull";
|
example = literalExample "pkgs.pulseaudioFull.out";
|
||||||
description = ''
|
description = ''
|
||||||
The PulseAudio derivation to use. This can be used to enable
|
The PulseAudio derivation to use. This can be used to enable
|
||||||
features (such as JACK support, Bluetooth) via the
|
features (such as JACK support, Bluetooth) via the
|
||||||
|
|
|
@ -62,17 +62,25 @@ in
|
||||||
${config.hardware.pulseaudio.package}/bin/pactl load-module module-device-manager "do_routing=1"
|
${config.hardware.pulseaudio.package}/bin/pactl load-module module-device-manager "do_routing=1"
|
||||||
''}
|
''}
|
||||||
|
|
||||||
exec startkde
|
exec "${kde5.startkde}"
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
security.setuidOwners = singleton {
|
security.setuidOwners = [
|
||||||
program = "kcheckpass";
|
{
|
||||||
source = "${kde5.plasma-workspace.out}/lib/libexec/kcheckpass";
|
program = "kcheckpass";
|
||||||
owner = "root";
|
source = "${kde5.plasma-workspace}/lib/libexec/kcheckpass";
|
||||||
group = "root";
|
owner = "root";
|
||||||
setuid = true;
|
setuid = true;
|
||||||
};
|
}
|
||||||
|
{
|
||||||
|
program = "start_kdeinit_wrapper";
|
||||||
|
source = "${kde5.plasma-workspace}/lib/libexec/kf5/start_kdeinit_wrapper";
|
||||||
|
owner = "root";
|
||||||
|
setuid = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[
|
[
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
|
{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
|
||||||
, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode
|
, zlib, miniupnpc, qt4, qmake4Hook, utillinux, protobuf, qrencode
|
||||||
, withGui }:
|
, withGui }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
@ -15,13 +15,11 @@ stdenv.mkDerivation rec{
|
||||||
|
|
||||||
buildInputs = [ pkgconfig openssl db48 boost zlib
|
buildInputs = [ pkgconfig openssl db48 boost zlib
|
||||||
miniupnpc utillinux protobuf ]
|
miniupnpc utillinux protobuf ]
|
||||||
++ optionals withGui [ qt4 qrencode ];
|
++ optionals withGui [ qt4 qmake4Hook qrencode ];
|
||||||
|
|
||||||
configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]
|
configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]
|
||||||
++ optionals withGui [ "--with-gui=qt4" ];
|
++ optionals withGui [ "--with-gui=qt4" ];
|
||||||
|
|
||||||
configurePhase = optional withGui "qmake";
|
|
||||||
|
|
||||||
preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile";
|
preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile";
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, db4, boost, openssl, qt4, miniupnpc, unzip, namecoind }:
|
{ stdenv, db4, boost, openssl, qt4, qmake4Hook, miniupnpc, unzip, namecoind }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -7,15 +7,9 @@ stdenv.mkDerivation rec {
|
||||||
version = namecoind.version;
|
version = namecoind.version;
|
||||||
src = namecoind.src;
|
src = namecoind.src;
|
||||||
|
|
||||||
buildInputs = [ db4 boost openssl unzip qt4 miniupnpc ];
|
buildInputs = [ db4 boost openssl unzip qt4 qmake4Hook miniupnpc ];
|
||||||
|
|
||||||
configurePhase = ''
|
qmakeFlags = [ "USE_UPNP=-" ];
|
||||||
qmake USE_UPNP=-
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
make
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
|
{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
|
||||||
, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode
|
, zlib, miniupnpc, qt4, qmake4Hook, utillinux, protobuf, qrencode
|
||||||
, withGui }:
|
, withGui }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
@ -15,13 +15,11 @@ stdenv.mkDerivation rec{
|
||||||
|
|
||||||
buildInputs = [ pkgconfig openssl db48 boost zlib
|
buildInputs = [ pkgconfig openssl db48 boost zlib
|
||||||
miniupnpc utillinux protobuf ]
|
miniupnpc utillinux protobuf ]
|
||||||
++ optionals withGui [ qt4 qrencode ];
|
++ optionals withGui [ qt4 qmake4Hook qrencode ];
|
||||||
|
|
||||||
configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]
|
configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]
|
||||||
++ optionals withGui [ "--with-gui=qt4" ];
|
++ optionals withGui [ "--with-gui=qt4" ];
|
||||||
|
|
||||||
configurePhase = optional withGui "qmake";
|
|
||||||
|
|
||||||
preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile";
|
preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile";
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, makeQtWrapper }:
|
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmakeHook, makeQtWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
|
||||||
owner = "gillesdegottex";
|
owner = "gillesdegottex";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftw libsndfile qtbase qtmultimedia ];
|
buildInputs = [ fftw libsndfile qtbase qtmultimedia qmakeHook ];
|
||||||
|
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeQtWrapper ];
|
||||||
|
|
||||||
|
@ -47,10 +47,8 @@ in stdenv.mkDerivation rec {
|
||||||
cp -Rv "${libqaudioextra.src}"/* external/libqaudioextra
|
cp -Rv "${libqaudioextra.src}"/* external/libqaudioextra
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
qmakeFlags="$qmakeFlags PREFIXSHORTCUT=$out"
|
||||||
qmake PREFIX=$out PREFIXSHORTCUT=$out dfasma.pro
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, fftw, freeglut, qtbase, qtmultimedia
|
{ stdenv, fetchFromGitHub, fftw, freeglut, mesa_glu, qtbase, qtmultimedia, qmakeHook
|
||||||
, alsaSupport ? true, alsaLib ? null
|
, alsaSupport ? true, alsaLib ? null
|
||||||
, jackSupport ? false, libjack2 ? null
|
, jackSupport ? false, libjack2 ? null
|
||||||
, portaudioSupport ? false, portaudio ? null }:
|
, portaudioSupport ? false, portaudio ? null }:
|
||||||
|
@ -18,22 +18,17 @@ stdenv.mkDerivation rec {
|
||||||
owner = "gillesdegottex";
|
owner = "gillesdegottex";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftw freeglut qtbase qtmultimedia ]
|
buildInputs = [ fftw freeglut mesa_glu qtbase qtmultimedia qmakeHook ]
|
||||||
++ stdenv.lib.optionals alsaSupport [ alsaLib ]
|
++ stdenv.lib.optionals alsaSupport [ alsaLib ]
|
||||||
++ stdenv.lib.optionals jackSupport [ libjack2 ]
|
++ stdenv.lib.optionals jackSupport [ libjack2 ]
|
||||||
++ stdenv.lib.optionals portaudioSupport [ portaudio ];
|
++ stdenv.lib.optionals portaudioSupport [ portaudio ];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
qmakeFlags="$qmakeFlags \
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
qmake \
|
|
||||||
CONFIG+=${stdenv.lib.optionalString alsaSupport "acs_alsa"} \
|
CONFIG+=${stdenv.lib.optionalString alsaSupport "acs_alsa"} \
|
||||||
CONFIG+=${stdenv.lib.optionalString jackSupport "acs_jack"} \
|
CONFIG+=${stdenv.lib.optionalString jackSupport "acs_jack"} \
|
||||||
CONFIG+=${stdenv.lib.optionalString portaudioSupport "acs_portaudio"} \
|
CONFIG+=${stdenv.lib.optionalString portaudioSupport "acs_portaudio"} \
|
||||||
PREFIX="$out" PREFIXSHORTCUT="$out" \
|
PREFIXSHORTCUT=$out"
|
||||||
../fmit.pro
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, qt5
|
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, qtbase, qtscript, qmakeHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -11,13 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "184ydb9f1303v332k5k3f1ki7cb6nkxhh6ij0yn72v7dp7figrgj";
|
sha256 = "184ydb9f1303v332k5k3f1ki7cb6nkxhh6ij0yn72v7dp7figrgj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib pkgconfig qt5.qtbase qt5.qtscript ];
|
buildInputs = [ alsaLib pkgconfig qtbase qtscript qmakeHook ];
|
||||||
|
|
||||||
configurePhase = ''
|
qmakeFlags = [ "PREFIX=/" ];
|
||||||
runHook preConfigure
|
|
||||||
qmake PREFIX=/
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, taglib }:
|
{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, qmakeHook, taglib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "keyfinder-${version}";
|
name = "keyfinder-${version}";
|
||||||
|
@ -11,21 +11,14 @@ stdenv.mkDerivation rec {
|
||||||
owner = "ibsh";
|
owner = "ibsh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns taglib ];
|
buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns qmakeHook taglib ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace is_KeyFinder.pro \
|
substituteInPlace is_KeyFinder.pro \
|
||||||
--replace "keyfinder.0" "keyfinder" \
|
--replace "keyfinder.0" "keyfinder" \
|
||||||
--replace '$$[QT_INSTALL_PREFIX]' "$out" \
|
|
||||||
--replace "-stdlib=libc++" ""
|
--replace "-stdlib=libc++" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, fetchurl, withMtp ? true, libmtp, pkgconfig, which, qt4 }:
|
{ stdenv, lib, fetchurl, withMtp ? true, libmtp, pkgconfig, which, qt4, qmake4Hook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qtscrobbler-${version}";
|
name = "qtscrobbler-${version}";
|
||||||
|
@ -9,18 +9,16 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "01c8e48f616ed09504833d27d92fd62f455bd645ea2d1cc2a5f4c287d641daba";
|
sha256 = "01c8e48f616ed09504833d27d92fd62f455bd645ea2d1cc2a5f4c287d641daba";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = lib.optionals withMtp [ pkgconfig which ];
|
nativeBuildInputs = [ qmake4Hook ] ++ lib.optionals withMtp [ pkgconfig which ];
|
||||||
buildInputs = [ qt4 ] ++ lib.optional withMtp libmtp;
|
buildInputs = [ qt4 ] ++ lib.optional withMtp libmtp;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cd src
|
cd src
|
||||||
sed -i "s,/usr/local,$out," common.pri
|
sed -i -e "s,/usr/local,$out," -e "s,/usr,," common.pri
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = "qmake";
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Qt based last.fm scrobbler";
|
description = "Qt based last.fm scrobbler";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{ stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
|
{ stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
|
||||||
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
|
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
|
||||||
, libsndfile, pkgconfig, libpulseaudio, makeQtWrapper, qtbase, redland
|
, libsndfile, pkgconfig, libpulseaudio, makeQtWrapper, qtbase, redland
|
||||||
, rubberband, serd, sord, vampSDK, fftwFloat
|
, qmakeHook, rubberband, serd, sord, vampSDK, fftwFloat
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ libsndfile qtbase fftw fftwFloat bzip2 librdf rubberband
|
[ libsndfile qtbase qmakeHook fftw fftwFloat bzip2 librdf rubberband
|
||||||
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
||||||
serd
|
serd
|
||||||
sord
|
sord
|
||||||
|
@ -32,13 +32,12 @@ stdenv.mkDerivation rec {
|
||||||
libX11
|
libX11
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
||||||
|
|
||||||
buildPhase = ''
|
configurePhase = ''
|
||||||
for i in sonic-visualiser svapp svcore svgui;
|
for i in sonic-visualiser svapp svcore svgui;
|
||||||
do cd $i && qmake -makefile PREFIX=$out && cd ..;
|
do cd $i && qmake PREFIX=$out && cd ..;
|
||||||
done
|
done
|
||||||
make
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, qt4, pkgconfig, hunspell}:
|
{ stdenv, fetchurl, qt4, qmake4Hook, pkgconfig, hunspell }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "focuswriter-${version}";
|
name = "focuswriter-${version}";
|
||||||
|
@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w";
|
sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 pkgconfig hunspell ];
|
buildInputs = [ qt4 qmake4Hook pkgconfig hunspell ];
|
||||||
|
|
||||||
configurePhase = "qmake PREFIX=/";
|
qmakeFlags = [ "PREFIX=/" ];
|
||||||
|
|
||||||
installPhase = "make install INSTALL_ROOT=$out";
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Simple, distraction-free writing environment";
|
description = "Simple, distraction-free writing environment";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qt4, poppler_qt4, zlib, pkgconfig, poppler}:
|
{ stdenv, fetchurl, qt4, qmake4Hook, poppler_qt4, zlib, pkgconfig, poppler }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "texmaker";
|
pname = "texmaker";
|
||||||
|
@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 poppler_qt4 zlib ];
|
buildInputs = [ qt4 poppler_qt4 zlib ];
|
||||||
nativeBuildInputs = [ pkgconfig poppler ];
|
nativeBuildInputs = [ pkgconfig poppler qmake4Hook ];
|
||||||
NIX_CFLAGS_COMPILE="-I${poppler}/include/poppler";
|
NIX_CFLAGS_COMPILE="-I${poppler}/include/poppler";
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
qmake PREFIX=$out DESKTOPDIR=$out/share/applications ICONDIR=$out/share/pixmaps texmaker.pro
|
qmakeFlags="$qmakeFlags DESKTOPDIR=$out/share/applications ICONDIR=$out/share/pixmaps"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qt4, poppler_qt4, zlib, pkgconfig}:
|
{ stdenv, fetchurl, qt4, qmake4Hook, poppler_qt4, zlib, pkgconfig}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "texstudio";
|
pname = "texstudio";
|
||||||
|
@ -11,11 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1smmc4xqs8x8qzp6iqj2wr4xarfnxxxp6rq6chx1kb256w75jwfw";
|
sha256 = "1smmc4xqs8x8qzp6iqj2wr4xarfnxxxp6rq6chx1kb256w75jwfw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 poppler_qt4 zlib pkgconfig];
|
buildInputs = [ qt4 qmake4Hook poppler_qt4 zlib pkgconfig ];
|
||||||
|
|
||||||
preConfigure = ''
|
qmakeFlags = [ "NO_APPDATA=True" ];
|
||||||
qmake PREFIX=$out NO_APPDATA=True texstudio.pro
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "TeX and LaTeX editor";
|
description = "TeX and LaTeX editor";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qtbase, qttools, pkgconfig, python }:
|
{ stdenv, fetchurl, qtbase, qttools, qmakeHook, pkgconfig, python }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.12.3";
|
version = "0.12.3";
|
||||||
|
@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase qttools pkgconfig python ];
|
buildInputs = [ qtbase qttools qmakeHook pkgconfig python ];
|
||||||
|
|
||||||
preConfigure = "qmake -r PREFIX=$out";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A free, easy to use and flexible tile map editor";
|
description = "A free, easy to use and flexible tile map editor";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchgit, libpng, python3, boost, mesa, qtbase, ncurses }:
|
{ stdenv, fetchgit, libpng, python3, boost, mesa, qtbase, qmakeHook, ncurses }:
|
||||||
|
|
||||||
let
|
let
|
||||||
gitRev = "745eca3a2d2657c495d5509e9083c884e021d09c";
|
gitRev = "745eca3a2d2657c495d5509e9083c884e021d09c";
|
||||||
|
@ -31,16 +31,14 @@ in
|
||||||
mesa qtbase ncurses
|
mesa qtbase ncurses
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
nativeBuildHooks = [ qmakeHook ];
|
||||||
runHook preConfigure
|
|
||||||
|
preConfigure = ''
|
||||||
export GITREV=${gitRev}
|
export GITREV=${gitRev}
|
||||||
export GITBRANCH=${gitBranch}
|
export GITBRANCH=${gitBranch}
|
||||||
export GITTAG=${gitTag}
|
export GITTAG=${gitTag}
|
||||||
|
|
||||||
cd qt
|
cd qt
|
||||||
export sourceRoot=$sourceRoot/qt
|
|
||||||
qmake antimony.pro PREFIX=$out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, qtbase, makeWrapper }:
|
{ lib, stdenv, fetchurl, qtbase, qmakeHook, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "awesomebump-4.0";
|
name = "awesomebump-4.0";
|
||||||
|
@ -10,9 +10,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
setSourceRoot = "sourceRoot=$(echo */Sources)";
|
setSourceRoot = "sourceRoot=$(echo */Sources)";
|
||||||
|
|
||||||
buildInputs = [ qtbase makeWrapper ];
|
buildInputs = [ qtbase qmakeHook makeWrapper ];
|
||||||
|
|
||||||
preBuild = "qmake";
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ To use aditional parts libraries
|
||||||
set the variable LEOCAD_LIB=/path/to/libs/ or use option -l /path/to/libs/
|
set the variable LEOCAD_LIB=/path/to/libs/ or use option -l /path/to/libs/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{ stdenv, fetchsvn, qt4, zlib }:
|
{ stdenv, fetchsvn, qt4, qmake4Hook, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "leocad-${version}";
|
name = "leocad-${version}";
|
||||||
|
@ -14,12 +14,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1190gb437ls51hhfiwa79fq131026kywpy3j3k4fkdgfr8a9v3q8";
|
sha256 = "1190gb437ls51hhfiwa79fq131026kywpy3j3k4fkdgfr8a9v3q8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 zlib ];
|
buildInputs = [ qt4 qmake4Hook zlib ];
|
||||||
|
|
||||||
prefixKey = "INSTALL_PREFIX=";
|
|
||||||
configureScript = "qmake leocad.pro";
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace common/camera.cpp --replace "isnan(" "std::isnan("
|
substituteInPlace common/camera.cpp --replace "isnan(" "std::isnan("
|
||||||
|
export qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, qt4, bzip2, lib3ds, levmar, muparser, unzip}:
|
{ stdenv, fetchurl, qt4, bzip2, lib3ds, levmar, muparser, unzip, vcg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "meshlab-1.3.3";
|
name = "meshlab-1.3.3";
|
||||||
|
@ -16,8 +16,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir -p "$out/include"
|
mkdir -p "$out/include"
|
||||||
cp -r vcglib "$out/include"
|
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$out/include/vcglib"
|
|
||||||
export NIX_LDFLAGS="-rpath $out/opt/meshlab $NIX_LDFLAGS"
|
export NIX_LDFLAGS="-rpath $out/opt/meshlab $NIX_LDFLAGS"
|
||||||
cd meshlab/src
|
cd meshlab/src
|
||||||
pushd external
|
pushd external
|
||||||
|
@ -38,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
|
||||||
buildInputs = [ qt4 unzip ];
|
buildInputs = [ qt4 unzip vcg ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "System for the processing and editing of unstructured 3D triangular meshes";
|
description = "System for the processing and editing of unstructured 3D triangular meshes";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qt4, bison, flex, eigen, boost, mesa, glew, opencsg, cgal
|
{ stdenv, fetchurl, qt4, qmake4Hook, bison, flex, eigen, boost, mesa, glew, opencsg, cgal
|
||||||
, mpfr, gmp, glib, pkgconfig, harfbuzz, qscintilla, gettext
|
, mpfr, gmp, glib, pkgconfig, harfbuzz, qscintilla, gettext
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -12,13 +12,11 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qt4 bison flex eigen boost mesa glew opencsg cgal mpfr gmp glib
|
qt4 qmake4Hook bison flex eigen boost mesa glew opencsg cgal mpfr gmp glib
|
||||||
pkgconfig harfbuzz qscintilla gettext
|
pkgconfig harfbuzz qscintilla gettext
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
qmakeFlags = [ "VERSION=${version}" ];
|
||||||
qmake PREFIX="$out" VERSION=${version}
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, qtbase, exiv2 }:
|
{ stdenv, fetchFromGitHub, qtbase, qmakeHook, exiv2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "phototonic-${version}";
|
name = "phototonic-${version}";
|
||||||
|
@ -14,16 +14,12 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase exiv2 ];
|
buildInputs = [ qtbase exiv2 ];
|
||||||
|
nativeBuildInputs = [ qmakeHook ];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
|
||||||
sed -i 's;/usr;;' phototonic.pro
|
|
||||||
qmake PREFIX=""
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An image viewer and organizer";
|
description = "An image viewer and organizer";
|
||||||
homepage = http://oferkv.github.io/phototonic/;
|
homepage = http://oferkv.github.io/phototonic/;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, qt4, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
|
{stdenv, fetchurl, qt4, qmake4Hook, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qtpfsgui-1.9.3";
|
name = "qtpfsgui-1.9.3";
|
||||||
|
@ -9,15 +9,19 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
|
buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
export CPATH="${ilmbase}/include/OpenEXR:$CPATH"
|
export CPATH="${ilmbase}/include/OpenEXR:$CPATH"
|
||||||
qmake PREFIX=$out EXIV2PATH=${exiv2}/include/exiv2 \
|
|
||||||
OPENEXRDIR=${openexr}/include/OpenEXR \
|
|
||||||
FFTW3DIR=${fftwSinglePrec}/include \
|
|
||||||
LIBTIFFDIR=${libtiff}/include
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
qmakeFlags = [
|
||||||
|
"EXIV2PATH=${exiv2}/include/exiv2"
|
||||||
|
"OPENEXRDIR=${openexr}/include/OpenEXR"
|
||||||
|
"FFTW3DIR=${fftwSinglePrec}/include"
|
||||||
|
"LIBTIFFDIR=${libtiff}/include"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://qtpfsgui.sourceforge.net/;
|
homepage = http://qtpfsgui.sourceforge.net/;
|
||||||
description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
|
description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchgit, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline
|
{ stdenv, fetchgit, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline
|
||||||
, qtbase
|
, qtbase, qmakeHook, mesa_glu
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -12,14 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "15c18jvgbwyrfhv7r35ih0gzx35vjlsbi984h1sckgh2z17hjq8l";
|
sha256 = "15c18jvgbwyrfhv7r35ih0gzx35vjlsbi984h1sckgh2z17hjq8l";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase cgal boost gmp mpfr flex bison dxflib readline ];
|
buildInputs = [ qtbase qmakeHook cgal boost gmp mpfr flex bison dxflib readline mesa_glu ];
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake
|
|
||||||
sed -e "s@/usr/@$out/@g" -i $(find . -name Makefile)
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget,
|
{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget,
|
||||||
qtquickcontrols, qtgraphicaleffects }:
|
qtquickcontrols, qtgraphicaleffects, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
@ -17,15 +17,9 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
|
buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
||||||
|
|
||||||
configurePhase = ''
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||||
runHook preConfigure
|
|
||||||
qmake PREFIX=$out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = "make -j $NIX_BUILD_CORES INSTALL_ROOT=$out install";
|
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
mv $out/usr/share $out/share
|
mv $out/usr/share $out/share
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qt4, poppler_qt4 }:
|
{ stdenv, fetchurl, qt4, poppler_qt4, qmake4Hook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.1.3";
|
version = "2.1.3";
|
||||||
|
@ -12,13 +12,12 @@ stdenv.mkDerivation rec {
|
||||||
patches = [ ./fix_path_poppler_qt4.patch ];
|
patches = [ ./fix_path_poppler_qt4.patch ];
|
||||||
|
|
||||||
buildInputs = [ qt4 poppler_qt4 ];
|
buildInputs = [ qt4 poppler_qt4 ];
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
preBuild = ''
|
preConfigure = ''
|
||||||
substituteInPlace diffpdf.pro --replace @@NIX_POPPLER_QT4@@ ${poppler_qt4}
|
substituteInPlace diffpdf.pro --replace @@NIX_POPPLER_QT4@@ ${poppler_qt4}
|
||||||
[ -e "*.qm" ] && make clean
|
|
||||||
lrelease diffpdf.pro
|
lrelease diffpdf.pro
|
||||||
qmake -makefile PREFIX=\$out
|
'';
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/man/man1
|
mkdir -p $out/bin $out/share/man/man1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchgit, bzip2, qt4, libX11}:
|
{ stdenv, fetchgit, bzip2, qt4, qmake4Hook, libX11 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "evopedia-${version}";
|
name = "evopedia-${version}";
|
||||||
|
@ -10,11 +10,8 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1biq9zaj8nhxx1pixidsn97iwp9qy1yslgl0znpa4d4p35jcg48g";
|
sha256 = "1biq9zaj8nhxx1pixidsn97iwp9qy1yslgl0znpa4d4p35jcg48g";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
qmake PREFIX=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ bzip2 qt4 libX11 ];
|
buildInputs = [ bzip2 qt4 libX11 ];
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Offline Wikipedia Viewer";
|
description = "Offline Wikipedia Viewer";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ fetchurl, stdenv, db, boost, gmp, mpfr, miniupnpc, qt4, unzip }:
|
{ fetchurl, stdenv, db, boost, gmp, mpfr, miniupnpc, qt4, qmake4Hook, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.8.3-1";
|
version = "0.8.3-1";
|
||||||
|
@ -11,9 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# I think that openssl and zlib are required, but come through other
|
# I think that openssl and zlib are required, but come through other
|
||||||
# packages
|
# packages
|
||||||
buildInputs = [ db boost gmp mpfr miniupnpc qt4 unzip ];
|
buildInputs = [ db boost gmp mpfr miniupnpc qt4 unzip qmake4Hook ];
|
||||||
|
|
||||||
configurePhase = "qmake";
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia
|
{ stdenv, fetchurl, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia
|
||||||
, qttools, yacc, flex, zlib, config, makeQtWrapper }:
|
, qttools, yacc, flex, zlib, config, qmakeHook, makeQtWrapper }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "golden-cheetah-${version}";
|
name = "golden-cheetah-${version}";
|
||||||
version = "V4.0-DEV1603";
|
version = "V4.0-DEV1603";
|
||||||
|
@ -10,15 +10,14 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools yacc flex zlib
|
qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools yacc flex zlib
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
|
||||||
cp src/gcconfig.pri.in src/gcconfig.pri
|
cp src/gcconfig.pri.in src/gcconfig.pri
|
||||||
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
||||||
echo 'QMAKE_LRELEASE = ${qttools}/bin/lrelease' >> src/gcconfig.pri
|
echo 'QMAKE_LRELEASE = ${qttools}/bin/lrelease' >> src/gcconfig.pri
|
||||||
sed -i -e '21,23d' qwt/qwtconfig.pri # Removed forced installation to /usr/local
|
sed -i -e '21,23d' qwt/qwtconfig.pri # Removed forced installation to /usr/local
|
||||||
qmake PREFIX=$out build.pro
|
|
||||||
'';
|
'';
|
||||||
|
#postConfigure =
|
||||||
# + (
|
# + (
|
||||||
# with (config.golden-cheetah);
|
# with (config.golden-cheetah);
|
||||||
# stdenv.lib.optionalString (dropbox-client-id != null && dropbox-client-secret != null) ''
|
# stdenv.lib.optionalString (dropbox-client-id != null && dropbox-client-secret != null) ''
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub, pkgconfig, qt4, libXtst, libvorbis, hunspell, libao, ffmpeg, libeb, lzo, xz, libtiff }:
|
{ stdenv, fetchFromGitHub, pkgconfig, qt4, qmake4Hook, libXtst, libvorbis, hunspell
|
||||||
|
, libao, ffmpeg, libeb, lzo, xz, libtiff }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "goldendict-1.5.0.ec86515";
|
name = "goldendict-1.5.0.ec86515";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -8,10 +9,12 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "070majwxbn15cy7sbgz7ljl8rkn7vcgkm10884v97csln7bfzwhr";
|
sha256 = "070majwxbn15cy7sbgz7ljl8rkn7vcgkm10884v97csln7bfzwhr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff ];
|
buildInputs = [
|
||||||
configurePhase = ''
|
pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb
|
||||||
qmake PREFIX=$out 'CONFIG+=zim_support'
|
lzo xz libtiff qmake4Hook
|
||||||
'';
|
];
|
||||||
|
|
||||||
|
qmakeFlags = [ "CONFIG+=zim_support" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://goldendict.org/;
|
homepage = http://goldendict.org/;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, qt4, gnuradio, boost, gnuradio-osmosdr
|
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, gnuradio, boost, gnuradio-osmosdr
|
||||||
# drivers (optional):
|
# drivers (optional):
|
||||||
, rtl-sdr, hackrf
|
, rtl-sdr, hackrf
|
||||||
, pulseaudioSupport ? true, libpulseaudio
|
, pulseaudioSupport ? true, libpulseaudio
|
||||||
|
@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "02pavd1kc0gsnrl18bfa01r2f3j4j05zly4a8zwss9yrsgf8432x";
|
sha256 = "02pavd1kc0gsnrl18bfa01r2f3j4j05zly4a8zwss9yrsgf8432x";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qt4 gnuradio boost gnuradio-osmosdr rtl-sdr hackrf
|
qt4 gnuradio boost gnuradio-osmosdr rtl-sdr hackrf
|
||||||
] ++ stdenv.lib.optionals pulseaudioSupport [ libpulseaudio ];
|
] ++ stdenv.lib.optionals pulseaudioSupport [ libpulseaudio ];
|
||||||
|
|
||||||
configurePhase = ''qmake PREFIX="$out"'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, bzip2, qt4, libX11, xextproto, libXtst }:
|
{ stdenv, fetchurl, bzip2, qt4, qmake4Hook, libX11, xextproto, libXtst }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "keepassx-${version}";
|
name = "keepassx-${version}";
|
||||||
|
@ -9,14 +9,12 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1i5dq10x28mg7m4c0yacm32xfj4j7imir4ph8x9p0s2ym260c9ry";
|
sha256 = "1i5dq10x28mg7m4c0yacm32xfj4j7imir4ph8x9p0s2ym260c9ry";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
qmake PREFIX=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
patches = [ ./random.patch ];
|
patches = [ ./random.patch ];
|
||||||
|
|
||||||
buildInputs = [ bzip2 qt4 libX11 xextproto libXtst ];
|
buildInputs = [ bzip2 qt4 libX11 xextproto libXtst ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Qt password manager compatible with its Win32 and Pocket PC versions";
|
description = "Qt password manager compatible with its Win32 and Pocket PC versions";
|
||||||
homepage = http://www.keepassx.org/;
|
homepage = http://www.keepassx.org/;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qt4, muparser, which, boost, pkgconfig }:
|
{ stdenv, fetchurl, qt4, qmake4Hook, muparser, which, boost, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.0.9";
|
version = "2.0.9";
|
||||||
|
@ -15,9 +15,7 @@ stdenv.mkDerivation rec {
|
||||||
sed -i -e s,/usr/share,$out/share, librecad/src/lib/engine/rs_system.cpp
|
sed -i -e s,/usr/share,$out/share, librecad/src/lib/engine/rs_system.cpp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
qmakeFlags = [ "MUPARSER_DIR=${muparser}" "BOOST_DIR=${boost.dev}" ];
|
||||||
qmake librecad.pro PREFIX=$out MUPARSER_DIR=${muparser} BOOST_DIR=${boost.dev}
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share
|
mkdir -p $out/bin $out/share
|
||||||
|
@ -26,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ qt4 muparser which boost ];
|
buildInputs = [ qt4 muparser which boost ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig qmake4Hook ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, qt4, boost, proj, gdal_1_11}:
|
{ stdenv, fetchurl, qt4, qmake4Hook, boost, proj, gdal_1_11 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "merkaartor-0.18.1";
|
name = "merkaartor-0.18.1";
|
||||||
|
@ -7,12 +7,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "17qk45pmlxqigla1915dvn9pp91y85d2bkcaap4g3m8mk1crcsix";
|
sha256 = "17qk45pmlxqigla1915dvn9pp91y85d2bkcaap4g3m8mk1crcsix";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
qmake -makefile PREFIX=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ qt4 boost proj gdal_1_11 ];
|
buildInputs = [ qt4 boost proj gdal_1_11 ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An openstreetmap editor";
|
description = "An openstreetmap editor";
|
||||||
homepage = http://merkaartor.org/;
|
homepage = http://merkaartor.org/;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, qt4, libpulseaudio }:
|
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, libpulseaudio }:
|
||||||
let
|
let
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
in
|
in
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ qt4 libpulseaudio ];
|
buildInputs = [ qt4 libpulseaudio ];
|
||||||
|
|
||||||
preBuild = "qmake multimon-ng.pro";
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qt4 }:
|
{ stdenv, fetchurl, qt4, qmake4Hook }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "navipowm-0.2.4";
|
name = "navipowm-0.2.4";
|
||||||
|
|
||||||
|
@ -7,9 +7,8 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1kdih8kwpgcgfh6l6njkr9gq2j5hv39xvzmzgvhip553kn6bss7b";
|
sha256 = "1kdih8kwpgcgfh6l6njkr9gq2j5hv39xvzmzgvhip553kn6bss7b";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
cd Qt/KDevelop
|
cd Qt/KDevelop
|
||||||
qmake
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -20,6 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ qt4 ];
|
buildInputs = [ qt4 ];
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://navipowm.sourceforge.net/;
|
homepage = http://navipowm.sourceforge.net/;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, qt4, vcg, glew }:
|
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, vcg, glew }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "openbrf-2016-01-09";
|
name = "openbrf-2016-01-09";
|
||||||
|
@ -10,18 +10,16 @@ stdenv.mkDerivation {
|
||||||
sha256 = "0laikpz0ljz7l5fgapwj09ygizmvj1iywnpfgfd0i14j46s134xb";
|
sha256 = "0laikpz0ljz7l5fgapwj09ygizmvj1iywnpfgfd0i14j46s134xb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 vcg glew ];
|
buildInputs = [ qt4 qmake4Hook vcg glew ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
qmakeFlags = [ "openBrf.pro" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i 's,^VCGLIB .*,VCGLIB = ${vcg}/include,' openBrf.pro
|
sed -i 's,^VCGLIB .*,VCGLIB = ${vcg}/include,' openBrf.pro
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
qmake PREFIX=$out openBrf.pro
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 openBrf $out/bin/openBrf
|
install -Dm755 openBrf $out/bin/openBrf
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, qt }:
|
{ stdenv, fetchFromGitHub, qt4, qmake4Hook }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.08.03";
|
version = "1.08.03";
|
||||||
|
@ -13,23 +13,24 @@ stdenv.mkDerivation {
|
||||||
sha256 = "0kxb0n11agqid0nyqdspfndm03b8l0nl8x4yx2hsrizs6m5z08h4";
|
sha256 = "0kxb0n11agqid0nyqdspfndm03b8l0nl8x4yx2hsrizs6m5z08h4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt ];
|
buildInputs = [ qt4 ];
|
||||||
|
|
||||||
|
nativeBuildHooks = [ qmake4Hook ];
|
||||||
|
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/src";
|
postUnpack = "sourceRoot=\${sourceRoot}/src";
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
qmake \
|
qmakeFlags="$qmakeFlags \
|
||||||
PREFIX=$out \
|
|
||||||
DESKTOPDIR=$out/share/applications \
|
DESKTOPDIR=$out/share/applications \
|
||||||
ICONDIR=$out/share/pixmaps \
|
ICONDIR=$out/share/pixmaps \
|
||||||
QtBitcoinTrader_Desktop.pro
|
"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib;
|
meta = with stdenv.lib;
|
||||||
{ description = "Secure bitcoin trading client";
|
{ description = "Secure bitcoin trading client";
|
||||||
homepage = https://centrabit.com/;
|
homepage = https://centrabit.com/;
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
platforms = qt.meta.platforms;
|
platforms = qt4.meta.platforms;
|
||||||
maintainers = [ maintainers.ehmry ];
|
maintainers = [ maintainers.ehmry ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, git, gnupg, makeQtWrapper, pass, qtbase, qtsvg, qttools }:
|
{ stdenv, fetchurl, git, gnupg, makeQtWrapper, pass, qtbase, qtsvg, qttools, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qtpass-${version}";
|
name = "qtpass-${version}";
|
||||||
|
@ -9,12 +9,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "60b458062f54184057e55dbd9c93958a8bf845244ffd70b9cb31bf58697f0dc6";
|
sha256 = "60b458062f54184057e55dbd9c93958a8bf845244ffd70b9cb31bf58697f0dc6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git gnupg makeQtWrapper pass qtbase qtsvg qttools ];
|
buildInputs = [ git gnupg makeQtWrapper pass qtbase qtsvg qttools qmakeHook ];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
qmakeFlags="$qmakeFlags CONFIG+=release DESTDIR=$out"
|
||||||
qmake CONFIG+=release PREFIX=$out DESTDIR=$out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchgit, qt4, trousers }:
|
{ stdenv, fetchgit, qt4, qmake4Hook, trousers }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.8.1";
|
version = "0.8.1";
|
||||||
|
@ -10,11 +10,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "24a606f88fed67ed0d0e61dc220295e9e1ab8db3ef3d028fa34b04ff30652d8e";
|
sha256 = "24a606f88fed67ed0d0e61dc220295e9e1ab8db3ef3d028fa34b04ff30652d8e";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 trousers ];
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
preBuild = ''
|
buildInputs = [ qt4 trousers ];
|
||||||
qmake -makefile PREFIX=\$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, pkgconfig, boost }:
|
{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, qmakeHook, pkgconfig, boost }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "twmn-git-2014-09-23";
|
name = "twmn-git-2014-09-23";
|
||||||
|
@ -9,13 +9,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "9c91e9d3d6d7f9d90d34da6f1a4b9f3dee65605c1e43729417d6921c54dded6b";
|
sha256 = "9c91e9d3d6d7f9d90d34da6f1a4b9f3dee65605c1e43729417d6921c54dded6b";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase qtx11extras pkgconfig boost ];
|
buildInputs = [ qtbase qtx11extras pkgconfig boost qmakeHook ];
|
||||||
|
|
||||||
configurePhase = ''
|
postPatch = ''
|
||||||
runHook preConfigure
|
|
||||||
sed -i s/-Werror// twmnd/twmnd.pro
|
sed -i s/-Werror// twmnd/twmnd.pro
|
||||||
qmake
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, qt4 }:
|
{ stdenv, fetchurl, pkgconfig, qt4, qmake4Hook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "vym-${version}";
|
name = "vym-${version}";
|
||||||
|
@ -9,11 +9,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1x4qp6wpszscbbs4czkfvskm7qjglvxm813nqv281bpy4y1hhvgs";
|
sha256 = "1x4qp6wpszscbbs4czkfvskm7qjglvxm813nqv281bpy4y1hhvgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig qt4 ];
|
buildInputs = [ pkgconfig qt4 qmake4Hook ];
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
qmake PREFIX="$out"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A mind-mapping software";
|
description = "A mind-mapping software";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qt4 }:
|
{ stdenv, fetchurl, qt4, qmake4Hook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "arora-${version}";
|
name = "arora-${version}";
|
||||||
|
@ -10,8 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 ];
|
buildInputs = [ qt4 ];
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
configurePhase = "qmake PREFIX=$out";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = qt4.meta.platforms;
|
platforms = qt4.meta.platforms;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore-dev, openal, opencv,
|
{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore-dev, openal, opencv,
|
||||||
libsodium, libXScrnSaver, glib, gdk_pixbuf, gtk2, cairo,
|
libsodium, libXScrnSaver, glib, gdk_pixbuf, gtk2, cairo,
|
||||||
pango, atk, qrencode, ffmpeg, filter-audio, makeWrapper,
|
pango, atk, qrencode, ffmpeg, filter-audio, makeQtWrapper,
|
||||||
qtbase, qtsvg, qttools, qttranslations, sqlcipher }:
|
qtbase, qtsvg, qttools, qmakeHook, qttranslations, sqlcipher }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.3.0";
|
version = "1.3.0";
|
||||||
|
@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
|
||||||
[
|
[
|
||||||
libtoxcore-dev openal opencv libsodium filter-audio
|
libtoxcore-dev openal opencv libsodium filter-audio
|
||||||
qtbase qttools qtsvg libXScrnSaver glib gtk2 cairo
|
qtbase qttools qtsvg libXScrnSaver glib gtk2 cairo
|
||||||
pango atk qrencode ffmpeg qttranslations makeWrapper
|
pango atk qrencode ffmpeg qttranslations makeQtWrapper
|
||||||
sqlcipher
|
sqlcipher
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig qmakeHook ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# patch .pro file for proper set of the git hash
|
# patch .pro file for proper set of the git hash
|
||||||
|
@ -42,16 +42,10 @@ stdenv.mkDerivation rec {
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags sqlcipher)"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags sqlcipher)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp qtox $out/bin
|
cp qtox $out/bin
|
||||||
wrapProgram $out/bin/qtox \
|
wrapQtProgram $out/bin/qtox
|
||||||
--prefix QT_PLUGIN_PATH : ${qtsvg}/lib/qt5/plugins
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, makeDesktopItem, unzip
|
{ stdenv, fetchurl, pkgconfig, makeDesktopItem, unzip
|
||||||
, qtbase, qttools, makeQtWrapper, qtmultimedia, qtquick1, qtquickcontrols
|
, qtbase, qttools, makeQtWrapper, qtmultimedia, qtquick1, qtquickcontrols
|
||||||
, openssl, protobuf
|
, openssl, protobuf, qmakeHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -27,15 +27,13 @@ stdenv.mkDerivation rec {
|
||||||
openssl protobuf
|
openssl protobuf
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig makeQtWrapper ];
|
nativeBuildInputs = [ pkgconfig makeQtWrapper qmakeHook ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags openssl)"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags openssl)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureScript = "qmake";
|
qmakeFlags = [ "DEFINES+=RICOCHET_NO_PORTABLE" ];
|
||||||
dontAddPrefix = true;
|
|
||||||
configureFlags = [ "PREFIX=$(out)" "DEFINES+=RICOCHET_NO_PORTABLE" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
, qtimageformats, qtgraphicaleffects
|
, qtimageformats, qtgraphicaleffects
|
||||||
, telegram-qml, libqtelegram-aseman-edition
|
, telegram-qml, libqtelegram-aseman-edition
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, makeQtWrapper }:
|
, makeQtWrapper, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cutegram-${meta.version}";
|
name = "cutegram-${meta.version}";
|
||||||
|
@ -20,16 +20,10 @@ stdenv.mkDerivation rec {
|
||||||
telegram-qml libqtelegram-aseman-edition
|
telegram-qml libqtelegram-aseman-edition
|
||||||
] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ]);
|
] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ]);
|
||||||
|
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake -r PREFIX=$out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
fixupPhase = ''
|
fixupPhase = ''
|
||||||
wrapQtProgram $out/bin/cutegram \
|
wrapQtProgram $out/bin/cutegram \
|
||||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub
|
||||||
, qtbase, qtmultimedia, qtquick1 }:
|
, qtbase, qtmultimedia, qtquick1, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libqtelegram-aseman-edition-${meta.version}";
|
name = "libqtelegram-aseman-edition-${meta.version}";
|
||||||
|
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase qtmultimedia qtquick1 ];
|
buildInputs = [ qtbase qtmultimedia qtquick1 ];
|
||||||
|
nativeBuildInputs = [ qmakeHook ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
@ -19,12 +20,6 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
|
substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake -r PREFIX=$out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
version = "6.1";
|
version = "6.1";
|
||||||
description = "A fork of libqtelegram by Aseman, using qmake";
|
description = "A fork of libqtelegram by Aseman, using qmake";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, fetchgit, qtbase, qtimageformats
|
{ stdenv, lib, fetchFromGitHub, fetchgit, qtbase, qtimageformats
|
||||||
, breakpad, ffmpeg, openalSoft, openssl, zlib, libexif, lzma, libopus
|
, breakpad, ffmpeg, openalSoft, openssl, zlib, libexif, lzma, libopus
|
||||||
, gtk2, glib, cairo, pango, gdk_pixbuf, atk, libappindicator-gtk2
|
, gtk2, glib, cairo, pango, gdk_pixbuf, atk, libappindicator-gtk2
|
||||||
, libunity, dee, libdbusmenu-glib, libva
|
, libunity, dee, libdbusmenu-glib, libva, qmakeHook
|
||||||
|
|
||||||
, pkgconfig, libxcb, xcbutilwm, xcbutilimage, xcbutilkeysyms
|
, pkgconfig, libxcb, xcbutilwm, xcbutilimage, xcbutilkeysyms
|
||||||
, libxkbcommon, libpng, libjpeg, freetype, harfbuzz, pcre16
|
, libxkbcommon, libpng, libjpeg, freetype, harfbuzz, pcre16
|
||||||
|
@ -31,7 +31,7 @@ in stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
breakpad ffmpeg openalSoft openssl zlib libexif lzma libopus
|
breakpad ffmpeg openalSoft openssl zlib libexif lzma libopus
|
||||||
gtk2 glib libappindicator-gtk2 libunity cairo pango gdk_pixbuf atk
|
gtk2 glib libappindicator-gtk2 libunity cairo pango gdk_pixbuf atk
|
||||||
dee libdbusmenu-glib libva
|
dee libdbusmenu-glib libva qmakeHook
|
||||||
# Qt dependencies
|
# Qt dependencies
|
||||||
libxcb xcbutilwm xcbutilimage xcbutilkeysyms libxkbcommon
|
libxcb xcbutilwm xcbutilimage xcbutilkeysyms libxkbcommon
|
||||||
libpng libjpeg freetype harfbuzz pcre16 xproto libX11
|
libpng libjpeg freetype harfbuzz pcre16 xproto libX11
|
||||||
|
@ -73,10 +73,9 @@ in stdenv.mkDerivation rec {
|
||||||
qtSrcs = qtbase.srcs ++ [ qtimageformats.src ];
|
qtSrcs = qtbase.srcs ++ [ qtimageformats.src ];
|
||||||
qtPatches = qtbase.patches;
|
qtPatches = qtbase.patches;
|
||||||
|
|
||||||
buildCommand = ''
|
dontUseQmakeConfigure = true;
|
||||||
# We don't use nativeBuildInputs to avoid adding system Qt 5 libraries to various paths.
|
|
||||||
export PATH="${qtbase}/bin:$PATH"
|
|
||||||
|
|
||||||
|
buildCommand = ''
|
||||||
unpackPhase
|
unpackPhase
|
||||||
cd "$sourceRoot"
|
cd "$sourceRoot"
|
||||||
patchPhase
|
patchPhase
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub
|
||||||
, qtbase, qtmultimedia, qtquick1
|
, qtbase, qtmultimedia, qtquick1, qmakeHook
|
||||||
, libqtelegram-aseman-edition }:
|
, libqtelegram-aseman-edition }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ qtbase qtmultimedia qtquick1 libqtelegram-aseman-edition ];
|
propagatedBuildInputs = [ qtbase qtmultimedia qtquick1 libqtelegram-aseman-edition ];
|
||||||
|
nativeBuildInputs = [ qmakeHook ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
@ -20,11 +21,7 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace telegramqml.pro --replace "INSTALL_HEADERS_PREFIX/telegramqml" "INSTALL_HEADERS_PREFIX"
|
substituteInPlace telegramqml.pro --replace "INSTALL_HEADERS_PREFIX/telegramqml" "INSTALL_HEADERS_PREFIX"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
qmakeFlags = [ "BUILD_MODE+=lib" ];
|
||||||
runHook preConfigure
|
|
||||||
qmake -r PREFIX=$out BUILD_MODE+=lib
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
version = "0.9.2";
|
version = "0.9.2";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, lib, fetchurl
|
{ stdenv, lib, fetchurl
|
||||||
, qt4, openssl
|
, qt4, qmake4Hook, openssl
|
||||||
, xproto, libX11, libXScrnSaver, scrnsaverproto
|
, xproto, libX11, libXScrnSaver, scrnsaverproto
|
||||||
, xz, zlib
|
, xz, zlib
|
||||||
}:
|
}:
|
||||||
|
@ -16,8 +16,10 @@ stdenv.mkDerivation rec {
|
||||||
qt4 openssl xproto libX11 libXScrnSaver scrnsaverproto xz zlib
|
qt4 openssl xproto libX11 libXScrnSaver scrnsaverproto xz zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
qmake INSTALL_PREFIX=$out -recursive vacuum.pro
|
|
||||||
|
preConfigure = ''
|
||||||
|
qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ fetchgit, libcommuni, makeQtWrapper, qt5, stdenv }:
|
{ fetchgit, libcommuni, makeQtWrapper, qtbase, qmakeHook, stdenv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "communi-${version}";
|
name = "communi-${version}";
|
||||||
|
@ -10,23 +10,22 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0gk6gck09zb44qfsal7bs4ln2vl9s9x3vfxh7jvfc7mmf7l3sspd";
|
sha256 = "0gk6gck09zb44qfsal7bs4ln2vl9s9x3vfxh7jvfc7mmf7l3sspd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
||||||
|
|
||||||
buildInputs = [ libcommuni qt5.qtbase ];
|
buildInputs = [ libcommuni qtbase ];
|
||||||
|
|
||||||
enableParallelBuild = true;
|
enableParallelBuild = true;
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
|
||||||
export QMAKEFEATURES=${libcommuni}/features
|
export QMAKEFEATURES=${libcommuni}/features
|
||||||
qmake -r \
|
qmakeFlags="$qmakeFlags \
|
||||||
COMMUNI_INSTALL_PREFIX=$out \
|
COMMUNI_INSTALL_PREFIX=$out \
|
||||||
COMMUNI_INSTALL_BINS=$out/bin \
|
COMMUNI_INSTALL_BINS=$out/bin \
|
||||||
COMMUNI_INSTALL_PLUGINS=$out/lib/communi/plugins \
|
COMMUNI_INSTALL_PLUGINS=$out/lib/communi/plugins \
|
||||||
COMMUNI_INSTALL_ICONS=$out/share/icons/hicolor \
|
COMMUNI_INSTALL_ICONS=$out/share/icons/hicolor \
|
||||||
COMMUNI_INSTALL_DESKTOP=$out/share/applications \
|
COMMUNI_INSTALL_DESKTOP=$out/share/applications \
|
||||||
COMMUNI_INSTALL_THEMES=$out/share/communi/themes
|
COMMUNI_INSTALL_THEMES=$out/share/communi/themes
|
||||||
runHook postConfigure
|
"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, qtbase, qtsvg, pkgconfig, boost, wirelesstools, iw, qwt6 }:
|
{ stdenv, fetchurl, qtbase, qtsvg, qmakeHook, pkgconfig, boost, wirelesstools, iw, qwt6 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "linssid-${version}";
|
name = "linssid-${version}";
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "13d35rlcjncd8lx3khkgn9x8is2xjd5fp6ns5xsn3w6l4xj9b4gl";
|
sha256 = "13d35rlcjncd8lx3khkgn9x8is2xjd5fp6ns5xsn3w6l4xj9b4gl";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase qtsvg pkgconfig boost qwt6 ];
|
buildInputs = [ qtbase qtsvg pkgconfig boost qwt6 qmakeHook ];
|
||||||
|
|
||||||
patches = [ ./0001-unbundled-qwt.patch ];
|
patches = [ ./0001-unbundled-qwt.patch ];
|
||||||
|
|
||||||
|
@ -27,12 +27,6 @@ stdenv.mkDerivation rec {
|
||||||
rm -fr qwt-lib
|
rm -fr qwt-lib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake linssid.pro
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Graphical wireless scanning for Linux";
|
description = "Graphical wireless scanning for Linux";
|
||||||
homepage = http://sourceforge.net/projects/linssid/;
|
homepage = http://sourceforge.net/projects/linssid/;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, fetchgit, pkgconfig
|
{ stdenv, fetchurl, fetchgit, pkgconfig
|
||||||
, qt4, qt5, avahi, boost, libopus, libsndfile, protobuf, speex, libcap
|
, qt4, qmake4Hook, qt5, avahi, boost, libopus, libsndfile, protobuf, speex, libcap
|
||||||
, alsaLib
|
, alsaLib
|
||||||
, jackSupport ? false, libjack2 ? null
|
, jackSupport ? false, libjack2 ? null
|
||||||
, speechdSupport ? false, speechd ? null
|
, speechdSupport ? false, speechd ? null
|
||||||
|
@ -20,13 +20,13 @@ let
|
||||||
patches = optional jackSupport ./mumble-jack-support.patch;
|
patches = optional jackSupport ./mumble-jack-support.patch;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ]
|
nativeBuildInputs = [ pkgconfig ]
|
||||||
++ { qt4 = [ qt4 ]; qt5 = [ qt5.qtbase ]; }."qt${toString source.qtVersion}"
|
++ { qt4 = [ qmake4Hook ]; qt5 = [ qt5.qmakeHook ]; }."qt${toString source.qtVersion}"
|
||||||
++ (overrides.nativeBuildInputs or [ ]);
|
++ (overrides.nativeBuildInputs or [ ]);
|
||||||
buildInputs = [ boost protobuf avahi ]
|
buildInputs = [ boost protobuf avahi ]
|
||||||
++ { qt4 = [ qt4 ]; qt5 = [ qt5.qtbase ]; }."qt${toString source.qtVersion}"
|
++ { qt4 = [ qt4 ]; qt5 = [ qt5.qtbase ]; }."qt${toString source.qtVersion}"
|
||||||
++ (overrides.buildInputs or [ ]);
|
++ (overrides.buildInputs or [ ]);
|
||||||
|
|
||||||
configureFlags = [
|
qmakeFlags = [
|
||||||
"CONFIG+=shared"
|
"CONFIG+=shared"
|
||||||
"CONFIG+=no-g15"
|
"CONFIG+=no-g15"
|
||||||
"CONFIG+=packaged"
|
"CONFIG+=packaged"
|
||||||
|
@ -39,10 +39,8 @@ let
|
||||||
++ optional jackSupport "CONFIG+=no-oss CONFIG+=no-alsa CONFIG+=jackaudio"
|
++ optional jackSupport "CONFIG+=no-oss CONFIG+=no-alsa CONFIG+=jackaudio"
|
||||||
++ (overrides.configureFlags or [ ]);
|
++ (overrides.configureFlags or [ ]);
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
qmakeFlags="$qmakeFlags DEFINES+=PLUGIN_PATH=$out/lib"
|
||||||
qmake $configureFlags DEFINES+="PLUGIN_PATH=$out/lib"
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [ "release" ];
|
makeFlags = [ "release" ];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchgit, fetchurl, writeText
|
{ stdenv, fetchgit, fetchurl, writeText
|
||||||
, qt4, protobuf, libpcap
|
, qt4, qmake4Hook, protobuf, libpcap
|
||||||
, wireshark, gzip, diffutils, gawk
|
, wireshark, gzip, diffutils, gawk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -18,10 +18,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ qt4 protobuf libpcap ];
|
buildInputs = [ qt4 protobuf libpcap ];
|
||||||
|
|
||||||
patches = [ ./drone_ini.patch ];
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
configurePhase = "qmake PREFIX=$out"
|
patches = [ ./drone_ini.patch ];
|
||||||
+ stdenv.lib.optionalString stdenv.isDarwin " -spec macx-g++";
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cat > $out/bin/ostinato.ini <<EOF
|
cat > $out/bin/ostinato.ini <<EOF
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, qt, libupnp, gpgme, gnome3, glib, libssh, pkgconfig, protobuf, bzip2
|
{ stdenv, fetchFromGitHub, cmake, qt4, qmake4Hook, libupnp, gpgme, gnome3, glib, libssh, pkgconfig, protobuf, bzip2
|
||||||
, libXScrnSaver, speex, curl, libxml2, libxslt, sqlcipher, libmicrohttpd, opencv }:
|
, libXScrnSaver, speex, curl, libxml2, libxslt, sqlcipher, libmicrohttpd, opencv }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||||
sha256 = "189qndkfq9kgv3qi3wx8ivla4j8fxr4iv7c8y9rjrjaz8jwdkn5x";
|
sha256 = "189qndkfq9kgv3qi3wx8ivla4j8fxr4iv7c8y9rjrjaz8jwdkn5x";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/glib-2.0 -I${glib.dev}/lib/glib-2.0/include -I${libxml2.dev}/include/libxml2 -I${sqlcipher}/include/sqlcipher";
|
NIX_CFLAGS_COMPILE = [ "-I${glib.dev}/include/glib-2.0" "-I${glib.dev}/lib/glib-2.0/include" "-I${libxml2.dev}/include/libxml2" "-I${sqlcipher}/include/sqlcipher" ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
# Fix build error
|
# Fix build error
|
||||||
|
@ -29,11 +29,11 @@ stdenv.mkDerivation {
|
||||||
# retroshare-gui/src/retroshare-gui.pro \
|
# retroshare-gui/src/retroshare-gui.pro \
|
||||||
# retroshare-nogui/src/retroshare-nogui.pro
|
# retroshare-nogui/src/retroshare-nogui.pro
|
||||||
|
|
||||||
buildInputs = [ speex qt libupnp gpgme gnome3.libgnome_keyring glib libssh pkgconfig
|
buildInputs = [ speex qt4 libupnp gpgme gnome3.libgnome_keyring glib libssh pkgconfig qmake4Hook
|
||||||
protobuf bzip2 libXScrnSaver curl libxml2 libxslt sqlcipher libmicrohttpd opencv ];
|
protobuf bzip2 libXScrnSaver curl libxml2 libxslt sqlcipher libmicrohttpd opencv ];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
qmake PREFIX=$out DESTDIR=$out RetroShare.pro
|
qmakeFlags="$qmakeFlags DESTDIR=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, cmake, qt, libupnp, gpgme, gnome3, glib, libssh, pkgconfig, protobuf, bzip2
|
{ stdenv, fetchurl, cmake, qt4, qmake4Hook, libupnp, gpgme, gnome3, glib, libssh, pkgconfig, protobuf, bzip2
|
||||||
, libXScrnSaver, speex, curl, libxml2, libxslt }:
|
, libXScrnSaver, speex, curl, libxml2, libxslt }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||||
sha256 = "0l2n4pr1hq66q6qa073hrdx3s3d7iw54z8ay1zy82zhk2rwhsavp";
|
sha256 = "0l2n4pr1hq66q6qa073hrdx3s3d7iw54z8ay1zy82zhk2rwhsavp";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/glib-2.0 -I${glib.dev}/lib/glib-2.0/include -I${libxml2.dev}/include/libxml2";
|
NIX_CFLAGS_COMPILE = [ "-I${glib.dev}/include/glib-2.0" "-I${glib.dev}/lib/glib-2.0/include" "-I${libxml2.dev}/include/libxml2" ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i 's/UpnpString_get_String(es_event->PublisherUrl)/es_event->PublisherUrl/' \
|
sed -i 's/UpnpString_get_String(es_event->PublisherUrl)/es_event->PublisherUrl/' \
|
||||||
|
@ -22,13 +22,13 @@ stdenv.mkDerivation {
|
||||||
libretroshare/src/rsserver/rsinit.cc
|
libretroshare/src/rsserver/rsinit.cc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ speex qt libupnp gpgme gnome3.libgnome_keyring glib libssh pkgconfig
|
buildInputs = [ speex qt4 qmake4Hook libupnp gpgme gnome3.libgnome_keyring glib libssh pkgconfig
|
||||||
protobuf bzip2 libXScrnSaver curl libxml2 libxslt ];
|
protobuf bzip2 libXScrnSaver curl libxml2 libxslt ];
|
||||||
|
|
||||||
sourceRoot = "retroshare-0.5.5/src";
|
sourceRoot = "retroshare-0.5.5/src";
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
qmake PREFIX=$out DESTDIR=$out RetroShare.pro
|
qmakeFlags="$qmakeFlags DESTDIR=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4 }:
|
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4, qmake4Hook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "x2goclient-${version}";
|
name = "x2goclient-${version}";
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ];
|
buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper qmake4Hook ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
|
@ -19,7 +19,9 @@ stdenv.mkDerivation rec {
|
||||||
--replace "-o root -g root" ""
|
--replace "-o root -g root" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" "ETCDIR=$(out)/etc" ];
|
preConfigure = ''
|
||||||
|
qmakeFlags="$qmakeFlags ETCDIR=$out/etc"
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ stdenv, fetchurl, qtbase, qtsvg, boost }:
|
{ stdenv, fetchurl, qtbase, qtsvg, qmakeHook, boost }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
version = "0.9.0b";
|
version = "0.9.0b";
|
||||||
name = "fritzing-${version}";
|
name = "fritzing-${version}";
|
||||||
|
|
||||||
|
@ -10,19 +9,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "181qnknq1j5x075icpw2qk0sc4wcj9f2hym533vs936is0wxp2gk";
|
sha256 = "181qnknq1j5x075icpw2qk0sc4wcj9f2hym533vs936is0wxp2gk";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
buildInputs = [ qtbase qtsvg boost qmakeHook ];
|
||||||
tar xjf ${src}
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ qtbase qtsvg boost ];
|
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
cd fritzing-${version}.source
|
|
||||||
echo $PATH
|
|
||||||
qmake PREFIX=$out phoenix.pro
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An open source prototyping tool for Arduino-based projects";
|
description = "An open source prototyping tool for Arduino-based projects";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchgit, git, espeak, SDL, udev, doxygen, cmake, overrideCC#, gcc48
|
{ stdenv, fetchgit, git, espeak, SDL, udev, doxygen, cmake, overrideCC#, gcc48
|
||||||
, qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns
|
, qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns
|
||||||
, qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects
|
, qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmakeHook
|
||||||
, makeQtWrapper, lndir
|
, makeQtWrapper, lndir
|
||||||
, gst_all_1, qt_gstreamer1, pkgconfig, glibc
|
, gst_all_1, qt_gstreamer1, pkgconfig, glibc
|
||||||
, version ? "2.9.4"
|
, version ? "2.9.4"
|
||||||
|
@ -23,21 +23,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig makeQtWrapper
|
pkgconfig makeQtWrapper qmakeHook
|
||||||
] ++ qtInputs;
|
] ++ qtInputs;
|
||||||
|
|
||||||
patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ];
|
patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ];
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
mkdir build
|
|
||||||
(cd build && qmake ../qgroundcontrol.pro)
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
preBuild = "pushd build/";
|
|
||||||
postBuild = "popd";
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
cp -v qgroundcontrol.desktop $out/share/applications
|
cp -v qgroundcontrol.desktop $out/share/applications
|
||||||
|
|
|
@ -3,12 +3,7 @@
|
||||||
*/
|
*/
|
||||||
args @ {pkgs}: with args; with pkgs;
|
args @ {pkgs}: with args; with pkgs;
|
||||||
let
|
let
|
||||||
inherit (pkgs) stdenv fetchgit fetchurl subversion;
|
gitBase = callPackage ./git {
|
||||||
|
|
||||||
gitBase = lib.makeOverridable (import ./git) {
|
|
||||||
inherit fetchurl stdenv curl openssl zlib expat perl python gettext gnugrep
|
|
||||||
asciidoc xmlto docbook2x docbook_xsl docbook_xml_dtd_45 libxslt cpio tcl
|
|
||||||
tk makeWrapper subversionClient gzip openssh libiconv;
|
|
||||||
texinfo = texinfo5;
|
texinfo = texinfo5;
|
||||||
svnSupport = false; # for git-svn support
|
svnSupport = false; # for git-svn support
|
||||||
guiSupport = false; # requires tcl/tk
|
guiSupport = false; # requires tcl/tk
|
||||||
|
@ -64,44 +59,28 @@ rec {
|
||||||
|
|
||||||
git-stree = callPackage ./git-stree { };
|
git-stree = callPackage ./git-stree { };
|
||||||
|
|
||||||
git2cl = import ./git2cl {
|
git2cl = callPackage ./git2cl { };
|
||||||
inherit fetchgit stdenv perl;
|
|
||||||
};
|
|
||||||
|
|
||||||
gitFastExport = import ./fast-export {
|
gitFastExport = callPackage ./fast-export { };
|
||||||
inherit fetchgit stdenv mercurial coreutils git makeWrapper subversion;
|
|
||||||
};
|
|
||||||
|
|
||||||
gitRemoteGcrypt = callPackage ./git-remote-gcrypt { };
|
gitRemoteGcrypt = callPackage ./git-remote-gcrypt { };
|
||||||
|
|
||||||
gitflow = callPackage ./gitflow { };
|
gitflow = callPackage ./gitflow { };
|
||||||
|
|
||||||
hub = import ./hub {
|
hub = callPackage ./hub {
|
||||||
inherit go;
|
|
||||||
inherit stdenv fetchgit;
|
|
||||||
inherit (darwin) Security;
|
inherit (darwin) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
qgit = import ./qgit {
|
qgit = callPackage ./qgit { };
|
||||||
inherit fetchurl stdenv;
|
|
||||||
inherit (xorg) libXext libX11;
|
|
||||||
qt = qt4;
|
|
||||||
};
|
|
||||||
|
|
||||||
qgitGit = import ./qgit/qgit-git.nix {
|
qgitGit = callPackage ./qgit/qgit-git.nix { };
|
||||||
inherit fetchurl sourceFromHead stdenv;
|
|
||||||
inherit (xorg) libXext libX11;
|
|
||||||
qt = qt4;
|
|
||||||
};
|
|
||||||
|
|
||||||
stgit = import ./stgit {
|
stgit = callPackage ./stgit {
|
||||||
inherit fetchurl stdenv python git;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
subgit = callPackage ./subgit { };
|
subgit = callPackage ./subgit { };
|
||||||
|
|
||||||
svn2git = import ./svn2git {
|
svn2git = callPackage ./svn2git {
|
||||||
inherit stdenv fetchurl ruby makeWrapper;
|
|
||||||
git = gitSVN;
|
git = gitSVN;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -109,9 +88,7 @@ rec {
|
||||||
|
|
||||||
tig = callPackage ./tig { };
|
tig = callPackage ./tig { };
|
||||||
|
|
||||||
topGit = lib.makeOverridable (import ./topgit) {
|
topGit = callPackage ./topgit { };
|
||||||
inherit stdenv fetchurl;
|
|
||||||
};
|
|
||||||
|
|
||||||
transcrypt = callPackage ./transcrypt { };
|
transcrypt = callPackage ./transcrypt { };
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,26 @@
|
||||||
{stdenv, fetchurl, qt, libXext, libX11}:
|
{ stdenv, fetchurl, qt4, qmake4Hook, libXext, libX11 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qgit-2.5";
|
name = "qgit-2.5";
|
||||||
|
|
||||||
meta =
|
meta =
|
||||||
{
|
{
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
homepage = "http://libre.tibirna.org/projects/qgit/wiki/QGit";
|
homepage = "http://libre.tibirna.org/projects/qgit/wiki/QGit";
|
||||||
description = "Graphical front-end to Git";
|
description = "Graphical front-end to Git";
|
||||||
inherit (qt.meta) platforms;
|
inherit (qt4.meta) platforms;
|
||||||
};
|
};
|
||||||
|
|
||||||
src = fetchurl
|
src = fetchurl
|
||||||
{
|
{
|
||||||
url = "http://libre.tibirna.org/attachments/download/9/${name}.tar.gz";
|
url = "http://libre.tibirna.org/attachments/download/9/${name}.tar.gz";
|
||||||
sha256 = "25f1ca2860d840d87b9919d34fc3a1b05d4163671ed87d29c3e4a8a09e0b2499";
|
sha256 = "25f1ca2860d840d87b9919d34fc3a1b05d4163671ed87d29c3e4a8a09e0b2499";
|
||||||
};
|
};
|
||||||
buildInputs = [qt libXext libX11];
|
|
||||||
configurePhase = "qmake PREFIX=$out";
|
buildInputs = [ qt4 libXext libX11 ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -s -D -m 755 bin/qgit "$out/bin/qgit"
|
install -s -D -m 755 bin/qgit "$out/bin/qgit"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
{stdenv, fetchurl, qt, libXext, libX11, sourceFromHead}:
|
{ stdenv, fetchurl, qt4, qmake4Hook, libXext, libX11, sourceFromHead }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qgit-git";
|
name = "qgit-git";
|
||||||
|
|
||||||
meta =
|
meta =
|
||||||
{
|
{
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
homepage = "http://digilander.libero.it/mcostalba/";
|
homepage = "http://digilander.libero.it/mcostalba/";
|
||||||
description = "Graphical front-end to Git";
|
description = "Graphical front-end to Git";
|
||||||
};
|
};
|
||||||
|
|
||||||
# REGION AUTO UPDATE: { name="qgit"; type="git"; url="git://git.kernel.org/pub/scm/qgit/qgit4.git"; }
|
# REGION AUTO UPDATE: { name="qgit"; type="git"; url="git://git.kernel.org/pub/scm/qgit/qgit4.git"; }
|
||||||
src = sourceFromHead "qgit-a0252ed2a6a72b50e65d027adce8afa22e874277.tar.gz"
|
src = sourceFromHead "qgit-a0252ed2a6a72b50e65d027adce8afa22e874277.tar.gz"
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/qgit-a0252ed2a6a72b50e65d027adce8afa22e874277.tar.gz"; sha256 = "17e4727ac68b4f2e8503289d5b6a2c042547e7be133e7f8195b79e33eab61b93"; });
|
(fetchurl { url = "http://mawercer.de/~nix/repos/qgit-a0252ed2a6a72b50e65d027adce8afa22e874277.tar.gz"; sha256 = "17e4727ac68b4f2e8503289d5b6a2c042547e7be133e7f8195b79e33eab61b93"; });
|
||||||
# END
|
# END
|
||||||
buildInputs = [qt libXext libX11];
|
|
||||||
buildPhase = ''
|
buildInputs = [ qt4 libXext libX11 ];
|
||||||
qmake PREFIX=$out
|
|
||||||
make
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchgit, qt4, subversion, apr}:
|
{ stdenv, fetchgit, qt4, qmake4Hook, subversion, apr }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "svn2git-kde-1.0.5";
|
name = "svn2git-kde-1.0.5";
|
||||||
|
@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "818673fe751b00a42b6ed3e78a783549fb09b5245a01dee47b3dded667bfc582";
|
sha256 = "818673fe751b00a42b6ed3e78a783549fb09b5245a01dee47b3dded667bfc582";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
NIX_CFLAGS_COMPILE = [ "-I${apr}/include/apr-1" "-I${subversion.dev}/include/subversion-1" "-DVER=\"${src.rev}\"" ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
sed -i 's|/bin/cat|cat|' ./src/repository.cpp
|
sed -i 's|/bin/cat|cat|' ./src/repository.cpp
|
||||||
qmake
|
|
||||||
make CXXFLAGS='-I${apr}/include/apr-1 -I${subversion.dev}/include/subversion-1 -DVER="\"${src.rev}\""'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -22,5 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ subversion apr qt4 ];
|
buildInputs = [ subversion apr qt4 ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
meta.broken = true;
|
meta.broken = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, fetchmtn, qt4, pkgconfig, graphviz }:
|
{ stdenv, fetchurl, fetchmtn, qt4, qmake4Hook, pkgconfig, graphviz }:
|
||||||
|
|
||||||
let version = "1.0-mtn-head"; in
|
let version = "1.0-mtn-head"; in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -16,10 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
branch = "net.venge.monotone.guitone";
|
branch = "net.venge.monotone.guitone";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 pkgconfig graphviz ];
|
buildInputs = [ qt4 qmake4Hook pkgconfig graphviz ];
|
||||||
|
|
||||||
prefixKey="PREFIX=";
|
|
||||||
configureScript = "qmake guitone.pro";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Qt4 based GUI for monotone";
|
description = "Qt4 based GUI for monotone";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, perl, python, which, makeQtWrapper
|
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, perl, python, which, makeQtWrapper
|
||||||
, libX11, libxcb, mesa
|
, libX11, libxcb, mesa
|
||||||
, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras
|
, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmakeHook
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, libchardet
|
, libchardet
|
||||||
, mpg123
|
, mpg123
|
||||||
|
@ -76,6 +76,8 @@ stdenv.mkDerivation rec {
|
||||||
${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"}
|
${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseQmakeConfigure = true;
|
||||||
|
|
||||||
configureFlags = with stdenv.lib;
|
configureFlags = with stdenv.lib;
|
||||||
[ "--qmake=qmake" ]
|
[ "--qmake=qmake" ]
|
||||||
++ optional jackSupport "--enable-jack"
|
++ optional jackSupport "--enable-jack"
|
||||||
|
@ -84,7 +86,7 @@ stdenv.mkDerivation rec {
|
||||||
++ optional cddaSupport "--enable-cdda"
|
++ optional cddaSupport "--enable-cdda"
|
||||||
;
|
;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig perl python which qttools makeQtWrapper ];
|
nativeBuildInputs = [ pkgconfig perl python which qttools makeQtWrapper qmakeHook ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, makeDesktopItem, ffmpeg, qt4 }:
|
{ stdenv, fetchurl, makeDesktopItem, ffmpeg, qt4, qmake4Hook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "clipgrab-${version}";
|
name = "clipgrab-${version}";
|
||||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ffmpeg qt4 ];
|
buildInputs = [ ffmpeg qt4 ];
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
postPatch = stdenv.lib.optionalString (ffmpeg != null) ''
|
postPatch = stdenv.lib.optionalString (ffmpeg != null) ''
|
||||||
substituteInPlace converter_ffmpeg.cpp \
|
substituteInPlace converter_ffmpeg.cpp \
|
||||||
|
@ -18,9 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
--replace '"ffmpeg ' '"${ffmpeg.bin}/bin/ffmpeg '
|
--replace '"ffmpeg ' '"${ffmpeg.bin}/bin/ffmpeg '
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
qmakeFlags = [ "clipgrab.pro" ];
|
||||||
qmake clipgrab.pro
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchgit, pkgconfig, qt4, SDL, SDL_image, libvorbis, libtar, libxml2
|
{ stdenv, fetchgit, pkgconfig, qt4, SDL, SDL_image, libvorbis, libtar, libxml2
|
||||||
, gamin
|
, gamin, qmake4Hook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -12,14 +12,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1xkkrhllgy2d7k0vrdj794ya7y3g3n7xh8c2qgnb26yrarz79dqj";
|
sha256 = "1xkkrhllgy2d7k0vrdj794ya7y3g3n7xh8c2qgnb26yrarz79dqj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig qt4 SDL SDL_image libvorbis libtar libxml2 gamin ];
|
buildInputs = [ pkgconfig qt4 SDL SDL_image libvorbis libtar libxml2 gamin qmake4Hook ];
|
||||||
|
|
||||||
patches = [ ./linuxstopmotion-fix-wrong-isProcess-logic.patch ];
|
patches = [ ./linuxstopmotion-fix-wrong-isProcess-logic.patch ];
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
qmake PREFIX="$out"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Installation breaks without this
|
# Installation breaks without this
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p "$out/share/stopmotion/translations/"
|
mkdir -p "$out/share/stopmotion/translations/"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, makeWrapper, phonon, phonon_backend_vlc, qt4
|
{ stdenv, fetchFromGitHub, makeWrapper, phonon, phonon_backend_vlc, qt4, qmake4Hook
|
||||||
# "Free" API key generated by nckx <tobias.geerinckx.rice@gmail.com>
|
# "Free" API key generated by nckx <tobias.geerinckx.rice@gmail.com>
|
||||||
, withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }:
|
, withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }:
|
||||||
|
|
||||||
|
@ -14,11 +14,9 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ phonon phonon_backend_vlc qt4 ];
|
buildInputs = [ phonon phonon_backend_vlc qt4 ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper qmake4Hook ];
|
||||||
|
|
||||||
configurePhase = ''
|
qmakeFlags = [ "DEFINES+=APP_GOOGLE_API_KEY=${withAPIKey}" ];
|
||||||
qmake PREFIX=$out "DEFINES += APP_GOOGLE_API_KEY=${withAPIKey}"
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchsvn, cmake, opencv, qt, giflib }:
|
{ stdenv, fetchsvn, cmake, opencv, qt4, giflib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qgifer-${version}";
|
name = "qgifer-${version}";
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace CMakeLists.txt --replace "SET(CMAKE_INSTALL_PREFIX" "#"
|
substituteInPlace CMakeLists.txt --replace "SET(CMAKE_INSTALL_PREFIX" "#"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ cmake opencv qt giflib ];
|
buildInputs = [ cmake opencv qt4 giflib ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Video-based animated GIF creator";
|
description = "Video-based animated GIF creator";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, SDL, frei0r, gettext, makeWrapper, mlt, pkgconfig, qtbase }:
|
{ stdenv, fetchurl, SDL, frei0r, gettext, makeWrapper, mlt, pkgconfig, qtbase, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "shotcut-${version}";
|
name = "shotcut-${version}";
|
||||||
|
@ -9,13 +9,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1504ds3ppqmpg84nb2gb74qndqysjwn3xw7n8xv19kd1pppnr10f";
|
sha256 = "1504ds3ppqmpg84nb2gb74qndqysjwn3xw7n8xv19kd1pppnr10f";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qtbase ];
|
buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qtbase qmakeHook ];
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake PREFIX=$out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/shotcut
|
mkdir -p $out/share/shotcut
|
||||||
|
|
|
@ -47,11 +47,28 @@ _overrideFirst outputInfo "info" "doc" "$outputMan"
|
||||||
_multioutConfig() {
|
_multioutConfig() {
|
||||||
if [ "$outputs" = "out" ] || [ -z "${setOutputFlags-1}" ]; then return; fi;
|
if [ "$outputs" = "out" ] || [ -z "${setOutputFlags-1}" ]; then return; fi;
|
||||||
|
|
||||||
|
# try to detect share/doc/${shareDocName}
|
||||||
|
# Note: sadly, $configureScript detection comes later in configurePhase,
|
||||||
|
# and reordering would cause more trouble than worth.
|
||||||
|
if [ -z "$shareDocName" ]; then
|
||||||
|
local confScript="$configureScript"
|
||||||
|
if [ -z "$confScript" ] && [ -x ./configure ]; then
|
||||||
|
confScript=./configure
|
||||||
|
fi
|
||||||
|
if [ -f "$confScript" ]; then
|
||||||
|
local shareDocName="$(sed -n "s/^PACKAGE_TARNAME='\(.*\)'$/\1/p" < "$confScript")"
|
||||||
|
fi
|
||||||
|
# PACKAGE_TARNAME sometimes contains garbage.
|
||||||
|
if [ -n "$shareDocName" ] || echo "$shareDocName" | grep -q '[^a-zA-Z-_0-9]'; then
|
||||||
|
shareDocName="$(echo "$name" | sed 's/-[^a-zA-Z].*//')"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
configureFlags="\
|
configureFlags="\
|
||||||
--bindir=${!outputBin}/bin --sbindir=${!outputBin}/sbin \
|
--bindir=${!outputBin}/bin --sbindir=${!outputBin}/sbin \
|
||||||
--includedir=${!outputInclude}/include --oldincludedir=${!outputInclude}/include \
|
--includedir=${!outputInclude}/include --oldincludedir=${!outputInclude}/include \
|
||||||
--mandir=${!outputMan}/share/man --infodir=${!outputInfo}/share/info \
|
--mandir=${!outputMan}/share/man --infodir=${!outputInfo}/share/info \
|
||||||
--docdir=${!outputDoc}/share/doc \
|
--docdir=${!outputDoc}/share/doc/${shareDocName} \
|
||||||
--libdir=${!outputLib}/lib --libexecdir=${!outputLib}/libexec \
|
--libdir=${!outputLib}/lib --libexecdir=${!outputLib}/libexec \
|
||||||
--localedir=${!outputLib}/share/locale \
|
--localedir=${!outputLib}/share/locale \
|
||||||
$configureFlags"
|
$configureFlags"
|
||||||
|
@ -62,6 +79,7 @@ _multioutConfig() {
|
||||||
$installFlags"
|
$installFlags"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Add rpath prefixes to library paths, and avoid stdenv doing it for $out.
|
# Add rpath prefixes to library paths, and avoid stdenv doing it for $out.
|
||||||
_addRpathPrefix "${!outputLib}"
|
_addRpathPrefix "${!outputLib}"
|
||||||
NIX_NO_SELF_RPATH=1
|
NIX_NO_SELF_RPATH=1
|
||||||
|
@ -144,8 +162,8 @@ _multioutDevs() {
|
||||||
|
|
||||||
# Make the first output (typically "dev") propagate other outputs needed for development.
|
# Make the first output (typically "dev") propagate other outputs needed for development.
|
||||||
# Take the first, because that's what one gets when putting the package into buildInputs.
|
# Take the first, because that's what one gets when putting the package into buildInputs.
|
||||||
# Note: during the build, probably only the "native" development packages are useful.
|
# Note: with current cross-building setup, all packages are "native" if not cross-building;
|
||||||
# With current cross-building setup, all packages are "native" if not cross-building.
|
# however, if cross-building, the outputs are non-native. We have to choose the right file.
|
||||||
_multioutPropagateDev() {
|
_multioutPropagateDev() {
|
||||||
if [ "$outputs" = "out" ]; then return; fi;
|
if [ "$outputs" = "out" ]; then return; fi;
|
||||||
|
|
||||||
|
@ -170,8 +188,15 @@ _multioutPropagateDev() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "${!outputFirst}"/nix-support
|
mkdir -p "${!outputFirst}"/nix-support
|
||||||
|
local propagatedBuildInputsFile
|
||||||
|
if [ -z "$crossConfig" ]; then
|
||||||
|
propagatedBuildInputsFile=propagated-native-build-inputs
|
||||||
|
else
|
||||||
|
propagatedBuildInputsFile=propagated-build-inputs
|
||||||
|
fi
|
||||||
|
|
||||||
for output in $propagatedBuildOutputs; do
|
for output in $propagatedBuildOutputs; do
|
||||||
echo -n " ${!output}" >> "${!outputFirst}"/nix-support/propagated-native-build-inputs
|
echo -n " ${!output}" >> "${!outputFirst}"/nix-support/$propagatedBuildInputsFile
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub, libarchive, pkgconfig, qtbase
|
{ stdenv, fetchFromGitHub, libarchive, pkgconfig, qtbase
|
||||||
, qtimageformats, qtwebkit, qtx11extras, xorg }:
|
, qtimageformats, qtwebkit, qtx11extras, xcbutilkeysyms, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
|
@ -13,18 +13,12 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
xorg.xcbutilkeysyms pkgconfig qtbase qtimageformats qtwebkit qtx11extras libarchive
|
xcbutilkeysyms pkgconfig qtbase qtimageformats qtwebkit qtx11extras libarchive qmakeHook
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
qmakeFlags = [ "PREFIX=/" ];
|
||||||
runHook preConfigure
|
|
||||||
qmake PREFIX=/
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||||
make INSTALL_ROOT=$out install
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "cantarell-fonts-0.0.17";
|
major = "0.0";
|
||||||
|
minor = "24";
|
||||||
|
name = "cantarell-fonts-${major}.${minor}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://gnome/sources/cantarell-fonts/0.0/cantarell-fonts-0.0.17.tar.xz;
|
url = "mirror://gnome/sources/cantarell-fonts/${major}/${name}.tar.xz";
|
||||||
sha256 = "0kx05fw1i11zcqx5yv9y9iprpl49k51sibz86bc58a50n1w6gcwn";
|
sha256 = "0r4jnc2x9yncf40lixjb1pqgpq8rzbi2fz33pshlqzjgx2d69bcw";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -7,7 +7,6 @@ _ecmSetXdgDirs() {
|
||||||
_ecmPropagateSharedData() {
|
_ecmPropagateSharedData() {
|
||||||
local sharedPaths=( \
|
local sharedPaths=( \
|
||||||
"config.cfg" \
|
"config.cfg" \
|
||||||
"doc" \
|
|
||||||
"kconf_update" \
|
"kconf_update" \
|
||||||
"kservices5" \
|
"kservices5" \
|
||||||
"kservicetypes5" \
|
"kservicetypes5" \
|
||||||
|
@ -20,7 +19,6 @@ _ecmPropagateSharedData() {
|
||||||
"applications" \
|
"applications" \
|
||||||
"desktop-directories" \
|
"desktop-directories" \
|
||||||
"mime" \
|
"mime" \
|
||||||
"info" \
|
|
||||||
"dbus-1" \
|
"dbus-1" \
|
||||||
"interfaces" \
|
"interfaces" \
|
||||||
"services" \
|
"services" \
|
||||||
|
@ -28,6 +26,7 @@ _ecmPropagateSharedData() {
|
||||||
for dir in ${sharedPaths[@]}; do
|
for dir in ${sharedPaths[@]}; do
|
||||||
if [ -d "$1/share/$dir" ]; then
|
if [ -d "$1/share/$dir" ]; then
|
||||||
addToSearchPathOnce NIX_WRAP_XDG_DATA_DIRS "$1/share"
|
addToSearchPathOnce NIX_WRAP_XDG_DATA_DIRS "$1/share"
|
||||||
|
propagateOnce propagatedBuildInputs "$1"
|
||||||
propagateOnce propagatedUserEnvPkgs "$1"
|
propagateOnce propagatedUserEnvPkgs "$1"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -9,7 +9,8 @@ kdeFramework {
|
||||||
propagatedBuildInputs = [ kauth kconfig kcodecs ki18n kwidgetsaddons ];
|
propagatedBuildInputs = [ kauth kconfig kcodecs ki18n kwidgetsaddons ];
|
||||||
patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
|
patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapQtProgram "$out/bin/preparetips5"
|
moveToOutput "bin/preparetips5" "$dev"
|
||||||
|
wrapQtProgram "$dev/bin/preparetips5"
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
From 723c9b1268a04127647a1c20eebe9804150566dd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
||||||
Date: Sat, 13 Jun 2015 08:57:55 -0500
|
|
||||||
Subject: [PATCH] kinit libpath
|
|
||||||
|
|
||||||
---
|
|
||||||
src/kdeinit/kinit.cpp | 18 ++++++++++--------
|
|
||||||
1 file changed, 10 insertions(+), 8 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp
|
|
||||||
index 9e775b6..0ac5646 100644
|
|
||||||
--- a/src/kdeinit/kinit.cpp
|
|
||||||
+++ b/src/kdeinit/kinit.cpp
|
|
||||||
@@ -660,15 +660,17 @@ static pid_t launch(int argc, const char *_name, const char *args,
|
|
||||||
if (!libpath.isEmpty()) {
|
|
||||||
if (!l.load()) {
|
|
||||||
if (libpath_relative) {
|
|
||||||
- // NB: Because Qt makes the actual dlopen() call, the
|
|
||||||
- // RUNPATH of kdeinit is *not* respected - see
|
|
||||||
- // https://sourceware.org/bugzilla/show_bug.cgi?id=13945
|
|
||||||
- // - so we try hacking it in ourselves
|
|
||||||
- QString install_lib_dir = QFile::decodeName(
|
|
||||||
- CMAKE_INSTALL_PREFIX "/" LIB_INSTALL_DIR "/");
|
|
||||||
- libpath = install_lib_dir + libpath;
|
|
||||||
- l.setFileName(libpath);
|
|
||||||
+ // Use QT_PLUGIN_PATH to find shared library directories
|
|
||||||
+ // For KF5, the plugin path is /lib/qt5/plugins/, so kdeinit5
|
|
||||||
+ // shared libraries should be in /lib/qt5/plugins/../../
|
|
||||||
+ const QRegExp pathSepRegExp(QString::fromLatin1("[:\b]"));
|
|
||||||
+ const QString up = QString::fromLocal8Bit("/../../");
|
|
||||||
+ const QStringList paths = QString::fromLocal8Bit(qgetenv("QT_PLUGIN_PATH")).split(pathSepRegExp, QString::KeepEmptyParts);
|
|
||||||
+ Q_FOREACH (const QString &path, paths) {
|
|
||||||
+ l.setFileName(path + up + libpath);
|
|
||||||
l.load();
|
|
||||||
+ if (l.isLoaded()) break;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!l.isLoaded()) {
|
|
||||||
--
|
|
||||||
2.4.2
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ kdeFramework, lib, extra-cmake-modules, kconfig, kcrash
|
{ kdeFramework, lib, copyPathsToStore, extra-cmake-modules, kconfig, kcrash
|
||||||
, kdoctools, ki18n, kio, kservice, kwindowsystem, libcap
|
, kdoctools, ki18n, kio, kservice, kwindowsystem, libcap
|
||||||
, libcap_progs
|
, libcap_progs
|
||||||
}:
|
}:
|
||||||
|
@ -10,7 +10,7 @@ kdeFramework {
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools libcap_progs ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools libcap_progs ];
|
||||||
buildInputs = [ kconfig kcrash kservice libcap ];
|
buildInputs = [ kconfig kcrash kservice libcap ];
|
||||||
propagatedBuildInputs = [ ki18n kio kwindowsystem ];
|
propagatedBuildInputs = [ ki18n kio kwindowsystem ];
|
||||||
patches = [ ./0001-kinit-libpath.patch ];
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||||
meta = {
|
meta = {
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
Index: kinit-5.19.0/src/kdeinit/kinit.cpp
|
||||||
|
===================================================================
|
||||||
|
--- kinit-5.19.0.orig/src/kdeinit/kinit.cpp
|
||||||
|
+++ kinit-5.19.0/src/kdeinit/kinit.cpp
|
||||||
|
@@ -658,15 +658,17 @@ static pid_t launch(int argc, const char
|
||||||
|
if (!libpath.isEmpty()) {
|
||||||
|
if (!l.load()) {
|
||||||
|
if (libpath_relative) {
|
||||||
|
- // NB: Because Qt makes the actual dlopen() call, the
|
||||||
|
- // RUNPATH of kdeinit is *not* respected - see
|
||||||
|
- // https://sourceware.org/bugzilla/show_bug.cgi?id=13945
|
||||||
|
- // - so we try hacking it in ourselves
|
||||||
|
- QString install_lib_dir = QFile::decodeName(
|
||||||
|
- CMAKE_INSTALL_PREFIX "/" LIB_INSTALL_DIR "/");
|
||||||
|
- libpath = install_lib_dir + libpath;
|
||||||
|
- l.setFileName(libpath);
|
||||||
|
- l.load();
|
||||||
|
+ // Try to load the library relative to the active profiles.
|
||||||
|
+ QByteArrayList profiles = qgetenv("NIX_PROFILES").split(' ');
|
||||||
|
+ // Reverse the profile list.
|
||||||
|
+ std::reverse(profiles.begin(), profiles.end());
|
||||||
|
+ const QString libdir = QString::fromLatin1("/lib/");
|
||||||
|
+ Q_FOREACH (const QByteArray &profile, profiles) {
|
||||||
|
+ if (!profile.isEmpty()) {
|
||||||
|
+ l.setFileName(QFile::decodeName(profile) + libdir + libpath);
|
||||||
|
+ if (l.load()) break;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!l.isLoaded()) {
|
|
@ -0,0 +1 @@
|
||||||
|
kinit-libpath.patch
|
|
@ -81,6 +81,7 @@ let
|
||||||
plasma-workspace-wallpapers = callPackage ./plasma-workspace-wallpapers.nix {};
|
plasma-workspace-wallpapers = callPackage ./plasma-workspace-wallpapers.nix {};
|
||||||
polkit-kde-agent = callPackage ./polkit-kde-agent.nix {};
|
polkit-kde-agent = callPackage ./polkit-kde-agent.nix {};
|
||||||
powerdevil = callPackage ./powerdevil.nix {};
|
powerdevil = callPackage ./powerdevil.nix {};
|
||||||
|
startkde = callPackage ./startkde {};
|
||||||
systemsettings = callPackage ./systemsettings.nix {};
|
systemsettings = callPackage ./systemsettings.nix {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
{ plasmaPackage, lib, copyPathsToStore
|
{ plasmaPackage, lib, copyPathsToStore
|
||||||
, extra-cmake-modules, kdoctools, makeQtWrapper
|
, extra-cmake-modules, kdoctools
|
||||||
, baloo, kactivities, kcmutils, kcrash, kdbusaddons, kdeclarative
|
, baloo, kactivities, kcmutils, kcrash, kdbusaddons, kdeclarative
|
||||||
, kdelibs4support, kdesu, kdewebkit, kglobalaccel, kidletime
|
, kdelibs4support, kdesu, kdewebkit, kglobalaccel, kidletime
|
||||||
, kjsembed, knewstuff, knotifyconfig, kpackage, krunner
|
, kjsembed, knewstuff, knotifyconfig, kpackage, krunner
|
||||||
, ktexteditor, ktextwidgets, kwallet, kwayland, kwin, kxmlrpcclient
|
, ktexteditor, ktextwidgets, kwallet, kwayland, kwin, kxmlrpcclient
|
||||||
, libdbusmenu, libkscreen, libSM, libXcursor, networkmanager-qt
|
, libdbusmenu, libkscreen, libSM, libXcursor, networkmanager-qt
|
||||||
, pam, phonon, plasma-framework, qtquick1, qtscript, qtx11extras, wayland
|
, pam, phonon, plasma-framework, qtquick1, qtscript, qtx11extras, wayland
|
||||||
, libksysguard, bash, coreutils, gnused, gnugrep, socat, kconfig
|
, libksysguard, kconfig, solid, qtquickcontrols
|
||||||
, kinit, kservice, qttools, dbus_tools, mkfontdir, xmessage
|
|
||||||
, xprop, xrdb, xset, xsetroot, solid, qtquickcontrols
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
plasmaPackage {
|
plasmaPackage {
|
||||||
|
@ -17,14 +15,13 @@ plasmaPackage {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
kdoctools
|
kdoctools
|
||||||
makeQtWrapper
|
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dbus_tools kcmutils kconfig kcrash kdbusaddons kdesu kdewebkit
|
kcmutils kconfig kcrash kdbusaddons kdesu kdewebkit
|
||||||
kinit kjsembed knewstuff knotifyconfig kpackage kservice
|
kjsembed knewstuff knotifyconfig kpackage
|
||||||
ktextwidgets kwallet kwayland kxmlrpcclient libdbusmenu libSM
|
ktextwidgets kwallet kwayland kxmlrpcclient libdbusmenu libSM
|
||||||
libXcursor mkfontdir networkmanager-qt pam phonon qtscript qttools
|
libXcursor networkmanager-qt pam phonon qtscript
|
||||||
socat wayland xmessage xprop xset xsetroot
|
wayland
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
baloo kactivities kdeclarative kdelibs4support kglobalaccel
|
baloo kactivities kdeclarative kdelibs4support kglobalaccel
|
||||||
|
@ -35,50 +32,14 @@ plasmaPackage {
|
||||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace startkde/startkde.cmake \
|
|
||||||
--subst-var-by bash $(type -P bash) \
|
|
||||||
--subst-var-by sed $(type -P sed) \
|
|
||||||
--subst-var-by grep $(type -P grep) \
|
|
||||||
--subst-var-by socat $(type -P socat) \
|
|
||||||
--subst-var-by kcheckrunning $(type -P kcheckrunning) \
|
|
||||||
--subst-var-by xmessage $(type -P xmessage) \
|
|
||||||
--subst-var-by tr $(type -P tr) \
|
|
||||||
--subst-var-by qtpaths $(type -P qtpaths) \
|
|
||||||
--subst-var-by qdbus $(type -P qdbus) \
|
|
||||||
--subst-var-by dbus-launch $(type -P dbus-launch) \
|
|
||||||
--subst-var-by mkfontdir $(type -P mkfontdir) \
|
|
||||||
--subst-var-by xset $(type -P xset) \
|
|
||||||
--subst-var-by xsetroot $(type -P xsetroot) \
|
|
||||||
--subst-var-by xprop $(type -P xprop) \
|
|
||||||
--subst-var-by start_kdeinit_wrapper "${kinit.out}/lib/libexec/kf5/start_kdeinit_wrapper" \
|
|
||||||
--subst-var-by kwrapper5 $(type -P kwrapper5) \
|
|
||||||
--subst-var-by kdeinit5_shutdown $(type -P kdeinit5_shutdown) \
|
|
||||||
--subst-var-by kbuildsycoca5 $(type -P kbuildsycoca5) \
|
|
||||||
--subst-var-by kreadconfig5 $(type -P kreadconfig5) \
|
|
||||||
--subst-var out
|
|
||||||
substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \
|
substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \
|
||||||
--replace kdostartupconfig5 $out/bin/kdostartupconfig5
|
--replace kdostartupconfig5 $out/bin/kdostartupconfig5
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
rm "$out/bin/startkde"
|
||||||
rm "$out/bin/startplasmacompositor"
|
rm "$out/bin/startplasmacompositor"
|
||||||
rm "$out/lib/libexec/startplasma"
|
rm "$out/lib/libexec/startplasma"
|
||||||
rm -r "$out/share/wayland-sessions"
|
rm -r "$out/share/wayland-sessions"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
wrapQtProgram "$out/bin/ksmserver"
|
|
||||||
wrapQtProgram "$out/bin/plasmawindowed"
|
|
||||||
wrapQtProgram "$out/bin/kcminit_startup"
|
|
||||||
wrapQtProgram "$out/bin/ksplashqml"
|
|
||||||
wrapQtProgram "$out/bin/kcheckrunning"
|
|
||||||
wrapQtProgram "$out/bin/systemmonitor"
|
|
||||||
wrapQtProgram "$out/bin/kstartupconfig5"
|
|
||||||
wrapQtProgram "$out/bin/kdostartupconfig5"
|
|
||||||
wrapQtProgram "$out/bin/klipper"
|
|
||||||
wrapQtProgram "$out/bin/kuiserver5"
|
|
||||||
wrapQtProgram "$out/bin/krunner"
|
|
||||||
wrapQtProgram "$out/bin/plasmashell"
|
|
||||||
wrapQtProgram "$out/lib/libexec/drkonqi"
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
startkde.patch
|
|
||||||
qml-import-path.patch
|
qml-import-path.patch
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
{ stdenv, lib, runCommand
|
||||||
|
, dbus, qttools, socat
|
||||||
|
, gnugrep, gnused
|
||||||
|
, kconfig, kinit, kservice
|
||||||
|
, plasma-workspace
|
||||||
|
, xmessage, xprop, xsetroot
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
|
||||||
|
env = {
|
||||||
|
inherit (stdenv) shell;
|
||||||
|
paths = builtins.map (pkg: pkg.out or pkg)
|
||||||
|
[
|
||||||
|
dbus qttools socat
|
||||||
|
gnugrep gnused
|
||||||
|
kconfig kinit kservice
|
||||||
|
plasma-workspace
|
||||||
|
xmessage xprop xsetroot
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
in runCommand "startkde" env ''
|
||||||
|
prefix_PATH=
|
||||||
|
for pkg in $paths; do
|
||||||
|
addToSearchPath prefix_PATH "$pkg/bin"
|
||||||
|
addToSearchPath prefix_PATH "$pkg/lib/libexec"
|
||||||
|
addToSearchPath prefix_PATH "$pkg/lib/libexec/kf5"
|
||||||
|
done
|
||||||
|
substitute ${./startkde.sh} "$out" --subst-var shell --subst-var prefix_PATH
|
||||||
|
chmod +x "$out"
|
||||||
|
''
|
|
@ -0,0 +1,334 @@
|
||||||
|
#!@shell@
|
||||||
|
|
||||||
|
PATH="@prefix_PATH@:$PATH"
|
||||||
|
|
||||||
|
# The KDE icon cache is supposed to update itself
|
||||||
|
# automatically, but it uses the timestamp on the icon
|
||||||
|
# theme directory as a trigger. Since in Nix the
|
||||||
|
# timestamp is always the same, this doesn't work. So as
|
||||||
|
# a workaround, nuke the icon cache on login. This isn't
|
||||||
|
# perfect, since it may require logging out after
|
||||||
|
# installing new applications to update the cache.
|
||||||
|
# See http://lists-archives.org/kde-devel/26175-what-when-will-icon-cache-refresh.html
|
||||||
|
rm -fv $HOME/.cache/icon-cache.kcache
|
||||||
|
|
||||||
|
# Qt writes a weird ‘libraryPath’ line to
|
||||||
|
# ~/.config/Trolltech.conf that causes the KDE plugin
|
||||||
|
# paths of previous KDE invocations to be searched.
|
||||||
|
# Obviously using mismatching KDE libraries is potentially
|
||||||
|
# disastrous, so here we nuke references to the Nix store
|
||||||
|
# in Trolltech.conf. A better solution would be to stop
|
||||||
|
# Qt from doing this wackiness in the first place.
|
||||||
|
if [ -e $HOME/.config/Trolltech.conf ]; then
|
||||||
|
sed -e '/nix\\store\|nix\/store/ d' -i $HOME/.config/Trolltech.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$1" = x--failsafe; then
|
||||||
|
KDE_FAILSAFE=1 # General failsafe flag
|
||||||
|
KWIN_COMPOSE=N # Disable KWin's compositing
|
||||||
|
QT_XCB_FORCE_SOFTWARE_OPENGL=1
|
||||||
|
export KWIN_COMPOSE KDE_FAILSAFE QT_XCB_FORCE_SOFTWARE_OPENGL
|
||||||
|
fi
|
||||||
|
|
||||||
|
# When the X server dies we get a HUP signal from xinit. We must ignore it
|
||||||
|
# because we still need to do some cleanup.
|
||||||
|
trap 'echo GOT SIGHUP' HUP
|
||||||
|
|
||||||
|
# we have to unset this for Darwin since it will screw up KDE's dynamic-loading
|
||||||
|
unset DYLD_FORCE_FLAT_NAMESPACE
|
||||||
|
|
||||||
|
# Check if a KDE session already is running and whether it's possible to connect to X
|
||||||
|
kcheckrunning
|
||||||
|
kcheckrunning_result=$?
|
||||||
|
if test $kcheckrunning_result -eq 0 ; then
|
||||||
|
echo "KDE seems to be already running on this display."
|
||||||
|
xmessage -geometry 500x100 "KDE seems to be already running on this display."
|
||||||
|
exit 1
|
||||||
|
elif test $kcheckrunning_result -eq 2 ; then
|
||||||
|
echo "\$DISPLAY is not set or cannot connect to the X server."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Boot sequence:
|
||||||
|
#
|
||||||
|
# kdeinit is used to fork off processes which improves memory usage
|
||||||
|
# and startup time.
|
||||||
|
#
|
||||||
|
# * kdeinit starts klauncher first.
|
||||||
|
# * Then kded is started. kded is responsible for keeping the sycoca
|
||||||
|
# database up to date. When an up to date database is present it goes
|
||||||
|
# into the background and the startup continues.
|
||||||
|
# * Then kdeinit starts kcminit. kcminit performs initialisation of
|
||||||
|
# certain devices according to the user's settings
|
||||||
|
#
|
||||||
|
# * Then ksmserver is started which takes control of the rest of the startup sequence
|
||||||
|
|
||||||
|
# We need to create config folder so we can write startupconfigkeys
|
||||||
|
configDir=$(qtpaths --writable-path GenericConfigLocation)
|
||||||
|
mkdir -p "$configDir"
|
||||||
|
|
||||||
|
#This is basically setting defaults so we can use them with kstartupconfig5
|
||||||
|
cat >$configDir/startupconfigkeys <<EOF
|
||||||
|
kcminputrc Mouse cursorTheme 'breeze_cursors'
|
||||||
|
kcminputrc Mouse cursorSize ''
|
||||||
|
ksplashrc KSplash Theme Breeze
|
||||||
|
ksplashrc KSplash Engine KSplashQML
|
||||||
|
kdeglobals KScreen ScaleFactor 1
|
||||||
|
kcmfonts General forceFontDPI 0
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# preload the user's locale on first start
|
||||||
|
plasmalocalerc=$configDir/plasma-localerc
|
||||||
|
test -f $plasmalocalerc || {
|
||||||
|
cat >$plasmalocalerc <<EOF
|
||||||
|
[Formats]
|
||||||
|
LANG=$LANG
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
# export LC_* variables set by kcmshell5 formats into environment
|
||||||
|
# so it can be picked up by QLocale and friends.
|
||||||
|
exportformatssettings=$configDir/plasma-locale-settings.sh
|
||||||
|
test -f $exportformatssettings && {
|
||||||
|
. $exportformatssettings
|
||||||
|
}
|
||||||
|
|
||||||
|
# Write a default kdeglobals file to set up the font
|
||||||
|
kdeglobalsfile=$configDir/kdeglobals
|
||||||
|
test -f $kdeglobalsfile || {
|
||||||
|
cat >$kdeglobalsfile <<EOF
|
||||||
|
[General]
|
||||||
|
XftAntialias=true
|
||||||
|
XftHintStyle=hintmedium
|
||||||
|
XftSubPixel=none
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
kstartupconfig5
|
||||||
|
returncode=$?
|
||||||
|
if test $returncode -ne 0; then
|
||||||
|
xmessage -geometry 500x100 "kstartupconfig5 does not exist or fails. The error code is $returncode. Check your installation."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
[ -r $configDir/startupconfig ] && . $configDir/startupconfig
|
||||||
|
|
||||||
|
if test "$kdeglobals_kscreen_scalefactor" -ne 1; then
|
||||||
|
export QT_DEVICE_PIXEL_RATIO=$kdeglobals_kscreen_scalefactor
|
||||||
|
fi
|
||||||
|
|
||||||
|
XCURSOR_PATH=~/.icons
|
||||||
|
IFS=":" read -r -a xdgDirs <<< "$XDG_DATA_DIRS"
|
||||||
|
for xdgDir in "${xdgDirs[@]}"; do
|
||||||
|
XCURSOR_PATH="$XCURSOR_PATH:$xdgDir/icons"
|
||||||
|
done
|
||||||
|
export XCURSOR_PATH
|
||||||
|
|
||||||
|
# XCursor mouse theme needs to be applied here to work even for kded or ksmserver
|
||||||
|
if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then
|
||||||
|
|
||||||
|
kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize"
|
||||||
|
if test $? -eq 10; then
|
||||||
|
XCURSOR_THEME=breeze_cursors
|
||||||
|
export XCURSOR_THEME
|
||||||
|
elif test -n "$kcminputrc_mouse_cursortheme"; then
|
||||||
|
XCURSOR_THEME="$kcminputrc_mouse_cursortheme"
|
||||||
|
export XCURSOR_THEME
|
||||||
|
fi
|
||||||
|
if test -n "$kcminputrc_mouse_cursorsize"; then
|
||||||
|
XCURSOR_SIZE="$kcminputrc_mouse_cursorsize"
|
||||||
|
export XCURSOR_SIZE
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set a left cursor instead of the standard X11 "X" cursor, since I've heard
|
||||||
|
# from some users that they're confused and don't know what to do. This is
|
||||||
|
# especially necessary on slow machines, where starting KDE takes one or two
|
||||||
|
# minutes until anything appears on the screen.
|
||||||
|
#
|
||||||
|
# If the user has overwritten fonts, the cursor font may be different now
|
||||||
|
# so don't move this up.
|
||||||
|
#
|
||||||
|
xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
|
dl=$DESKTOP_LOCKED
|
||||||
|
unset DESKTOP_LOCKED # Don't want it in the environment
|
||||||
|
|
||||||
|
# Make sure that D-Bus is running
|
||||||
|
# D-Bus autolaunch is broken
|
||||||
|
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
||||||
|
eval $(dbus-launch --sh-syntax --exit-with-session)
|
||||||
|
fi
|
||||||
|
if qdbus >/dev/null 2>/dev/null; then
|
||||||
|
: # ok
|
||||||
|
else
|
||||||
|
echo 'startkde: Could not start D-Bus. Can you call qdbus?' 1>&2
|
||||||
|
test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
|
||||||
|
xmessage -geometry 500x100 "Could not start D-Bus. Can you call qdbus?"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
ksplash_pid=
|
||||||
|
if test -z "$dl"; then
|
||||||
|
# the splashscreen and progress indicator
|
||||||
|
case "$ksplashrc_ksplash_engine" in
|
||||||
|
KSplashQML)
|
||||||
|
ksplash_pid=$(ksplashqml "${ksplashrc_ksplash_theme}" --pid)
|
||||||
|
;;
|
||||||
|
None)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Source scripts found in <config locations>/plasma-workspace/env/*.sh
|
||||||
|
# (where <config locations> correspond to the system and user's configuration
|
||||||
|
# directories, as identified by Qt's qtpaths, e.g. $HOME/.config
|
||||||
|
# and /etc/xdg/ on Linux)
|
||||||
|
#
|
||||||
|
# This is where you can define environment variables that will be available to
|
||||||
|
# all KDE programs, so this is where you can run agents using e.g. eval `ssh-agent`
|
||||||
|
# or eval `gpg-agent --daemon`.
|
||||||
|
# Note: if you do that, you should also put "ssh-agent -k" as a shutdown script
|
||||||
|
#
|
||||||
|
# (see end of this file).
|
||||||
|
# For anything else (that doesn't set env vars, or that needs a window manager),
|
||||||
|
# better use the Autostart folder.
|
||||||
|
|
||||||
|
IFS=":" read -r -a scriptpath <<< $(qtpaths --paths GenericConfigLocation)
|
||||||
|
# Add /env/ to the directory to locate the scripts to be sourced
|
||||||
|
for prefix in "${scriptpath[@]}"; do
|
||||||
|
for file in "$prefix"/plasma-workspace/env/*.sh; do
|
||||||
|
test -r "$file" && . "$file" || true
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
echo 'startkde: Starting up...' 1>&2
|
||||||
|
|
||||||
|
# Mark that full KDE session is running (e.g. Konqueror preloading works only
|
||||||
|
# with full KDE running). The KDE_FULL_SESSION property can be detected by
|
||||||
|
# any X client connected to the same X session, even if not launched
|
||||||
|
# directly from the KDE session but e.g. using "ssh -X", kdesu. $KDE_FULL_SESSION
|
||||||
|
# however guarantees that the application is launched in the same environment
|
||||||
|
# like the KDE session and that e.g. KDE utilities/libraries are available.
|
||||||
|
# KDE_FULL_SESSION property is also only available since KDE 3.5.5.
|
||||||
|
# The matching tests are:
|
||||||
|
# For $KDE_FULL_SESSION:
|
||||||
|
# if test -n "$KDE_FULL_SESSION"; then ... whatever
|
||||||
|
# For KDE_FULL_SESSION property:
|
||||||
|
# xprop -root | grep "^KDE_FULL_SESSION" >/dev/null 2>/dev/null
|
||||||
|
# if test $? -eq 0; then ... whatever
|
||||||
|
#
|
||||||
|
# Additionally there is (since KDE 3.5.7) $KDE_SESSION_UID with the uid
|
||||||
|
# of the user running the KDE session. It should be rarely needed (e.g.
|
||||||
|
# after sudo to prevent desktop-wide functionality in the new user's kded).
|
||||||
|
#
|
||||||
|
# Since KDE4 there is also KDE_SESSION_VERSION, containing the major version number.
|
||||||
|
# Note that this didn't exist in KDE3, which can be detected by its absense and
|
||||||
|
# the presence of KDE_FULL_SESSION.
|
||||||
|
#
|
||||||
|
KDE_FULL_SESSION=true
|
||||||
|
export KDE_FULL_SESSION
|
||||||
|
xprop -root -f KDE_FULL_SESSION 8t -set KDE_FULL_SESSION true
|
||||||
|
|
||||||
|
KDE_SESSION_VERSION=5
|
||||||
|
export KDE_SESSION_VERSION
|
||||||
|
xprop -root -f KDE_SESSION_VERSION 32c -set KDE_SESSION_VERSION 5
|
||||||
|
|
||||||
|
KDE_SESSION_UID=`id -ru`
|
||||||
|
export KDE_SESSION_UID
|
||||||
|
|
||||||
|
XDG_CURRENT_DESKTOP=KDE
|
||||||
|
export XDG_CURRENT_DESKTOP
|
||||||
|
|
||||||
|
# At this point all the environment is ready, let's send it to kwalletd if running
|
||||||
|
if test -n "$PAM_KWALLET_LOGIN" ; then
|
||||||
|
env | socat STDIN UNIX-CONNECT:$PAM_KWALLET_LOGIN
|
||||||
|
fi
|
||||||
|
# ...and also to kwalletd5
|
||||||
|
if test -n "$PAM_KWALLET5_LOGIN" ; then
|
||||||
|
env | socat STDIN UNIX-CONNECT:$PAM_KWALLET5_LOGIN
|
||||||
|
fi
|
||||||
|
|
||||||
|
# At this point all environment variables are set, let's send it to the DBus session server to update the activation environment
|
||||||
|
ksyncdbusenv
|
||||||
|
if test $? -ne 0; then
|
||||||
|
# Startup error
|
||||||
|
echo 'startkde: Could not sync environment to dbus.' 1>&2
|
||||||
|
test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
|
||||||
|
xmessage -geometry 500x100 "Could not sync environment to dbus."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# We set LD_BIND_NOW to increase the efficiency of kdeinit.
|
||||||
|
# kdeinit unsets this variable before loading applications.
|
||||||
|
LD_BIND_NOW=true start_kdeinit_wrapper --kded +kcminit_startup
|
||||||
|
if test $? -ne 0; then
|
||||||
|
# Startup error
|
||||||
|
echo 'startkde: Could not start kdeinit5. Check your installation.' 1>&2
|
||||||
|
test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
|
||||||
|
xmessage -geometry 500x100 "Could not start kdeinit5. Check your installation."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# (NixOS) Run kbuildsycoca5 before starting the user session because things
|
||||||
|
# may be missing or moved if they have run nixos-rebuild and it may not be
|
||||||
|
# possible for them to start Konsole to run it manually!
|
||||||
|
kbuildsycoca5
|
||||||
|
|
||||||
|
# finally, give the session control to the session manager
|
||||||
|
# see kdebase/ksmserver for the description of the rest of the startup sequence
|
||||||
|
# if the KDEWM environment variable has been set, then it will be used as KDE's
|
||||||
|
# window manager instead of kwin.
|
||||||
|
# if KDEWM is not set, ksmserver will ensure kwin is started.
|
||||||
|
# kwrapper5 is used to reduce startup time and memory usage
|
||||||
|
# kwrapper5 does not return useful error codes such as the exit code of ksmserver.
|
||||||
|
# We only check for 255 which means that the ksmserver process could not be
|
||||||
|
# started, any problems thereafter, e.g. ksmserver failing to initialize,
|
||||||
|
# will remain undetected.
|
||||||
|
test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
|
||||||
|
# If the session should be locked from the start (locked autologin),
|
||||||
|
# lock now and do the rest of the KDE startup underneath the locker.
|
||||||
|
KSMSERVEROPTIONS=""
|
||||||
|
test -n "$dl" && KSMSERVEROPTIONS=" --lockscreen"
|
||||||
|
kwrapper5 ksmserver $KDEWM $KSMSERVEROPTIONS
|
||||||
|
if test $? -eq 255; then
|
||||||
|
# Startup error
|
||||||
|
echo 'startkde: Could not start ksmserver. Check your installation.' 1>&2
|
||||||
|
test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
|
||||||
|
xmessage -geometry 500x100 "Could not start ksmserver. Check your installation."
|
||||||
|
fi
|
||||||
|
|
||||||
|
wait_drkonqi=$(kreadconfig5 --file startkderc --group WaitForDrKonqi --key Enabled --default true)
|
||||||
|
|
||||||
|
if test x"$wait_drkonqi"x = x"true"x ; then
|
||||||
|
# wait for remaining drkonqi instances with timeout (in seconds)
|
||||||
|
wait_drkonqi_timeout=$(kreadconfig5 --file startkderc --group WaitForDrKonqi --key Timeout --default 900)
|
||||||
|
wait_drkonqi_counter=0
|
||||||
|
while qdbus | grep "^[^w]*org.kde.drkonqi" > /dev/null ; do
|
||||||
|
sleep 5
|
||||||
|
wait_drkonqi_counter=$((wait_drkonqi_counter+5))
|
||||||
|
if test "$wait_drkonqi_counter" -ge "$wait_drkonqi_timeout" ; then
|
||||||
|
# ask remaining drkonqis to die in a graceful way
|
||||||
|
qdbus | grep 'org.kde.drkonqi-' | while read address ; do
|
||||||
|
qdbus "$address" "/MainApplication" "quit"
|
||||||
|
done
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 'startkde: Shutting down...' 1>&2
|
||||||
|
# just in case
|
||||||
|
test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
|
||||||
|
|
||||||
|
# Clean up
|
||||||
|
kdeinit5_shutdown
|
||||||
|
|
||||||
|
unset KDE_FULL_SESSION
|
||||||
|
xprop -root -remove KDE_FULL_SESSION
|
||||||
|
unset KDE_SESSION_VERSION
|
||||||
|
xprop -root -remove KDE_SESSION_VERSION
|
||||||
|
unset KDE_SESSION_UID
|
||||||
|
|
||||||
|
echo 'startkde: Done.' 1>&2
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ ecl qt4 xorgserver xkbcomp xkeyboard_config ];
|
buildInputs = [ ecl qt4 xorgserver xkbcomp xkeyboard_config ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-fPIC";
|
NIX_CFLAGS_COMPILE = [ "-fPIC" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp
|
sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp
|
||||||
|
|
|
@ -210,10 +210,14 @@ preInstall() {
|
||||||
|
|
||||||
|
|
||||||
postInstall() {
|
postInstall() {
|
||||||
|
mkdir -p "$lib" # some configs don't have anything to put into $lib
|
||||||
|
|
||||||
# Move runtime libraries to $lib.
|
# Move runtime libraries to $lib.
|
||||||
moveToOutput "lib/lib*.so*" "$lib"
|
moveToOutput "lib/lib*.so*" "$lib"
|
||||||
moveToOutput "lib/lib*.la" "$lib"
|
moveToOutput "lib/lib*.la" "$lib"
|
||||||
ln -s lib "$lib/lib64" # for *.la
|
if [ -d "$lib/lib" ]; then
|
||||||
|
ln -s lib "$lib/lib64" # for *.la
|
||||||
|
fi
|
||||||
moveToOutput "share/gcc-*/python" "$lib"
|
moveToOutput "share/gcc-*/python" "$lib"
|
||||||
|
|
||||||
for i in "$lib"/lib/*.{la,py}; do
|
for i in "$lib"/lib/*.{la,py}; do
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, cmake, boost, gmp, mpfr }:
|
{ stdenv, fetchurl, cmake, boost, gmp, mpfr, mesa_glu }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "4.7";
|
version = "4.7";
|
||||||
|
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
||||||
# there are also libCGAL_Qt{3,4} omitted ATM
|
# there are also libCGAL_Qt{3,4} omitted ATM
|
||||||
buildInputs = [ cmake boost gmp mpfr ];
|
buildInputs = [ cmake boost gmp mpfr ];
|
||||||
|
#propagatedBuildInputs = [ mesa_glu ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase }:
|
{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "accounts-qt-${version}";
|
name = "accounts-qt-${version}";
|
||||||
|
@ -12,12 +12,10 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glib libaccounts-glib qtbase ];
|
buildInputs = [ glib libaccounts-glib qtbase ];
|
||||||
nativeBuildInputs = [ doxygen pkgconfig ];
|
nativeBuildInputs = [ doxygen pkgconfig qmakeHook ];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
qmakeFlags="$qmakeFlags LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake"
|
||||||
qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -6,8 +6,8 @@ assert x11Support -> libX11 != null
|
||||||
&& libSM != null;
|
&& libSM != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.8.20";
|
version = "1.10.8";
|
||||||
sha256 = "0fkh3d5r57a659hw9lqnw4v0bc5556vx54fsf7l9c732ci6byksw";
|
sha256 = "0560y3hxpgh346w6avcrcz79c8ansmn771y5xpcvvlr6m8mx5wxs";
|
||||||
|
|
||||||
self = stdenv.mkDerivation {
|
self = stdenv.mkDerivation {
|
||||||
name = "dbus-${version}";
|
name = "dbus-${version}";
|
||||||
|
@ -17,8 +17,7 @@ self = stdenv.mkDerivation {
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./ignore-missing-includedirs.patch ]
|
patches = lib.optional stdenv.isSunOS ./implement-getgrouplist.patch;
|
||||||
++ lib.optional stdenv.isSunOS ./implement-getgrouplist.patch;
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace tools/Makefile.in \
|
substituteInPlace tools/Makefile.in \
|
||||||
--replace 'install-localstatelibDATA:' 'disabled:' \
|
--replace 'install-localstatelibDATA:' 'disabled:' \
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
diff -ru -x '*~' dbus-1.2.24-orig/bus/config-parser.c dbus-1.2.24/bus/config-parser.c
|
|
||||||
--- dbus-1.2.24-orig/bus/config-parser.c 2010-03-23 20:01:27.000000000 +0100
|
|
||||||
+++ dbus-1.2.24/bus/config-parser.c 2010-07-20 14:17:20.000000000 +0200
|
|
||||||
@@ -2159,12 +2159,16 @@
|
|
||||||
|
|
||||||
retval = FALSE;
|
|
||||||
|
|
||||||
- dir = _dbus_directory_open (dirname, error);
|
|
||||||
+ dbus_error_init (&tmp_error);
|
|
||||||
+
|
|
||||||
+ dir = _dbus_directory_open (dirname, &tmp_error);
|
|
||||||
|
|
||||||
if (dir == NULL)
|
|
||||||
- goto failed;
|
|
||||||
+ {
|
|
||||||
+ retval = TRUE;
|
|
||||||
+ goto failed;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
- dbus_error_init (&tmp_error);
|
|
||||||
while (_dbus_directory_get_next_file (dir, &filename, &tmp_error))
|
|
||||||
{
|
|
||||||
DBusString full_path;
|
|
|
@ -2,15 +2,15 @@
|
||||||
, jasper, libintlOrEmpty, gobjectIntrospection, doCheck ? false }:
|
, jasper, libintlOrEmpty, gobjectIntrospection, doCheck ? false }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ver_maj = "2.32";
|
ver_maj = "2.34";
|
||||||
ver_min = "3";
|
ver_min = "0";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gdk-pixbuf-${ver_maj}.${ver_min}";
|
name = "gdk-pixbuf-${ver_maj}.${ver_min}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gdk-pixbuf/${ver_maj}/${name}.tar.xz";
|
url = "mirror://gnome/sources/gdk-pixbuf/${ver_maj}/${name}.tar.xz";
|
||||||
sha256 = "0cfh87aqyqbfcwpbv1ihgmgfcn66il5q2n8yjyl8gxkjmkqp2rrb";
|
sha256 = "0yc8indbl3hf18z6x6kjg59xp9sngm1d8vmz4c7bs6g27qw5npnm";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "dev" "out" "docdev" ];
|
outputs = [ "dev" "out" "docdev" ];
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
{ stdenv, fetchgit, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
||||||
, librsvg, pango, gtk, bzip2, intltool, libtool, automake, autoconf, json_glib }:
|
, librsvg, pango, gtk, bzip2, intltool, libtool, automake, autoconf, json_glib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gegl-0.3.0-20140619";
|
name = "gegl-0.3.6";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "https://git.gnome.org/browse/gegl";
|
url = "http://download.gimp.org/pub/gegl/0.3/${name}.tar.bz2";
|
||||||
sha256 = "1rjmv2y7z34zrnlqczmmh0bm724iszzdf6jpibszxnp3w0npwjrb";
|
sha256 = "08m7dlf2kwmp7jw3qskwxas192swhn1g4jcd8aldg9drfjygprvh";
|
||||||
rev = "0014eb1bad50244314ed09592fe57efa9322678c";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
configureScript = "./autogen.sh";
|
configureScript = "./autogen.sh";
|
||||||
|
|
|
@ -39,8 +39,8 @@ let
|
||||||
ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true
|
ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
ver_maj = "2.46";
|
ver_maj = "2.48";
|
||||||
ver_min = "2";
|
ver_min = "0";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/glib/${ver_maj}/${name}.tar.xz";
|
url = "mirror://gnome/sources/glib/${ver_maj}/${name}.tar.xz";
|
||||||
sha256 = "5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db";
|
sha256 = "0d3w2hblrw7vvpx60l1kbvb830ygn3v8zhwdz65cc5593j9ycjvl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = optional stdenv.isDarwin ./darwin-compilation.patch ++ optional doCheck ./skip-timer-test.patch;
|
patches = optional stdenv.isDarwin ./darwin-compilation.patch ++ optional doCheck ./skip-timer-test.patch;
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ callPackage, fetchurl, autoreconfHook, ... } @ args:
|
{ callPackage, fetchurl, autoreconfHook, ... } @ args:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // rec {
|
callPackage ./generic.nix (args // rec {
|
||||||
version = "3.4.6";
|
version = "3.4.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-${version}.tar.xz";
|
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-${version}.tar.xz";
|
||||||
sha256 = "1v109px1sy1s731fnawzdsvggdswmr7ha9q5lid4v8pzgznmkdgy";
|
sha256 = "1f4sbb38xab46h67a3pm6kybgrahjx3vbrn66qq3cbc2jngrrvvh";
|
||||||
};
|
};
|
||||||
|
|
||||||
# This fixes some broken parallel dependencies
|
# This fixes some broken parallel dependencies
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# In that case its about 6MB which could be separated
|
# In that case its about 6MB which could be separated
|
||||||
|
|
||||||
let
|
let
|
||||||
ver_maj = "1.46";
|
ver_maj = "1.48";
|
||||||
ver_min = "0";
|
ver_min = "0";
|
||||||
in
|
in
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gobject-introspection/${ver_maj}/${name}.tar.xz";
|
url = "mirror://gnome/sources/gobject-introspection/${ver_maj}/${name}.tar.xz";
|
||||||
sha256 = "6658bd3c2b8813eb3e2511ee153238d09ace9d309e4574af27443d87423e4233";
|
sha256 = "0xsqwxhfqzr79av89mg766kxpb2i41bd0vwspk01xjdzrnn5l9zs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "dev" "out" ];
|
outputs = [ "dev" "out" ];
|
||||||
|
|
|
@ -11,8 +11,8 @@ assert cupsSupport -> cups != null;
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
ver_maj = "3.18";
|
ver_maj = "3.20";
|
||||||
ver_min = "5";
|
ver_min = "3";
|
||||||
version = "${ver_maj}.${ver_min}";
|
version = "${ver_maj}.${ver_min}";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gtk+/${ver_maj}/gtk+-${version}.tar.xz";
|
url = "mirror://gnome/sources/gtk+/${ver_maj}/gtk+-${version}.tar.xz";
|
||||||
sha256 = "107aeb9a4244ce3c044becdd6dffc32d83202595181597180d4c736302a71852";
|
sha256 = "3834f3bf23b260b3e5ebfea41102e2026a8af29e36c3620edf4a5cf05e82f694";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "dev" "out" ];
|
outputs = [ "dev" "out" ];
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
{ stdenv, fetchurl, qt4, unzip }:
|
{ stdenv, fetchurl, qt4, qmake4Hook, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "herqq-1.0.0";
|
name = "herqq-1.0.0";
|
||||||
|
|
||||||
buildInputs = [ qt4 unzip ];
|
buildInputs = [ qt4 unzip qmake4Hook ];
|
||||||
|
|
||||||
configurePhase = "qmake PREFIX=$out herqq.pro";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/hupnp/${name}.zip";
|
url = "mirror://sourceforge/hupnp/${name}.zip";
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus }:
|
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "json-glib-${minVer}.2";
|
name = "json-glib-${minVer}.0";
|
||||||
minVer = "1.0";
|
minVer = "1.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/json-glib/${minVer}/${name}.tar.xz";
|
url = "mirror://gnome/sources/json-glib/${minVer}/${name}.tar.xz";
|
||||||
sha256 = "887bd192da8f5edc53b490ec51bf3ffebd958a671f5963e4f3af32c22e35660a";
|
sha256 = "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureflags= "--with-introspection";
|
configureflags= "--with-introspection";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ fetchgit, qt5, stdenv
|
{ fetchgit, qtbase, qmakeHook, stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -11,16 +11,16 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "15sb7vinaaz1v5nclxpnp5p9a0kmfmlgiqibkipnyydizclidpfx";
|
sha256 = "15sb7vinaaz1v5nclxpnp5p9a0kmfmlgiqibkipnyydizclidpfx";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt5.qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
|
nativeBuildInputs = [ qmakeHook ];
|
||||||
|
|
||||||
enableParallelBuild = true;
|
enableParallelBuild = true;
|
||||||
|
|
||||||
postPatch = ''
|
configurePhase = ''
|
||||||
sed -i -e 's|/bin/pwd|pwd|g' -e 's/which/type -P/' configure
|
sed -i -e 's|/bin/pwd|pwd|g' configure
|
||||||
|
./configure -config release -prefix $out -qmake $QMAKE
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "-config release" ];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A cross-platform IRC framework written with Qt";
|
description = "A cross-platform IRC framework written with Qt";
|
||||||
homepage = https://communi.github.io;
|
homepage = https://communi.github.io;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, nasm, autoreconfHook }:
|
{ stdenv, fetchurl, nasm }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libjpeg-turbo-1.4.2";
|
name = "libjpeg-turbo-1.4.2";
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "dev" "out" "doc" "bin" ];
|
outputs = [ "dev" "out" "doc" "bin" ];
|
||||||
|
|
||||||
buildInputs = [ autoreconfHook nasm ];
|
nativeBuildInputs = [ nasm ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, fftw, qtbase }:
|
{ stdenv, fetchFromGitHub, fftw, qtbase, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libkeyfinder-${version}";
|
name = "libkeyfinder-${version}";
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "ibsh";
|
owner = "ibsh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftw qtbase ];
|
buildInputs = [ fftw qtbase qmakeHook ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace LibKeyFinder.pro \
|
substituteInPlace LibKeyFinder.pro \
|
||||||
|
@ -19,12 +19,6 @@ stdenv.mkDerivation rec {
|
||||||
--replace "-stdlib=libc++" ""
|
--replace "-stdlib=libc++" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue