From a57871ce6b8a31822c082d76fe21d4d06c0b0906 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 28 Jan 2018 01:26:29 +0700 Subject: desktop/docfetcher: Fix patch. Signed-off-by: Willy Sudiarto Raharjo --- desktop/docfetcher/docfetcher.SlackBuild | 2 +- desktop/docfetcher/paths.patch | 18 ------------------ desktop/docfetcher/paths.patch.gz | Bin 0 -> 354 bytes 3 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 desktop/docfetcher/paths.patch create mode 100644 desktop/docfetcher/paths.patch.gz diff --git a/desktop/docfetcher/docfetcher.SlackBuild b/desktop/docfetcher/docfetcher.SlackBuild index fd4bc53881ed..f3e42f9a095e 100644 --- a/desktop/docfetcher/docfetcher.SlackBuild +++ b/desktop/docfetcher/docfetcher.SlackBuild @@ -63,7 +63,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Set some sane defaults -patch -p1 -i $CWD/paths.patch --verbose +zcat $CWD/paths.patch.gz | patch -p1 mkdir -p $PKG/usr/share/{$PRGNAM,applications} \ $PKG/usr/bin diff --git a/desktop/docfetcher/paths.patch b/desktop/docfetcher/paths.patch deleted file mode 100644 index 6f071637c164..000000000000 --- a/desktop/docfetcher/paths.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- DocFetcher-1.1.19.orig/misc/paths.txt 2017-01-10 16:36:26.000000000 +0100 -+++ DocFetcher-1.1.19/misc/paths.txt 2018-01-23 08:39:05.136882469 +0100 -@@ -28,10 +28,13 @@ - - # Where the settings are stored: - #settings=C:/path/to/settings/folder -+settings=${user.home}/.docfetcher/conf - - # Where the indexes are stored. Note: The DocFetcher daemon currently ignores - # this setting. - #indexes=C:/path/to/indexes/folder -+indexes=${user.home}/.docfetcher/indexes - - # Where the SWT library files will be written to: --#swt=C:/path/to/swt-libs -\ No newline at end of file -+#swt=C:/path/to/swt-libs -+swt=${user.home}/.docfetcher/swt diff --git a/desktop/docfetcher/paths.patch.gz b/desktop/docfetcher/paths.patch.gz new file mode 100644 index 000000000000..ee24bde09234 Binary files /dev/null and b/desktop/docfetcher/paths.patch.gz differ -- cgit v1.2.3