mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Merge branch 'master' into systemd
This commit is contained in:
commit
7194db80e9
@ -196,17 +196,18 @@ twisted = buildPythonPackage {
|
||||
</section>
|
||||
|
||||
|
||||
<!--
|
||||
<section><title>Haskell</title>
|
||||
<section><title>Java</title>
|
||||
|
||||
<para>TODO</para>
|
||||
<para>Java packages should install JAR files in
|
||||
<filename>$out/lib/java</filename>.</para>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<section><title>Java</title>
|
||||
<!--
|
||||
<section><title>Haskell</title>
|
||||
|
||||
<para>TODO; Java support needs lots of improvement</para>
|
||||
<para>TODO</para>
|
||||
|
||||
</section>
|
||||
|
||||
|
30
pkgs/applications/audio/abcde/abcde.patch
Normal file
30
pkgs/applications/audio/abcde/abcde.patch
Normal file
@ -0,0 +1,30 @@
|
||||
Two changes:
|
||||
|
||||
* Add an alias for `which', so abcde can find things in store
|
||||
* Choose the right CDROM reader syntax for `cd-paranoia'
|
||||
|
||||
--- abcde-2.5.4/abcde~ 2012-09-18 06:09:31.000000000 -0700
|
||||
+++ abcde-2.5.4/abcde 2012-10-27 00:08:48.000862364 -0700
|
||||
@@ -17,6 +17,11 @@
|
||||
|
||||
VERSION='2.5.4'
|
||||
|
||||
+which ()
|
||||
+{
|
||||
+ type -P $1
|
||||
+}
|
||||
+
|
||||
usage ()
|
||||
{
|
||||
echo "This is abcde v$VERSION."
|
||||
@@ -3497,6 +3502,10 @@
|
||||
for DEFAULT_CDROMREADER in $DEFAULT_CDROMREADERS; do
|
||||
if new_checkexec $DEFAULT_CDROMREADER; then
|
||||
CDROMREADERSYNTAX=$DEFAULT_CDROMREADER
|
||||
+ case "$DEFAULT_CDROMREADER" in
|
||||
+ cd-paranoia) CDROMREADERSYNTAX=cdparanoia;;
|
||||
+ *) CDROMREADERSYNTAX=$DEFAULT_CDROMREADER;;
|
||||
+ esac
|
||||
break
|
||||
fi
|
||||
done
|
@ -1,16 +0,0 @@
|
||||
Choose the right CDROM reader syntax for `cd-paranoia'.
|
||||
|
||||
--- abcde-2.3.99.6/abcde 2006-08-05 21:14:00.000000000 +0200
|
||||
+++ abcde-2.3.99.6/abcde 2008-10-29 22:55:38.000000000 +0100
|
||||
@@ -3184,7 +3184,10 @@ if [ -n "$DISCID" ] || [ "$CDROMREADERSY
|
||||
if [ "$CDROMREADERSYNTAX" = "" ]; then
|
||||
for DEFAULT_CDROMREADER in $DEFAULT_CDROMREADERS; do
|
||||
if new_checkexec $DEFAULT_CDROMREADER; then
|
||||
- CDROMREADERSYNTAX=$DEFAULT_CDROMREADER
|
||||
+ case "$DEFAULT_CDROMREADER" in
|
||||
+ cd-paranoia) CDROMREADERSYNTAX=cdparanoia;;
|
||||
+ *) CDROMREADERSYNTAX=$DEFAULT_CDROMREADER;;
|
||||
+ esac
|
||||
break
|
||||
fi
|
||||
done
|
@ -1,19 +1,20 @@
|
||||
{ stdenv, fetchurl, libcdio, cddiscid, wget, bash, vorbisTools, id3v2, lame
|
||||
{ stdenv, fetchurl, libcdio, cddiscid, wget, bash, vorbisTools, id3v2, lame, flac, eject, mkcue
|
||||
, perl, DigestSHA, MusicBrainz, MusicBrainzDiscID
|
||||
, makeWrapper }:
|
||||
|
||||
let version = "2.3.99.6";
|
||||
let version = "2.5.4";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "abcde-${version}";
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/a/abcde/abcde_${version}.orig.tar.gz";
|
||||
sha256 = "1wl4ygj1cf1d6g05gwwygsd5g83l039fzi011r30ma5lnm763lyb";
|
||||
sha256 = "14g5lsgh53hza9848351kwpygc0yqpvvzp3s923aja77f2wpkdl5";
|
||||
};
|
||||
|
||||
# FIXME: This package does not support MP3 encoding (only Ogg),
|
||||
# nor `distmp3', `eject', etc.
|
||||
|
||||
patches = [ ./install.patch ./which.patch ./cd-paranoia.patch ];
|
||||
patches = [ ./abcde.patch ];
|
||||
|
||||
configurePhase = ''
|
||||
sed -i "s|^[[:blank:]]*prefix *=.*$|prefix = $out|g ;
|
||||
@ -29,25 +30,37 @@ in
|
||||
|
||||
substituteInPlace "abcde" \
|
||||
--replace "/etc/abcde.conf" "$out/etc/abcde.conf"
|
||||
|
||||
'';
|
||||
|
||||
# no ELFs in this package, only scripts
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace "$out/bin/cddb-tool" \
|
||||
--replace '#!/bin/sh' '#!${bash}/bin/sh'
|
||||
substituteInPlace "$out/bin/abcde" \
|
||||
--replace '#!/bin/bash' '#!${bash}/bin/bash'
|
||||
# substituteInPlace "$out/bin/cddb-tool" \
|
||||
# --replace '#!/bin/sh' '#!${bash}/bin/sh'
|
||||
# substituteInPlace "$out/bin/abcde" \
|
||||
# --replace '#!/bin/bash' '#!${bash}/bin/bash'
|
||||
|
||||
# generic fixup script should be doing this, but it ignores this file for some reason
|
||||
substituteInPlace "$out/bin/abcde-musicbrainz-tool" \
|
||||
--replace '#!/usr/bin/perl' '#!${perl}/bin/perl'
|
||||
|
||||
wrapProgram "$out/bin/abcde" --prefix PATH ":" \
|
||||
"$out/bin:${libcdio}/bin:${cddiscid}/bin:${wget}/bin:${vorbisTools}/bin:${id3v2}/bin:${lame}/bin"
|
||||
|
||||
wrapProgram "$out/bin/cddb-tool" --prefix PATH ":" \
|
||||
"${wget}/bin"
|
||||
|
||||
wrapProgram "$out/bin/abcde-musicbrainz-tool" --prefix PATH ":" \
|
||||
"${wget}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.hispalinux.es/~data/abcde.php;
|
||||
homepage = "http://lly.org/~rcw/abcde/page/";
|
||||
licence = "GPLv2+";
|
||||
description = "A Better CD Encoder (ABCDE)";
|
||||
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- abcde-2.3.3/Makefile~ 2005-08-26 00:43:27.000000000 +0200
|
||||
+++ abcde-2.3.3/Makefile 2008-05-26 22:20:17.000000000 +0200
|
||||
@@ -14,13 +14,13 @@ clean:
|
||||
|
||||
install:
|
||||
$(INSTALL) -d -m 755 $(bindir)
|
||||
- $(INSTALL) -m 755 -o 0 abcde $(bindir)
|
||||
- $(INSTALL) -m 755 -o 0 cddb-tool $(bindir)
|
||||
+ $(INSTALL) -m 755 abcde $(bindir)
|
||||
+ $(INSTALL) -m 755 cddb-tool $(bindir)
|
||||
$(INSTALL) -d -m 755 $(mandir)
|
||||
- $(INSTALL) -m 644 -o 0 abcde.1 $(mandir)
|
||||
- $(INSTALL) -m 644 -o 0 cddb-tool.1 $(mandir)
|
||||
+ $(INSTALL) -m 644 abcde.1 $(mandir)
|
||||
+ $(INSTALL) -m 644 cddb-tool.1 $(mandir)
|
||||
$(INSTALL) -d -m 755 $(etcdir)
|
||||
- $(INSTALL) -m 644 -o 0 abcde.conf $(etcdir)
|
||||
+ $(INSTALL) -m 644 abcde.conf $(etcdir)
|
||||
|
||||
tarball:
|
||||
@cd .. && tar czvf abcde_$(VERSION).orig.tar.gz \
|
@ -1,16 +0,0 @@
|
||||
Add an alias for `which'.
|
||||
|
||||
--- abcde-2.3.99.6/abcde 2006-08-05 21:14:00.000000000 +0200
|
||||
+++ abcde-2.3.99.6/abcde 2008-10-29 22:49:16.000000000 +0100
|
||||
@@ -15,6 +15,11 @@
|
||||
|
||||
VERSION='2.3.99-$Revision: 222M $'
|
||||
|
||||
+which ()
|
||||
+{
|
||||
+ type -P $1
|
||||
+}
|
||||
+
|
||||
usage ()
|
||||
{
|
||||
echo "This is abcde v$VERSION."
|
24
pkgs/applications/audio/bristol/default.nix
Normal file
24
pkgs/applications/audio/bristol/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl, alsaLib, jackaudio, pkgconfig, pulseaudio, xlibs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bristol-${version}";
|
||||
version = "0.60.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/bristol/${name}.tar.gz";
|
||||
sha256 = "070rn5zdx6vrqmq7w1rrpxig3bxlylbsw82nlmkjnhjrgm6yx753";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsaLib jackaudio pkgconfig pulseaudio xlibs.libX11 xlibs.libXext
|
||||
xlibs.xproto
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A range of synthesiser, electric piano and organ emulations";
|
||||
homepage = http://bristol.sourceforge.net;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
@ -166,14 +166,13 @@ in {
|
||||
src =
|
||||
if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = http://eclipse.ialto.com/eclipse/downloads/drops4/R-4.2-201206081400/eclipse-SDK-4.2-linux-gtk-x86_64.tar.gz;
|
||||
sha256 = "1vcr49qm6rsbgzi9d43ggmby68pdigqcy55l5vy1gmixqks3g6s0";
|
||||
url = http://eclipse.ialto.com/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz;
|
||||
sha256 = "1mlyy90lk08lb2971ynglgi3nqvqfq1k70md2kb39jk160wd1xrk";
|
||||
}
|
||||
else
|
||||
fetchurl {
|
||||
url = http://eclipse.ialto.com/eclipse/downloads/drops4/R-4.2-201206081400/eclipse-SDK-4.2-linux-gtk.tar.gz;
|
||||
sha256 = "1zlv80idkkdda05ks4biknbkczp24b2xki81ik5nygrjg29jqgnz";
|
||||
url = http://eclipse.ialto.com/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk.tar.gz;
|
||||
sha256 = "1av6qm9wkbyk123qqf38f0jq4jv2bj9wp6fmpnl55zg6qr463c1w";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl, emacs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "graphviz-dot-mode-0.3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.graphviz.org/Misc/graphviz-dot-mode.el";
|
||||
sha256 = "6465c18cfaa519a063cf664207613f70b0a17ac5eabcfaa949b3c4c289842953";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
unpackPhase = ":";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/emacs/site-lisp"
|
||||
cp -v ${src} "$out/share/emacs/site-lisp/graphviz-dot-mode.el"
|
||||
emacs -batch --eval '(setq load-path (cons "." load-path))' -f batch-byte-compile "$out/share/emacs/site-lisp/graphviz-dot-mode.el"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.graphviz.org/";
|
||||
description = "An emacs mode for the DOT Language, used by graphviz";
|
||||
};
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out/emacs/site-lisp
|
||||
cd $out/emacs/site-lisp
|
||||
tar xvfz $src
|
||||
mv nxml-mode-*/* .
|
||||
rmdir nxml-mode-*
|
@ -1,8 +0,0 @@
|
||||
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||
name = "nxml-mode-20041004";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://nixos.org/tarballs/nxml-mode-20041004.tar.gz;
|
||||
md5 = "ac137024cf337d6f11d8ab278d39b4db";
|
||||
};
|
||||
}
|
47
pkgs/applications/editors/geany/default.nix
Normal file
47
pkgs/applications/editors/geany/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool }:
|
||||
|
||||
let
|
||||
version = "1.22";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "geany-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.geany.org/${name}.tar.gz";
|
||||
md5 = "1cb7f6cea8e301c416211786cec474fa";
|
||||
};
|
||||
|
||||
buildInputs = [ gtk2 which pkgconfig intltool ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "A GTK2 small and ligthweight IDE.";
|
||||
longDescription = ''
|
||||
Geany is a small and lightweight Integrated Development Environment.
|
||||
It was developed to provide a small and fast IDE, which has only a few dependencies from other packages.
|
||||
Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME.
|
||||
Geany only requires the GTK2 runtime libraries.
|
||||
Some basic features of Geany:
|
||||
- Syntax highlighting
|
||||
- Code folding
|
||||
- Symbol name auto-completion
|
||||
- Construct completion/snippets
|
||||
- Auto-closing of XML and HTML tags
|
||||
- Call tips
|
||||
- Many supported filetypes including C, Java, PHP, HTML, Python, Perl, Pascal (full list)
|
||||
- Symbol lists
|
||||
- Code navigation
|
||||
- Build system to compile and execute your code
|
||||
- Simple project management
|
||||
- Plugin interface
|
||||
'';
|
||||
homepage = "http://www.geany.org/";
|
||||
license = "GPL";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -9,10 +9,10 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
|
||||
name = "gobby-0.4.93";
|
||||
name = "gobby-0.4.94";
|
||||
src = fetchurl {
|
||||
url = "http://releases.0x539.de/gobby/${name}.tar.gz";
|
||||
sha256 = "1zk6p0kdp9vcvrr3kx0kw106ln309hd7bbsq8li1g0pcnkgrf4q4";
|
||||
sha256 = "b9798808447cd94178430f0fb273d0e45d0ca30ab04560e3790bac469e03bb00";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig gtkmm gsasl gtksourceview libxmlxx libinf intltool ]
|
||||
|
@ -2,27 +2,16 @@
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "nano";
|
||||
version = "2.2.3";
|
||||
version = "2.2.6";
|
||||
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/nano/${name}.tar.gz";
|
||||
sha256 = "1vpl993xrpj8bqi1ayga8fc0j2jag90xp6rqakzwm3bxw71hmwi2";
|
||||
sha256 = "0yp6pid67k8h7394spzw0067fl2r7rxm2b6kfccg87g8nlry2s5y";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ ncurses gettext ];
|
||||
|
||||
configureFlags = ''
|
||||
--disable-browser
|
||||
--disable-help
|
||||
--disable-justify
|
||||
--disable-mouse
|
||||
--disable-operatingdir
|
||||
--disable-speller
|
||||
--disable-tabcomp
|
||||
--disable-wrapping
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.nano-editor.org/;
|
||||
|
39
pkgs/applications/editors/sublime/default.nix
Normal file
39
pkgs/applications/editors/sublime/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ fetchurl, stdenv, glib, xlibs, cairo, gtk}:
|
||||
let
|
||||
libPath = stdenv.lib.makeLibraryPath [glib xlibs.libX11 gtk cairo];
|
||||
in
|
||||
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sublimetext-2.0.1";
|
||||
src =
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
name = "sublimetext-2.0.1.tar.bz2";
|
||||
url = http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1.tar.bz2;
|
||||
sha256 = "1x6vmlfn5mdbf23nyfr7dhhi6y60lnpcmqj59svl3bzvayijsxaf";
|
||||
}
|
||||
else
|
||||
fetchurl {
|
||||
name = "sublimetext-2.0.1.tar.bz2";
|
||||
url = http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1%20x64.tar.bz2;
|
||||
sha256 = "0174dnp9zika5as25mcls5y0qzhh8mnc5ajxsxz7qjrk4lrzk3c5";
|
||||
};
|
||||
buildCommand = ''
|
||||
tar xvf ${src}
|
||||
mkdir -p $out/bin
|
||||
mv Sublime* $out/sublime
|
||||
ln -s $out/sublime/sublime_text $out/bin/sublime
|
||||
|
||||
echo ${libPath}
|
||||
patchelf \
|
||||
--interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
||||
--set-rpath ${libPath}:${stdenv.gcc.gcc}/lib${stdenv.lib.optionalString stdenv.is64bit "64"} \
|
||||
$out/sublime/sublime_text
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Sublime Text is a sophisticated text editor for code, markup and prose.";
|
||||
license = "unfree";
|
||||
};
|
||||
}
|
@ -3,35 +3,40 @@ source $stdenv/setup
|
||||
echo "unpacking $src..."
|
||||
tar xvfa $src
|
||||
|
||||
mkdir -p $out/Adobe/Reader9
|
||||
|
||||
echo "unpacking reader..."
|
||||
set +e
|
||||
p=$out/libexec/adobe-reader
|
||||
mkdir -p $out/libexec
|
||||
tar xvf AdobeReader/COMMON.TAR -C $out
|
||||
tar xvf AdobeReader/ILINXR.TAR -C $out
|
||||
set -e
|
||||
mv $out/Adobe/Reader9 $p
|
||||
rmdir $out/Adobe
|
||||
|
||||
# Disable this plugin for now (it needs LDAP, and I'm too lazy to add it).
|
||||
rm $out/Adobe/Reader*/Reader/intellinux/plug_ins/PPKLite.api
|
||||
rm $p/Reader/intellinux/plug_ins/PPKLite.api
|
||||
|
||||
# More pointless files.
|
||||
rm $p/bin/UNINSTALL
|
||||
|
||||
patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
||||
--set-rpath $libPath \
|
||||
$out/Adobe/Reader*/Reader/intellinux/bin/acroread
|
||||
$p/Reader/intellinux/bin/acroread
|
||||
|
||||
# The "xargs -r" is to shut up a warning when Mozilla can't be found.
|
||||
substituteInPlace $out/Adobe/Reader*/bin/acroread \
|
||||
substituteInPlace $p/bin/acroread \
|
||||
--replace /bin/pwd $(type -P pwd) \
|
||||
--replace /bin/ls $(type -P ls) \
|
||||
--replace xargs "xargs -r"
|
||||
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/Adobe/Reader*/bin/acroread $out/bin/acroread
|
||||
ln -s $p/bin/acroread $out/bin/acroread
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
mv $out/Adobe/Reader9/Resource/Support/AdobeReader.desktop $out/share/applications/
|
||||
mv $p/Resource/Support/AdobeReader.desktop $out/share/applications/
|
||||
icon=$p/Resource/Icons/128x128/AdobeReader9.png
|
||||
[ -e $icon ]
|
||||
sed -i $out/share/applications/AdobeReader.desktop \
|
||||
-e "s|Icon=.*|Icon=$out/Adobe/Reader9/Resource/Icons/128x128/AdobeReader9.png|"
|
||||
-e "s|Icon=.*|Icon=$icon|"
|
||||
|
||||
# Not sure if this works.
|
||||
mkdir -p $out/share/mimelnk/application
|
||||
mv $out/Adobe/Reader9/Resource/Support/vnd*.desktop $out/share/mimelnk/application
|
||||
mv $p/Resource/Support/vnd*.desktop $out/share/mimelnk/application
|
||||
|
@ -3,23 +3,25 @@
|
||||
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
let version = "9.5.1"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "adobe-reader-9.4.7-1";
|
||||
|
||||
name = "adobe-reader-${version}-1";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.4.7/enu/AdbeRdr9.4.7-1_i486linux_enu.tar.bz2;
|
||||
sha256 = "0bzx1rcwc9bi5jkh8f8hjb354zxlvvx37lhm0l2r0mjxj8fimfb5";
|
||||
url = "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${version}/enu/AdbeRdr${version}-1_i486linux_enu.tar.bz2";
|
||||
sha256 = "19mwhbfsivb21zmrz2hllf0kh4i225ac697y026bakyysn0vig56";
|
||||
};
|
||||
|
||||
# !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu.
|
||||
# We should probably remove those and use the regular Nixpkgs
|
||||
# versions.
|
||||
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath
|
||||
[ stdenv.gcc.gcc libX11 zlib libxml2 cups pango atk gtk glib gdk_pixbuf ];
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Adobe Reader, a viewer for PDF documents";
|
||||
homepage = http://www.adobe.com/products/reader;
|
||||
|
@ -1,4 +1,6 @@
|
||||
{stdenv, fetchurl, libX11, libXinerama}:
|
||||
{stdenv, fetchurl, libX11, libXinerama, enableXft, libXft, zlib}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dmenu-4.5";
|
||||
@ -8,7 +10,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0l58jpxrr80fmyw5pgw5alm5qry49aw6y049745wl991v2cdcb08";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 libXinerama ];
|
||||
xftPatch = fetchurl {
|
||||
url = "http://tools.suckless.org/dmenu/patches/${name}-xft.diff";
|
||||
sha256 = "efb4095d65e5e86f9dde97294732174409c24f319bdd4824cc22fa1404972b4f";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 libXinerama ] ++ optionals enableXft [zlib libXft];
|
||||
|
||||
patches = optional enableXft xftPatch;
|
||||
|
||||
preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ];
|
||||
|
||||
|
39
pkgs/applications/misc/gmrun/default.nix
Normal file
39
pkgs/applications/misc/gmrun/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchurl, glib, gtk2, pkgconfig, popt }:
|
||||
|
||||
let
|
||||
version = "0.9.2";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gmrun-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/project/gmrun/gmrun/${version}/${name}.tar.gz";
|
||||
md5 = "6cef37a968006d9496fc56a7099c603c";
|
||||
};
|
||||
|
||||
buildInputs = [ glib gtk2 pkgconfig popt ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
patches = [
|
||||
./gcc43.patch
|
||||
./gmrun-0.9.2-xdg.patch
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Gnome Completion-Run Utility.";
|
||||
longDescription = ''
|
||||
A simple program which provides a "run program" window, featuring a bash-like TAB completion.
|
||||
It uses GTK+ interface.
|
||||
Also, supports CTRL-R / CTRL-S / "!" for searching through history.
|
||||
Running commands in a terminal with CTRL-Enter. URL handlers.
|
||||
'';
|
||||
homepage = "http://sourceforge.net/projects/gmrun/";
|
||||
license = "GPL";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
51
pkgs/applications/misc/gmrun/gcc43.patch
Normal file
51
pkgs/applications/misc/gmrun/gcc43.patch
Normal file
@ -0,0 +1,51 @@
|
||||
--- a/src/gtkcompletionline.cc.orig 2003-11-16 11:55:07.000000000 +0100
|
||||
+++ a/src/gtkcompletionline.cc 2008-05-08 08:51:22.000000000 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
--- a/src/ci_string.h.orig 2001-05-16 16:39:31.000000000 +0200
|
||||
+++ a/src/ci_string.h 2008-05-08 08:51:33.000000000 +0200
|
||||
@@ -7,6 +7,7 @@
|
||||
#define __CI_STRING_H__
|
||||
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
#include <ctype.h>
|
||||
|
||||
struct ci_char_traits : public std::char_traits<char>
|
||||
--- a/src/prefs.cc.orig 2002-08-16 12:48:22.000000000 +0200
|
||||
+++ a/src/prefs.cc 2008-05-08 08:51:54.000000000 +0200
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#include <list>
|
||||
|
||||
--- a/src/main.cc.orig 2003-11-16 11:55:07.000000000 +0100
|
||||
+++ a/src/main.cc 2008-05-08 09:03:11.000000000 +0200
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
--- a/src/gtkcompletionline.cc.orig 2009-06-19 22:38:14.000000000 +0400
|
||||
+++ a/src/gtkcompletionline.cc 2009-06-19 22:37:14.000000000 +0400
|
||||
@@ -376,7 +377,7 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
-int my_alphasort(const void* va, const void* vb) {
|
||||
+int my_alphasort(const dirent** va, const dirent** vb) {
|
||||
const struct dirent** a = (const struct dirent**)va;
|
||||
const struct dirent** b = (const struct dirent**)vb;
|
58
pkgs/applications/misc/gmrun/gmrun-0.9.2-xdg.patch
Normal file
58
pkgs/applications/misc/gmrun/gmrun-0.9.2-xdg.patch
Normal file
@ -0,0 +1,58 @@
|
||||
diff -ur a/src/history.cc src/history.cc
|
||||
--- a/src/history.cc 2002-08-17 15:19:31.000000000 +0200
|
||||
+++ a/src/history.cc 2012-06-04 23:42:35.314653414 +0200
|
||||
@@ -24,8 +24,15 @@
|
||||
HistoryFile::HistoryFile()
|
||||
{
|
||||
m_file_entries = 0;
|
||||
- m_filename = g_get_home_dir();
|
||||
- m_filename += "/.gmrun_history";
|
||||
+ const char* filename = getenv("XDG_CACHE_HOME");
|
||||
+ if (filename != 0 && *filename != '\0') {
|
||||
+ m_filename = filename;
|
||||
+ m_filename += "/gmrun_history";
|
||||
+ }
|
||||
+ else {
|
||||
+ m_filename = g_get_home_dir();
|
||||
+ m_filename += "/.gmrun_history";
|
||||
+ }
|
||||
m_current = 0;
|
||||
m_default_set = false;
|
||||
read_the_file();
|
||||
diff -ur a/src/prefs.cc src/prefs.cc
|
||||
--- a/src/prefs.cc 2012-06-04 22:35:00.671949439 +0200
|
||||
+++ a/src/prefs.cc 2012-06-04 23:24:24.184445962 +0200
|
||||
@@ -35,12 +35,29 @@
|
||||
file_name += GMRUNRC;
|
||||
init(file_name);
|
||||
|
||||
- file_name = getenv("HOME");
|
||||
- if (!file_name.empty()) {
|
||||
+ file_name.clear();
|
||||
+ const char* filename = getenv("XDG_CONFIG_HOME");
|
||||
+ if (filename != 0 && *filename != '\0') {
|
||||
+ file_name = filename;
|
||||
string::iterator i = file_name.end() - 1;
|
||||
- if (*i == '/') file_name.erase(i);
|
||||
- file_name += "/.";
|
||||
+ if (*i != '/') {
|
||||
+ file_name += '/';
|
||||
+ }
|
||||
file_name += GMRUNRC;
|
||||
+ }
|
||||
+ else {
|
||||
+ filename = getenv("HOME");
|
||||
+ if (filename != 0 && *filename != '\0') {
|
||||
+ file_name = filename;
|
||||
+ string::iterator i = file_name.end() - 1;
|
||||
+ if (*i != '/') {
|
||||
+ file_name += '/';
|
||||
+ }
|
||||
+ file_name += '.';
|
||||
+ file_name += GMRUNRC;
|
||||
+ }
|
||||
+ }
|
||||
+ if (!file_name.empty()) {
|
||||
init(file_name);
|
||||
}
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, libX11, ncurses}:
|
||||
{ stdenv, fetchurl, libX11, ncurses, libXext, libXft }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "st-0.2.1";
|
||||
name = "st-0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://hg.suckless.org/st/archive/0.2.1.tar.gz;
|
||||
sha256 = "15yqyys69ifjc4vrzvamrg7x0pwa60mnjpi0kap4y9ykhds83xab";
|
||||
url = http://hg.suckless.org/st/archive/0.3.tar.gz;
|
||||
sha256 = "12ypldjjpsq3nvhszgjsk4wgqkwcvz06qiqw8k5npv3rd1nbx9cl";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 ncurses ];
|
||||
buildInputs = [ libX11 ncurses libXext libXft ];
|
||||
|
||||
installPhase = ''
|
||||
TERMINFO=$out/share/terminfo make install PREFIX=$out
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
buildNativeInputs = [ cmake ];
|
||||
|
||||
meta = {
|
||||
description = "GTD (getting things done) implementation";
|
||||
|
20
pkgs/applications/misc/wmname/default.nix
Normal file
20
pkgs/applications/misc/wmname/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wmname-0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dl.suckless.org/tools/${name}.tar.gz";
|
||||
sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 ];
|
||||
|
||||
preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ];
|
||||
|
||||
meta = {
|
||||
description = "Prints or set the window manager name property of the root window";
|
||||
homepage = "http://tools.suckless.org/wmname";
|
||||
license = "MIT";
|
||||
};
|
||||
}
|
33
pkgs/applications/misc/xfe/default.nix
Normal file
33
pkgs/applications/misc/xfe/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, fox_1_6, pkgconfig, gettext, x11, gcc, intltool, file, libpng }:
|
||||
|
||||
let
|
||||
version = "1.33";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xfe-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/project/xfe/xfe/${version}/${name}.tar.gz";
|
||||
md5 = "fb089ba73add411b08a6560eeb51742d";
|
||||
};
|
||||
|
||||
buildInputs = [ fox_1_6 pkgconfig gettext x11 gcc intltool file libpng ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "X File Explorer (Xfe) is an MS-Explorer like file manager for X.";
|
||||
longDescription = ''
|
||||
X File Explorer (Xfe) is an MS-Explorer like file manager for X.
|
||||
It is based on the popular, but discontinued, X Win Commander, which was developed by Maxim Baranov.
|
||||
Xfe aims to be the filemanager of choice for all the Unix addicts!
|
||||
'';
|
||||
homepage = "http://sourceforge.net/projects/xfe/";
|
||||
license = "GPLv2";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
, libevent, expat, libjpeg
|
||||
, libpng, libxml2, libxslt
|
||||
, xdg_utils, yasm, zlib
|
||||
, libusb1, libexif
|
||||
, libusb1, libexif, pciutils
|
||||
|
||||
, python, perl, pkgconfig
|
||||
, nspr, udev, krb5
|
||||
@ -84,13 +84,10 @@ let
|
||||
libusb1 libexif
|
||||
];
|
||||
|
||||
maybeSeccompPatch = let
|
||||
pre23 = versionOlder sourceInfo.version "23.0.0.0";
|
||||
in optional pre23 ./enable_seccomp.patch;
|
||||
post23 = !versionOlder sourceInfo.version "24.0.0.0";
|
||||
post24 = !versionOlder sourceInfo.version "25.0.0.0";
|
||||
|
||||
maybeFixPulseAudioBuild = let
|
||||
post23 = !versionOlder sourceInfo.version "24.0.0.0";
|
||||
in optional (post23 && cfg.pulseaudio) (fetchurl {
|
||||
maybeFixPulseAudioBuild = optional (post23 && cfg.pulseaudio) (fetchurl {
|
||||
url = http://archrepo.jeago.com/sources/chromium-dev/pulse_audio_fix.patch;
|
||||
sha256 = "1w91mirrkqigdhsj892mqxlc0nlv1dsp5shc46w9xf8nl96jxgfb";
|
||||
});
|
||||
@ -120,7 +117,8 @@ in stdenv.mkDerivation rec {
|
||||
++ optionals cfg.gnome [ gconf libgcrypt ]
|
||||
++ optional cfg.selinux libselinux
|
||||
++ optional cfg.cups libgcrypt
|
||||
++ optional cfg.pulseaudio pulseaudio;
|
||||
++ optional cfg.pulseaudio pulseaudio
|
||||
++ optional post24 pciutils;
|
||||
|
||||
opensslPatches = optional cfg.openssl openssl.patches;
|
||||
|
||||
@ -128,7 +126,6 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
patches = optional cfg.cups ./cups_allow_deprecated.patch
|
||||
++ optional cfg.pulseaudio ./pulseaudio_array_bounds.patch
|
||||
++ maybeSeccompPatch
|
||||
++ maybeFixPulseAudioBuild;
|
||||
|
||||
postPatch = optionalString cfg.openssl ''
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff --git a/content/common/sandbox_linux.cc b/content/common/sandbox_linux.cc
|
||||
index d4618e5..108f846 100644
|
||||
--- a/content/common/sandbox_linux.cc
|
||||
+++ b/content/common/sandbox_linux.cc
|
||||
@@ -38,15 +38,9 @@ void LogSandboxStarted(const std::string& sandbox_name) {
|
||||
// Implement the command line enabling logic for seccomp-legacy.
|
||||
bool IsSeccompLegacyDesired() {
|
||||
#if defined(SECCOMP_SANDBOX)
|
||||
-#if defined(NDEBUG)
|
||||
- // Off by default; allow turning on with a switch.
|
||||
- return CommandLine::ForCurrentProcess()->HasSwitch(
|
||||
- switches::kEnableSeccompSandbox);
|
||||
-#else
|
||||
// On by default; allow turning off with a switch.
|
||||
return !CommandLine::ForCurrentProcess()->HasSwitch(
|
||||
switches::kDisableSeccompSandbox);
|
||||
-#endif // NDEBUG
|
||||
#endif // SECCOMP_SANDBOX
|
||||
return false;
|
||||
}
|
@ -1,18 +1,18 @@
|
||||
# This file is autogenerated from update.sh in the same directory.
|
||||
{
|
||||
dev = {
|
||||
version = "24.0.1312.2";
|
||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-24.0.1312.2.tar.bz2";
|
||||
sha256 = "155l6sm76cp2vzmm673dnb0vcz7akrz6xfp6jsmaa1175h0yal6h";
|
||||
version = "25.0.1323.1";
|
||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-25.0.1323.1.tar.bz2";
|
||||
sha256 = "1i7ga1qhnjvnw2gynmpmsvvl5pxcb5z9sgldp87d9yalim5sra6s";
|
||||
};
|
||||
beta = {
|
||||
version = "23.0.1271.60";
|
||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-23.0.1271.60.tar.bz2";
|
||||
sha256 = "1xsa27ay37jls9jiwqn7wfsc4ag02qd316gszb226hp2vhfv6pf2";
|
||||
version = "24.0.1312.14";
|
||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-24.0.1312.14.tar.bz2";
|
||||
sha256 = "03w8cg4kqmpj82976ax9x6y275y9gcri4vc11cvfjp6r1issxzk8";
|
||||
};
|
||||
stable = {
|
||||
version = "22.0.1229.94";
|
||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-22.0.1229.94.tar.bz2";
|
||||
sha256 = "1bqwlgmn0dm1xvd6v52zf9gjmykgq4fnw7rancbplfpl3rl7xbx0";
|
||||
version = "23.0.1271.64";
|
||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-23.0.1271.64.tar.bz2";
|
||||
sha256 = "1rzz08sgw07nkmvhhgyrkrcxj3z24lxbx0di6ky6jz3lshibp578";
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
channels_url="http://omahaproxy.appspot.com/";
|
||||
channels_url="http://omahaproxy.appspot.com/all?csv=1";
|
||||
bucket_url="http://commondatastorage.googleapis.com/chromium-browser-official/";
|
||||
output_file="$(cd "$(dirname "$0")" && pwd)/sources.nix";
|
||||
|
||||
|
188
pkgs/applications/networking/browsers/firefox/13.0.nix
Normal file
188
pkgs/applications/networking/browsers/firefox/13.0.nix
Normal file
@ -0,0 +1,188 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
|
||||
, libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs
|
||||
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
|
||||
, yasm, mesa, sqlite, unzip, makeWrapper
|
||||
|
||||
, # If you want the resulting program to call itself "Firefox" instead
|
||||
# of "Shiretoko" or whatever, enable this option. However, those
|
||||
# binaries may not be distributed without permission from the
|
||||
# Mozilla Foundation, see
|
||||
# http://www.mozilla.org/foundation/trademarks/.
|
||||
enableOfficialBranding ? false
|
||||
}:
|
||||
|
||||
assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
|
||||
|
||||
rec {
|
||||
|
||||
firefoxVersion = "13.0.1";
|
||||
|
||||
xulVersion = "13.0.1"; # this attribute is used by other packages
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
|
||||
sha1 = "3752f13f26a51dd2e42d2805a707a842e6f8d1b1";
|
||||
};
|
||||
|
||||
commonConfigureFlags =
|
||||
[ "--enable-optimize"
|
||||
"--disable-debug"
|
||||
"--enable-strip"
|
||||
"--with-system-jpeg"
|
||||
"--with-system-zlib"
|
||||
"--with-system-bz2"
|
||||
"--with-system-nspr"
|
||||
"--with-system-nss"
|
||||
# "--with-system-png" # <-- "--with-system-png won't work because the system's libpng doesn't have APNG support"
|
||||
# "--enable-system-cairo" # disabled for the moment because our Cairo is too old
|
||||
"--enable-system-sqlite"
|
||||
"--disable-crashreporter"
|
||||
"--disable-tests"
|
||||
"--disable-necko-wifi" # maybe we want to enable this at some point
|
||||
"--disable-installer"
|
||||
"--disable-updater"
|
||||
];
|
||||
|
||||
|
||||
xulrunner = stdenv.mkDerivation rec {
|
||||
name = "xulrunner-${xulVersion}";
|
||||
|
||||
inherit src;
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2
|
||||
python dbus dbus_glib pango freetype fontconfig xlibs.libXi
|
||||
xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
|
||||
alsaLib nspr nss libnotify xlibs.pixman yasm mesa
|
||||
xlibs.libXScrnSaver xlibs.scrnsaverproto
|
||||
xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
|
||||
];
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-application=xulrunner"
|
||||
"--disable-javaxpcom"
|
||||
] ++ commonConfigureFlags;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Hack to work around make's idea of -lbz2 dependency
|
||||
preConfigure =
|
||||
''
|
||||
find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
|
||||
stdenv.lib.concatStringsSep ":"
|
||||
(map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
|
||||
}' ';'
|
||||
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -L$out/lib/xulrunner-${xulVersion}"
|
||||
|
||||
mkdir ../objdir
|
||||
cd ../objdir
|
||||
configureScript=../mozilla-release/configure
|
||||
''; # */
|
||||
|
||||
# !!! Temporary hack.
|
||||
preBuild =
|
||||
''
|
||||
export NIX_ENFORCE_PURITY=
|
||||
'';
|
||||
|
||||
installFlags = "SKIP_GRE_REGISTRATION=1";
|
||||
|
||||
postInstall = ''
|
||||
# Fix some references to /bin paths in the Xulrunner shell script.
|
||||
substituteInPlace $out/bin/xulrunner \
|
||||
--replace /bin/pwd "$(type -tP pwd)" \
|
||||
--replace /bin/ls "$(type -tP ls)"
|
||||
|
||||
# Fix run-mozilla.sh search
|
||||
libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*)
|
||||
echo libDir: $libDir
|
||||
test -n "$libDir"
|
||||
cd $out/bin
|
||||
mv xulrunner ../lib/$libDir/
|
||||
|
||||
for i in $out/lib/$libDir/*; do
|
||||
file $i;
|
||||
if file $i | grep executable &>/dev/null; then
|
||||
echo -e '#! /bin/sh\n"'"$i"'" "$@"' > "$out/bin/$(basename "$i")";
|
||||
chmod a+x "$out/bin/$(basename "$i")";
|
||||
fi;
|
||||
done
|
||||
for i in $out/lib/$libDir/*.so; do
|
||||
patchelf --set-rpath "$(patchelf --print-rpath "$i"):$out/lib/$libDir" $i || true
|
||||
done
|
||||
for i in $out/lib/$libDir/{xpcshell,plugin-container}; do
|
||||
wrapProgram $i --prefix LD_LIBRARY_PATH ':' "$out/lib/$libDir"
|
||||
done
|
||||
rm -f $out/bin/run-mozilla.sh
|
||||
''; # */
|
||||
|
||||
meta = {
|
||||
description = "Mozilla Firefox XUL runner";
|
||||
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||
};
|
||||
|
||||
passthru = { inherit gtk; version = xulVersion; };
|
||||
};
|
||||
|
||||
|
||||
firefox = stdenv.mkDerivation rec {
|
||||
name = "firefox-${firefoxVersion}";
|
||||
|
||||
inherit src;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig gtk perl zip libIDL libjpeg zlib cairo bzip2 python
|
||||
dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify
|
||||
xlibs.pixman yasm mesa sqlite file unzip
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [xulrunner];
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-application=browser"
|
||||
"--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}"
|
||||
"--enable-chrome-format=jar"
|
||||
"--disable-elf-hack"
|
||||
]
|
||||
++ commonConfigureFlags
|
||||
++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
|
||||
|
||||
# Hack to work around make's idea of -lbz2 dependency
|
||||
preConfigure =
|
||||
''
|
||||
find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
|
||||
stdenv.lib.concatStringsSep ":"
|
||||
(map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
|
||||
}' ';'
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
''
|
||||
ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $(echo $out/lib/firefox-*)/xulrunner
|
||||
for j in $out/bin/*; do
|
||||
i="$(readlink "$j")";
|
||||
file $i;
|
||||
if file $i | grep executable &>/dev/null; then
|
||||
rm "$out/bin/$(basename "$i")"
|
||||
echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' > "$out/bin/$(basename "$i")"
|
||||
chmod a+x "$out/bin/$(basename "$i")"
|
||||
fi;
|
||||
done;
|
||||
''; # */
|
||||
|
||||
meta = {
|
||||
description = "Mozilla Firefox - the browser, reloaded";
|
||||
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||
};
|
||||
|
||||
passthru = {
|
||||
inherit gtk xulrunner nspr;
|
||||
isFirefox3Like = true;
|
||||
};
|
||||
};
|
||||
}
|
@ -15,18 +15,24 @@ assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
|
||||
|
||||
rec {
|
||||
|
||||
firefoxVersion = "15.0.1";
|
||||
firefoxVersion = "17.0";
|
||||
|
||||
xulVersion = "15.0.1"; # this attribute is used by other packages
|
||||
xulVersion = "17.0"; # this attribute is used by other packages
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
|
||||
sha1 = "bdbc4b6656c59b926e18f99b3335484427d08641";
|
||||
urls = [
|
||||
# It is better to use this url for official releases, to take load off Mozilla's ftp server.
|
||||
"http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
|
||||
# Fall back to this url for versions not available at releases.mozilla.org.
|
||||
"ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
|
||||
];
|
||||
sha1 = "4f5f175c1662d67f70e78403607d8eda600efd8b";
|
||||
};
|
||||
|
||||
commonConfigureFlags =
|
||||
[ "--enable-optimize"
|
||||
#"--enable-profiling"
|
||||
"--disable-debug"
|
||||
"--enable-strip"
|
||||
"--with-system-jpeg"
|
@ -0,0 +1,36 @@
|
||||
{stdenv, fetchurl, which, pkgconfig, file, glib, gtk2, gtk3, curl}:
|
||||
let
|
||||
srcData = # Generated upstream information
|
||||
rec {
|
||||
baseName="nspluginwrapper";
|
||||
version="1.4.4";
|
||||
name="${baseName}-${version}";
|
||||
hash="1fxjz9ifhw0drm12havlsl4jpsq1nv930gqa005kgddv5pa99vgj";
|
||||
url="http://nspluginwrapper.org/download/nspluginwrapper-1.4.4.tar.gz";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (srcData) name version;
|
||||
|
||||
src = fetchurl{
|
||||
inherit (srcData) url;
|
||||
sha256 = srcData.hash;
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
sed -e 's@/usr/bin/@@g' -i configure
|
||||
sed -e '/gthread[.]h/d' -i src/npw-player.c
|
||||
export configureFlags="$configureFlags --target-cpu=$(uname -m)"
|
||||
'';
|
||||
|
||||
buildInputs = [which pkgconfig file glib gtk2 gtk3 curl];
|
||||
|
||||
meta = {
|
||||
description = ''A wrapper to run browser plugins out-of-process'';
|
||||
homepage = "http://nspluginwrapper.org/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
inherit (srcData) version;
|
||||
};
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
name nspluginwrapper
|
||||
target default.nix
|
||||
url http://nspluginwrapper.org/download/
|
||||
version_link /nspluginwrapper-[0-9]+
|
@ -13,18 +13,18 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opera-12.02-1578";
|
||||
name = "opera-12.11-1661";
|
||||
|
||||
src =
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = "${mirror}/linux/1202/${name}.i386.linux.tar.xz";
|
||||
sha256 = "60ccef14673818a8690fe3b76f861d180e2d8d3b87513b1652e6117c6dff3e86";
|
||||
url = "${mirror}/linux/1211/${name}.i386.linux.tar.xz";
|
||||
sha256 = "0ax2kcnl0hb7fz56c9gcjia3dnwabxl2mq2hvszmbky4i399jlkk";
|
||||
}
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "${mirror}/linux/1202/${name}.x86_64.linux.tar.xz";
|
||||
sha256 = "e861f14b984898b5a2c0d04915e515a5677152dc302b614a3ac1bb13da7a9b81";
|
||||
url = "${mirror}/linux/1211/${name}.x86_64.linux.tar.xz";
|
||||
sha256 = "1pnad4kdasrmm27kg6frldipyzcfy1y610rasbqic9frzb9q8dbp";
|
||||
}
|
||||
else throw "Opera is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";
|
||||
|
||||
|
@ -3,15 +3,16 @@ let
|
||||
fetchgit = a.fetchgit;
|
||||
|
||||
buildInputs = with a; [
|
||||
libsoup pkgconfig webkit gtk3 makeWrapper
|
||||
kbproto
|
||||
libsoup pkgconfig webkit gtk makeWrapper
|
||||
kbproto glib pango cairo gdk_pixbuf atk
|
||||
python3
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchgit {
|
||||
url = "https://github.com/Dieterbe/uzbl.git";
|
||||
rev = "dcb3b4e1fcff682b412cfe5875f7054b97380d08";
|
||||
sha256 = "f7b2b2903c01c9cfbd99bd94783002e1580d8092ff6022bb5aed3f999ff6e468";
|
||||
rev = "refs/tags/2012.05.14";
|
||||
sha256 = "1crvikb0qqsx5qb003i4w7ywh72psl37gjslrj5hx2fd2f215l0l";
|
||||
};
|
||||
|
||||
name = "uzbl-git";
|
||||
@ -35,7 +36,7 @@ rec {
|
||||
--prefix GIO_EXTRA_MODULES : ${a.glib_networking}/lib/gio/modules
|
||||
'';
|
||||
|
||||
installFlags = "PREFIX=$out";
|
||||
installFlags = "PREFIX=$out PYINSTALL_EXTRA=\"--prefix=$out\"";
|
||||
|
||||
meta = {
|
||||
description = "Tiny externally controllable webkit browser";
|
||||
|
@ -5,21 +5,21 @@
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "skype-4.0.0.7";
|
||||
name = "skype-4.0.0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.skype.com/linux/${name}.tar.bz2";
|
||||
sha256 = "0mrswawqsv53mfghqlj1bzq0jfswha6b0c06px7snd85pd4gn5fn";
|
||||
sha256 = "0gq24rbmjd05ihraarn45rwr79gidnwgllvprzrh5zqx02xll17p";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
buildInputs =
|
||||
lib.optional usePulseAudio pulseaudio ++ [
|
||||
alsaLib
|
||||
stdenv.glibc
|
||||
stdenv.glibc
|
||||
stdenv.gcc.gcc
|
||||
libXv
|
||||
libXext
|
||||
libX11
|
||||
libXext
|
||||
libX11
|
||||
qt4
|
||||
libXScrnSaver
|
||||
libSM
|
||||
@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
|
||||
phases = "unpackPhase installPhase";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{opt/skype/,bin}
|
||||
cp -r * $out/opt/skype/
|
||||
mkdir -p $out/{libexec/skype/,bin}
|
||||
cp -r * $out/libexec/skype/
|
||||
|
||||
fullPath=
|
||||
for i in $buildNativeInputs; do
|
||||
@ -45,18 +45,18 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
|
||||
dynlinker="$(cat $NIX_GCC/nix-support/dynamic-linker)"
|
||||
|
||||
|
||||
cat > $out/bin/skype << EOF
|
||||
#!${stdenv.shell}
|
||||
export LD_LIBRARY_PATH=$fullPath:$LD_LIBRARY_PATH
|
||||
$dynlinker $out/opt/skype/skype --resources=$out/opt/skype "\$@"
|
||||
$dynlinker $out/libexec/skype/skype --resources=$out/libexec/skype "\$@"
|
||||
EOF
|
||||
|
||||
chmod +x $out/bin/skype
|
||||
|
||||
# Fixup desktop file
|
||||
substituteInPlace skype.desktop --replace \
|
||||
"Icon=skype.png" "Icon=$out/opt/skype/icons/SkypeBlue_48x48.png"
|
||||
"Icon=skype.png" "Icon=$out/libexec/skype/icons/SkypeBlue_48x48.png"
|
||||
substituteInPlace skype.desktop --replace \
|
||||
"Terminal=0" "Terminal=false"
|
||||
mkdir -p $out/share/applications
|
||||
@ -64,8 +64,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A P2P-VoiceIP client";
|
||||
homepage = http://www.skype.com;
|
||||
license = "skype-eula";
|
||||
description = "A proprietary voice-over-IP (VoIP) client";
|
||||
homepage = http://www.skype.com/;
|
||||
license = "unfree";
|
||||
};
|
||||
}
|
||||
|
@ -14,6 +14,13 @@ assert headerCache -> gdbm != null;
|
||||
assert sslSupport -> openssl != null;
|
||||
assert saslSupport -> cyrus_sasl != null;
|
||||
|
||||
let
|
||||
gpgmePatch = fetchurl {
|
||||
# Solution for gpgme >= 1.2: http://dev.mutt.org/trac/ticket/3300
|
||||
url = "http://dev.mutt.org/trac/raw-attachment/ticket/3300/mutt-1.5.21-gpgme-init.patch";
|
||||
sha256 = "1qa1c8gns4q3as1h2lk3x4di2k3hr804ar7xlc6xh9r0zjhzmlk4";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mutt-1.5.21";
|
||||
|
||||
@ -22,6 +29,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1864cwz240gh0zy56fb47qqzwyf6ghg01037rb4p2kqgimpg6h91";
|
||||
};
|
||||
|
||||
patches = [ (if gpgmeSupport then gpgmePatch else null) ];
|
||||
|
||||
buildInputs = [
|
||||
ncurses which perl
|
||||
(if headerCache then gdbm else null)
|
||||
|
@ -3,11 +3,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "notmuch-0.13.2";
|
||||
name = "notmuch-0.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://notmuchmail.org/releases/${name}.tar.gz";
|
||||
sha256 = "75ec5f5d04bb7e3a8cc6224859b691f704a2a35f2f6027ffb674e829268f1d68";
|
||||
sha256 = "0lx7kkrsg401zrgj8s4ziqds1jsha3szsh44v57mq4pkq0fijph9";
|
||||
};
|
||||
|
||||
buildInputs = [ bash emacs gdb glib gmime gnupg1 pkgconfig talloc xapian ];
|
||||
|
@ -12,14 +12,14 @@
|
||||
enableOfficialBranding ? false
|
||||
}:
|
||||
|
||||
let version = "16.0.2"; in
|
||||
let version = "17.0"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "thunderbird-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.bz2";
|
||||
sha1 = "842d852b31a388d4cf3ac59bc89e8611474e2ec7";
|
||||
sha1 = "ccc5f2e155364948945abf6fd27bebeb4d797aa8";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -50,6 +50,7 @@ stdenv.mkDerivation {
|
||||
"--disable-webm"
|
||||
"--disable-tests"
|
||||
"--enable-calendar"
|
||||
"--disable-ogg"
|
||||
]
|
||||
++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
|
||||
|
||||
|
24
pkgs/applications/science/electronics/qfsm/default.nix
Normal file
24
pkgs/applications/science/electronics/qfsm/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl, qt4, cmake, graphviz, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qfsm-0.53.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/qfsm/${name}-Source.tar.bz2";
|
||||
sha256 = "1fx99dyai8zhs8s6mbr1i1467mnv1pf0ymh6mr0jm68mzj2jyzx4";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 cmake graphviz pkgconfig ];
|
||||
|
||||
patches = [ ./drop-hardcoded-prefix.patch ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Graphical editor for finite state machines";
|
||||
homepage = "http://qfsm.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
diff -ubrw qfsm-0.53.0-Source-orig/CMakeLists.txt qfsm-0.53.0-Source-new/CMakeLists.txt
|
||||
--- qfsm-0.53.0-Source-orig/CMakeLists.txt 2012-11-11 20:13:01.935856229 +0100
|
||||
+++ qfsm-0.53.0-Source-new/CMakeLists.txt 2012-11-11 20:13:24.962930007 +0100
|
||||
@@ -406,10 +406,6 @@
|
||||
|
||||
|
||||
IF(UNIX AND NOT WIN32)
|
||||
- SET(CMAKE_INSTALL_PREFIX "/usr")
|
||||
-ENDIF(UNIX AND NOT WIN32)
|
||||
-
|
||||
-IF(UNIX AND NOT WIN32)
|
||||
ADD_DEFINITIONS(-DQFSM_LANGUAGE_DIR="${CMAKE_INSTALL_PREFIX}/share/qfsm/")
|
||||
ADD_DEFINITIONS(-DQFSM_HELP_DIR="${CMAKE_INSTALL_PREFIX}/share/doc/qfsm/")
|
||||
ELSE(UNIX AND NOT WIN32)
|
||||
@@ -472,5 +468,3 @@
|
||||
)
|
||||
|
||||
ENDIF(UNIX AND NOT WIN32)
|
||||
-
|
||||
-
|
38
pkgs/applications/science/electronics/tkgate/1.x.nix
Normal file
38
pkgs/applications/science/electronics/tkgate/1.x.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ stdenv, fetchurl, tcl, tk, libX11, libiconvOrLibc, which, yacc, flex, imake, xproto, gccmakedep }:
|
||||
|
||||
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tkgate-1.8.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.tkgate.org/downloads/${name}.tgz";
|
||||
sha256 = "1pqywkidfpdbj18i03h97f4cimld4fb3mqfy8jjsxs12kihm18fs";
|
||||
};
|
||||
|
||||
buildInputs = [ tcl tk libX11 libiconvOrLibc which yacc flex imake xproto gccmakedep ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i config.h \
|
||||
-e 's|.*#define.*TKGATE_TCLTK_VERSIONS.*|#define TKGATE_TCLTK_VERSIONS "8.5"|' \
|
||||
-e 's|.*#define.*TKGATE_INCDIRS.*|#define TKGATE_INCDIRS "${tcl}/include ${tk}/include ${libiconvOrLibc}/include ${libX11}/include"|' \
|
||||
-e 's|.*#define.*TKGATE_LIBDIRS.*|#define TKGATE_LIBDIRS "${tcl}/lib ${tk}/lib ${libiconvOrLibc}/lib ${libX11}/lib"|' \
|
||||
\
|
||||
-e '20 i #define TCL_LIBRARY "${tcl}/lib"' \
|
||||
-e '20 i #define TK_LIBRARY "${tk}/lib/${tk.libPrefix}"' \
|
||||
-e '20 i #define USE_ICONV 1' \
|
||||
\
|
||||
-e "s|.*#define.*TKGATE_HOMEDIRBASE.*|#define TKGATE_HOMEDIRBASE \\\"$out/lib\\\"|" \
|
||||
-e "s|.*#define.*TKGATE_BINDIR.*|#define TKGATE_BINDIR \\\"$out/bin\\\"|" \
|
||||
-e "s|.*#define.*TKGATE_MANDIR.*|#define TKGATE_MANDIR \\\"$out/share/man/man1\\\"|" \
|
||||
-e "s|file:/usr/X11R6/lib/tkgate-|file://$out/lib/tkgate-|"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Event driven digital circuit simulator with a TCL/TK-based graphical editor";
|
||||
homepage = "http://www.tkgate.org/";
|
||||
license = "GPLv2+";
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
33
pkgs/applications/science/electronics/tkgate/2.x.nix
Normal file
33
pkgs/applications/science/electronics/tkgate/2.x.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, tcl, tk, libX11, libiconvOrLibc }:
|
||||
|
||||
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tkgate-2.0-b10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.tkgate.org/downloads/${name}.tgz";
|
||||
sha256 = "0mr061xcwjmd8nhyjjcw2dzxqi53hv9xym9xsp0cw98knz2skxjf";
|
||||
};
|
||||
|
||||
buildInputs = [ tcl tk libX11 ];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
patchPhase = ''
|
||||
sed -i configure \
|
||||
-e 's|TKGATE_INCDIRS=.*|TKGATE_INCDIRS="${tcl}/include ${tk}/include ${libiconvOrLibc}/include"|' \
|
||||
-e 's|TKGATE_LIBDIRS=.*|TKGATE_LIBDIRS="${tcl}/lib ${tk}/lib ${libiconvOrLibc}/lib"|'
|
||||
sed -i options.h \
|
||||
-e 's|.* #define TCL_LIBRARY .*|#define TCL_LIBRARY "${tcl}/${tcl.libdir}"|' \
|
||||
-e 's|.* #define TK_LIBRARY .*|#define TK_LIBRARY "${tk}/lib/${tk.libPrefix}"|'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Event driven digital circuit simulator with a TCL/TK-based graphical editor";
|
||||
homepage = "http://www.tkgate.org/";
|
||||
license = "GPLv2+";
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurl, zlib, openssl, tcl, readline, sqlite}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "fossil-1.21";
|
||||
name = "fossil-1.24";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.fossil-scm.org/download/fossil-src-20111213135356.tar.gz;
|
||||
sha256 = "07g78sf26v7zr4qzcwky4h4zzaaz8apy33d35bhc5ax63z6md1f9";
|
||||
url = http://www.fossil-scm.org/download/fossil-src-20121022124804.tar.gz;
|
||||
sha256 = "0gcvcrd368acxd79gh7p7caicgqd0f076n0i2if63mg3b8ivz9im";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib openssl readline sqlite ];
|
||||
@ -15,6 +15,10 @@ stdenv.mkDerivation {
|
||||
|
||||
checkTarget = "test";
|
||||
|
||||
preBuild=''
|
||||
export USER=nonexistent-but-specified-user
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
INSTALLDIR=$out/bin make install
|
||||
|
@ -46,10 +46,10 @@ rec {
|
||||
inherit stdenv fetchurl perl coreutils git libuuid rsync findutils curl ikiwiki which openssh;
|
||||
inherit (haskellPackages) ghc bloomfilter dataenc editDistance hinotify hS3 hslogger HTTP
|
||||
blazeBuilder blazeHtml caseInsensitive IfElse json liftedBase MissingH monadControl mtl
|
||||
network pcreLight QuickCheck SHA stm utf8String networkInfo dbus
|
||||
clientsession cryptoApi dataDefault extensibleExceptions filepath hamlet
|
||||
httpTypes networkMulticast text time transformers transformersBase wai
|
||||
waiLogger warp yesod yesodDefault yesodStatic testpack;
|
||||
network pcreLight SHA stm utf8String networkInfo dbus clientsession cryptoApi dataDefault
|
||||
extensibleExceptions filepath hamlet httpTypes networkMulticast text time transformers
|
||||
transformersBase wai waiLogger warp yesod yesodDefault yesodStatic testpack QuickCheck
|
||||
SafeSemaphore networkPprotocolXmpp async dns DAV;
|
||||
};
|
||||
|
||||
qgit = import ./qgit {
|
||||
|
@ -7,18 +7,19 @@
|
||||
, MissingH, monadControl, mtl, network, networkInfo
|
||||
, networkMulticast, pcreLight, QuickCheck, SHA, stm, text, time
|
||||
, transformers, transformersBase, utf8String, wai, waiLogger, warp
|
||||
, yesod, yesodDefault, yesodStatic, testpack
|
||||
, yesod, yesodDefault, yesodStatic, testpack, SafeSemaphore
|
||||
, networkPprotocolXmpp, async, dns, DAV
|
||||
}:
|
||||
|
||||
let
|
||||
version = "3.20121017";
|
||||
version = "3.20121112-161-gb27d9eb";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "git-annex-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=refs/tags/${version}";
|
||||
sha256 = "1949efb22cd3154323ee00d3ab62b07158df4024283a67a53134a1fa2efa9841";
|
||||
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;h=b27d9ebd0f63bdc449440f2529224d5b655ddbb3;sf=tgz";
|
||||
sha256 = "507efc50e33566a51a6abf688920d30fc55ce984c9c35be085e6df0767686b3a";
|
||||
name = "git-annex-${version}.tar.gz";
|
||||
};
|
||||
|
||||
@ -29,7 +30,8 @@ stdenv.mkDerivation {
|
||||
httpTypes IfElse json liftedBase MissingH monadControl mtl network
|
||||
networkInfo networkMulticast pcreLight QuickCheck SHA stm text time
|
||||
transformers transformersBase utf8String wai waiLogger warp yesod
|
||||
yesodDefault yesodStatic testpack ];
|
||||
yesodDefault yesodStatic testpack SafeSemaphore networkPprotocolXmpp
|
||||
async dns DAV ];
|
||||
|
||||
checkTarget = "test";
|
||||
doCheck = true;
|
||||
@ -39,6 +41,8 @@ stdenv.mkDerivation {
|
||||
makeFlagsArray=( PREFIX=$out )
|
||||
sed -i -e 's|#!/usr/bin/perl|#!${perl}/bin/perl|' Build/mdwn2man
|
||||
sed -i -e 's|"cp |"${coreutils}/bin/cp |' -e 's|"rm -f |"${coreutils}/bin/rm -f |' test.hs
|
||||
# Remove this patch after the next update!
|
||||
sed -i -e '9i #define WITH_OLD_URI' Utility/Url.hs
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -1,10 +1,10 @@
|
||||
{ stdenv, fetchurl, ncurses, asciidoc, xmlto, docbook_xsl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tig-1.0";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tig-1.1";
|
||||
src = fetchurl {
|
||||
url = "http://jonas.nitro.dk/tig/releases/tig-1.0.tar.gz";
|
||||
md5 = "a2d414d1cebbc9cd4f3d545bc6f225c6";
|
||||
url = "http://jonas.nitro.dk/tig/releases/${name}.tar.gz";
|
||||
md5 = "adeb797a8320962eeb345a615257cbac";
|
||||
};
|
||||
buildInputs = [ncurses asciidoc xmlto docbook_xsl];
|
||||
installPhase = ''
|
||||
@ -12,8 +12,9 @@ stdenv.mkDerivation {
|
||||
make install-doc
|
||||
'';
|
||||
meta = {
|
||||
description = "Tig is a git repository browser that additionally can act as a pager for output from various git commands";
|
||||
homepage = "http://jonas.nitro.dk/tig/";
|
||||
license = "GPLv2";
|
||||
description = "Tig is a git repository browser that additionally can act as a pager for output from various git commands";
|
||||
maintainers = [ stdenv.lib.maintainers.garbas ];
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
@ -21,13 +21,13 @@ assert compressionSupport -> neon.compressionSupport;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "1.7.5";
|
||||
version = "1.7.7";
|
||||
|
||||
name = "subversion-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/subversion//${name}.tar.bz2";
|
||||
sha1 = "05c079762690d5ac1ccd2549742e7ef70fa45cf1";
|
||||
sha1 = "c9fc0c5992eda36ba9affd93a15929e25958a951";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib apr aprutil sqlite ]
|
||||
|
@ -1,27 +0,0 @@
|
||||
commit c82aaa4eb1a1c36bf7e2b7ae3c9140d0bf8000b5
|
||||
Author: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Wed Jan 26 00:48:37 2011 +0000
|
||||
|
||||
fix to build against png-1.5 (thanks to Thomas Klausner)
|
||||
|
||||
diff --git a/src/spuunmux.c b/src/spuunmux.c
|
||||
index 5e565d1..9ad2371 100644
|
||||
--- a/src/spuunmux.c
|
||||
+++ b/src/spuunmux.c
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <png.h>
|
||||
+#include <zlib.h>
|
||||
|
||||
#include "rgb.h"
|
||||
#include "common.h"
|
||||
@@ -610,7 +611,7 @@ static int write_png
|
||||
png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
|
||||
return -1;
|
||||
} /*if*/
|
||||
- if (setjmp(png_ptr->jmpbuf))
|
||||
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||
{
|
||||
png_destroy_write_struct(&png_ptr, &info_ptr);
|
||||
fclose(fp);
|
@ -1,19 +1,17 @@
|
||||
{ stdenv, fetchurl, imagemagick, libdvdread, libxml2, freetype, fribidi, libpng, zlib }:
|
||||
{ stdenv, fetchurl, imagemagick, libdvdread, libxml2, freetype, fribidi, libpng, zlib, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dvdauthor-0.7.0";
|
||||
stdenv.mkDerivation rec{
|
||||
name = "dvdauthor-0.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/dvdauthor/dvdauthor-0.7.0.tar.gz;
|
||||
sha256 = "1l1l5zya7lirwa1783pa7h22wrfcq8hibbf5kpx8z8zbk5xsz9mf";
|
||||
url = "mirror://sourceforge/dvdauthor/${name}.tar.gz";
|
||||
sha256 = "1s8zqlim0s3hk5sbdsilip3qqh0yv05l1jwx49d9rsy614dv27sh";
|
||||
};
|
||||
|
||||
buildInputs = [ imagemagick libdvdread libxml2 freetype fribidi libpng zlib ];
|
||||
buildInputs = [ libpng freetype libdvdread libxml2 zlib fribidi imagemagick ];
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
# Does not build against recent versions of libpng without patch.
|
||||
patches = [ ./build-against-libpng15.patch ];
|
||||
|
||||
meta = {
|
||||
meta = {
|
||||
description = "Tools for generating DVD files to be played on standalone DVD players";
|
||||
homepage = http://dvdauthor.sourceforge.net/;
|
||||
license = ["GPLv2"];
|
||||
|
30
pkgs/applications/video/key-mon/default.nix
Normal file
30
pkgs/applications/video/key-mon/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, makeWrapper, pygtk
|
||||
, pythonPackages }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "key-mon-${version}";
|
||||
version = "1.13";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://key-mon.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "02h7lcnyqwyqsycd1vlvl11ms81v0zmr9p0pfyl5gmzry9dj7imj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ gnome.python_rsvg librsvg makeWrapper pygtk pythonPackages.xlib ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/key-mon --prefix GDK_PIXBUF_MODULE_FILE : \
|
||||
${librsvg}/lib/gdk-pixbuf/loaders.cache
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://code.google.com/p/key-mon;
|
||||
description = "Utility to show live keyboard and mouse status for teaching and screencasts";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
@ -2,11 +2,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "i3status-2.5.1";
|
||||
name = "i3status-2.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://i3wm.org/i3status/${name}.tar.bz2";
|
||||
sha256 = "7734efdf79a77617023f1e6d80080251eab3a05defb67313283568511d3e58f2";
|
||||
sha256 = "e7e710cc271887bcd22757269e1b00a5618fb53abdb3455140116b3d38797bce";
|
||||
};
|
||||
|
||||
buildInputs = [ confuse yajl alsaLib wirelesstools ];
|
||||
|
@ -0,0 +1,5 @@
|
||||
SF_redirect () {
|
||||
redirect
|
||||
process 'http://[a-z]+[.]dl[.]sourceforge[.]net/' 'mirror://sourceforge/'
|
||||
process '[?].*' ''
|
||||
}
|
@ -16,11 +16,13 @@ version_unpack () {
|
||||
s/-(gamma)/ -2 \1 /g;
|
||||
s/-(beta)/ -3 \1 /g;
|
||||
s/-(alpha)/ -4 \1 /g;
|
||||
s/[-]/ - /g;
|
||||
'
|
||||
}
|
||||
|
||||
version_repack () {
|
||||
sed -re '
|
||||
s/ - /-/g;
|
||||
s/ -[0-9]+ ([a-z]+) /-\1/g;
|
||||
s@ / @/@g
|
||||
s/ /./g;
|
||||
@ -29,7 +31,7 @@ version_repack () {
|
||||
|
||||
version_sort () {
|
||||
version_unpack |
|
||||
sort -t ' ' -k 1n -k 2n -k 3n -k 4n -k 5n -k 6n -k 7n -n | tac |
|
||||
sort -t ' ' -n $(for i in $(seq 30); do echo " -k${i}n" ; done) | tac |
|
||||
version_repack
|
||||
}
|
||||
|
||||
@ -76,6 +78,14 @@ version () {
|
||||
echo "Version: $CURRENT_VERSION" >&2
|
||||
}
|
||||
|
||||
ensure_version () {
|
||||
[ -z "$CURRENT_VERSION" ] && version '.*-([0-9.]+)[-._].*' '\1'
|
||||
}
|
||||
|
||||
ensure_target () {
|
||||
[ -z "$CURRENT_TARGET" ] && target default.nix
|
||||
}
|
||||
|
||||
hash () {
|
||||
CURRENT_HASH="$(nix-prefetch-url "$CURRENT_URL")"
|
||||
}
|
||||
@ -88,8 +98,23 @@ retrieve_version () {
|
||||
PACKAGED_VERSION="$(nix-instantiate --eval-only '<nixpkgs>' -A "$CURRENT_NAME".meta.version | xargs)"
|
||||
}
|
||||
|
||||
directory_of () {
|
||||
cd "$(dirname "$1")"; pwd
|
||||
}
|
||||
|
||||
full_path () {
|
||||
echo "$(directory_of "$1")/$(basename "$1")"
|
||||
}
|
||||
|
||||
target () {
|
||||
CURRENT_TARGET="$1"
|
||||
test -e "$CURRENT_TARGET" ||
|
||||
{ [ "$CURRENT_TARGET" = "${CURRENT_TARGET#/}" ] && CURRENT_TARGET="$CONFIG_DIR/$CURRENT_TARGET"; }
|
||||
echo "Target set to: $CURRENT_TARGET"
|
||||
}
|
||||
|
||||
marker () {
|
||||
BEGIN_EXPRESSION="$1"
|
||||
}
|
||||
|
||||
update_found () {
|
||||
@ -97,15 +122,57 @@ update_found () {
|
||||
[ "$CURRENT_VERSION" != "$PACKAGED_VERSION" ]
|
||||
}
|
||||
|
||||
do_write_expression () {
|
||||
echo "${1}rec {"
|
||||
echo "${1} baseName=\"$CURRENT_NAME\";"
|
||||
echo "${1} version=\"$CURRENT_VERSION\";"
|
||||
echo "${1} name=\"$CURRENT_NAME-$CURRENT_VERSION\";"
|
||||
echo "${1} hash=\"$CURRENT_HASH\";"
|
||||
echo "${1} url=\"$CURRENT_URL\";"
|
||||
echo "${1} sha256=\"$CURRENT_HASH\";"
|
||||
echo "$2"
|
||||
}
|
||||
|
||||
line_position () {
|
||||
file="$1"
|
||||
regexp="$2"
|
||||
count="${3:-1}"
|
||||
grep -E "$regexp" -m "$count" -B 999999 "$file" | wc -l
|
||||
}
|
||||
|
||||
replace_once () {
|
||||
file="$1"
|
||||
regexp="$2"
|
||||
replacement="$3"
|
||||
instance="${4:-1}"
|
||||
|
||||
position="$(line_position "$file" "$regexp" "$instance")"
|
||||
sed -re "${position}s $regexp $replacement " -i "$file"
|
||||
}
|
||||
|
||||
set_var_value () {
|
||||
var="${1}"
|
||||
value="${2}"
|
||||
instance="${3:-1}"
|
||||
file="${4:-$CURRENT_TARGET}"
|
||||
no_quotes="${5:-0}"
|
||||
|
||||
quote='"'
|
||||
let "$no_quotes" && quote=""
|
||||
|
||||
replace_once "$file" "${var} *= *.*" "${var} = ${quote}${value}${quote};"
|
||||
}
|
||||
|
||||
do_regenerate () {
|
||||
cat "$1" | grep -F '# Generated upstream information' -B 999999;
|
||||
echo " rec {"
|
||||
echo " baseName=\"$CURRENT_NAME\";"
|
||||
echo " version=\"$CURRENT_VERSION\";"
|
||||
echo ' name="${baseName}-${version}";'
|
||||
echo " hash=\"$CURRENT_HASH\";"
|
||||
echo " url=\"$CURRENT_URL\";"
|
||||
cat "$1" | grep -F '# Generated upstream information' -A 999999 | grep -E '^ *[}]; *$' -A 999999;
|
||||
BEFORE="$(cat "$1" | grep -F "$BEGIN_EXPRESSION" -B 999999;)"
|
||||
AFTER_EXPANDED="$(cat "$1" | grep -F "$BEGIN_EXPRESSION" -A 999999 | grep -E '^ *[}] *; *$' -A 999999;)"
|
||||
AFTER="$(echo "$AFTER_EXPANDED" | tail -n +2)"
|
||||
CLOSE_BRACE="$(echo "$AFTER_EXPANDED" | head -n 1)"
|
||||
SPACING="$(echo "$CLOSE_BRACE" | sed -re 's/[^ ].*//')"
|
||||
|
||||
echo "$BEFORE"
|
||||
do_write_expression "$SPACING" "$CLOSE_BRACE"
|
||||
echo "$AFTER"
|
||||
}
|
||||
|
||||
do_overwrite () {
|
||||
@ -114,14 +181,16 @@ do_overwrite () {
|
||||
mv "$1.new.tmp" "$1"
|
||||
}
|
||||
|
||||
full_path () {
|
||||
echo "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"
|
||||
}
|
||||
|
||||
process_config () {
|
||||
source "$(full_path "$1")"
|
||||
CONFIG_DIR="$(directory_of "$1")"
|
||||
source "$CONFIG_DIR/$(basename "$1")"
|
||||
BEGIN_EXPRESSION='# Generated upstream information';
|
||||
retrieve_version
|
||||
ensure_version
|
||||
ensure_target
|
||||
update_found && do_overwrite "$CURRENT_TARGET"
|
||||
}
|
||||
|
||||
source "$own_dir/update-walker-service-specific.sh"
|
||||
|
||||
process_config "$1"
|
||||
|
@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# WAF is probably the biggest crap on this planet, btw i removed the /gtk-2.0 path thingy
|
||||
configurePhase = ''
|
||||
sed -e "s@{PYTHONDIR}/gtk-2.0@{PYTHONDIR}/@" -i gconf/wscript
|
||||
python waf configure --prefix=$out
|
||||
sed -e "s@{PYTHONDIR}/gtk-2.0@{PYTHONDIR}/@" -i gconf/wscript
|
||||
python waf configure --prefix=$out
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
python waf install
|
||||
cp bonobo/*.{py,defs} $out/share/pygtk/2.0/defs/
|
||||
'';
|
||||
|
||||
buildInputs = [ python pkgconfig pygobject pygtk glib gtk GConf libgnome pythonDBus ];
|
||||
|
29
pkgs/desktops/gnome-2/bindings/python-rsvg/default.nix
Normal file
29
pkgs/desktops/gnome-2/bindings/python-rsvg/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl, gnome, librsvg, pkgconfig, pygtk, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.32";
|
||||
name = "python-rsvg-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-python-desktop/${version}/gnome-python-desktop-${version}.0.tar.gz";
|
||||
sha256 = "1xhh3h1qdnimydvv55pmqwyzjchhjwfvp951sjlq0180kskqrlj5";
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
sed -e "s@{PYTHONDIR}/gtk-2.0@{PYTHONDIR}/@" -i rsvg/wscript
|
||||
python waf configure --enable-modules=rsvg --prefix=$out
|
||||
'';
|
||||
|
||||
buildPhase = "python waf build";
|
||||
|
||||
installPhase = "python waf install";
|
||||
|
||||
buildInputs = [ gnome.gnome_python librsvg pkgconfig pygtk python ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.pygtk.org";
|
||||
description = "The rsvg python module";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
@ -58,6 +58,8 @@
|
||||
|
||||
libbonoboui = callPackage ./platform/libbonoboui { };
|
||||
|
||||
python_rsvg = callPackage ./bindings/python-rsvg { };
|
||||
|
||||
at_spi = callPackage ./platform/at-spi { };
|
||||
|
||||
gtkhtml = callPackage ./platform/gtkhtml { };
|
||||
|
893
pkgs/development/androidenv/addon.xml
Normal file
893
pkgs/development/androidenv/addon.xml
Normal file
@ -0,0 +1,893 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* Copyright (C) 2010 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
-->
|
||||
<sdk:sdk-addon xmlns:sdk="http://schemas.android.com/sdk/android/addon/5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<sdk:license id="android-sdk-license" type="text">This is the Android Software Development Kit License Agreement.
|
||||
|
||||
1. Introduction
|
||||
|
||||
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
|
||||
|
||||
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
|
||||
2. Accepting this License Agreement
|
||||
|
||||
2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement.
|
||||
|
||||
2.2 You can accept this License Agreement by:
|
||||
|
||||
(A) clicking to accept or agree to this License Agreement, where this option is made available to you; or
|
||||
|
||||
(B) by actually using the SDK. In this case, you agree that use of the SDK constitutes acceptance of the Licensing Agreement from that point onwards.
|
||||
|
||||
2.3 You may not use the SDK and may not accept the Licensing Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
|
||||
|
||||
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the Licensing Agreement or use the SDK on behalf of your employer or other entity.
|
||||
|
||||
3. SDK License from Google
|
||||
|
||||
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non- assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
|
||||
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
|
||||
3.3 Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. Except to the extent required by applicable third party licenses, you may not load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
|
||||
|
||||
3.4 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
|
||||
|
||||
3.5 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
|
||||
|
||||
3.6 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
|
||||
|
||||
3.7 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
|
||||
|
||||
4. Use of the SDK by You
|
||||
|
||||
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
|
||||
|
||||
4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
|
||||
|
||||
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, your must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
|
||||
|
||||
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Android platform and/or applications for the Android platform, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
|
||||
|
||||
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
|
||||
|
||||
5. Your Developer Credentials
|
||||
|
||||
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
|
||||
|
||||
6. Privacy and Information
|
||||
|
||||
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
|
||||
|
||||
6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
|
||||
|
||||
7. Third Party Applications for the Android Platform
|
||||
|
||||
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
|
||||
|
||||
7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
|
||||
|
||||
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties.
|
||||
|
||||
8. Using Android APIs
|
||||
|
||||
8.1 Google Data APIs
|
||||
|
||||
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
|
||||
|
||||
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
9. Terminating this License Agreement
|
||||
|
||||
9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below.
|
||||
|
||||
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
|
||||
|
||||
9.3 Google may at any time, terminate this License Agreement with you if:
|
||||
|
||||
(A) you have breached any provision of this License Agreement; or
|
||||
|
||||
(B) Google is required to do so by law; or
|
||||
|
||||
(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
|
||||
|
||||
(D) Google decides to no longer providing the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
|
||||
|
||||
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
|
||||
|
||||
10. DISCLAIMER OF WARRANTIES
|
||||
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
|
||||
10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
|
||||
|
||||
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
|
||||
11. LIMITATION OF LIABILITY
|
||||
|
||||
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
|
||||
|
||||
12. Indemnification
|
||||
|
||||
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement.
|
||||
|
||||
13. Changes to the License Agreement
|
||||
|
||||
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
|
||||
|
||||
14. General Legal Terms
|
||||
|
||||
14.1 This License Agreement constitute the whole legal agreement between you and Google and govern your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the SDK.
|
||||
|
||||
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
|
||||
|
||||
14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License Agreement is invalid, then that provision will be removed from this License Agreement without affecting the rest of this License Agreement. The remaining provisions of this License Agreement will continue to be valid and enforceable.
|
||||
|
||||
14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to this License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to this License Agreement.
|
||||
|
||||
14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
|
||||
|
||||
14.6 The rights granted in this License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under this License Agreement without the prior written approval of the other party.
|
||||
|
||||
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
|
||||
|
||||
April 10, 2009
|
||||
</sdk:license>
|
||||
|
||||
<sdk:license id="android-googletv-license" type="text">Terms and Conditions
|
||||
|
||||
This is the Google TV Add-on for the Android Software Development Kit License Agreement.
|
||||
|
||||
1. Introduction
|
||||
|
||||
1.1 The Google TV Add-on for the Android Software Development Kit (referred to in this License Agreement as the "Google TV Add-on" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the Google TV Add-on.
|
||||
|
||||
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
|
||||
2. Accepting this License Agreement
|
||||
|
||||
2.1 In order to use the Google TV Add-on, you must first agree to this License Agreement. You may not use the Google TV Add-on if you do not accept this License Agreement.
|
||||
|
||||
2.2 You can accept this License Agreement by:
|
||||
|
||||
(A) clicking to accept or agree to this License Agreement, where this option is made available to you; or
|
||||
|
||||
(B) by actually using the Google TV Add-on. In this case, you agree that use of the Google TV Add-on constitutes acceptance of the License Agreement from that point onwards.
|
||||
|
||||
2.3 You may not use the Google TV Add-on and may not accept the Licensing Agreement if you are a person barred from receiving the Google TV Add-on under the laws of the United States or other countries including the country in which you are resident or from which you use the Google TV Add-on.
|
||||
|
||||
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the Licensing Agreement or use the Google TV Add-on on behalf of your employer or other entity.
|
||||
|
||||
3. Google TV Add-on License from Google
|
||||
|
||||
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non- assignable and non-exclusive license to use the Google TV Add-on solely to develop applications to run on the Google TV platform.
|
||||
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the Google TV Add-on, including any Intellectual Property Rights that subsist in the Google TV Add-on. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
|
||||
3.3 Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Google TV Add-on or any part of the Google TV Add-on. Except to the extent required by applicable third party licenses, you may not load any part of the Google TV Add-on onto a mobile handset, television, or any other hardware device except a personal computer, combine any part of the Google TV Add-on with other software, or distribute any software or device incorporating a part of the Google TV Add-on.
|
||||
|
||||
3.4 Use, reproduction and distribution of components of the Google TV Add-on licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
|
||||
|
||||
3.5 You agree that the form and nature of the Google TV Add-on that Google provides may change without prior notice to you and that future versions of the Google TV Add-on may be incompatible with applications developed on previous versions of the Google TV Add-on. You agree that Google may stop (permanently or temporarily) providing the Google TV Add-on (or any features within the Google TV Add-on) to you or to users generally at Google's sole discretion, without prior notice to you.
|
||||
|
||||
3.6 Nothing in this License Agreement gives you a right to use any of Google's or it’s licensors’ trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
|
||||
|
||||
3.7 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the Google TV Add-on.
|
||||
|
||||
4. Use of the Google TV Add-on by You
|
||||
|
||||
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the Google TV Add-on, including any intellectual property rights that subsist in those applications.
|
||||
|
||||
4.2 You agree to use the Google TV Add-on and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
|
||||
|
||||
4.3 You agree that if you use the Google TV Add-on to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, your must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you explicit permission to do so.
|
||||
|
||||
4.4 You agree that you will not engage in any activity with the Google TV Add-on, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google, Multichannel Video Program Distributors or any mobile communications carrier.
|
||||
|
||||
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Google TV platform and/or applications for the Google TV platform, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
|
||||
|
||||
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
|
||||
|
||||
5. Your Developer Credentials
|
||||
|
||||
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
|
||||
|
||||
6. Privacy and Information
|
||||
|
||||
6.1 In order to continually innovate and improve the Google TV Add-on, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the Google TV Add-on are being used and how they are being used. Before any of this information is collected, the Google TV Add-on will notify you and seek your consent. If you withhold consent, the information will not be collected.
|
||||
|
||||
6.2 The data collected is examined in the aggregate to improve the Google TV Add-on and is maintained in accordance with Google's Privacy Policy.
|
||||
|
||||
7. Third Party Applications for the Google TV Platform
|
||||
|
||||
7.1 If you use the Google TV Add-on to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
|
||||
|
||||
7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
|
||||
|
||||
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties.
|
||||
|
||||
8. Using Google TV APIs
|
||||
|
||||
8.1 If you use any Google TV API to retrieve data from Google, you acknowledge that the data (“Google TV API Content”) may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. Some portions of the Google TV API Content are licensed to Google by third parties, including but not limited to Tribune Media Services
|
||||
|
||||
8.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
8.3 Except as explicitly permitted in Section 3 (Google TV Add-on License from Google), you must:
|
||||
|
||||
(a) not modify nor format the Google TV API Content except to the extent reasonably and technically necessary to optimize the display such Google TV API Content in your application;
|
||||
|
||||
(b) not edit the Google TV API Content in a manner that renders the Google TV API Content inaccurate of alters its inherent meaning (provided that displaying excerpts will not violate the foregoing); or
|
||||
|
||||
(c) not create any commercial audience measurement tool or service using the Google TV API Content
|
||||
|
||||
9. Terminating this License Agreement
|
||||
|
||||
9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below.
|
||||
|
||||
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the Google TV Add-on and any relevant developer credentials.
|
||||
|
||||
9.3 Google may at any time, terminate this License Agreement with you if:
|
||||
|
||||
(A) you have breached any provision of this License Agreement; or
|
||||
|
||||
(B) Google is required to do so by law; or
|
||||
|
||||
(C) the partner with whom Google offered certain parts of Google TV Add-on (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the Google TV Add-on to you; or
|
||||
|
||||
(D) Google decides to no longer providing the Google TV Add-on or certain parts of the Google TV Add-on to users in the country in which you are resident or from which you use the service, or the provision of the Google TV Add-on or certain Google TV Add-on services to you by Google is, in Google's sole discretion, no longer commercially viable.
|
||||
|
||||
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
|
||||
|
||||
10. DISCLAIMER OF WARRANTIES
|
||||
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE GOOGLE TV ADD-ON IS AT YOUR SOLE RISK AND THAT THE GOOGLE TV ADD-ON IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
|
||||
10.2 YOUR USE OF THE GOOGLE TV ADD-ON AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE GOOGLE TV ADD-ON IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
|
||||
|
||||
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
|
||||
11. LIMITATION OF LIABILITY
|
||||
|
||||
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
|
||||
|
||||
12. Indemnification
|
||||
|
||||
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the Google TV Add-on, (b) any application you develop on the Google TV Add-on that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement.
|
||||
|
||||
13. Changes to the License Agreement
|
||||
|
||||
13.1 Google may make changes to the License Agreement as it distributes new versions of the Google TV Add-on.
|
||||
|
||||
14. General Legal Terms
|
||||
|
||||
14.1 This License Agreement constitute the whole legal agreement between you and Google and govern your use of the Google TV Add-on (excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the Google TV Add-on.
|
||||
|
||||
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
|
||||
|
||||
14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License Agreement is invalid, then that provision will be removed from this License Agreement without affecting the rest of this License Agreement. The remaining provisions of this License Agreement will continue to be valid and enforceable.
|
||||
|
||||
14.4 You acknowledge and agree that Google’s API data licensors and each member of the group of companies of which Google is the parent shall be third party beneficiaries to this License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to this License Agreement.
|
||||
|
||||
14.5 EXPORT RESTRICTIONS. THE GOOGLE TV ADD-ON IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE GOOGLE TV ADD-ON. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
|
||||
|
||||
14.6 The rights granted in this License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under this License Agreement without the prior written approval of the other party.
|
||||
|
||||
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
|
||||
|
||||
|
||||
August 15, 2011
|
||||
</sdk:license>
|
||||
|
||||
<!-- ADD-ONS ....................... -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>3</sdk:api-level>
|
||||
<sdk:revision>03</sdk:revision>
|
||||
<sdk:description>Android + Google APIs</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>34908058</sdk:size>
|
||||
<sdk:checksum type="sha1">1f92abf3a76be66ae8032257fc7620acbd2b2e3a</sdk:checksum>
|
||||
<sdk:url>google_apis-3-r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Tue Nov 24 16:38:28 PST 2009 using donut 20842: Platform. Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>4</sdk:api-level>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, revision 2</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>42435735</sdk:size>
|
||||
<sdk:checksum type="sha1">9b6e86d8568558de4d606a7debc4f6049608dbd0</sdk:checksum>
|
||||
<sdk:url>google_apis-4_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Thu Oct 22 10:16:34 PDT 2009 using eclair-sdk 17704: Platform. Addon. Tools. Doc. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>5</sdk:api-level>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:obsolete/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>49123776</sdk:size>
|
||||
<sdk:checksum type="sha1">46eaeb56b645ee7ffa24ede8fa17f3df70db0503</sdk:checksum>
|
||||
<sdk:url>google_apis-5_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Mon Nov 23 14:08:02 PST 2009 using eclair-release 20723: Platform. Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>6</sdk:api-level>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:obsolete/>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>53382941</sdk:size>
|
||||
<sdk:checksum type="sha1">5ff545d96e031e09580a6cf55713015c7d4936b2</sdk:checksum>
|
||||
<sdk:url>google_apis-6_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Mon Dec 21 14:36:17 PST 2009 using eclair-release 22607: Platform. Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>7</sdk:api-level>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>53691339</sdk:size>
|
||||
<sdk:checksum type="sha1">2e7f91e0fe34fef7f58aeced973c6ae52361b5ac</sdk:checksum>
|
||||
<sdk:url>google_apis-7_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Wed Jun 30 16:13:06 PDT 2010 using froyo-release 43546: Platform. Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>8</sdk:api-level>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, API 8, revision 2</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>59505020</sdk:size>
|
||||
<sdk:checksum type="sha1">3079958e7ec87222cac1e6b27bc471b27bf2c352</sdk:checksum>
|
||||
<sdk:url>google_apis-8_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Thu Jan 20 13:47:16 PST 2011 using gingerbread-sdk-release 93351: Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>9</sdk:api-level>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, API 9, revision 2</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>63401546</sdk:size>
|
||||
<sdk:checksum type="sha1">78664645a1e9accea4430814f8694291a7f1ea5d</sdk:checksum>
|
||||
<sdk:url>google_apis-9_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
<sdk:obsolete/>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Thu May 5 15:52:16 PDT 2011 using gingerbread 123630: Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>10</sdk:api-level>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, API 10, revision 2</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>65781578</sdk:size>
|
||||
<sdk:checksum type="sha1">cc0711857c881fa7534f90cf8cc09b8fe985484d</sdk:checksum>
|
||||
<sdk:url>google_apis-10_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Thu Feb 17 08:43:44 PST 2011 using honeycomb 104254: Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>11</sdk:api-level>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, API 11, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>83477179</sdk:size>
|
||||
<sdk:checksum type="sha1">5eab5e81addee9f3576d456d205208314b5146a5</sdk:checksum>
|
||||
<sdk:url>google_apis-11_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Wed May 4 19:44:46 PDT 2011 using honeycomb-mr1 123685: Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>12</sdk:api-level>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, API 12, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>86099835</sdk:size>
|
||||
<sdk:checksum type="sha1">e9999f4fa978812174dfeceec0721c793a636e5d</sdk:checksum>
|
||||
<sdk:url>google_apis-12_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- Generated on Fri Jul 15 11:51:11 PDT 2011 using honeycomb-mr2 142871: Addon. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:api-level>13</sdk:api-level>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android + Google APIs, API 13, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>88615525</sdk:size>
|
||||
<sdk:checksum type="sha1">3b153edd211c27dc736c893c658418a4f9041417</sdk:checksum>
|
||||
<sdk:url>google_apis-13_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
<sdk:description>API for Google Maps.</sdk:description>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
</sdk:add-on>
|
||||
|
||||
<sdk:add-on>
|
||||
<!-- Generated at Wed Dec 7 13:47:50 2011 from git_ics-mr0 @ 229537 -->
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:description>Android + Google APIs</sdk:description>
|
||||
<sdk:api-level>14</sdk:api-level>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
</sdk:lib>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.android.future.usb.accessory</sdk:name>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>106533714</sdk:size>
|
||||
<sdk:checksum type="sha1">f8eb4d96ad0492b4c0db2d7e4f1a1a3836664d39</sdk:checksum>
|
||||
<sdk:url>google_apis-14_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:add-on>
|
||||
|
||||
<sdk:add-on>
|
||||
<!-- Generated at Fri Mar 30 10:45:40 2012 from ics-mr1 @ 302030 -->
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:description>Android + Google APIs</sdk:description>
|
||||
<sdk:api-level>15</sdk:api-level>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
</sdk:lib>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.android.future.usb.accessory</sdk:name>
|
||||
</sdk:lib>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.media.effects</sdk:name>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>106612472</sdk:size>
|
||||
<sdk:checksum type="sha1">6757c12788da0ea00c2ab58e54cb438b9f2bcf66</sdk:checksum>
|
||||
<sdk:url>google_apis-15_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:add-on>
|
||||
|
||||
<sdk:add-on>
|
||||
<!-- Generated at Tue Oct 9 14:06:38 2012 from git_jb-dev @ 495790 -->
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:description>Android + Google APIs</sdk:description>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
</sdk:lib>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.android.future.usb.accessory</sdk:name>
|
||||
</sdk:lib>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.media.effects</sdk:name>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>127278413</sdk:size>
|
||||
<sdk:checksum type="sha1">63467dd32f471e3e81e33e9772c22f33235aa3b3</sdk:checksum>
|
||||
<sdk:url>google_apis-16_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- GOOGLE TV ADDONS ............. -->
|
||||
|
||||
<sdk:add-on>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_tv_addon</sdk:name-id>
|
||||
<sdk:name-display>Google TV Addon</sdk:name-display>
|
||||
<sdk:api-level>12</sdk:api-level>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Android + Google TV, API 12, preview release</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-googletv-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="linux">
|
||||
<sdk:size>78266751</sdk:size>
|
||||
<sdk:checksum type="sha1">92128a12e7e8b0fb5bac59153d7779b717e7b840</sdk:checksum>
|
||||
<sdk:url>google_tv-12_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:libs/>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- EXTRAS VENDOR=ANDROID ........................ -->
|
||||
|
||||
<sdk:extra>
|
||||
<!-- Generated at Thu Aug 9 13:20:52 2012 from git_jb-dev @ 416700 -->
|
||||
<sdk:revision>10</sdk:revision>
|
||||
<sdk:vendor-display>Android</sdk:vendor-display>
|
||||
<sdk:vendor-id>android</sdk:vendor-id>
|
||||
<sdk:name-display>Android Support Library</sdk:name-display>
|
||||
<sdk:path>support</sdk:path>
|
||||
<sdk:old-paths>compatibility</sdk:old-paths>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>1161015</sdk:size>
|
||||
<sdk:checksum type="sha1">7c62e542d46ac3bdb89e1b90503d6afae557cf7d</sdk:checksum>
|
||||
<sdk:url>support_r10.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:extra>
|
||||
|
||||
<!-- EXTRAS VENDOR=GOOGLE ....................... -->
|
||||
|
||||
<sdk:extra>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google Play Licensing Library</sdk:name-display>
|
||||
<sdk:path>play_licensing</sdk:path>
|
||||
<sdk:old-paths>market_licensing</sdk:old-paths>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Google Play Licensing client library</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/guide/publishing/licensing.html</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>75109</sdk:size>
|
||||
<sdk:checksum type="sha1">355e8dc304a92a5616db235af8ee7bd554356254</sdk:checksum>
|
||||
<sdk:url>market_licensing-r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
|
||||
<sdk:extra>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google Play APK Expansion Library</sdk:name-display>
|
||||
<sdk:path>play_apk_expansion</sdk:path>
|
||||
<sdk:old-paths>market_apk_expansion</sdk:old-paths>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Google Play APK Expansion library</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/guide/market/expansion-files.html</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>111636</sdk:size>
|
||||
<sdk:checksum type="sha1">47fa8c691fcc8cf815e7ebbf140f12e94495f73b</sdk:checksum>
|
||||
<sdk:url>market_apk_expansion-r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
|
||||
<sdk:extra>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google Play services</sdk:name-display>
|
||||
<sdk:path>google_play_services</sdk:path>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Google Play Services client library and sample code</sdk:description>
|
||||
<sdk:desc-url>https://developers.google.com/android/google-play-services/index</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>363692</sdk:size>
|
||||
<sdk:checksum type="sha1">b1808a7d5f91a3ed42839b950fd254c60e9328f1</sdk:checksum>
|
||||
<sdk:url>google_play_services_1013.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:extra>
|
||||
|
||||
<sdk:extra>
|
||||
<!-- Generated at Tue Aug 28 11:07:05 2012 from git_master @ 449897 -->
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google USB Driver</sdk:name-display>
|
||||
<sdk:path>usb_driver</sdk:path>
|
||||
<sdk:revision>7</sdk:revision>
|
||||
<sdk:description>USB Driver for Windows, revision 7</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="windows">
|
||||
<sdk:size>8681704</sdk:size>
|
||||
<sdk:checksum type="sha1">147c339fde22f98ae41b15349a8303d39a2cf6e5</sdk:checksum>
|
||||
<sdk:url>usb_driver_r07-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:extra>
|
||||
|
||||
<sdk:extra>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google Play Billing Library</sdk:name-display>
|
||||
<sdk:path>play_billing</sdk:path>
|
||||
<sdk:old-paths>market_billing</sdk:old-paths>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Google Play Billing sample code</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/guide/market/billing/index.html</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>55191</sdk:size>
|
||||
<sdk:checksum type="sha1">3c84c05c60a9cabb578cebce0515860be7ad23d2</sdk:checksum>
|
||||
<sdk:url>market_billing_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
|
||||
<sdk:extra>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google AdMob Ads SDK</sdk:name-display>
|
||||
<sdk:path>admob_ads_sdk</sdk:path>
|
||||
<sdk:revision>8</sdk:revision>
|
||||
<sdk:description>AdMob Ads SDK</sdk:description>
|
||||
<sdk:desc-url>https://developers.google.com/mobile-ads-sdk/docs/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>545547</sdk:size>
|
||||
<sdk:checksum type="sha1">031476aa5a491239d2624e8de8c9e46e40d93e3f</sdk:checksum>
|
||||
<sdk:url>https://dl-ssl.google.com/googleadmobadssdk/googleadmobadssdkandroid-6.2.1.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
|
||||
<sdk:extra>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google Analytics SDK</sdk:name-display>
|
||||
<sdk:path>analytics_sdk</sdk:path>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Analytics SDK</sdk:description>
|
||||
<sdk:desc-url>http://code.google.com/mobile/analytics/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>53055</sdk:size>
|
||||
<sdk:checksum type="sha1">328bcdc6c241879ebb04d6edc6fec1052a171004</sdk:checksum>
|
||||
<sdk:url>https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_1.4.2.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
|
||||
<sdk:extra>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google Web Driver</sdk:name-display>
|
||||
<sdk:path>webdriver</sdk:path>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>WebDriver</sdk:description>
|
||||
<sdk:desc-url>http://selenium.googlecode.com</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>4055193</sdk:size>
|
||||
<sdk:checksum type="sha1">13f3a3b2670a5fc04a7342861644be9a01b07e38</sdk:checksum>
|
||||
<sdk:url>webdriver_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
|
||||
<sdk:extra>
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google Cloud Messaging for Android Library</sdk:name-display>
|
||||
<sdk:path>gcm</sdk:path>
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:description>Google Cloud Messaging for Android library and sample code</sdk:description>
|
||||
<sdk:desc-url>https://developers.google.com/android/gcm/index</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>5901400</sdk:size>
|
||||
<sdk:checksum type="sha1">ad066fd0dc7fc99d8aadac09c65a3c2519fbc7bf</sdk:checksum>
|
||||
<sdk:url>gcm_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
</sdk:sdk-addon>
|
186
pkgs/development/androidenv/addons.nix
Normal file
186
pkgs/development/androidenv/addons.nix
Normal file
@ -0,0 +1,186 @@
|
||||
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildGoogleApis = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
|
||||
google_apis_3 = buildGoogleApis {
|
||||
name = "google_apis-3";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-3-r03.zip;
|
||||
sha1 = "1f92abf3a76be66ae8032257fc7620acbd2b2e3a";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_4 = buildGoogleApis {
|
||||
name = "google_apis-4";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-4_r02.zip;
|
||||
sha1 = "9b6e86d8568558de4d606a7debc4f6049608dbd0";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, revision 2";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_5 = buildGoogleApis {
|
||||
name = "google_apis-5";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-5_r01.zip;
|
||||
sha1 = "46eaeb56b645ee7ffa24ede8fa17f3df70db0503";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, revision 1";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_6 = buildGoogleApis {
|
||||
name = "google_apis-6";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-6_r01.zip;
|
||||
sha1 = "5ff545d96e031e09580a6cf55713015c7d4936b2";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, revision 1";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_7 = buildGoogleApis {
|
||||
name = "google_apis-7";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-7_r01.zip;
|
||||
sha1 = "2e7f91e0fe34fef7f58aeced973c6ae52361b5ac";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, revision 1";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_8 = buildGoogleApis {
|
||||
name = "google_apis-8";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-8_r02.zip;
|
||||
sha1 = "3079958e7ec87222cac1e6b27bc471b27bf2c352";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, API 8, revision 2";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_9 = buildGoogleApis {
|
||||
name = "google_apis-9";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-9_r02.zip;
|
||||
sha1 = "78664645a1e9accea4430814f8694291a7f1ea5d";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, API 9, revision 2";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_10 = buildGoogleApis {
|
||||
name = "google_apis-10";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-10_r02.zip;
|
||||
sha1 = "cc0711857c881fa7534f90cf8cc09b8fe985484d";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, API 10, revision 2";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_11 = buildGoogleApis {
|
||||
name = "google_apis-11";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-11_r01.zip;
|
||||
sha1 = "5eab5e81addee9f3576d456d205208314b5146a5";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, API 11, revision 1";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_12 = buildGoogleApis {
|
||||
name = "google_apis-12";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-12_r01.zip;
|
||||
sha1 = "e9999f4fa978812174dfeceec0721c793a636e5d";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, API 12, revision 1";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_13 = buildGoogleApis {
|
||||
name = "google_apis-13";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-13_r01.zip;
|
||||
sha1 = "3b153edd211c27dc736c893c658418a4f9041417";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs, API 13, revision 1";
|
||||
url = http://developer.android.com/;
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_14 = buildGoogleApis {
|
||||
name = "google_apis-14";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-14_r02.zip;
|
||||
sha1 = "f8eb4d96ad0492b4c0db2d7e4f1a1a3836664d39";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_15 = buildGoogleApis {
|
||||
name = "google_apis-15";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-15_r02.zip;
|
||||
sha1 = "6757c12788da0ea00c2ab58e54cb438b9f2bcf66";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_16 = buildGoogleApis {
|
||||
name = "google_apis-16";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-16_r03.zip;
|
||||
sha1 = "63467dd32f471e3e81e33e9772c22f33235aa3b3";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
176
pkgs/development/androidenv/androidsdk.nix
Normal file
176
pkgs/development/androidenv/androidsdk.nix
Normal file
@ -0,0 +1,176 @@
|
||||
{ stdenv, stdenv_32bit, fetchurl, unzip, makeWrapper
|
||||
, platformTools, support, platforms, sysimages, addons
|
||||
, zlib_32bit
|
||||
, libX11_32bit, libxcb_32bit, libXau_32bit, libXdmcp_32bit, libXext_32bit
|
||||
, libX11, libXext, libXrender
|
||||
, freetype, fontconfig, gtk, atk
|
||||
}:
|
||||
{platformVersions, useGoogleAPIs}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "android-sdk-20.0.3";
|
||||
|
||||
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
|
||||
then fetchurl {
|
||||
url = http://dl.google.com/android/android-sdk_r20.0.3-linux.tgz;
|
||||
sha256 = "0xfb41xsjaf7n6b9gsrxm24jwg2fi1hzn73y69rlqm55bw1vxhc1";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then fetchurl {
|
||||
url = http://dl.google.com/android/android-sdk_r20.0.3-macosx.zip;
|
||||
sha256 = "0eecaa04950d5c540f36ab4183a4cbaef3ae6a7434467bfc32febaeb796a8ff2";
|
||||
}
|
||||
else throw "platform not ${stdenv.system} supported!";
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/libexec
|
||||
cd $out/libexec
|
||||
unpackFile $src;
|
||||
|
||||
cd android-sdk-*/tools
|
||||
|
||||
${stdenv.lib.optionalString (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
|
||||
''
|
||||
# There are a number of native binaries. We must patch them to let them find the interpreter and libstdc++
|
||||
|
||||
for i in dmtracedump emulator emulator-arm emulator-x86 hprof-conv mksdcard sqlite3
|
||||
do
|
||||
patchelf --set-interpreter ${stdenv_32bit.gcc.libc}/lib/ld-linux.so.2 $i
|
||||
patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib $i
|
||||
done
|
||||
|
||||
# These tools also need zlib in addition to libstdc++
|
||||
|
||||
for i in etc1tool zipalign
|
||||
do
|
||||
patchelf --set-interpreter ${stdenv_32bit.gcc.libc}/lib/ld-linux.so.2 $i
|
||||
patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib:${zlib_32bit}/lib $i
|
||||
done
|
||||
|
||||
# The emulators need additional libraries, which are not in the RPATH => let's wrap them
|
||||
|
||||
for i in emulator emulator-arm emulator-x86
|
||||
do
|
||||
wrapProgram `pwd`/$i \
|
||||
--prefix LD_LIBRARY_PATH : `pwd`/lib:${libX11_32bit}/lib:${libxcb_32bit}/lib:${libXau_32bit}/lib:${libXdmcp_32bit}/lib:${libXext_32bit}/lib
|
||||
done
|
||||
''}
|
||||
|
||||
patchShebangs .
|
||||
|
||||
${if stdenv.system == "i686-linux" then
|
||||
''
|
||||
# The monitor requires some more patching
|
||||
|
||||
cd lib/monitor-x86
|
||||
patchelf --set-interpreter ${stdenv.gcc.libc}/lib/ld-linux.so.2 monitor
|
||||
patchelf --set-rpath ${libX11}/lib:${libXext}/lib:${libXrender}/lib:${freetype}/lib:${fontconfig}/lib libcairo-swt.so
|
||||
|
||||
wrapProgram `pwd`/monitor \
|
||||
--prefix LD_LIBRARY_PATH : ${gtk}/lib:${atk}/lib:${stdenv.gcc.gcc}/lib
|
||||
|
||||
cd ../..
|
||||
''
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
''
|
||||
# The monitor requires some more patching
|
||||
|
||||
cd lib/monitor-x86_64
|
||||
patchelf --set-interpreter ${stdenv.gcc.libc}/lib/ld-linux-x86-64.so.2 monitor
|
||||
patchelf --set-rpath ${libX11}/lib:${libXext}/lib:${libXrender}/lib:${freetype}/lib:${fontconfig}/lib libcairo-swt.so
|
||||
|
||||
wrapProgram `pwd`/monitor \
|
||||
--prefix LD_LIBRARY_PATH : ${gtk}/lib:${atk}/lib:${stdenv.gcc.gcc}/lib
|
||||
|
||||
cd ../..
|
||||
''
|
||||
else ""}
|
||||
|
||||
# Symlink the other sub packages
|
||||
|
||||
cd ..
|
||||
ln -s ${platformTools}/platform-tools
|
||||
ln -s ${support}/support
|
||||
|
||||
# Symlink required Google API add-ons
|
||||
|
||||
mkdir -p add-ons
|
||||
cd add-ons
|
||||
|
||||
${if useGoogleAPIs then
|
||||
stdenv.lib.concatMapStrings (platformVersion:
|
||||
if (builtins.hasAttr ("google_apis_"+platformVersion) addons) then
|
||||
let
|
||||
googleApis = builtins.getAttr ("google_apis_"+platformVersion) addons;
|
||||
in
|
||||
"ln -s ${googleApis}/* addon-google_apis-${platformVersion}"
|
||||
else "") platformVersions
|
||||
else ""}
|
||||
|
||||
cd ..
|
||||
|
||||
# Symlink required platforms
|
||||
|
||||
mkdir -p platforms
|
||||
cd platforms
|
||||
|
||||
${stdenv.lib.concatMapStrings (platformVersion:
|
||||
if (builtins.hasAttr ("platform_"+platformVersion) platforms) then
|
||||
let
|
||||
platform = builtins.getAttr ("platform_"+platformVersion) platforms;
|
||||
in
|
||||
"ln -s ${platform}/* android-${platformVersion}"
|
||||
else ""
|
||||
) platformVersions}
|
||||
|
||||
cd ..
|
||||
|
||||
# Symlink required system images
|
||||
|
||||
mkdir -p system-images
|
||||
cd system-images
|
||||
|
||||
${stdenv.lib.concatMapStrings (platformVersion:
|
||||
if (builtins.hasAttr ("sysimg_"+platformVersion) sysimages) then
|
||||
let
|
||||
sysimg = builtins.getAttr ("sysimg_"+platformVersion) sysimages;
|
||||
in
|
||||
''
|
||||
mkdir -p android-${platformVersion}
|
||||
cd android-${platformVersion}
|
||||
ln -s ${sysimg}/*
|
||||
cd ..
|
||||
''
|
||||
else ""
|
||||
) platformVersions}
|
||||
|
||||
# Create wrappers to the most important tools and platform tools so that we can run them if the SDK is in our PATH
|
||||
|
||||
ensureDir $out/bin
|
||||
|
||||
for i in $out/libexec/android-sdk-*/tools/*
|
||||
do
|
||||
if [ ! -d $i ] && [ -x $i ]
|
||||
then
|
||||
( echo '#! ${stdenv.shell} -e'
|
||||
echo "cd $out/libexec/android-sdk-*/tools"
|
||||
echo "exec ./$(basename $i) \"\$@\"" ) > $out/bin/$(basename $i)
|
||||
|
||||
chmod +x $out/bin/$(basename $i)
|
||||
fi
|
||||
done
|
||||
|
||||
for i in $out/libexec/android-sdk-*/platform-tools/*
|
||||
do
|
||||
if [ ! -d $i ] && [ -x $i ]
|
||||
then
|
||||
( echo '#! ${stdenv.shell} -e'
|
||||
echo "cd $out/libexec/android-sdk-*/platform-tools"
|
||||
echo "exec ./$(basename $i) \"\$@\"") > $out/bin/$(basename $i)
|
||||
|
||||
chmod +x $out/bin/$(basename $i)
|
||||
fi
|
||||
done
|
||||
'';
|
||||
|
||||
buildInputs = [ unzip makeWrapper ];
|
||||
}
|
41
pkgs/development/androidenv/build-app.nix
Normal file
41
pkgs/development/androidenv/build-app.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ stdenv, androidsdk, jdk, ant }:
|
||||
{ name, src, platformVersions ? [ "8" ], useGoogleAPIs ? false
|
||||
, release ? false, keyStore ? null, keyAlias ? null, keyStorePassword ? null, keyAliasPassword ? null
|
||||
}:
|
||||
|
||||
assert release -> keyStore != null && keyAlias != null && keyStorePassword != null && keyAliasPassword != null;
|
||||
|
||||
let
|
||||
platformName = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then "linux"
|
||||
else if stdenv.system == "x86_64-darwin" then "macosx"
|
||||
else throw "Platform: ${stdenv.system} is not supported!";
|
||||
|
||||
androidsdkComposition = androidsdk { inherit platformVersions useGoogleAPIs; };
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name src;
|
||||
|
||||
ANDROID_HOME = "${androidsdkComposition}/libexec/android-sdk-${platformName}";
|
||||
|
||||
buildInputs = [ jdk ant ];
|
||||
|
||||
buildPhase = ''
|
||||
${stdenv.lib.optionalString release ''
|
||||
|
||||
# Provide key singing attributes
|
||||
( echo "key.store=${keyStore}"
|
||||
echo "key.alias=${keyAlias}"
|
||||
echo "key.store.password=${keyStorePassword}"
|
||||
echo "key.alias.password=${keyAliasPassword}"
|
||||
) >> ant.properties
|
||||
''}
|
||||
|
||||
export ANDROID_SDK_HOME=`pwd` # Key files cannot be stored in the user's home directory. This overrides it.
|
||||
ant ${if release then "release" else "debug"}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
mv bin/*-${if release then "release" else "debug"}.apk $out
|
||||
'';
|
||||
}
|
62
pkgs/development/androidenv/default.nix
Normal file
62
pkgs/development/androidenv/default.nix
Normal file
@ -0,0 +1,62 @@
|
||||
{pkgs, pkgs_i686}:
|
||||
|
||||
rec {
|
||||
platformTools = import ./platform-tools.nix {
|
||||
inherit (pkgs) stdenv fetchurl unzip;
|
||||
inherit (pkgs_i686) zlib ncurses;
|
||||
stdenv_32bit = pkgs_i686.stdenv;
|
||||
};
|
||||
|
||||
support = import ./support.nix {
|
||||
inherit (pkgs) stdenv fetchurl unzip;
|
||||
};
|
||||
|
||||
platforms = if (pkgs.stdenv.system == "i686-linux" || pkgs.stdenv.system == "x86_64-linux")
|
||||
then import ./platforms-linux.nix {
|
||||
inherit (pkgs) stdenv fetchurl unzip;
|
||||
}
|
||||
else if pkgs.stdenv.system == "x86_64-darwin"
|
||||
then import ./platforms-macosx.nix {
|
||||
inherit (pkgs) stdenv fetchurl unzip;
|
||||
}
|
||||
else throw "Platform: ${pkgs.stdenv.system} not supported!";
|
||||
|
||||
sysimages = import ./sysimages.nix {
|
||||
inherit (pkgs) stdenv fetchurl unzip;
|
||||
};
|
||||
|
||||
addons = import ./addons.nix {
|
||||
inherit (pkgs) stdenv fetchurl unzip;
|
||||
};
|
||||
|
||||
androidsdk = import ./androidsdk.nix {
|
||||
inherit (pkgs) stdenv fetchurl unzip makeWrapper;
|
||||
inherit (pkgs) freetype fontconfig gtk atk;
|
||||
inherit (pkgs.xorg) libX11 libXext libXrender;
|
||||
|
||||
inherit platformTools support platforms sysimages addons;
|
||||
|
||||
stdenv_32bit = pkgs_i686.stdenv;
|
||||
zlib_32bit = pkgs_i686.zlib;
|
||||
libX11_32bit = pkgs_i686.xorg.libX11;
|
||||
libxcb_32bit = pkgs_i686.xorg.libxcb;
|
||||
libXau_32bit = pkgs_i686.xorg.libXau;
|
||||
libXdmcp_32bit = pkgs_i686.xorg.libXdmcp;
|
||||
libXext_32bit = pkgs_i686.xorg.libXext;
|
||||
};
|
||||
|
||||
androidsdk_4_1 = androidsdk {
|
||||
platformVersions = [ "16" ];
|
||||
useGoogleAPIs = true;
|
||||
};
|
||||
|
||||
buildApp = import ./build-app.nix {
|
||||
inherit (pkgs) stdenv jdk ant;
|
||||
inherit androidsdk;
|
||||
};
|
||||
|
||||
emulateApp = import ./emulate-app.nix {
|
||||
inherit (pkgs) stdenv;
|
||||
inherit androidsdk;
|
||||
};
|
||||
}
|
87
pkgs/development/androidenv/emulate-app.nix
Normal file
87
pkgs/development/androidenv/emulate-app.nix
Normal file
@ -0,0 +1,87 @@
|
||||
{stdenv, androidsdk}:
|
||||
{name, app, platformVersion ? "8", useGoogleAPIs ? false, package, activity}:
|
||||
|
||||
let
|
||||
androidsdkComposition = androidsdk { inherit useGoogleAPIs; platformVersions = [ platformVersion ]; };
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
cat > $out/bin/run-test-emulator << "EOF"
|
||||
#!/bin/sh -e
|
||||
|
||||
# We need a TMPDIR
|
||||
if [ "$TMPDIR" = "" ]
|
||||
then
|
||||
export TMPDIR=/tmp
|
||||
fi
|
||||
|
||||
# Store the virtual devices somewhere else, instead of polluting a user's HOME directory
|
||||
export ANDROID_SDK_HOME=$(mktemp -d $TMPDIR/nix-android-vm-XXXX)
|
||||
|
||||
# We have to look for a free TCP port
|
||||
|
||||
echo "Looking for a free TCP port in range 5554-5584"
|
||||
|
||||
for i in $(seq 5554 2 5584)
|
||||
do
|
||||
if [ -z "$(${androidsdkComposition}/libexec/android-sdk-*/platform-tools/adb devices | grep emulator-$i)" ]
|
||||
then
|
||||
port=$i
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$port" ]
|
||||
then
|
||||
echo "Unfortunately, the emulator port space is exhausted!"
|
||||
exit 1
|
||||
else
|
||||
echo "We have a free TCP port: $port"
|
||||
fi
|
||||
|
||||
export ANDROID_SERIAL="emulator-$port"
|
||||
|
||||
# Create a virtual android device
|
||||
${androidsdkComposition}/libexec/android-sdk-*/tools/android create avd -n device -t ${if useGoogleAPIs then "'Google Inc.:Google APIs:"+platformVersion+"'" else "android-"+platformVersion}
|
||||
|
||||
# Launch the emulator
|
||||
${androidsdkComposition}/libexec/android-sdk-*/tools/emulator -avd device -no-boot-anim -port $port &
|
||||
|
||||
# Wait until the device has completely booted
|
||||
|
||||
echo "Waiting until the emulator has booted the device and the package manager is ready..."
|
||||
|
||||
${androidsdkComposition}/libexec/android-sdk-*/platform-tools/adb -s emulator-$port wait-for-device
|
||||
|
||||
echo "Device state has been reached"
|
||||
|
||||
while [ -z "$(${androidsdkComposition}/libexec/android-sdk-*/platform-tools/adb -s emulator-$port shell getprop dev.bootcomplete | grep 1)" ]
|
||||
do
|
||||
sleep 5
|
||||
done
|
||||
|
||||
echo "dev.bootcomplete property is 1"
|
||||
|
||||
#while [ -z "$(${androidsdkComposition}/libexec/android-sdk-*/platform-tools/adb -s emulator-$port shell getprop sys.boot_completed | grep 1)" ]
|
||||
#do
|
||||
#sleep 5
|
||||
#done
|
||||
|
||||
#echo "sys.boot_completed property is 1"
|
||||
|
||||
echo "ready"
|
||||
|
||||
# Install the App through the debugger
|
||||
${androidsdkComposition}/libexec/android-sdk-*/platform-tools/adb -s emulator-$port install ${app}/*.apk
|
||||
|
||||
# Start the application
|
||||
${androidsdkComposition}/libexec/android-sdk-*/platform-tools/adb -s emulator-$port shell am start -a android.intent.action.MAIN -n ${package}/.${activity}
|
||||
EOF
|
||||
|
||||
chmod +x $out/bin/run-test-emulator
|
||||
'';
|
||||
}
|
3
pkgs/development/androidenv/generate-addons.sh
Executable file
3
pkgs/development/androidenv/generate-addons.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
xsltproc generate-addons.xsl addon.xml > addons.nix
|
38
pkgs/development/androidenv/generate-addons.xsl
Normal file
38
pkgs/development/androidenv/generate-addons.xsl
Normal file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:sdk="http://schemas.android.com/sdk/android/addon/5">
|
||||
|
||||
<xsl:output omit-xml-declaration="yes" indent="no" />
|
||||
<xsl:template match="/sdk:sdk-addon">
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildGoogleApis = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
<xsl:for-each select="sdk:add-on[sdk:name-id='google_apis']">
|
||||
google_apis_<xsl:value-of select="sdk:api-level" /> = buildGoogleApis {
|
||||
name = "<xsl:value-of select="sdk:name-id" />-<xsl:value-of select="sdk:api-level" />";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/<xsl:value-of select="sdk:archives/sdk:archive[@os='any']/sdk:url" />;
|
||||
sha1 = "<xsl:value-of select="sdk:archives/sdk:archive[@os='any']/sdk:checksum[@type='sha1']" />";
|
||||
};
|
||||
meta = {
|
||||
description = "<xsl:value-of select="sdk:description" />";
|
||||
<xsl:for-each select="sdk:desc-url">url = <xsl:value-of select="." />;</xsl:for-each>
|
||||
};
|
||||
};
|
||||
</xsl:for-each>
|
||||
}
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
4
pkgs/development/androidenv/generate-platforms.sh
Executable file
4
pkgs/development/androidenv/generate-platforms.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
xsltproc --stringparam os linux generate-platforms.xsl repository-7.xml > platforms-linux.nix
|
||||
xsltproc --stringparam os macosx generate-platforms.xsl repository-7.xml > platforms-macosx.nix
|
38
pkgs/development/androidenv/generate-platforms.xsl
Normal file
38
pkgs/development/androidenv/generate-platforms.xsl
Normal file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:sdk="http://schemas.android.com/sdk/android/repository/7">
|
||||
|
||||
<xsl:param name="os" />
|
||||
<xsl:output omit-xml-declaration="yes" indent="no" />
|
||||
<xsl:template match="/sdk:sdk-repository">
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildPlatform = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
<xsl:for-each select="sdk:platform">
|
||||
platform_<xsl:value-of select="sdk:api-level" /> = buildPlatform {
|
||||
name = "android-platform-<xsl:value-of select="sdk:version" />";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/<xsl:value-of select="sdk:archives/sdk:archive[@os=$os or @os='any']/sdk:url" />;
|
||||
sha1 = "<xsl:value-of select="sdk:archives/sdk:archive[@os=$os or @os='any']/sdk:checksum[@type='sha1']" />";
|
||||
};
|
||||
meta = {
|
||||
description = "<xsl:value-of select="sdk:description" />";
|
||||
<xsl:for-each select="sdk:desc-url">url = <xsl:value-of select="." />;</xsl:for-each>
|
||||
};
|
||||
};
|
||||
</xsl:for-each>
|
||||
}
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
3
pkgs/development/androidenv/generate-sysimages.sh
Executable file
3
pkgs/development/androidenv/generate-sysimages.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
xsltproc generate-sysimages.xsl repository-7.xml > sysimages.nix
|
36
pkgs/development/androidenv/generate-sysimages.xsl
Normal file
36
pkgs/development/androidenv/generate-sysimages.xsl
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:str="http://exslt.org/strings"
|
||||
xmlns:sdk="http://schemas.android.com/sdk/android/repository/7">
|
||||
|
||||
<xsl:output omit-xml-declaration="yes" indent="no" />
|
||||
|
||||
<xsl:template match="/sdk:sdk-repository">
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildSystemImage = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
<xsl:for-each select="sdk:system-image">
|
||||
sysimg_<xsl:value-of select="sdk:api-level" /> = buildSystemImage {
|
||||
name = "<xsl:value-of select="sdk:abi" />-<xsl:value-of select="sdk:api-level" />";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/<xsl:value-of select="sdk:archives/sdk:archive[@os='any']/sdk:url" />;
|
||||
sha1 = "<xsl:value-of select="sdk:archives/sdk:archive[@os='any']/sdk:checksum[@type='sha1']" />";
|
||||
};
|
||||
};
|
||||
</xsl:for-each>
|
||||
}
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
41
pkgs/development/androidenv/platform-tools.nix
Normal file
41
pkgs/development/androidenv/platform-tools.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{stdenv, stdenv_32bit, fetchurl, unzip, zlib, ncurses}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "android-platform-tools-r15_rc7";
|
||||
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
|
||||
then fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/platform-tools_r15_rc7-linux.zip;
|
||||
sha1 = "444e12ba413341282cd810d2e4bdb49975c95758";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/platform-tools_r15_rc7-macosx.zip;
|
||||
sha1 = "974eac4afbe404278fcda8f8cd39b55c82be012d";
|
||||
}
|
||||
else throw "System ${stdenv.system} not supported!";
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
cd platform-tools
|
||||
|
||||
${stdenv.lib.optionalString (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
|
||||
''
|
||||
for i in aapt adb aidl dexdump fastboot llvm-rs-cc
|
||||
do
|
||||
patchelf --set-interpreter ${stdenv_32bit.gcc.libc}/lib/ld-linux.so.2 $i
|
||||
done
|
||||
|
||||
patchelf --set-rpath ${zlib}/lib:${stdenv_32bit.gcc.gcc}/lib aapt
|
||||
patchelf --set-rpath ${ncurses}/lib:${stdenv_32bit.gcc.gcc}/lib adb
|
||||
patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib aidl
|
||||
patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib fastboot
|
||||
patchelf --set-rpath ${zlib}/lib:${stdenv_32bit.gcc.gcc}/lib dexdump
|
||||
patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib llvm-rs-cc
|
||||
''}
|
||||
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
}
|
198
pkgs/development/androidenv/platforms-linux.nix
Normal file
198
pkgs/development/androidenv/platforms-linux.nix
Normal file
@ -0,0 +1,198 @@
|
||||
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildPlatform = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
|
||||
platform_2 = buildPlatform {
|
||||
name = "android-platform-1.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-1.1_r1-linux.zip;
|
||||
sha1 = "c054d25c9b4c6251fa49c2f9c54336998679d3fe";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 1.1_r1";
|
||||
url = http://developer.android.com/sdk/android-1.1.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_3 = buildPlatform {
|
||||
name = "android-platform-1.5";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-1.5_r04-linux.zip;
|
||||
sha1 = "5c134b7df5f4b8bd5b61ba93bdaebada8fa3468c";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 1.5_r3";
|
||||
url = http://developer.android.com/sdk/android-1.5.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_4 = buildPlatform {
|
||||
name = "android-platform-1.6";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-1.6_r03-linux.zip;
|
||||
sha1 = "483ed088e45bbdf3444baaf9250c8b02e5383cb0";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 1.6_r2";
|
||||
url = http://developer.android.com/sdk/android-1.6.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_5 = buildPlatform {
|
||||
name = "android-platform-2.0";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.0_r01-linux.zip;
|
||||
sha1 = "be9be6a99ca32875c96ec7f91160ca9fce7e3c7d";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.0, revision 1";
|
||||
url = http://developer.android.com/sdk/android-2.0.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_6 = buildPlatform {
|
||||
name = "android-platform-2.0.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.0.1_r01-linux.zip;
|
||||
sha1 = "ce2c971dce352aa28af06bda92a070116aa5ae1a";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.0.1_r1";
|
||||
url = http://developer.android.com/sdk/android-2.0.1.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_7 = buildPlatform {
|
||||
name = "android-platform-2.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.1_r03-linux.zip;
|
||||
sha1 = "5ce51b023ac19f8738500b1007a1da5de2349a1e";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.1_r3";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_8 = buildPlatform {
|
||||
name = "android-platform-2.2";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.2_r03-linux.zip;
|
||||
sha1 = "231262c63eefdff8fd0386e9ccfefeb27a8f9202";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.2_r3";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_9 = buildPlatform {
|
||||
name = "android-platform-2.3.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip;
|
||||
sha1 = "209f8a7a8b2cb093fce858b8b55fed3ba5206773";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.3.1_r2";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_10 = buildPlatform {
|
||||
name = "android-platform-2.3.3";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.3.3_r02-linux.zip;
|
||||
sha1 = "887e37783ec32f541ea33c2c649dda648e8e6fb3";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.3.3._r2";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_11 = buildPlatform {
|
||||
name = "android-platform-3.0";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-3.0_r02-linux.zip;
|
||||
sha1 = "2c7d4bd13f276e76f6bbd87315fe27aba351dd37";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 3.0, revision 2";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_12 = buildPlatform {
|
||||
name = "android-platform-3.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-3.1_r03-linux.zip;
|
||||
sha1 = "4a50a6679cd95bb68bb5fc032e754cd7c5e2b1bf";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 3.1, revision 3";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_13 = buildPlatform {
|
||||
name = "android-platform-3.2";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-3.2_r01-linux.zip;
|
||||
sha1 = "6189a500a8c44ae73a439604363de93591163cd9";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 3.2, revision 1";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_14 = buildPlatform {
|
||||
name = "android-platform-4.0";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-14_r03.zip;
|
||||
sha1 = "41ba83b51e886461628c41b1b4d47762e0688ed5";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 4.0";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
platform_15 = buildPlatform {
|
||||
name = "android-platform-4.0.3";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-15_r03.zip;
|
||||
sha1 = "23da24610a8da51054c5391001c51ce43a778b97";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 4.0.3";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
platform_16 = buildPlatform {
|
||||
name = "android-platform-4.1.2";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-16_r03.zip;
|
||||
sha1 = "80d9ffef58168f9bccd862830e2ee51f686b167e";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 4.1";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
198
pkgs/development/androidenv/platforms-macosx.nix
Normal file
198
pkgs/development/androidenv/platforms-macosx.nix
Normal file
@ -0,0 +1,198 @@
|
||||
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildPlatform = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
|
||||
platform_2 = buildPlatform {
|
||||
name = "android-platform-1.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-1.1_r1-macosx.zip;
|
||||
sha1 = "e21dbcff45b7356657449ebb3c7e941be2bb5ebe";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 1.1_r1";
|
||||
url = http://developer.android.com/sdk/android-1.1.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_3 = buildPlatform {
|
||||
name = "android-platform-1.5";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-1.5_r04-macosx.zip;
|
||||
sha1 = "d3a67c2369afa48b6c3c7624de5031c262018d1e";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 1.5_r3";
|
||||
url = http://developer.android.com/sdk/android-1.5.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_4 = buildPlatform {
|
||||
name = "android-platform-1.6";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-1.6_r03-macosx.zip;
|
||||
sha1 = "bdafad44f5df9f127979bdb21a1fdd87ee3cd625";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 1.6_r2";
|
||||
url = http://developer.android.com/sdk/android-1.6.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_5 = buildPlatform {
|
||||
name = "android-platform-2.0";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.0_r01-macosx.zip;
|
||||
sha1 = "2a866d0870dbba18e0503cd41e5fae988a21b314";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.0, revision 1";
|
||||
url = http://developer.android.com/sdk/android-2.0.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_6 = buildPlatform {
|
||||
name = "android-platform-2.0.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.0.1_r01-macosx.zip;
|
||||
sha1 = "c3096f80d75a6fc8cb38ef8a18aec920e53d42c0";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.0.1_r1";
|
||||
url = http://developer.android.com/sdk/android-2.0.1.html;
|
||||
};
|
||||
};
|
||||
|
||||
platform_7 = buildPlatform {
|
||||
name = "android-platform-2.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.1_r03-linux.zip;
|
||||
sha1 = "5ce51b023ac19f8738500b1007a1da5de2349a1e";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.1_r3";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_8 = buildPlatform {
|
||||
name = "android-platform-2.2";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.2_r03-linux.zip;
|
||||
sha1 = "231262c63eefdff8fd0386e9ccfefeb27a8f9202";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.2_r3";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_9 = buildPlatform {
|
||||
name = "android-platform-2.3.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip;
|
||||
sha1 = "209f8a7a8b2cb093fce858b8b55fed3ba5206773";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.3.1_r2";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_10 = buildPlatform {
|
||||
name = "android-platform-2.3.3";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-2.3.3_r02-linux.zip;
|
||||
sha1 = "887e37783ec32f541ea33c2c649dda648e8e6fb3";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 2.3.3._r2";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_11 = buildPlatform {
|
||||
name = "android-platform-3.0";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-3.0_r02-linux.zip;
|
||||
sha1 = "2c7d4bd13f276e76f6bbd87315fe27aba351dd37";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 3.0, revision 2";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_12 = buildPlatform {
|
||||
name = "android-platform-3.1";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-3.1_r03-linux.zip;
|
||||
sha1 = "4a50a6679cd95bb68bb5fc032e754cd7c5e2b1bf";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 3.1, revision 3";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_13 = buildPlatform {
|
||||
name = "android-platform-3.2";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-3.2_r01-linux.zip;
|
||||
sha1 = "6189a500a8c44ae73a439604363de93591163cd9";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 3.2, revision 1";
|
||||
url = http://developer.android.com/sdk/;
|
||||
};
|
||||
};
|
||||
|
||||
platform_14 = buildPlatform {
|
||||
name = "android-platform-4.0";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-14_r03.zip;
|
||||
sha1 = "41ba83b51e886461628c41b1b4d47762e0688ed5";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 4.0";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
platform_15 = buildPlatform {
|
||||
name = "android-platform-4.0.3";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-15_r03.zip;
|
||||
sha1 = "23da24610a8da51054c5391001c51ce43a778b97";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 4.0.3";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
platform_16 = buildPlatform {
|
||||
name = "android-platform-4.1.2";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-16_r03.zip;
|
||||
sha1 = "80d9ffef58168f9bccd862830e2ee51f686b167e";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 4.1";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
928
pkgs/development/androidenv/repository-7.xml
Normal file
928
pkgs/development/androidenv/repository-7.xml
Normal file
@ -0,0 +1,928 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* Copyright (C) 2009 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
-->
|
||||
<sdk:sdk-repository xmlns:sdk="http://schemas.android.com/sdk/android/repository/7" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<sdk:license id="android-sdk-license" type="text">This is the Android Software Development Kit License Agreement.
|
||||
|
||||
1. Introduction
|
||||
|
||||
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
|
||||
|
||||
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
|
||||
2. Accepting this License Agreement
|
||||
|
||||
2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement.
|
||||
|
||||
2.2 You can accept this License Agreement by:
|
||||
|
||||
(A) clicking to accept or agree to this License Agreement, where this option is made available to you; or
|
||||
|
||||
(B) by actually using the SDK. In this case, you agree that use of the SDK constitutes acceptance of the Licensing Agreement from that point onwards.
|
||||
|
||||
2.3 You may not use the SDK and may not accept the Licensing Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
|
||||
|
||||
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the Licensing Agreement or use the SDK on behalf of your employer or other entity.
|
||||
|
||||
3. SDK License from Google
|
||||
|
||||
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non- assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
|
||||
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
|
||||
3.3 Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. Except to the extent required by applicable third party licenses, you may not load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
|
||||
|
||||
3.4 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
|
||||
|
||||
3.5 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
|
||||
|
||||
3.6 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
|
||||
|
||||
3.7 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
|
||||
|
||||
4. Use of the SDK by You
|
||||
|
||||
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
|
||||
|
||||
4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
|
||||
|
||||
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, your must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
|
||||
|
||||
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Android platform and/or applications for the Android platform, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
|
||||
|
||||
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
|
||||
|
||||
5. Your Developer Credentials
|
||||
|
||||
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
|
||||
|
||||
6. Privacy and Information
|
||||
|
||||
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
|
||||
|
||||
6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
|
||||
|
||||
7. Third Party Applications for the Android Platform
|
||||
|
||||
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
|
||||
|
||||
7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
|
||||
|
||||
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties.
|
||||
|
||||
8. Using Android APIs
|
||||
|
||||
8.1 Google Data APIs
|
||||
|
||||
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
|
||||
|
||||
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
9. Terminating this License Agreement
|
||||
|
||||
9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below.
|
||||
|
||||
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
|
||||
|
||||
9.3 Google may at any time, terminate this License Agreement with you if:
|
||||
|
||||
(A) you have breached any provision of this License Agreement; or
|
||||
|
||||
(B) Google is required to do so by law; or
|
||||
|
||||
(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
|
||||
|
||||
(D) Google decides to no longer providing the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
|
||||
|
||||
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
|
||||
|
||||
10. DISCLAIMER OF WARRANTIES
|
||||
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
|
||||
10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
|
||||
|
||||
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
|
||||
11. LIMITATION OF LIABILITY
|
||||
|
||||
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
|
||||
|
||||
12. Indemnification
|
||||
|
||||
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement.
|
||||
|
||||
13. Changes to the License Agreement
|
||||
|
||||
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
|
||||
|
||||
14. General Legal Terms
|
||||
|
||||
14.1 This License Agreement constitute the whole legal agreement between you and Google and govern your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the SDK.
|
||||
|
||||
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
|
||||
|
||||
14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License Agreement is invalid, then that provision will be removed from this License Agreement without affecting the rest of this License Agreement. The remaining provisions of this License Agreement will continue to be valid and enforceable.
|
||||
|
||||
14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to this License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to this License Agreement.
|
||||
|
||||
14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
|
||||
|
||||
14.6 The rights granted in this License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under this License Agreement without the prior written approval of the other party.
|
||||
|
||||
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
|
||||
|
||||
April 10, 2009
|
||||
</sdk:license>
|
||||
|
||||
<!-- PLATFORMS ........................ -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>1.1</sdk:version>
|
||||
<sdk:api-level>2</sdk:api-level>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 1.1_r1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/android-1.1.html</sdk:desc-url>
|
||||
<sdk:obsolete/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>46828615</sdk:size>
|
||||
<sdk:checksum type="sha1">a4060f29ed39fc929c302836d488998c53c3002e</sdk:checksum>
|
||||
<sdk:url>android-1.1_r1-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>45584305</sdk:size>
|
||||
<sdk:checksum type="sha1">e21dbcff45b7356657449ebb3c7e941be2bb5ebe</sdk:checksum>
|
||||
<sdk:url>android-1.1_r1-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>45476658</sdk:size>
|
||||
<sdk:checksum type="sha1">c054d25c9b4c6251fa49c2f9c54336998679d3fe</sdk:checksum>
|
||||
<sdk:url>android-1.1_r1-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated manually from earlier versions -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>1.5</sdk:version>
|
||||
<sdk:api-level>3</sdk:api-level>
|
||||
<sdk:revision>04</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>6</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 1.5_r3</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/android-1.5.html</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>54624370</sdk:size>
|
||||
<sdk:checksum type="sha1">5bb106d2e40d481edd337b0833093843e15fe49a</sdk:checksum>
|
||||
<sdk:url>android-1.5_r04-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>52440607</sdk:size>
|
||||
<sdk:checksum type="sha1">d3a67c2369afa48b6c3c7624de5031c262018d1e</sdk:checksum>
|
||||
<sdk:url>android-1.5_r04-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>53348669</sdk:size>
|
||||
<sdk:checksum type="sha1">5c134b7df5f4b8bd5b61ba93bdaebada8fa3468c</sdk:checksum>
|
||||
<sdk:url>android-1.5_r04-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>1.6</sdk:version>
|
||||
<sdk:api-level>4</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>03</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>6</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 1.6_r2</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/android-1.6.html</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>63454485</sdk:size>
|
||||
<sdk:checksum type="sha1">483ed088e45bbdf3444baaf9250c8b02e5383cb0</sdk:checksum>
|
||||
<sdk:url>android-1.6_r03-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>62418496</sdk:size>
|
||||
<sdk:checksum type="sha1">bdafad44f5df9f127979bdb21a1fdd87ee3cd625</sdk:checksum>
|
||||
<sdk:url>android-1.6_r03-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>64654625</sdk:size>
|
||||
<sdk:checksum type="sha1">ce0b5e4ffaf12ca4fd07c2da71a8a1ab4a03dc22</sdk:checksum>
|
||||
<sdk:url>android-1.6_r03-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Thu Oct 22 10:16:34 PDT 2009 using eclair-sdk 17704: Platform. Addon. Tools. Doc. -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>2.0</sdk:version>
|
||||
<sdk:api-level>5</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>3</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 2.0, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/android-2.0.html</sdk:desc-url>
|
||||
<sdk:obsolete/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>75095268</sdk:size>
|
||||
<sdk:checksum type="sha1">be9be6a99ca32875c96ec7f91160ca9fce7e3c7d</sdk:checksum>
|
||||
<sdk:url>android-2.0_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>74956356</sdk:size>
|
||||
<sdk:checksum type="sha1">2a866d0870dbba18e0503cd41e5fae988a21b314</sdk:checksum>
|
||||
<sdk:url>android-2.0_r01-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>76288040</sdk:size>
|
||||
<sdk:checksum type="sha1">aeb623217ff88b87216d6eb7dbc846ed53f68f57</sdk:checksum>
|
||||
<sdk:url>android-2.0_r01-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Mon Nov 23 14:08:02 PST 2009 using eclair-release 20723: Platform. Addon. -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>2.0.1</sdk:version>
|
||||
<sdk:api-level>6</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>4</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 2.0.1_r1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/android-2.0.1.html</sdk:desc-url>
|
||||
<sdk:obsolete/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>79192618</sdk:size>
|
||||
<sdk:checksum type="sha1">ce2c971dce352aa28af06bda92a070116aa5ae1a</sdk:checksum>
|
||||
<sdk:url>android-2.0.1_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>79035527</sdk:size>
|
||||
<sdk:checksum type="sha1">c3096f80d75a6fc8cb38ef8a18aec920e53d42c0</sdk:checksum>
|
||||
<sdk:url>android-2.0.1_r01-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>80385601</sdk:size>
|
||||
<sdk:checksum type="sha1">255781ebe4509d9707d0e77edda2815e2bc216e6</sdk:checksum>
|
||||
<sdk:url>android-2.0.1_r01-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Thu May 6 15:57:41 PDT 2010 using eclair 35983: Platform. -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>2.1</sdk:version>
|
||||
<sdk:api-level>7</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>03</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>8</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 2.1_r3</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>70142829</sdk:size>
|
||||
<sdk:checksum type="sha1">5ce51b023ac19f8738500b1007a1da5de2349a1e</sdk:checksum>
|
||||
<sdk:url>android-2.1_r03-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Wed Jun 30 16:13:06 PDT 2010 using froyo-release 43546: Platform. Addon. -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>2.2</sdk:version>
|
||||
<sdk:api-level>8</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>03</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>8</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 2.2_r3</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>74652366</sdk:size>
|
||||
<sdk:checksum type="sha1">231262c63eefdff8fd0386e9ccfefeb27a8f9202</sdk:checksum>
|
||||
<sdk:url>android-2.2_r03-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Thu Jan 20 09:40:59 PST 2011 using gingerbread-sdk-release 93351: Platform. -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>2.3.1</sdk:version>
|
||||
<sdk:api-level>9</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>02</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>8</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 2.3.1_r2</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:obsolete/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>78732563</sdk:size>
|
||||
<sdk:checksum type="sha1">209f8a7a8b2cb093fce858b8b55fed3ba5206773</sdk:checksum>
|
||||
<sdk:url>android-2.3.1_r02-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Fri Feb 4 16:41:27 PST 2011 using gingerbread-release 101070: Platform. -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>2.3.3</sdk:version>
|
||||
<sdk:api-level>10</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>02</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>8</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 2.3.3._r2</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>85470907</sdk:size>
|
||||
<sdk:checksum type="sha1">887e37783ec32f541ea33c2c649dda648e8e6fb3</sdk:checksum>
|
||||
<sdk:url>android-2.3.3_r02-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Thu Feb 17 08:41:10 PST 2011 using honeycomb 104254: Platform. -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>3.0</sdk:version>
|
||||
<sdk:api-level>11</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>02</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>10</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 3.0, revision 2</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>104513908</sdk:size>
|
||||
<sdk:checksum type="sha1">2c7d4bd13f276e76f6bbd87315fe27aba351dd37</sdk:checksum>
|
||||
<sdk:url>android-3.0_r02-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Wed May 4 19:39:17 PDT 2011 using honeycomb-mr1 123685: Platform.
|
||||
r2: layoutlib.jar from 3.0 to fix issue with ADT 10.
|
||||
-->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>3.1</sdk:version>
|
||||
<sdk:api-level>12</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>03</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>11</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 3.1, revision 3</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>106472351</sdk:size>
|
||||
<sdk:checksum type="sha1">4a50a6679cd95bb68bb5fc032e754cd7c5e2b1bf</sdk:checksum>
|
||||
<sdk:url>android-3.1_r03-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Fri Jul 15 11:50:12 PDT 2011 using honeycomb-mr2-release 140714: Platform. -->
|
||||
|
||||
<sdk:platform>
|
||||
<sdk:version>3.2</sdk:version>
|
||||
<sdk:api-level>13</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>12</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:description>Android SDK Platform 3.2, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>108426536</sdk:size>
|
||||
<sdk:checksum type="sha1">6189a500a8c44ae73a439604363de93591163cd9</sdk:checksum>
|
||||
<sdk:url>android-3.2_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
<!-- Generated at Thu Dec 15 16:53:11 2011 from git_ics-mr0 @ 238991 -->
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 4.0</sdk:description>
|
||||
<sdk:version>4.0</sdk:version>
|
||||
<sdk:api-level>14</sdk:api-level>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>7</sdk:api>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
</sdk:layoutlib>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>45919570</sdk:size>
|
||||
<sdk:checksum type="sha1">41ba83b51e886461628c41b1b4d47762e0688ed5</sdk:checksum>
|
||||
<sdk:url>android-14_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
<!-- Generated at Fri Mar 16 11:22:43 2012 from ics-mr1 @ 291902 -->
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 4.0.3</sdk:description>
|
||||
<sdk:version>4.0.3</sdk:version>
|
||||
<sdk:api-level>15</sdk:api-level>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>15</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>7</sdk:api>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
</sdk:layoutlib>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>44414679</sdk:size>
|
||||
<sdk:checksum type="sha1">23da24610a8da51054c5391001c51ce43a778b97</sdk:checksum>
|
||||
<sdk:url>android-15_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
<!-- Generated at Tue Oct 9 13:42:01 2012 from git_jb-dev @ 495790 -->
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 4.1</sdk:description>
|
||||
<sdk:version>4.1.2</sdk:version>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>20</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>8</sdk:api>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
</sdk:layoutlib>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>47995505</sdk:size>
|
||||
<sdk:checksum type="sha1">80d9ffef58168f9bccd862830e2ee51f686b167e</sdk:checksum>
|
||||
<sdk:url>android-16_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- SYSTEM IMAGES ........................ -->
|
||||
|
||||
<sdk:system-image>
|
||||
<!-- Generated at Wed Dec 7 13:47:01 2011 from git_ics-mr0 @ 229537 -->
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 4.0</sdk:description>
|
||||
<sdk:api-level>14</sdk:api-level>
|
||||
<sdk:abi>armeabi-v7a</sdk:abi>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>99621822</sdk:size>
|
||||
<sdk:checksum type="sha1">d8991b0c06b18d7d6ed4169d67460ee1add6661b</sdk:checksum>
|
||||
<sdk:url>sysimg_armv7a-14_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
<!-- Generated at Fri Mar 30 10:43:23 2012 from ics-mr1 @ 302030 -->
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 4.0.3</sdk:description>
|
||||
<sdk:api-level>15</sdk:api-level>
|
||||
<sdk:abi>armeabi-v7a</sdk:abi>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>96227377</sdk:size>
|
||||
<sdk:checksum type="sha1">1bf977d6cb4e0ad38dceac0c4863d1caa21f326e</sdk:checksum>
|
||||
<sdk:url>sysimg_armv7a-15_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
<!-- Generated at Tue Oct 9 13:43:08 2012 from git_jb-dev @ 495790 -->
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 4.1</sdk:description>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<sdk:abi>armeabi-v7a</sdk:abi>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>112528368</sdk:size>
|
||||
<sdk:checksum type="sha1">d1cddb23f17aad5821a089c403d4cddad2cf9ef7</sdk:checksum>
|
||||
<sdk:url>sysimg_armv7a-16_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
<!-- SAMPLES ........................ -->
|
||||
|
||||
<!-- Generated on Mon Feb 22 13:39:38 PST 2010 using eclair 25887: Samples. -->
|
||||
|
||||
<sdk:sample>
|
||||
<sdk:api-level>7</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:description>Android SDK Samples for Android API 7, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>7677831</sdk:size>
|
||||
<sdk:checksum type="sha1">51e4907f60f248ede5c58b54ce7b6ae0b473e0ca</sdk:checksum>
|
||||
<sdk:url>samples-2.1_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Tue May 11 19:15:20 PDT 2010 using froyo 36658: Samples. -->
|
||||
|
||||
<sdk:sample>
|
||||
<sdk:api-level>8</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:description>Android SDK Samples for Android API 8, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>7969716</sdk:size>
|
||||
<sdk:checksum type="sha1">d16d8bf2dd84cedf73b98b948d66461c8f19d6fb</sdk:checksum>
|
||||
<sdk:url>samples-2.2_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Tue Nov 30 19:39:34 PST 2010 using gingerbread 79962: Samples. -->
|
||||
|
||||
<sdk:sample>
|
||||
<sdk:api-level>9</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:description>Android SDK Samples for Android API 9, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:obsolete/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>8516326</sdk:size>
|
||||
<sdk:checksum type="sha1">36f7dd6c8b5dbb50b3cf3e3ac5209f3fe55db2aa</sdk:checksum>
|
||||
<sdk:url>samples-2.3_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Tue Feb 8 17:37:15 PST 2011 using gingerbread 102121: Samples. -->
|
||||
|
||||
<sdk:sample>
|
||||
<sdk:api-level>10</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:description>Android SDK Samples for Android API 10, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>8539583</sdk:size>
|
||||
<sdk:checksum type="sha1">93b0c3f3bdf5b07f1f115100b4954f0665297a0d</sdk:checksum>
|
||||
<sdk:url>samples-2.3.3_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Thu Feb 17 08:45:49 PST 2011 using honeycomb 104254: Samples. -->
|
||||
|
||||
<sdk:sample>
|
||||
<sdk:api-level>11</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:description>Android SDK Samples for Android API 11, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>11976920</sdk:size>
|
||||
<sdk:checksum type="sha1">3749ace584631270268d65bb1d0ad61b0d691682</sdk:checksum>
|
||||
<sdk:url>samples-3.0_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Wed May 4 19:49:56 PDT 2011 using honeycomb-mr1 123685: Samples. -->
|
||||
|
||||
<sdk:sample>
|
||||
<sdk:api-level>12</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:description>Android SDK Samples for Android API 12, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>12150514</sdk:size>
|
||||
<sdk:checksum type="sha1">df0ace37cbca73373fe94080f94c71557cac73a7</sdk:checksum>
|
||||
<sdk:url>samples-3.1_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Fri Jul 15 11:52:24 PDT 2011 using honeycomb-mr2 142871: Samples. -->
|
||||
|
||||
<sdk:sample>
|
||||
<sdk:api-level>13</sdk:api-level>
|
||||
<sdk:codename/>
|
||||
<sdk:revision>01</sdk:revision>
|
||||
<sdk:description>Android SDK Samples for Android API 13, revision 1</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>12193502</sdk:size>
|
||||
<sdk:checksum type="sha1">078bcf1abc1cb8921f3fa482c252963a782bed60</sdk:checksum>
|
||||
<sdk:url>samples-3.2_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<sdk:sample>
|
||||
<!-- Generated at Wed Dec 7 13:48:27 2011 from git_ics-mr0 @ 234950 -->
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:api-level>14</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>16253619</sdk:size>
|
||||
<sdk:checksum type="sha1">1312c22ab0b650e26835cc3945d4ff8cea183416</sdk:checksum>
|
||||
<sdk:url>samples-14_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<sdk:sample>
|
||||
<!-- Generated at Fri Mar 16 11:27:52 2012 from ics-mr1 @ 291902 -->
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:api-level>15</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>16366656</sdk:size>
|
||||
<sdk:checksum type="sha1">042f368c5b09eca4d278264e6dbf9c12c5f73d1f</sdk:checksum>
|
||||
<sdk:url>samples-15_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<sdk:sample>
|
||||
<!-- Generated at Sun Jun 24 14:02:06 2012 from git_jb-release @ 391408 -->
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>14729945</sdk:size>
|
||||
<sdk:checksum type="sha1">dce3a2d41db50a381ef47ee8bddbe928520e685e</sdk:checksum>
|
||||
<sdk:url>samples-16_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- PLATFORM-TOOLS ........................ -->
|
||||
|
||||
<sdk:platform-tool>
|
||||
<!-- Generated at Thu Jul 19 18:38:34 2012 from git_jb-dev @ 407773 -->
|
||||
<sdk:revision>
|
||||
<sdk:major>14</sdk:major>
|
||||
</sdk:revision>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>11159472</sdk:size>
|
||||
<sdk:checksum type="sha1">6028258d8f2fba14d8b40c3cf507afa0289aaa13</sdk:checksum>
|
||||
<sdk:url>platform-tools_r14-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>10985068</sdk:size>
|
||||
<sdk:checksum type="sha1">6e2bc329c9485eb383172cbc2cde8b0c0cd1843f</sdk:checksum>
|
||||
<sdk:url>platform-tools_r14-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>11342461</sdk:size>
|
||||
<sdk:checksum type="sha1">4a015090c6a209fc33972acdbc65745e0b3c08b9</sdk:checksum>
|
||||
<sdk:url>platform-tools_r14-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:platform-tool>
|
||||
|
||||
<sdk:platform-tool>
|
||||
<!-- Generated at Wed Oct 17 15:42:13 2012 from git_jb-dev @ 505673 -->
|
||||
<sdk:revision>
|
||||
<sdk:major>15</sdk:major>
|
||||
<sdk:preview>9</sdk:preview>
|
||||
</sdk:revision>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>11170483</sdk:size>
|
||||
<sdk:checksum type="sha1">853afdf5f63aaac61dcfd016a7acb930b6dac377</sdk:checksum>
|
||||
<sdk:url>platform-tools_r15_rc9-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>10996592</sdk:size>
|
||||
<sdk:checksum type="sha1">c1aa2bc0d6f7dac7e292151ee77752bbfb10d1c5</sdk:checksum>
|
||||
<sdk:url>platform-tools_r15_rc9-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>11345162</sdk:size>
|
||||
<sdk:checksum type="sha1">22ac626ec3526b606d358193a16df10179f1d4f5</sdk:checksum>
|
||||
<sdk:url>platform-tools_r15_rc9-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:platform-tool>
|
||||
|
||||
<!-- TOOLS ........................ -->
|
||||
|
||||
<sdk:tool>
|
||||
<!-- Generated at Thu Aug 9 13:16:38 2012 from git_tools_r20 @ 427395 -->
|
||||
<sdk:revision>
|
||||
<sdk:major>20</sdk:major>
|
||||
<sdk:minor>0</sdk:minor>
|
||||
<sdk:micro>3</sdk:micro>
|
||||
</sdk:revision>
|
||||
<sdk:min-platform-tools-rev>
|
||||
<sdk:major>12</sdk:major>
|
||||
</sdk:min-platform-tools-rev>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>90272048</sdk:size>
|
||||
<sdk:checksum type="sha1">54fb94168e631e211910f88aa40c532205730dd4</sdk:checksum>
|
||||
<sdk:url>tools_r20.0.3-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>82723559</sdk:size>
|
||||
<sdk:checksum type="sha1">09bc633b406ae81981e3a0db19426acbb01ef219</sdk:checksum>
|
||||
<sdk:url>tools_r20.0.3-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>58197071</sdk:size>
|
||||
<sdk:checksum type="sha1">09cee5ff3226277a6f0c07dcd29cba4ffc2e1da4</sdk:checksum>
|
||||
<sdk:url>tools_r20.0.3-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:tool>
|
||||
|
||||
<sdk:tool>
|
||||
<!-- Generated at Wed Oct 17 15:40:42 2012 from git_mirror-aosp-master @ 506320 -->
|
||||
<sdk:revision>
|
||||
<sdk:major>21</sdk:major>
|
||||
<sdk:preview>9</sdk:preview>
|
||||
</sdk:revision>
|
||||
<sdk:min-platform-tools-rev>
|
||||
<sdk:major>15</sdk:major>
|
||||
<sdk:preview>9</sdk:preview>
|
||||
</sdk:min-platform-tools-rev>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>98865433</sdk:size>
|
||||
<sdk:checksum type="sha1">a1379cef10f33e74061f6935fd74922b0351addb</sdk:checksum>
|
||||
<sdk:url>tools_r21_rc9-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>91377922</sdk:size>
|
||||
<sdk:checksum type="sha1">dde958cb26276b632a02ca6d530506c09ce4e086</sdk:checksum>
|
||||
<sdk:url>tools_r21_rc9-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>65655657</sdk:size>
|
||||
<sdk:checksum type="sha1">43803f6179707ca6bd4a37e129bcf022ebda0043</sdk:checksum>
|
||||
<sdk:url>tools_r21_rc9-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:tool>
|
||||
|
||||
<!-- DOCS ........................ -->
|
||||
|
||||
<sdk:doc>
|
||||
<!-- Generated at Tue Oct 9 14:08:23 2012 from git_jb-dev @ 495790 -->
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>164244602</sdk:size>
|
||||
<sdk:checksum type="sha1">3168152f52f5edc0c85523c875c96e7431ab4545</sdk:checksum>
|
||||
<sdk:url>docs-16_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:doc>
|
||||
|
||||
<!-- SOURCES ........................ -->
|
||||
|
||||
<sdk:source>
|
||||
<!-- Generated at Wed Dec 7 13:48:11 2011 from git_ics-mr0 @ 234950 -->
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:api-level>14</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>16152383</sdk:size>
|
||||
<sdk:checksum type="sha1">eaf4ed7dcac46e68516a1b4aa5b0d9e5a39a7555</sdk:checksum>
|
||||
<sdk:url>sources-14_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:source>
|
||||
|
||||
<sdk:source>
|
||||
<!-- Generated at Fri Mar 30 10:43:44 2012 from ics-mr1 @ 302030 -->
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:api-level>15</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>16468746</sdk:size>
|
||||
<sdk:checksum type="sha1">e5992a5747c9590783fbbdd700337bf0c9f6b1fa</sdk:checksum>
|
||||
<sdk:url>sources-15_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:source>
|
||||
|
||||
<sdk:source>
|
||||
<!-- Generated at Thu Jul 19 18:39:42 2012 from git_jb-release @ 403059 -->
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>17876720</sdk:size>
|
||||
<sdk:checksum type="sha1">0f83c14ed333c45d962279ab5d6bc98a0269ef84</sdk:checksum>
|
||||
<sdk:url>sources-16_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:source>
|
||||
</sdk:sdk-repository>
|
17
pkgs/development/androidenv/support.nix
Normal file
17
pkgs/development/androidenv/support.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "android-support";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/support_r10.zip;
|
||||
sha1 = "7c62e542d46ac3bdb89e1b90503d6afae557cf7d";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
}
|
42
pkgs/development/androidenv/sysimages.nix
Normal file
42
pkgs/development/androidenv/sysimages.nix
Normal file
@ -0,0 +1,42 @@
|
||||
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildSystemImage = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
|
||||
sysimg_14 = buildSystemImage {
|
||||
name = "armeabi-v7a-14";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-14_r02.zip;
|
||||
sha1 = "d8991b0c06b18d7d6ed4169d67460ee1add6661b";
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_15 = buildSystemImage {
|
||||
name = "armeabi-v7a-15";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-15_r02.zip;
|
||||
sha1 = "1bf977d6cb4e0ad38dceac0c4863d1caa21f326e";
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_16 = buildSystemImage {
|
||||
name = "armeabi-v7a-16";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-16_r03.zip;
|
||||
sha1 = "d1cddb23f17aad5821a089c403d4cddad2cf9ef7";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ cabal.mkDerivation (self: {
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [ Agda ];
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://wiki.portal.chalmers.se/agda/";
|
||||
description = "Command-line program for type-checking and compiling Agda programs";
|
||||
|
@ -80,7 +80,8 @@ stdenv.mkDerivation ({
|
||||
++ optional noSysDirs ./no-sys-dirs.patch
|
||||
++ optional (noSysDirs && langFortran) ./no-sys-dirs-fortran.patch
|
||||
++ optional langJava ./java-jvgenmain-link.patch
|
||||
++ optional langVhdl ./ghdl-ortho-cflags.patch;
|
||||
++ optional langVhdl ./ghdl-ortho-cflags.patch
|
||||
++ optional langVhdl ./ghdl-runtime-o2.patch;
|
||||
|
||||
inherit noSysDirs profiledCompiler staticCompiler crossStageStatic
|
||||
binutilsCross libcCross;
|
||||
|
13
pkgs/development/compilers/gcc/4.3/ghdl-runtime-o2.patch
Normal file
13
pkgs/development/compilers/gcc/4.3/ghdl-runtime-o2.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/gcc/vhdl/Makefile.in b/gcc/vhdl/Makefile.in
|
||||
index b8d2ed0..0e8bd55 100644
|
||||
--- a/gcc/vhdl/Makefile.in
|
||||
+++ b/gcc/vhdl/Makefile.in
|
||||
@@ -682,7 +682,7 @@ install-ghdllib: ghdllib grt.lst $(STD93_SRCS) $(STD87_SRCS) \
|
||||
PDIR=`pwd` && cd $(DESTDIR)$(VHDL_LIB_DIR) && \
|
||||
$(MAKE) -f $$PDIR/Makefile REL_DIR=../../.. \
|
||||
LIBSRC_DIR="src" LIB93_DIR=lib/v93 LIB87_DIR=lib/v87 \
|
||||
- ANALYZE="$$PDIR/../ghdl -a --GHDL1=$$PDIR/../ghdl1 --ieee=none" \
|
||||
+ ANALYZE="$$PDIR/../ghdl -a --GHDL1=$$PDIR/../ghdl1 --ieee=none -Wc,-O2" \
|
||||
std.v93 std.v87 ieee.v93 ieee.v87 synopsys.v93 synopsys.v87 mentor.v93
|
||||
# Copy std_standard (this is done after libraries, since they remove dirs).
|
||||
$(INSTALL_DATA) std87_standard.o \
|
@ -60,8 +60,7 @@ let version = "4.7.2";
|
||||
# The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
|
||||
# target libraries and tools.
|
||||
++ optional langAda ./gnat-cflags.patch
|
||||
++ optional langFortran ./gfortran-driving.patch
|
||||
++ optional (stdenv.isGNU || crossGNU) ./hurd-sigrtmin.patch;
|
||||
++ optional langFortran ./gfortran-driving.patch;
|
||||
|
||||
javaEcj = fetchurl {
|
||||
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
|
||||
@ -206,8 +205,6 @@ stdenv.mkDerivation ({
|
||||
echo "setting \`NATIVE_SYSTEM_HEADER_DIR' and \`STANDARD_INCLUDE_DIR' to \`${libc}/include'..."
|
||||
sed -i "${gnu_h}" \
|
||||
-es'|#define STANDARD_INCLUDE_DIR.*$|#define STANDARD_INCLUDE_DIR "${libc}/include"|g'
|
||||
sed -i gcc/config/t-gnu \
|
||||
-es'|NATIVE_SYSTEM_HEADER_DIR.*$|NATIVE_SYSTEM_HEADER_DIR = ${libc}/include|g'
|
||||
''
|
||||
else if cross != null || stdenv.gcc.libc != null then
|
||||
# On NixOS, use the right path to the dynamic linker instead of
|
||||
@ -308,7 +305,6 @@ stdenv.mkDerivation ({
|
||||
else "install";
|
||||
|
||||
crossAttrs = {
|
||||
patches = patches ++ [ ./hurd-sigrtmin.patch ];
|
||||
AR = "${stdenv.cross.config}-ar";
|
||||
LD = "${stdenv.cross.config}-ld";
|
||||
CC = "${stdenv.cross.config}-gcc";
|
||||
|
@ -1,14 +0,0 @@
|
||||
GNU libc on GNU/Hurd doesn't define `__SIGRTMIN'.
|
||||
From <http://patch-tracker.debian.org/patch/series/view/gcc-4.6/4.6.3-1/hurd-fixes.diff>.
|
||||
|
||||
--- a/libgcc/generic-morestack.c 2011-12-19 21:14:52.000000000 +0100
|
||||
+++ b/libgcc/generic-morestack.c 2011-12-19 21:15:35.000000000 +0100
|
||||
@@ -507,7 +507,7 @@
|
||||
sigemptyset (&__morestack_initial_sp.mask);
|
||||
|
||||
sigfillset (&__morestack_fullmask);
|
||||
-#ifdef __GLIBC__
|
||||
+#if defined(__GLIBC__) && defined(__SIGRTMIN)
|
||||
/* In glibc, the first two real time signals are used by the NPTL
|
||||
threading library. By taking them out of the set of signals, we
|
||||
avoiding copying the signal mask in pthread_sigmask. More
|
@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, ghc, perl, gmp, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "7.7.20120912";
|
||||
version = "7.7.20121106";
|
||||
name = "ghc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://haskell.org/ghc/dist/current/dist/${name}-src.tar.bz2";
|
||||
sha256 = "0dilndcfs1nhs48nhi361bpffmbbyjaq1i6qnzn24vg34wckyrjg";
|
||||
sha256 = "1n3xj8arkzfvs3q1ymxsnbzs23ndsp8pl67sqirl837pkgcmq263";
|
||||
};
|
||||
|
||||
buildInputs = [ ghc perl gmp ncurses ];
|
||||
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
|
||||
buildMK = ''
|
||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||
DYNAMIC_BY_DEFAULT = NO
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
# construct.sh
|
||||
# example construction of JRE and JDK directories from the DLJ bundles
|
||||
#
|
||||
#
|
||||
# Copyright © 2006 Sun Microsystems, Inc.
|
||||
#
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
# "Software"), to deal in the Software without restriction, including
|
||||
@ -11,10 +11,10 @@
|
||||
# distribute, sublicense, and/or sell copies of the Software, and to
|
||||
# permit persons to whom the Software is furnished to do so, subject to
|
||||
# the following conditions:
|
||||
#
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
#
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
@ -22,7 +22,7 @@
|
||||
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
#
|
||||
# Sun, Sun Microsystems, the Sun logo and Java, Java HotSpot,
|
||||
# and JVM trademarks or registered trademarks of Sun Microsystems,
|
||||
# Inc. in the U.S. and other countries.
|
||||
@ -43,13 +43,13 @@ getargs() {
|
||||
exit 2
|
||||
fi
|
||||
# make sure javahome is the JDK
|
||||
javahome=`echo $undir/*/demo`
|
||||
javahome=`echo $undir/*/db/demo`
|
||||
if [ ! -d $javahome ]; then
|
||||
echo "${program}: unbundle directory incorrect: $undir"
|
||||
echo " expecting $undir/jdk1.5.0_xx"
|
||||
exit 2
|
||||
else
|
||||
javahome=`dirname $javahome`
|
||||
javahome=$(dirname $(dirname $javahome))
|
||||
fi
|
||||
# verify JDK dir
|
||||
jdkdirp=`dirname $jdkdir`
|
||||
@ -106,7 +106,7 @@ linkrel() {
|
||||
if [ $m -lt $c ]; then
|
||||
(( c = m ))
|
||||
fi
|
||||
for (( i = 0 ; i < c ; i++ )); do
|
||||
for (( i = 0 ; i < c ; i++ )); do
|
||||
if [ ${targetb[$i]} != ${linkb[$i]} ]; then
|
||||
# echo components differ, stopping
|
||||
break
|
||||
|
@ -28,18 +28,18 @@ in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name =
|
||||
if installjdk then "jdk-1.6.0_32b03" else "jre-1.6.0_32b03";
|
||||
if installjdk then "jdk-1.6.0_38b04" else "jre-1.6.0_38b04";
|
||||
|
||||
src =
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = http://www.java.net/download/jdk6/6u32/promoted/b03/binaries/jdk-6u32-ea-bin-b03-linux-i586-29_feb_2012.bin;
|
||||
md5 = "7c009afa399476c7d2791386235b8e3b";
|
||||
url = http://www.java.net/download/jdk6/6u38/promoted/b04/binaries/jdk-6u38-ea-bin-b04-linux-i586-31_oct_2012.bin;
|
||||
md5 = "0595473ad371981c7faa709798a5f78e";
|
||||
}
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = http://www.java.net/download/jdk6/6u32/promoted/b03/binaries/jdk-6u32-ea-bin-b03-linux-amd64-29_feb_2012.bin;
|
||||
md5 = "7f1a45531a04c372e5660a55c2dfdad8";
|
||||
url = http://www.java.net/download/jdk6/6u38/promoted/b04/binaries/jdk-6u38-ea-bin-b04-linux-amd64-31_oct_2012.bin;
|
||||
md5 = "b98c80a963915de32b1abe02c50385de";
|
||||
}
|
||||
else
|
||||
abort "jdk requires i686-linux or x86_64 linux";
|
||||
|
@ -1,13 +1,14 @@
|
||||
{ stdenv, fetchgit, gfortran, perl, m4, llvm, gmp, pcre, zlib
|
||||
, readline, fftwSinglePrec, fftw, libunwind, suitesparse, glpk, fetchurl
|
||||
, ncurses, libunistring, lighttpd, patchelf, openblas, liblapack
|
||||
, tcl, tk
|
||||
} :
|
||||
let
|
||||
realGcc = stdenv.gcc.gcc;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "julia";
|
||||
date = "20120922";
|
||||
date = "20121122";
|
||||
name = "${pname}-git-${date}";
|
||||
|
||||
grisu_ver = "1.1.1";
|
||||
@ -54,8 +55,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/JuliaLang/julia.git";
|
||||
rev = "e1ba1ebf09da42a5bd7f4ed18f1595ae06032b4c";
|
||||
sha256 = "187e67a7c6bf44469e0e0dda41072ac8f3a40380ea9364ed07a4cadc08965663";
|
||||
rev = "51076ef4c1b269de738b6185865b389601627eb7";
|
||||
sha256 = "1hbhxdiymkv0pd4dhr9wbvh1566ivfffhmafsjh8jcwh2f9fz90b";
|
||||
};
|
||||
|
||||
buildInputs = [ gfortran perl m4 gmp pcre llvm readline zlib
|
||||
@ -84,34 +85,33 @@ stdenv.mkDerivation rec {
|
||||
|
||||
sed -e 's@ cpp @ gcc -E @g' -i base/Makefile
|
||||
|
||||
export LDFLAGS="-L${suitesparse}/lib"
|
||||
export LDFLAGS="-L${suitesparse}/lib -L$out/lib/julia -Wl,-rpath,$out/lib/julia"
|
||||
|
||||
export GLPK_PREFIX="${glpk}/include"
|
||||
|
||||
mkdir -p "$out/lib"
|
||||
sed -e "s@/usr/local/lib@$out/lib@g" -i deps/Makefile
|
||||
sed -e "s@/usr/lib@$out/lib@g" -i deps/Makefile
|
||||
|
||||
export makeFlags="$makeFlags PREFIX=$out"
|
||||
|
||||
export makeFlags="$makeFlags PREFIX=$out SHELL=${stdenv.shell}"
|
||||
|
||||
export dontPatchELF=1
|
||||
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/usr/lib:$PWD/usr/lib/julia"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
make -C test/unicode all
|
||||
make -C extras glpk_h.jl GLPK_PREFIX="$GLPK_PREFIX"
|
||||
make -C test/unicode all SHELL="${stdenv.shell}"
|
||||
make -C extras glpk_h.jl GLPK_PREFIX="$GLPK_PREFIX" SHELL="${stdenv.shell}"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
ld -E --whole-archive --shared ${suitesparse}/lib/lib*[a-z].a -o "$out"/lib/libsuitesparse-shared.so
|
||||
for i in umfpack cholmod amd camd colamd ; do
|
||||
for i in umfpack cholmod amd camd colamd btf cxsparse ldl rbio spqr suitesparseconfig; do
|
||||
ln -s "libsuitesparse-shared.so" "$out/lib/lib$i.so"
|
||||
done
|
||||
ln -s "${lighttpd}/sbin/lighttpd" "$out/sbin/"
|
||||
ln -s "${lighttpd}/lib/"* "$out/lib/"
|
||||
|
||||
cp -r test examples "$out/lib/julia"
|
||||
ls -R > "$out/ls-R"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -117,6 +117,7 @@ stdenv.mkDerivation rec {
|
||||
./cppflags-include-fix.patch
|
||||
./printf-fix.patch
|
||||
./linux-version-check-fix.patch
|
||||
./no-crypto-restrictions.patch
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -Naur openjdk-orig/jdk/make/javax/crypto/Makefile openjdk/jdk/make/javax/crypto/Makefile
|
||||
--- openjdk-orig/jdk/make/javax/crypto/Makefile 2011-06-27 13:18:45.000000000 -0400
|
||||
+++ openjdk/jdk/make/javax/crypto/Makefile 2012-11-08 14:12:01.360718616 -0500
|
||||
@@ -156,7 +156,7 @@
|
||||
#
|
||||
|
||||
ifdef OPENJDK
|
||||
-all: build-jar install-jar build-policy install-limited
|
||||
+all: build-jar install-jar build-policy install-unlimited
|
||||
else # OPENJDK
|
||||
ifeq ($(strip $(FILES_java)),)
|
||||
all:
|
@ -1,23 +1,40 @@
|
||||
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl }:
|
||||
|
||||
let version = "R14B04"; in
|
||||
let version = "14B04"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "erlang-" + version;
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_src_" + version + ".tar.gz";
|
||||
url = "http://www.erlang.org/download/otp_src_R${version}.tar.gz";
|
||||
sha256 = "0vlvjlg8vzcy6inb4vj00bnj0aarvpchzxwhmi492nv31s8kb6q9";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ perl gnum4 ncurses openssl ];
|
||||
|
||||
|
||||
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
|
||||
|
||||
|
||||
preConfigure = ''
|
||||
export HOME=$PWD/../
|
||||
sed -e s@/bin/pwd@pwd@g -i otp_build
|
||||
'';
|
||||
|
||||
|
||||
configureFlags = "--with-ssl=${openssl}";
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.erlang.org/";
|
||||
description = "Programming language used for massively scalable soft real-time systems";
|
||||
|
||||
longDescription = ''
|
||||
Erlang is a programming language used to build massively scalable
|
||||
soft real-time systems with requirements on high availability.
|
||||
Some of its uses are in telecoms, banking, e-commerce, computer
|
||||
telephony and instant messaging. Erlang's runtime system has
|
||||
built-in support for concurrency, distribution and fault
|
||||
tolerance.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
45
pkgs/development/interpreters/erlang/R15B02.nix
Normal file
45
pkgs/development/interpreters/erlang/R15B02.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl
|
||||
, wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }:
|
||||
|
||||
assert wxSupport -> mesa != null && wxGTK != null && xlibs != null;
|
||||
|
||||
let version = "15B02"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "erlang-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_src_R${version}.tar.gz";
|
||||
sha256 = "03eb0bd640916666ff83df1330912225fbf555e0c8cf58bb35d8307a314f1158";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ perl gnum4 ncurses openssl
|
||||
] ++ stdenv.lib.optional wxSupport [ mesa wxGTK xlibs.libX11 ];
|
||||
|
||||
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
|
||||
|
||||
preConfigure = ''
|
||||
export HOME=$PWD/../
|
||||
sed -e s@/bin/pwd@pwd@g -i otp_build
|
||||
'';
|
||||
|
||||
configureFlags = "--with-ssl=${openssl}";
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.erlang.org/";
|
||||
description = "Programming language used for massively scalable soft real-time systems";
|
||||
|
||||
longDescription = ''
|
||||
Erlang is a programming language used to build massively scalable
|
||||
soft real-time systems with requirements on high availability.
|
||||
Some of its uses are in telecoms, banking, e-commerce, computer
|
||||
telephony and instant messaging. Erlang's runtime system has
|
||||
built-in support for concurrency, distribution and fault
|
||||
tolerance.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl
|
||||
, wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }:
|
||||
|
||||
assert wxSupport -> mesa != null && wxGTK != null && xlibs != null;
|
||||
|
||||
let version = "R15B01"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "erlang-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_src_" + version + ".tar.gz";
|
||||
sha256 = "1pmb3hk51p6dwsspxx40qs7gjfyhxjjc3290qk6w1wwa6bkpskzr";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ perl gnum4 ncurses openssl
|
||||
] ++ stdenv.lib.optional wxSupport [ mesa wxGTK xlibs.libX11 ];
|
||||
|
||||
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
|
||||
|
||||
preConfigure = ''
|
||||
export HOME=$PWD/../
|
||||
sed -e s@/bin/pwd@pwd@g -i otp_build
|
||||
'';
|
||||
|
||||
configureFlags = "--with-ssl=${openssl}";
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
let baseName = "aacskeys";
|
||||
version = "0.4.0c";
|
||||
version = "0.4.0e";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@ -18,8 +18,8 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://debian-multimedia.org/pool/main/a/${baseName}/${baseName}_${version}.orig.tar.gz";
|
||||
sha256 = "54ea78898917f4acaf78101dda254de56bc7696bad12cbf22ee6f09d4ee88a43";
|
||||
url = "http://deb-multimedia.org/pool/main/a/${baseName}/${baseName}_${version}.orig.tar.gz";
|
||||
sha256 = "0d3zvwixpkixfkkc16wj37h2xbcq5hsqqhqngzqr6pslmqr67vnr";
|
||||
};
|
||||
|
||||
buildInputs = [openssl jdk premake];
|
||||
|
34
pkgs/development/libraries/fox/default.nix
Normal file
34
pkgs/development/libraries/fox/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchurl, x11 }:
|
||||
|
||||
let
|
||||
version = "1.7.9";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fox-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.fox-toolkit.org/pub/${name}.tar.gz";
|
||||
md5 = "b5897e9c664967f5042e57070037ff18";
|
||||
};
|
||||
|
||||
buildInputs = [ x11 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "FOX is a C++ based class library for building Graphical User Interfaces";
|
||||
longDescription = ''
|
||||
FOX stands for Free Objects for X.
|
||||
It is a C++ based class library for building Graphical User Interfaces.
|
||||
Initially, it was developed for LINUX, but the scope of this project has in the course of time become somewhat more ambitious.
|
||||
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
|
||||
'';
|
||||
homepage = "http://fox-toolkit.org";
|
||||
license = "LGPL";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
34
pkgs/development/libraries/fox/fox-1.6.nix
Normal file
34
pkgs/development/libraries/fox/fox-1.6.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchurl, x11 }:
|
||||
|
||||
let
|
||||
version = "1.6.9";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fox-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.fox-toolkit.org/pub/${name}.tar.gz";
|
||||
md5 = "8ab8274237431865f57b2f5596374a65";
|
||||
};
|
||||
|
||||
buildInputs = [ x11 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "FOX is a C++ based class library for building Graphical User Interfaces";
|
||||
longDescription = ''
|
||||
FOX stands for Free Objects for X.
|
||||
It is a C++ based class library for building Graphical User Interfaces.
|
||||
Initially, it was developed for LINUX, but the scope of this project has in the course of time become somewhat more ambitious.
|
||||
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
|
||||
'';
|
||||
homepage = "http://fox-toolkit.org";
|
||||
license = "LGPL";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -1,5 +1,15 @@
|
||||
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan }:
|
||||
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan
|
||||
, useGnupg1 ? false, gnupg1 ? null }:
|
||||
|
||||
assert useGnupg1 -> gnupg1 != null;
|
||||
assert !useGnupg1 -> gnupg != null;
|
||||
|
||||
let
|
||||
gpgPath = if useGnupg1 then
|
||||
"${gnupg1}/bin/gpg"
|
||||
else
|
||||
"${gnupg}/bin/gpg2";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gpgme-1.3.1";
|
||||
|
||||
@ -8,9 +18,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1m7l7nicn6gd952cgspv9xr8whqivbg33nbg8kbpj3dffnl2gvqm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libgpgerror glib pth libassuan ];
|
||||
propagatedBuildInputs = [ libgpgerror glib libassuan pth ];
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
configureFlags = "--with-gpg=${gnupg}/bin/gpg2";
|
||||
configureFlags = "--with-gpg=${gpgPath}";
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
||||
name = "gupnp-igd-0.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.gupnp.org/sites/all/files/sources/${name}.tar.gz";
|
||||
url = https://launchpad.net/ubuntu/+archive/primary/+files/gupnp-igd_0.2.1.orig.tar.gz;
|
||||
sha256 = "18ia8l24hbylz3dnbg2jf848bmbx0hjkq4fkwzzfn57z021f0fh2";
|
||||
};
|
||||
|
||||
|
@ -1,19 +1,20 @@
|
||||
{ cabal, alex, binary, filepath, happy, hashable, hashtables
|
||||
, haskeline, haskellSrcExts, mtl, QuickCheck, syb, xhtml, zlib
|
||||
{ cabal, alex, binary, deepseq, filepath, geniplate, happy
|
||||
, hashable, hashtables, haskeline, haskellSrcExts, mtl, parallel
|
||||
, QuickCheck, text, unorderedContainers, xhtml, zlib
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Agda";
|
||||
version = "2.3.0.1";
|
||||
sha256 = "0f2kc3by2z01g8bqc446hyzx9sidx6qi0p7h5bcpjf8iryk1dh2w";
|
||||
version = "2.3.2";
|
||||
sha256 = "1xp0qvag6wx6zjwhmb7nm13hp63vlh8h4a2rkc85rsh610m0nynl";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
binary filepath hashable hashtables haskeline haskellSrcExts mtl
|
||||
QuickCheck syb xhtml zlib
|
||||
binary deepseq filepath geniplate hashable hashtables haskeline
|
||||
haskellSrcExts mtl parallel QuickCheck text unorderedContainers
|
||||
xhtml zlib
|
||||
];
|
||||
buildTools = [ alex happy ];
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://wiki.portal.chalmers.se/agda/";
|
||||
description = "A dependently typed functional programming language and proof assistant";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Boolean";
|
||||
version = "0.1.0";
|
||||
sha256 = "1843fddsc7x3mf6h69xpg7yjkpaws4v57zg02424mj86m5x6jfgz";
|
||||
version = "0.1.1";
|
||||
sha256 = "1id075slxgz67gv382vpr7cr19i59bjajvb60iv2xrhh73gp08yv";
|
||||
meta = {
|
||||
description = "Generalized booleans";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Cabal";
|
||||
version = "1.16.0.2";
|
||||
sha256 = "1yqzcml460ya98b0ylik1591zwinr8pa3q3wgw894x7m55g321db";
|
||||
version = "1.16.0.3";
|
||||
sha256 = "11lzqgdjaix8n7nabmafl3jf9gisb04c025cmdycfihfajfn49zg";
|
||||
buildDepends = [ filepath ];
|
||||
meta = {
|
||||
homepage = "http://www.haskell.org/cabal/";
|
22
pkgs/development/libraries/haskell/DAV/default.nix
Normal file
22
pkgs/development/libraries/haskell/DAV/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ cabal, caseInsensitive, cmdargs, httpConduit, httpTypes, lens
|
||||
, liftedBase, mtl, network, resourcet, transformers, xmlConduit
|
||||
, xmlHamlet
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "DAV";
|
||||
version = "0.2";
|
||||
sha256 = "0g9b72ia4h85ykbng6103wc8f218fj9fdvm1896yx999vr95kxw4";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
caseInsensitive cmdargs httpConduit httpTypes lens liftedBase mtl
|
||||
network resourcet transformers xmlConduit xmlHamlet
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://floss.scru.org/hDAV";
|
||||
description = "RFC 4918 WebDAV support";
|
||||
license = self.stdenv.lib.licenses.gpl3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "List";
|
||||
version = "0.4.4";
|
||||
sha256 = "1dmri9l2mzq1kwy2539z9z21a61rr5ldy990kcixngi4wnaymdbz";
|
||||
version = "0.5.1";
|
||||
sha256 = "1hgkal8jh035bs0z6z8i899dc0888fhdx8940y27aaxxbmlzfy1p";
|
||||
buildDepends = [ transformers ];
|
||||
meta = {
|
||||
homepage = "http://github.com/yairchu/generator/tree";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "ListLike";
|
||||
version = "3.1.6";
|
||||
sha256 = "0ij6yb80dv841zn23lp6251avzmljzmy4j25r7w6h55y32y7gq46";
|
||||
version = "3.1.7.1";
|
||||
sha256 = "1g3i8iz71x3j41ji9xsbh84v5hj3mxls0zqnx27sb31mx6bic4w1";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
meta = {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user