From c5957bc9d07019491e71d3e001870e38d7f1bc36 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 17 May 2017 11:42:58 +0200 Subject: [PATCH] Exclude pdfjs from build packages for now It only makes things bigger, and currently pdfjs doesn't work on QtWebEngine anyways. --- misc/qutebrowser.spec | 8 ++++---- scripts/dev/update_3rdparty.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/qutebrowser.spec b/misc/qutebrowser.spec index fe58891ac..17c38d433 100644 --- a/misc/qutebrowser.spec +++ b/misc/qutebrowser.spec @@ -18,10 +18,10 @@ def get_data_files(): ('../qutebrowser/git-commit-id', '') ] - if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')): - data_files.append(('../qutebrowser/3rdparty/pdfjs', '3rdparty/pdfjs')) - else: - print("Warning: excluding pdfjs as it's not present!") + # if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')): + # data_files.append(('../qutebrowser/3rdparty/pdfjs', '3rdparty/pdfjs')) + # else: + # print("Warning: excluding pdfjs as it's not present!") return data_files diff --git a/scripts/dev/update_3rdparty.py b/scripts/dev/update_3rdparty.py index 722ce2316..6b1800d5d 100755 --- a/scripts/dev/update_3rdparty.py +++ b/scripts/dev/update_3rdparty.py @@ -121,7 +121,7 @@ def main(): action='store_true') args = parser.parse_args() - update_pdfjs(args.pdfjs) + # update_pdfjs(args.pdfjs) update_ace() if args.fancy_dmg: update_dmg_makefile()