[Slackbuilds-users] [TEST] ghostwriter homepage patch
Konrad J Hambrick
kjhambrick at gmail.com
Sat Oct 1 18:18:27 UTC 2022
On Sat, Oct 1, 2022 at 1:05 PM Konrad J Hambrick <kjhambrick at gmail.com>
wrote:
>
> On Sat, Oct 1, 2022 at 11:07 AM Dave W. <dave at slackbuilds.org> wrote:
>
>> Hi all
>>
>> Up for testing is a patch that (blindly) changes all the homepage
>> links in the source folder. I've also sent a copy to the maintainer.
>>
>> --
>> Dave
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>
>
> Thanks Dave !
>
> Works for me.
>
> I modified ghostwriter.SlackBuild by changing the tar command to use the
> versioned tar file and then I added one line for the patch:
>
> #--- cut here ---
> --- ghostwriter.SlackBuild.orig 2022-10-01 06:14:50.794839799 -0500
> +++ ghostwriter.SlackBuild 2022-10-01 12:31:27.020589931 -0500
> @@ -71,7 +71,8 @@
> mkdir -p $TMP $PKG $OUTPUT
> cd $TMP
> rm -rf $PRGNAM-$VERSION
>
>
>
> *-tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz+#
> tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz+tar
> xvf $CWD/$PRGNAM-$VERSION.tar.gz* cd $PRGNAM-$VERSION
> chown -R root:root .
> find -L . \
> @@ -80,6 +81,8 @@
> \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
> -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
>
> *+zcat $CWD/**homepage.diff.gz** |patch -b -p1 --verbose*
> *+*
> qmake-qt5 \
> PREFIX=/usr
> # --- cut there ---
>
> The [Help][QuickReference] Link is still dead but it is dead on the KDE
> HomePage at http://wereturtle.github.io/ghostwriter/documentation.html
> too.
>
> This is a session from a Konsole bash Command line:
>
> # --- cut here ---
> [konrad at kjhlt7 ~]$ ghostwriter &
> [1] 16993
> [konrad at kjhlt7 ~]$ Using pandoc version 2.19.2
> Command "multimarkdown" is not available.
> Using cmark version 0.29.0
> Opening in existing browser session.
> Opening in existing browser session.
>
> [1]+ Done ghostwriter
> # --- cut there ---
>
> Attached is the ghostwriter.SlackBuild.log ... the `patch -b -p1
> --verbose` text begins at line 1250 and ends at 1497.
>
> HTH
>
> -- kjh
>
Canceled the above email ; trimmed the log and attached the trimmed log.
-- kjh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20221001/8ddb96a3/attachment-0001.htm>
-------------- next part --------------
ghostwriter.SlackBuild startup at Sat Oct 1 12:56:06 CDT 2022
<<snip tar output>>
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/README.md b/README.md
|--- a/README.md 2022-09-14 05:37:18.000000000 +0000
|+++ b/README.md 2022-10-01 12:32:11.813971500 +0000
--------------------------
patching file README.md
Using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 12.
Hunk #3 succeeded at 137.
Hunk #4 succeeded at 172.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/releaseNotes.py b/releaseNotes.py
|--- a/releaseNotes.py 2022-09-14 05:37:18.000000000 +0000
|+++ b/releaseNotes.py 2022-10-01 12:44:39.800109346 +0000
--------------------------
patching file releaseNotes.py
Using Plan A...
Hunk #1 succeeded at 27.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/resources/COPYING b/resources/COPYING
|--- a/resources/COPYING 2022-09-14 05:37:18.000000000 +0000
|+++ b/resources/COPYING 2022-10-01 13:05:26.455672366 +0000
--------------------------
patching file resources/COPYING
Using Plan A...
Hunk #1 succeeded at 5.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/resources/images/COPYING b/resources/images/COPYING
|--- a/resources/images/COPYING 2022-09-14 05:37:18.000000000 +0000
|+++ b/resources/images/COPYING 2022-10-01 14:44:35.175956743 +0000
--------------------------
patching file resources/images/COPYING
Using Plan A...
Hunk #1 succeeded at 18.
Hunk #2 succeeded at 33.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/resources/linux/ghostwriter.1 b/resources/linux/ghostwriter.1
|--- a/resources/linux/ghostwriter.1 2022-09-14 05:37:18.000000000 +0000
|+++ b/resources/linux/ghostwriter.1 2022-10-01 14:44:03.423120697 +0000
--------------------------
patching file resources/linux/ghostwriter.1
Using Plan A...
Hunk #1 succeeded at 17.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/resources/linux/ghostwriter.appdata.xml b/resources/linux/ghostwriter.appdata.xml
|--- a/resources/linux/ghostwriter.appdata.xml 2022-09-14 05:37:18.000000000 +0000
|+++ b/resources/linux/ghostwriter.appdata.xml 2022-10-01 12:40:07.810513738 +0000
--------------------------
patching file resources/linux/ghostwriter.appdata.xml
Using Plan A...
Hunk #1 succeeded at 15.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/src/mainwindow.cpp b/src/mainwindow.cpp
|--- a/src/mainwindow.cpp 2022-09-14 05:37:18.000000000 +0000
|+++ b/src/mainwindow.cpp 2022-10-01 14:46:49.647262413 +0000
--------------------------
patching file src/mainwindow.cpp
Using Plan A...
Hunk #1 succeeded at 725.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_ar.ts b/translations/ghostwriter_ar.ts
|--- a/translations/ghostwriter_ar.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_ar.ts 2022-10-01 14:46:47.233274878 +0000
--------------------------
patching file translations/ghostwriter_ar.ts
Using Plan A...
Hunk #1 succeeded at 634.
Hunk #2 succeeded at 879.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_ca.ts b/translations/ghostwriter_ca.ts
|--- a/translations/ghostwriter_ca.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_ca.ts 2022-10-01 14:46:47.236274863 +0000
--------------------------
patching file translations/ghostwriter_ca.ts
Using Plan A...
Hunk #1 succeeded at 1110.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_cs.ts b/translations/ghostwriter_cs.ts
|--- a/translations/ghostwriter_cs.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_cs.ts 2022-10-01 14:46:47.240274842 +0000
--------------------------
patching file translations/ghostwriter_cs.ts
Using Plan A...
Hunk #1 succeeded at 631.
Hunk #2 succeeded at 876.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_de.ts b/translations/ghostwriter_de.ts
|--- a/translations/ghostwriter_de.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_de.ts 2022-10-01 14:46:47.244274821 +0000
--------------------------
patching file translations/ghostwriter_de.ts
Using Plan A...
Hunk #1 succeeded at 630.
Hunk #2 succeeded at 875.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_en.ts b/translations/ghostwriter_en.ts
|--- a/translations/ghostwriter_en.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_en.ts 2022-10-01 14:46:47.247274806 +0000
--------------------------
patching file translations/ghostwriter_en.ts
Using Plan A...
Hunk #1 succeeded at 573.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_es.ts b/translations/ghostwriter_es.ts
|--- a/translations/ghostwriter_es.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_es.ts 2022-10-01 14:46:47.251274785 +0000
--------------------------
patching file translations/ghostwriter_es.ts
Using Plan A...
Hunk #1 succeeded at 630.
Hunk #2 succeeded at 875.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_fr.ts b/translations/ghostwriter_fr.ts
|--- a/translations/ghostwriter_fr.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_fr.ts 2022-10-01 14:46:47.255274765 +0000
--------------------------
patching file translations/ghostwriter_fr.ts
Using Plan A...
Hunk #1 succeeded at 630.
Hunk #2 succeeded at 875.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_it.ts b/translations/ghostwriter_it.ts
|--- a/translations/ghostwriter_it.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_it.ts 2022-10-01 14:46:47.258274749 +0000
--------------------------
patching file translations/ghostwriter_it.ts
Using Plan A...
Hunk #1 succeeded at 646.
Hunk #2 succeeded at 891.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_ja.ts b/translations/ghostwriter_ja.ts
|--- a/translations/ghostwriter_ja.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_ja.ts 2022-10-01 14:46:47.262274728 +0000
--------------------------
patching file translations/ghostwriter_ja.ts
Using Plan A...
Hunk #1 succeeded at 625.
Hunk #2 succeeded at 870.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_nb_NO.ts b/translations/ghostwriter_nb_NO.ts
|--- a/translations/ghostwriter_nb_NO.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_nb_NO.ts 2022-10-01 14:46:47.266274708 +0000
--------------------------
patching file translations/ghostwriter_nb_NO.ts
Using Plan A...
Hunk #1 succeeded at 630.
Hunk #2 succeeded at 875.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_nl.ts b/translations/ghostwriter_nl.ts
|--- a/translations/ghostwriter_nl.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_nl.ts 2022-10-01 14:46:47.269274692 +0000
--------------------------
patching file translations/ghostwriter_nl.ts
Using Plan A...
Hunk #1 succeeded at 630.
Hunk #2 succeeded at 875.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_pl.ts b/translations/ghostwriter_pl.ts
|--- a/translations/ghostwriter_pl.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_pl.ts 2022-10-01 14:46:47.273274672 +0000
--------------------------
patching file translations/ghostwriter_pl.ts
Using Plan A...
Hunk #1 succeeded at 1111.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_pt_BR.ts b/translations/ghostwriter_pt_BR.ts
|--- a/translations/ghostwriter_pt_BR.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_pt_BR.ts 2022-10-01 14:46:47.277274651 +0000
--------------------------
patching file translations/ghostwriter_pt_BR.ts
Using Plan A...
Hunk #1 succeeded at 630.
Hunk #2 succeeded at 875.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_ru.ts b/translations/ghostwriter_ru.ts
|--- a/translations/ghostwriter_ru.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_ru.ts 2022-10-01 14:46:47.280274636 +0000
--------------------------
patching file translations/ghostwriter_ru.ts
Using Plan A...
Hunk #1 succeeded at 631.
Hunk #2 succeeded at 876.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_sv.ts b/translations/ghostwriter_sv.ts
|--- a/translations/ghostwriter_sv.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_sv.ts 2022-10-01 14:46:47.284274615 +0000
--------------------------
patching file translations/ghostwriter_sv.ts
Using Plan A...
Hunk #1 succeeded at 632.
Hunk #2 succeeded at 840.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur a/translations/ghostwriter_zh.ts b/translations/ghostwriter_zh.ts
|--- a/translations/ghostwriter_zh.ts 2022-09-14 05:37:18.000000000 +0000
|+++ b/translations/ghostwriter_zh.ts 2022-10-01 14:46:47.287274599 +0000
--------------------------
patching file translations/ghostwriter_zh.ts
Using Plan A...
Hunk #1 succeeded at 631.
Hunk #2 succeeded at 839.
done
Info: creating stash file /tmp/SBo/ghostwriter-2.1.6/.qmake.stash
<<snip qmake output>>
Slackware package maker, version 3.14159265.
Searching for symbolic links:
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /tmp/ghostwriter-2.1.6-x86_64-1_SBo_dw_patch.tgz
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/bin/
usr/bin/ghostwriter
usr/doc/
usr/doc/ghostwriter-2.1.6/
usr/doc/ghostwriter-2.1.6/CHANGELOG.md
usr/doc/ghostwriter-2.1.6/CONTRIBUTING.md
usr/doc/ghostwriter-2.1.6/COPYING
usr/doc/ghostwriter-2.1.6/CREDITS.md
usr/doc/ghostwriter-2.1.6/README.md
usr/doc/ghostwriter-2.1.6/ghostwriter.SlackBuild
usr/man/
usr/man/man1/
usr/man/man1/ghostwriter.1.gz
usr/share/
usr/share/applications/
usr/share/applications/ghostwriter.desktop
usr/share/ghostwriter/
usr/share/ghostwriter/translations/
usr/share/ghostwriter/translations/ghostwriter_ar.qm
usr/share/ghostwriter/translations/ghostwriter_ca.qm
usr/share/ghostwriter/translations/ghostwriter_cs.qm
usr/share/ghostwriter/translations/ghostwriter_de.qm
usr/share/ghostwriter/translations/ghostwriter_en.qm
usr/share/ghostwriter/translations/ghostwriter_es.qm
usr/share/ghostwriter/translations/ghostwriter_fr.qm
usr/share/ghostwriter/translations/ghostwriter_it.qm
usr/share/ghostwriter/translations/ghostwriter_ja.qm
usr/share/ghostwriter/translations/ghostwriter_nb_NO.qm
usr/share/ghostwriter/translations/ghostwriter_nl.qm
usr/share/ghostwriter/translations/ghostwriter_pl.qm
usr/share/ghostwriter/translations/ghostwriter_pt_BR.qm
usr/share/ghostwriter/translations/ghostwriter_ru.qm
usr/share/ghostwriter/translations/ghostwriter_sv.qm
usr/share/ghostwriter/translations/ghostwriter_zh.qm
usr/share/icons/
usr/share/icons/hicolor/
usr/share/icons/hicolor/128x128/
usr/share/icons/hicolor/128x128/apps/
usr/share/icons/hicolor/128x128/apps/ghostwriter.png
usr/share/icons/hicolor/16x16/
usr/share/icons/hicolor/16x16/apps/
usr/share/icons/hicolor/16x16/apps/ghostwriter.png
usr/share/icons/hicolor/22x22/
usr/share/icons/hicolor/22x22/apps/
usr/share/icons/hicolor/22x22/apps/ghostwriter.png
usr/share/icons/hicolor/24x24/
usr/share/icons/hicolor/24x24/apps/
usr/share/icons/hicolor/24x24/apps/ghostwriter.png
usr/share/icons/hicolor/256x256/
usr/share/icons/hicolor/256x256/apps/
usr/share/icons/hicolor/256x256/apps/ghostwriter.png
usr/share/icons/hicolor/32x32/
usr/share/icons/hicolor/32x32/apps/
usr/share/icons/hicolor/32x32/apps/ghostwriter.png
usr/share/icons/hicolor/48x48/
usr/share/icons/hicolor/48x48/apps/
usr/share/icons/hicolor/48x48/apps/ghostwriter.png
usr/share/icons/hicolor/64x64/
usr/share/icons/hicolor/64x64/apps/
usr/share/icons/hicolor/64x64/apps/ghostwriter.png
usr/share/icons/hicolor/scalable/
usr/share/icons/hicolor/scalable/apps/
usr/share/icons/hicolor/scalable/apps/ghostwriter.svg
usr/share/metainfo/
usr/share/metainfo/ghostwriter.appdata.xml
Slackware package /tmp/ghostwriter-2.1.6-x86_64-1_SBo_dw_patch.tgz created.
ghostwriter.SlackBuild complete at Sat Oct 1 12:57:34 CDT 2022 ... RetCode = 0
More information about the SlackBuilds-users
mailing list