nanonixos

Check-in [4f46b15285]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:4f46b1528506025b78c167c36df60cb2b10ce152
Date: 2011-04-23 15:13:31
User: viric
Comment:Trying to build mplayer with the dvdk patches on gpu acceleration.
Tags And Properties
Context
2011-04-23
22:03
[02eebd525f] Commiting the first succesful build of mplayer for the nanonote. Although it does not work; black screen, and for the rest, it runs super slow. (user: viric, tags: mplayer-dvdk)
15:13
[4f46b15285] Trying to build mplayer with the dvdk patches on gpu acceleration. (user: viric, tags: mplayer-dvdk)
2011-03-10
18:03
[0cf3554e65] Adding a link to more documentation about reflashing, now from inside the ben. (user: viric, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to default.nix.

1
2
3
4
5
6
7
8
9
10
11









12
13
14
15
16
17
18
19
20









21
22
23
24
25
26
27
..
70
71
72
73
74
75
76









77
78
79
80
81
82
83
let
    path = builtins.getEnv "NANONIXOS_NIXPKGS";
    pkgsFun = if path != "" then (import path) else (import
            /home/viric/arm/stdenv-updates-svn);

    config = {
      packageOverrides = pkgs: rec {
        SDL = pkgs.SDL.override {
          x11Support = false;
          openglSupport = false;
        };









        MPlayer = pkgs.MPlayer.override {
          x264Support = false;
          dvdnavSupport = false;
          x11Support = false;
          jackaudioSupport = false;
          cddaSupport = false;
          xineramaSupport = false;
          randrSupport = false;
          xvSupport = false;









        };

        libao = pkgs.libao.override {
          usePulseAudio = false;
        };
        busybox = pkgs.busybox.override {
          extraConfig = ''
................................................................................
      gnumake.hostDrv
    ];

    extraPackagesSim = with nixpkgsNano; [
      fossil.hostDrv
      strace.hostDrv
      ts.hostDrv









    ];

    packagesSim = import ./packages.nix {
      pkgs = nixpkgsSim;
      extraPackages = extraPackagesSim;
      nandSettings = {
        volumeSize = "150000000";



|







>
>
>
>
>
>
>
>
>
|








>
>
>
>
>
>
>
>
>







 







>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
..
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
let
    path = builtins.getEnv "NANONIXOS_NIXPKGS";
    pkgsFun = if path != "" then (import path) else (import
            /etc/nixos/nixpkgs);

    config = {
      packageOverrides = pkgs: rec {
        SDL = pkgs.SDL.override {
          x11Support = false;
          openglSupport = false;
        };

        jz47xx_vid = pkgs.stdenv.mkDerivation { 
          name = "jz47xx_vid-0.1.1";
          src = pkgs.fetchurl {
            url = mirror://sourceforge/mplayer-jz47xx/mplayer_jz47xx-0.1.1.tar.gz;
            sha256 = "146mvzppahp1dyq927jqa6z5r7pfcxz745k4l0jkvj21z5xjz22y";
          };
        };

        MPlayer = pkgs.MPlayer // { hostDrv = pkgs.lib.overrideDerivation (pkgs.MPlayer.override {
          x264Support = false;
          dvdnavSupport = false;
          x11Support = false;
          jackaudioSupport = false;
          cddaSupport = false;
          xineramaSupport = false;
          randrSupport = false;
          xvSupport = false;
        }).hostDrv (oldAttrs: let
            jz4xxpatch = pkgs.fetchurl {
                url = "http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/file/master/mplayer/patches/010-jz47xx-vidix.patch";
                sha256 = "0sy76wk2n5i918dg11ndxmmwsp35hnvamp8a1mb26w54ssppmmdi";
            };
          in
          {
              patches = [ jz4xxpatch ];
          });
        };

        libao = pkgs.libao.override {
          usePulseAudio = false;
        };
        busybox = pkgs.busybox.override {
          extraConfig = ''
................................................................................
      gnumake.hostDrv
    ];

    extraPackagesSim = with nixpkgsNano; [
      fossil.hostDrv
      strace.hostDrv
      ts.hostDrv
      (stdenv.mkDerivation {
        name = "offcurr-973bbaffcf";
        src = fetchurl {
          url = "http://vicerveza.homeunix.net/~viric/cgi-bin/offrss/zip/offrss-973bbaffcf807f00.zip?uuid=973bbaffcf807f004947f7b32e1e22ae07c3876a";
          name = "offcurr-973bbaffcf.zip";
          md5 = "d41d8cd98f00b204e9800998ecf8427e";
        };
        buildInputs = [ libmrss curl ];
      }).hostDrv
    ];

    packagesSim = import ./packages.nix {
      pkgs = nixpkgsSim;
      extraPackages = extraPackagesSim;
      nandSettings = {
        volumeSize = "150000000";

Changes to profile.nix.

6
7
8
9
10
11
12
13
14
15
16
17
  ignoreCollisions = true;
  paths = [
    busybox.hostDrv
    dropbear.hostDrv
    sysvinit.hostDrv
    bashInteractive.hostDrv
    mingetty.hostDrv
    nixUnstable.hostDrv
    kbd.hostDrv
  ] ++ extraPackages;
  pathsToLink = [ "/bin" "/usr" "/sbin" "/lib" "/share/man"];
}







|




6
7
8
9
10
11
12
13
14
15
16
17
  ignoreCollisions = true;
  paths = [
    busybox.hostDrv
    dropbear.hostDrv
    sysvinit.hostDrv
    bashInteractive.hostDrv
    mingetty.hostDrv
    # nixUnstable.hostDrv  BROKEN boehmgc
    kbd.hostDrv
  ] ++ extraPackages;
  pathsToLink = [ "/bin" "/usr" "/sbin" "/lib" "/share/man"];
}