[Nix-dev] gnome-menus

Roelof Wobben rwobben at hotmail.com
Wed Dec 4 14:30:47 CET 2013


When I changed it to this :

inherit (gnome3) gnome_common gnome_menus ;

Then I see this message:

error: attribute `gnome_menus' missing

Roelof

Date: Wed, 4 Dec 2013 14:23:40 +0100
Subject: Re: [Nix-dev] gnome-menus
From: cillian.deroiste at gmail.com
To: rwobben at hotmail.com
CC: nix-dev at lists.science.uu.nl

It'd probably unrelated, but shouldn't you be inheriting from gnome3 rather than gnome?

On Wed, Dec 4, 2013 at 2:12 PM, Roelof Wobben <rwobben at hotmail.com> wrote:






> Date: Wed, 4 Dec 2013 13:59:17 +0100
> Subject: Re: [Nix-dev] gnome-menus
> From: mathijs at bluescreen303.nl

> To: rwobben at hotmail.com
> CC: nix-dev at lists.science.uu.nl
> 
> inherit it from gnome2 or gnome3

> 

Oke,  I changed my derivation to this :

{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, gettext, gnome_common, intltool, libxslt,
gtk3, cinnamon-desktop, libnotify, gnome_menus }:


let
  version = "2.0.9";
in
stdenv.mkDerivation {
  name = "cinnamon-control-center-${version}";

  src = fetchurl {
    url = "http://github.com/linuxmint/cinnamon-control-center/archive/${version}.tar.gz";

    sha256 = "0kivqdgsf8w257j2ja6fap0dpvljcnb9gphr3knp7y6ma2d1gfv3";
  };


  configureFlags = "--enable-systemd --disable-update-mimedb " ;

  patches = [ ./region.patch];

  buildInputs = [

    pkgconfig autoreconfHook
    glib gettext gnome_common
    intltool libxslt
    gtk3  cinnamon-desktop libnotify
    gnome_menus
    ];

  preBuild = "patchShebangs ./scripts";



 meta = {
    homepage = "http://cinnamon.linuxmint.com";
    description = "the cinnamon settings daemon " ;

    platforms = stdenv.lib.platforms.linux;

    maintainers = [ stdenv.lib.maintainers.roelof ];
  };
}

and all-packages to this : 

 cinnamon = recurseIntoAttrs rec{
    callPackage=pkgs.newScope pkgs.cinnamon;
    inherit (gnome) gnome_common gnome_menus ;

    cinnamon-control-center = callPackage ../desktops/cinnamon/cinnamon-control-center.nix{ };
    cinnamon-desktop = callPackage ../desktops/cinnamon/cinnamon-desktop.nix { } ;
 };


But still this error : 


hecking for pkg-config... /nix/store/sjg0j92drrip1pch65srsxa9jw0zq4g6-pkg-config-0.23/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCINNAMON_CONTROL_CENTER... yes
checking for LIBLANGUAGE... yes

checking for LIBSHORTCUTS... yes
checking for SHELL... configure: error: Package requirements (gtk+-3.0 >= 3.4.2
 glib-2.0 >= 2.31.0
 gthread-2.0
 gio-2.0
 gio-unix-2.0
 cinnamon-desktop >= 1.0.0

 libnotify >= 0.7.3 libgnome-menu-3.0 gio-unix-2.0 x11) were not met:

No package 'libgnome-menu-3.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.


Alternatively, you may set the environment variables SHELL_CFLAGS
and SHELL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Roelof


 		 	   		  

_______________________________________________

nix-dev mailing list

nix-dev at lists.science.uu.nl

http://lists.science.uu.nl/mailman/listinfo/nix-dev



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131204/cde6690f/attachment.html 


More information about the nix-dev mailing list