Merge pull request #46355 from xeji/p/nant-drop

nant, boo, banshee: remove
This commit is contained in:
xeji 2018-09-12 23:25:37 +02:00 committed by GitHub
commit 82a49eb8d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 230 deletions

View File

@ -1,57 +0,0 @@
{ stdenv, lib, fetchurl, intltool, pkgconfig, gstreamer, gst-plugins-base
, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-ffmpeg, glib
, mono, mono-addins, dbus-sharp-1_0, dbus-sharp-glib-1_0, notify-sharp, gtk-sharp-2_0
, boo, gdata-sharp, taglib-sharp, sqlite, gnome-sharp, gconf, gtk-sharp-beans, gio-sharp
, libmtp, libgpod, mono-zeroconf }:
stdenv.mkDerivation rec {
name = "banshee-${version}";
version = "2.6.2";
src = fetchurl {
url = "https://ftp.gnome.org/pub/GNOME/sources/banshee/2.6/banshee-${version}.tar.xz";
sha256 = "1y30p8wxx5li39i5gpq2wib0ympy8llz0gyi6ri9bp730ndhhz7p";
};
dontStrip = true;
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [
gtk-sharp-2_0.gtk gstreamer gst-plugins-base gst-plugins-good
gst-plugins-bad gst-plugins-ugly gst-ffmpeg
mono dbus-sharp-1_0 dbus-sharp-glib-1_0 mono-addins notify-sharp
gtk-sharp-2_0 boo gdata-sharp taglib-sharp sqlite gnome-sharp gconf gtk-sharp-beans
gio-sharp libmtp libgpod mono-zeroconf
];
makeFlags = [ "PREFIX=$(out)" ];
postPatch = ''
patchShebangs data/desktop-files/update-desktop-file.sh
patchShebangs build/private-icon-theme-installer
sed -i "s,DOCDIR=.*,DOCDIR=$out/lib/monodoc," configure
'';
postInstall = let
ldLibraryPath = lib.makeLibraryPath [ gtk-sharp-2_0.gtk gtk-sharp-2_0 sqlite gconf glib gstreamer ];
monoGACPrefix = lib.concatStringsSep ":" [
mono dbus-sharp-1_0 dbus-sharp-glib-1_0 mono-addins notify-sharp gtk-sharp-2_0
boo gdata-sharp taglib-sharp sqlite gnome-sharp gconf gtk-sharp-beans
gio-sharp libmtp libgpod mono-zeroconf
];
in ''
sed -e '2a export MONO_GAC_PREFIX=${monoGACPrefix}' \
-e 's|LD_LIBRARY_PATH=|LD_LIBRARY_PATH=${ldLibraryPath}:|' \
-e "s|GST_PLUGIN_PATH=|GST_PLUGIN_PATH=$GST_PLUGIN_SYSTEM_PATH:|" \
-e 's| mono | ${mono}/bin/mono |' \
-i $out/bin/banshee
'';
meta = with lib; {
homepage = "http://banshee.fm/";
description = "A music player written in C# using GNOME technologies";
platforms = platforms.linux;
maintainers = [ maintainers.zohl ];
license = licenses.mit;
};
}

View File

@ -1,45 +0,0 @@
diff --git a/default.build b/default.build
index e48fd9e..b0dee4f 100644
--- a/default.build
+++ b/default.build
@@ -23,14 +23,14 @@
<property name="skip.ast" value="False" />
<property name="skip.vs" value="False" />
- <property name="gsv.name" value="gtksourceview-1.0" />
+ <property name="gsv.name" value="gtksourceview-2.0" />
<property name="build.dir" value="build" dynamic="True"/>
<property name="distrobuild.dir" value="distrobuild"/>
<property name="docs.dir" value="docs" />
<property name="examples.dir" value="examples" />
- <property name="install.prefix" value="/usr/local" />
+ <property name="install.prefix" value="$out" />
<property name="install.destdir" value="/" />
<property name="install.share" value="${path::combine(install.prefix,'share')}" />
@@ -575,9 +575,9 @@
key files for mime detection, etc
-->
- <property name="sharedmime.prefix" value="${pkg-config::get-variable('shared-mime-info','prefix')}" />
+ <property name="sharedmime.prefix" value="$out" />
<property name="fakeroot.sharedmime" value="${fakeroot}/${sharedmime.prefix}" />
- <property name="gsv.prefix" value="${pkg-config::get-variable(gsv.name,'prefix')}" />
+ <property name="gsv.prefix" value="$out" />
<property name="fakeroot.gsv" value="${fakeroot}/${gsv.prefix}" />
<mkdir dir="${fakeroot.boolib}"/>
@@ -707,9 +707,9 @@
key files for mime detection, etc
-->
- <property name="sharedmime.prefix" value="${pkg-config::get-variable('shared-mime-info','prefix')}" />
+ <property name="sharedmime.prefix" value="$out" />
<property name="fakeroot.sharedmime" value="${fakeroot}/${sharedmime.prefix}" />
- <property name="gsv.prefix" value="${pkg-config::get-variable(gsv.name,'prefix')}" />
+ <property name="gsv.prefix" value="$out" />
<property name="fakeroot.gsv" value="${fakeroot}/${gsv.prefix}" />
<foreach item="File" property="filename">

