diff options
-rw-r--r-- | machines/profpatsch/katara.nix | 2 | ||||
-rw-r--r-- | pkgs/profpatsch/default.nix | 10 | ||||
-rw-r--r-- | pkgs/profpatsch/patches/mtp-jolla.patch | 34 |
3 files changed, 2 insertions, 44 deletions
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index 1f0f1e3d..739718e6 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -93,7 +93,7 @@ in { atool # archive tools gnupg gnupg1compat # PGP encryption imagemagick # image conversion - pkgs.vuizvui.profpatsch.jmtpfs # MTP fuse + jmtpfs # MTP fuse mosh # ssh with stable connections nfs-utils # the filesystem of the future for 20 years sshfsFuse # mount ssh machines diff --git a/pkgs/profpatsch/default.nix b/pkgs/profpatsch/default.nix index 62f96e27..5257ff50 100644 --- a/pkgs/profpatsch/default.nix +++ b/pkgs/profpatsch/default.nix @@ -1,4 +1,4 @@ -{ pkgs, callPackage, haskellPackages, jmtpfs, libmtp, droopy, fetchFromGitHub }: +{ pkgs, callPackage, haskellPackages, droopy, fetchFromGitHub }: { display-infos = callPackage ./display-infos {}; @@ -8,14 +8,6 @@ }; show-qr-code = callPackage ./show-qr-code { }; - jmtpfs = jmtpfs.override { - libmtp = libmtp.overrideDerivation (old: { - patches = old.patches or [] ++ [ - ./patches/mtp-jolla.patch - ]; - }); - }; - backlight = callPackage ./backlight { inherit (pkgs.xorg) xbacklight; }; # patched version of droopy, with javascript user-enhancement diff --git a/pkgs/profpatsch/patches/mtp-jolla.patch b/pkgs/profpatsch/patches/mtp-jolla.patch deleted file mode 100644 index e893d3b7..00000000 --- a/pkgs/profpatsch/patches/mtp-jolla.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/src/music-players.h b/src/music-players.h -index a44460a..d05f52f 100644 ---- a/src/music-players.h -+++ b/src/music-players.h -@@ -3102,6 +3102,16 @@ - { "Jolla", 0x2931, "Sailfish (ID1)", 0x0a01, - DEVICE_FLAGS_ANDROID_BUGS }, - -+ /* In update 4 the order of devices was changed for -+ better OS X / Windows suport and another device-id -+ got assigned for the MTP */ -+ { "Jolla", 0x2931, "Sailfish (ID2)", 0x0a05, -+ DEVICE_FLAGS_ANDROID_BUGS }, -+ -+ /* In a later version, the ID changed again. */ -+ { "Jolla", 0x2931, "Sailfish (ID3)", 0x0a07, -+ DEVICE_FLAGS_ANDROID_BUGS }, -+ - /* - * TCL? Alcatel? - */ -@@ -3129,12 +3139,6 @@ - { "DigiLand", 0x1f3a, "DL701Q", 0x0c02, - DEVICE_FLAGS_ANDROID_BUGS }, - -- /* In update 4 the order of devices was changed for -- better OS X / Windows suport and another device-id -- got assigned for the MTP */ -- { "Jolla", 0x2931, "Sailfish (ID2)", 0x0a05, -- DEVICE_FLAGS_ANDROID_BUGS }, -- - /* - * bq - * https://sourceforge.net/p/libmtp/feature-requests/128/ |