diff options
author | Eric Hameleers <alien@slackware.com> | 2012-08-31 08:37:07 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2012-08-31 08:37:07 +0000 |
commit | bae0deb15556c19cbdfc14c04bc9a2a5e82f930b (patch) | |
tree | 7dcf2d89b669cfd60fe7a5c7dda04ad15721a448 /calibre | |
parent | 953730f82352edeac1ba7d8210c74c092d93794e (diff) | |
download | asb-bae0deb15556c19cbdfc14c04bc9a2a5e82f930b.tar.gz asb-bae0deb15556c19cbdfc14c04bc9a2a5e82f930b.tar.xz |
Initial revision
Diffstat (limited to 'calibre')
-rw-r--r-- | calibre/build/patches/calibre_nomtp.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/calibre/build/patches/calibre_nomtp.patch b/calibre/build/patches/calibre_nomtp.patch new file mode 100644 index 00000000..bef25114 --- /dev/null +++ b/calibre/build/patches/calibre_nomtp.patch @@ -0,0 +1,32 @@ +--- calibre/setup/extensions.py.orig 2012-08-31 05:41:35.000000000 +0200 ++++ calibre/setup/extensions.py 2012-08-31 12:20:08.558655474 +0200 +@@ -204,19 +204,6 @@ + libraries=['usb-1.0'] + )) + +- extensions.append(Extension('libmtp', +- [ +- 'calibre/devices/mtp/unix/devices.c', +- 'calibre/devices/mtp/unix/libmtp.c' +- ], +- headers=[ +- 'calibre/devices/mtp/unix/devices.h', +- 'calibre/devices/mtp/unix/upstream/music-players.h', +- 'calibre/devices/mtp/unix/upstream/device-flags.h', +- ], +- libraries=['mtp'] +- )) +- + if isunix: + cc = os.environ.get('CC', 'gcc') + cxx = os.environ.get('CXX', 'g++') +--- calibre/src/calibre/constants.py.orig 2012-08-31 05:41:35.000000000 +0200 ++++ calibre/src/calibre/constants.py 2012-08-31 12:21:06.784448192 +0200 +@@ -96,7 +96,6 @@ + plugins.append('usbobserver') + if islinux or isosx: + plugins.append('libusb') +- plugins.append('libmtp') + self.plugins = frozenset(plugins) + + def load_plugin(self, name): |