View File

@ -1,46 +0,0 @@
{ stdenv, fetchFromGitHub, pkgconfig, mono, makeWrapper, nant
, shared-mime-info, gtksourceview, gtk2 }:
let
release = "alpha";
in stdenv.mkDerivation rec {
name = "boo-${version}";
version = "2013-10-21";
src = fetchFromGitHub {
owner = "boo-lang";
repo = "boo";
rev = "${release}";
sha256 = "174abdwfpq8i3ijx6bwqll16lx7xwici374rgsbymyk8g8mla094";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
mono makeWrapper nant shared-mime-info gtksourceview
gtk2
];
patches = [ ./config.patch ];
postPatch = ''
sed -e 's|\$out|'$out'|' -i default.build
'';
buildPhase = ''
nant -t:mono-4.5
'';
installPhase = ''
nant install
cp $out/lib/mono/boo/*.dll $out/lib/boo/
'';
dontStrip = true;
meta = with stdenv.lib; {
description = "The Boo Programming Language";
platforms = platforms.linux;
broken = true;
};
}

View File

@ -1,71 +0,0 @@
{ stdenv, fetchFromGitHub, pkgconfig, mono, makeWrapper
, targetVersion ? "4.5" }:
let
version = "2015-11-15";
src = fetchFromGitHub {
owner = "nant";
repo = "nant";
rev = "19bec6eca205af145e3c176669bbd57e1712be2a";
sha256 = "11l5y76csn686p8i3kww9s0sxy659ny9l64krlqg3y2nxaz0fk6l";
};
nant-bootstrapped = stdenv.mkDerivation {
name = "nant-bootstrapped-${version}";
inherit src;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ mono makeWrapper ];
buildFlags = "bootstrap";
dontStrip = true;
installPhase = ''
mkdir -p $out/lib/nant-bootstrap
cp -r bootstrap/* $out/lib/nant-bootstrap
mkdir -p $out/bin
makeWrapper "${mono}/bin/mono" $out/bin/nant \
--add-flags "$out/lib/nant-bootstrap/NAnt.exe"
'';
};
in stdenv.mkDerivation {
name = "nant-${version}";
inherit src;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ mono makeWrapper nant-bootstrapped ];
dontStrip = true;
buildPhase = ''
nant -t:mono-${targetVersion}
'';
installPhase = ''
mkdir -p $out/lib/nant
cp -r build/mono-${targetVersion}.unix/nant-debug/bin/* $out/lib/nant/
mkdir -p $out/bin
makeWrapper "${mono}/bin/mono" $out/bin/nant \
--add-flags "$out/lib/nant/NAnt.exe"
'';
meta = with stdenv.lib; {
homepage = http://nant.sourceforge.net;
description = "NAnt is a free .NET build tool";
longDescription = ''
NAnt is a free .NET build tool. In theory it is kind of like make without
make's wrinkles. In practice it's a lot like Ant.
'';
license = licenses.gpl2Plus;
maintainers = with maintainers; [ zohl ];
platforms = platforms.linux;
};
}

View File

@ -6320,10 +6320,6 @@ with pkgs;
binaryen = callPackage ../development/compilers/binaryen { };
boo = callPackage ../development/compilers/boo {
inherit (gnome2) gtksourceview;
};
colm = callPackage ../development/compilers/colm { };
fetchegg = callPackage ../build-support/fetchegg { };
@ -8511,8 +8507,6 @@ with pkgs;
nailgun = callPackage ../development/tools/nailgun { };
nant = callPackage ../development/tools/build-managers/nant { };
ninja = callPackage ../development/tools/build-managers/ninja { };
gn = callPackage ../development/tools/build-managers/gn { };
@ -15558,11 +15552,6 @@ with pkgs;
barrier = callPackage ../applications/misc/barrier {};
banshee = callPackage ../applications/audio/banshee {
gconf = pkgs.gnome2.GConf;
libgpod = pkgs.libgpod.override { monoSupport = true; };
};
bashSnippets = callPackage ../applications/misc/bashSnippets { };
batik = callPackage ../applications/graphics/batik { };