diff options
Diffstat (limited to 'pkgs/profpatsch')
-rw-r--r-- | pkgs/profpatsch/default.nix | 10 | ||||
-rw-r--r-- | pkgs/profpatsch/patches/mtp-jolla.patch | 34 |
2 files changed, 1 insertions, 43 deletions
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/ |