git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #10798 from spacefrogg/gencfsm

gnome-encfs-manager: init at 1.8.15

commit772e950cd73595ddbf3157726ea9a9944bc1fa42 authorDomen Kožar <domen@dev.si> dateSat 7 Nov 2015, 02:29 (11 years ago) parent080420603b7e82
5 files changed+77
pkgs/desktops/gnome-3/3.16/core/libgee/libgee-1.nix+26 pkgs/desktops/gnome-3/3.16/default.nix+1 pkgs/tools/security/gencfsm/default.nix+34 pkgs/tools/security/gencfsm/makefile-mkdir.patch+14 pkgs/top-level/all-packages.nix+2
pkgs/desktops/gnome-3/3.16/core/libgee/libgee-1.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, fetchurl, autoconf, vala, pkgconfig, glib, gobjectIntrospection, gnome3 }:
2+let
3+ ver_maj = "0.6";
4+ ver_min = "8";
5+in
6+stdenv.mkDerivation rec {
7+ name = "libgee-${ver_maj}.${ver_min}";
8+
9+ src = fetchurl {
10+ url = "mirror://gnome/sources/libgee/${ver_maj}/${name}.tar.xz";
11+ sha256 = "1lzmxgz1bcs14ghfp8qqzarhn7s64ayx8c508ihizm3kc5wqs7x6";
12+ };
13+
14+ doCheck = true;
15+
16+ patches = [ ./fix_introspection_paths.patch ];
17+
18+ buildInputs = [ autoconf vala pkgconfig glib gobjectIntrospection ];
19+
20+ meta = with stdenv.lib; {
21+ description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
22+ license = licenses.lgpl21Plus;
23+ platforms = platforms.linux;
24+ maintainers = [ maintainers.spacefrogg ] ++ gnome3.maintainers;
25+ };
26+}
pkgs/desktops/gnome-3/3.16/default.nix+1
@@ -176,6 +176,7 @@ let
176176 libcroco = callPackage ./core/libcroco {};
177177
178178 libgee = callPackage ./core/libgee { };
179+ libgee_1 = callPackage ./core/libgee/libgee-1.nix { };
179180
180181 libgdata = callPackage ./core/libgdata { };
181182
pkgs/tools/security/gencfsm/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, encfs
2+, glib , gnome3, gtk3, libgnome_keyring, vala, wrapGAppsHook, xorg }:
3+
4+stdenv.mkDerivation rec {
5+ version = "1.8.15";
6+ name = "gnome-encfs-manager-${version}";
7+
8+ src = fetchurl {
9+ url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.gz";
10+ sha256 = "1iryli6fgw6a45abkrjacfac7dwjhbrhw652rqf0s183373db0mx";
11+ };
12+
13+ buildInputs = [ autoconf automake intltool libtool pkgconfig vala glib encfs
14+ gtk3 libgnome_keyring gnome3.libgee_1 xorg.libSM xorg.libICE
15+ wrapGAppsHook ];
16+
17+ patches = [ ./makefile-mkdir.patch ];
18+
19+ preConfigure = ''
20+ ./autogen.sh
21+ '';
22+
23+ configureFlags = [ "--disable-appindicator" ];
24+
25+ preFixup = ''gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)'';
26+
27+ meta = with stdenv.lib; {
28+ homepage = http://www.libertyzero.com/GEncfsM/;
29+ description = "EncFS manager and mounter with GNOME3 integration";
30+ license = licenses.gpl2Plus;
31+ platforms = platforms.linux;
32+ maintainers = [ maintainers.spacefrogg ];
33+ };
34+}
pkgs/tools/security/gencfsm/makefile-mkdir.patchnew file+14
@@ -0,0 +1,14 @@
1+--- a/dist/Makefile.am
2++++ b/dist/Makefile.am
3+@@ -10,9 +10,9 @@ install-data-hook:
4+ chmod 0755 $(shell find $(dist) -type d)
5+ chmod 0644 $(shell find $(dist) -type f)
6+ chmod 0755 $(shell find "scripts" -type f)
7+- test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || /bin/mkdir -p "$(DESTDIR)$(datadir)/dbus-1/services/"
8++ test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || $(MKDIR_P) "$(DESTDIR)$(datadir)/dbus-1/services/"
9+ cp "extra/com.libertyzero.gnome-encfs-manager.service" "$(DESTDIR)$(datadir)/dbus-1/services/"
10+- test -z "$(gencfsmdir)" || /bin/mkdir -p "$(gencfsmdir)"
11++ test -z "$(gencfsmdir)" || $(MKDIR_P) "$(gencfsmdir)"
12+ cp --parent -rf $(dist) "$(gencfsmdir)"
13+ cp --parent -rf $(icons) $(DESTDIR)$(datadir)
14+
pkgs/top-level/all-packages.nix+2
@@ -843,6 +843,8 @@ let
843843
844844 fzf = goPackages.fzf.bin // { outputs = [ "bin" ]; };
845845
846+ gencfsm = callPackage ../tools/security/gencfsm { };
847+
846848 gist = callPackage ../tools/text/gist { };
847849
848850 gmic = callPackage ../tools/graphics/gmic { };