Edit Book: Fix undocked windows not resizable on OS X

Caused by a regression in Qt.
https://bugreports.qt.io/browse/QTBUG-46882

Also, add the build scripts for calibre dependencies on OSX and linux to
the source tree.
This commit is contained in:
Kovid Goyal
2016-06-20 11:03:03 +05:30
parent 6a4b5c9005
commit 95f29656fa
79 changed files with 553 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
# Edit setup.py
# Disable Tk by adding return 0 to the start of detect_tkinter_darwin
OPENSSL=$SW/private/ssl
export CFLAGS="-I$OPENSSL/include $CFLAGS -DHAVE_LOAD_EXTENSION"
export LDFLAGS="-L$OPENSSL/lib $LDFLAGS"
cd $SW/build/Python-* && \
./configure --prefix=$SW --enable-framework=$SW/python --enable-ipv6 --enable-unicode=ucs2 --with-signal-module --with-threads --with-pymalloc --with-system-expat && make -j2 && make install
# Now create a symlink from ~/sw/bin/python to the newly installed python binary so that it becomes the default python
# Install setuptools as described in windows/notes. Create symlink for ~/sw/bin/easy_install
# Use setuptools to install the various python packages