diff --git a/app-text/qpdfview/patches/qpdfview-0.4.18.patchset b/app-text/qpdfview/patches/qpdfview-0.4.18.patchset index ddaae73f7..43075f6e3 100644 --- a/app-text/qpdfview/patches/qpdfview-0.4.18.patchset +++ b/app-text/qpdfview/patches/qpdfview-0.4.18.patchset @@ -42,3 +42,351 @@ index 6363c32..dc10a8c 100644 -- 2.30.0 + +From b5af672c965a1febb3521ed1875d712804fc6350 Mon Sep 17 00:00:00 2001 +From: FuRuYa7 +Date: Fri, 29 Oct 2021 15:04:08 +0900 +Subject: [PATCH] Changed to reflect Japanese translation files + + +diff --git a/qpdfview.pro b/qpdfview.pro +index b9c112f..2170492 100644 +--- a/qpdfview.pro ++++ b/qpdfview.pro +@@ -41,11 +41,13 @@ TRANSLATIONS += \ + translations/qpdfview_da.ts \ + translations/qpdfview_de.ts \ + translations/qpdfview_el.ts \ ++ translations/qpdfview_en_AU.ts \ + translations/qpdfview_en_GB.ts \ + translations/qpdfview_eo.ts \ + translations/qpdfview_es.ts \ + translations/qpdfview_eu.ts \ + translations/qpdfview_fi.ts \ ++ translations/qpdfview_fa.ts \ + translations/qpdfview_fr.ts \ + translations/qpdfview_gl.ts \ + translations/qpdfview_he.ts \ +@@ -53,21 +55,31 @@ TRANSLATIONS += \ + translations/qpdfview_hu.ts \ + translations/qpdfview_id.ts \ + translations/qpdfview_it.ts \ ++ translations/qpdfview_ja.ts \ + translations/qpdfview_kk.ts \ ++ translations/qpdfview_ko.ts \ ++ translations/qpdfview_ku.ts \ + translations/qpdfview_ky.ts \ + translations/qpdfview_lt.ts \ ++ translations/qpdfview_lv.ts \ + translations/qpdfview_ms.ts \ + translations/qpdfview_my.ts \ ++ translations/qpdfview_nb.ts \ ++ translations/qpdfview_nds.ts \ ++ translations/qpdfview_oc.ts \ + translations/qpdfview_pl.ts \ + translations/qpdfview_pt.ts \ + translations/qpdfview_pt_BR.ts \ + translations/qpdfview_ro.ts \ + translations/qpdfview_ru.ts \ + translations/qpdfview_sk.ts \ ++ translations/qpdfview_sr.ts \ + translations/qpdfview_sv.ts \ + translations/qpdfview_th.ts \ + translations/qpdfview_tr.ts \ + translations/qpdfview_ug.ts \ + translations/qpdfview_uk.ts \ ++ translations/qpdfview_uz.ts \ + translations/qpdfview_vi.ts \ +- translations/qpdfview_zh_CN.ts ++ translations/qpdfview_zh_CN.ts \ ++ translations/qpdfview_zh_TW.ts +diff --git a/translations.qrc b/translations.qrc +index 7627a38..d631e13 100644 +--- a/translations.qrc ++++ b/translations.qrc +@@ -10,10 +10,12 @@ + translations/qpdfview_da.qm + translations/qpdfview_de.qm + translations/qpdfview_el.qm ++ translations/qpdfview_en_AU.qm + translations/qpdfview_en_GB.qm + translations/qpdfview_eo.qm + translations/qpdfview_es.qm + translations/qpdfview_eu.qm ++ translations/qpdfview_fa.qm + translations/qpdfview_fi.qm + translations/qpdfview_fr.qm + translations/qpdfview_gl.qm +@@ -22,23 +24,33 @@ + translations/qpdfview_hu.qm + translations/qpdfview_id.qm + translations/qpdfview_it.qm ++ translations/qpdfview_ja.qm + translations/qpdfview_kk.qm ++ translations/qpdfview_ko.qm ++ translations/qpdfview_ku.qm + translations/qpdfview_ky.qm + translations/qpdfview_lt.qm ++ translations/qpdfview_lv.qm + translations/qpdfview_ms.qm + translations/qpdfview_my.qm ++ translations/qpdfview_nb.qm ++ translations/qpdfview_nds.qm ++ translations/qpdfview_oc.qm + translations/qpdfview_pl.qm + translations/qpdfview_pt_BR.qm + translations/qpdfview_pt.qm + translations/qpdfview_ro.qm + translations/qpdfview_ru.qm + translations/qpdfview_sk.qm ++ translations/qpdfview_sr.qm + translations/qpdfview_sv.qm + translations/qpdfview_th.qm + translations/qpdfview_tr.qm + translations/qpdfview_ug.qm + translations/qpdfview_uk.qm ++ translations/qpdfview_uz.qm + translations/qpdfview_vi.qm + translations/qpdfview_zh_CN.qm ++ translations/qpdfview_zh_TW.qm + + +-- +2.30.2 + + +From 5860cc6ebce838730c160506b701509c573e4ac0 Mon Sep 17 00:00:00 2001 +From: FuRuYa7 +Date: Fri, 29 Oct 2021 15:06:01 +0900 +Subject: [PATCH] Fix to translate help file + + +diff --git a/translations/qpdfview_az.ts b/translations/qpdfview_az.ts +index 61e42ee..1403809 100644 +--- a/translations/qpdfview_az.ts ++++ b/translations/qpdfview_az.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- help.html ++ help_az.html + + + +diff --git a/translations/qpdfview_bg.ts b/translations/qpdfview_bg.ts +index 2f369d4..1a67a8e 100644 +--- a/translations/qpdfview_bg.ts ++++ b/translations/qpdfview_bg.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- help.html ++ help_bg.html + + + +diff --git a/translations/qpdfview_da.ts b/translations/qpdfview_da.ts +index 0b0e167..e440414 100644 +--- a/translations/qpdfview_da.ts ++++ b/translations/qpdfview_da.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- help.html ++ help_da.html + + + +diff --git a/translations/qpdfview_fa.ts b/translations/qpdfview_fa.ts +index 875530e..7720023 100644 +--- a/translations/qpdfview_fa.ts ++++ b/translations/qpdfview_fa.ts +@@ -429,9 +429,8 @@ + + + help.html +- Please replace by file name of localized help if available, e.g. "help_fr.html". +- +- ++ Please replace by file name of localized help if available, e.g. "help_fr.html". ++ help_fa.html + + + +diff --git a/translations/qpdfview_fi.ts b/translations/qpdfview_fi.ts +index 72b8147..2f2b8f8 100644 +--- a/translations/qpdfview_fi.ts ++++ b/translations/qpdfview_fi.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- ++ help_fi.html + + + +diff --git a/translations/qpdfview_gl.ts b/translations/qpdfview_gl.ts +index 6169aeb..896ea10 100644 +--- a/translations/qpdfview_gl.ts ++++ b/translations/qpdfview_gl.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- help.html ++ help_gl.html + + + +diff --git a/translations/qpdfview_ja.ts b/translations/qpdfview_ja.ts +index c0c8d4f..88446dc 100644 +--- a/translations/qpdfview_ja.ts ++++ b/translations/qpdfview_ja.ts +@@ -429,9 +429,8 @@ + + + help.html +- Please replace by file name of localized help if available, e.g. "help_fr.html". +- +- help.html ++ Please replace by file name of localized help if available, e.g. "help_fr.html". ++ help_ja.html + + + +diff --git a/translations/qpdfview_ko.ts b/translations/qpdfview_ko.ts +index 5ab35b3..3a7b272 100644 +--- a/translations/qpdfview_ko.ts ++++ b/translations/qpdfview_ko.ts +@@ -429,9 +429,8 @@ + + + help.html +- Please replace by file name of localized help if available, e.g. "help_fr.html". +- +- ++ Please replace by file name of localized help if available, e.g. "help_fr.html". ++ help_ko.html + + + +diff --git a/translations/qpdfview_ku.ts b/translations/qpdfview_ku.ts +index 0e721f7..436b43b 100644 +--- a/translations/qpdfview_ku.ts ++++ b/translations/qpdfview_ku.ts +@@ -429,9 +429,8 @@ + + + help.html +- Please replace by file name of localized help if available, e.g. "help_fr.html". +- +- ++ Please replace by file name of localized help if available, e.g. "help_fr.html". ++ help_ku.html + + + +diff --git a/translations/qpdfview_ms.ts b/translations/qpdfview_ms.ts +index 9756691..38b4147 100644 +--- a/translations/qpdfview_ms.ts ++++ b/translations/qpdfview_ms.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- help.html ++ help_ms.html + + + +diff --git a/translations/qpdfview_pl.ts b/translations/qpdfview_pl.ts +index 99bc54c..b9f2763 100644 +--- a/translations/qpdfview_pl.ts ++++ b/translations/qpdfview_pl.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- help.html ++ help_pl.html + + + +diff --git a/translations/qpdfview_sr.ts b/translations/qpdfview_sr.ts +index 19c2b58..e6c387e 100644 +--- a/translations/qpdfview_sr.ts ++++ b/translations/qpdfview_sr.ts +@@ -429,9 +429,8 @@ + + + help.html +- Please replace by file name of localized help if available, e.g. "help_fr.html". +- +- помоћ_rs.html ++ Please replace by file name of localized help if available, e.g. "help_fr.html". ++ help_sr.html + + + +diff --git a/translations/qpdfview_sv.ts b/translations/qpdfview_sv.ts +index 24cdc6b..9dc9ee3 100644 +--- a/translations/qpdfview_sv.ts ++++ b/translations/qpdfview_sv.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- help.html ++ help_sv.html + + + +diff --git a/translations/qpdfview_tr.ts b/translations/qpdfview_tr.ts +index 3c8e8a7..465b3b0 100644 +--- a/translations/qpdfview_tr.ts ++++ b/translations/qpdfview_tr.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- yardım.html ++ help_tr.html + + + +diff --git a/translations/qpdfview_vi.ts b/translations/qpdfview_vi.ts +index 5735371..dfec310 100644 +--- a/translations/qpdfview_vi.ts ++++ b/translations/qpdfview_vi.ts +@@ -417,7 +417,7 @@ + + help.html + Please replace by file name of localized help if available, e.g. "help_fr.html". +- help.html ++ help_vi.html + + + +diff --git a/translations/qpdfview_zh_TW.ts b/translations/qpdfview_zh_TW.ts +index 55278e3..06152a6 100644 +--- a/translations/qpdfview_zh_TW.ts ++++ b/translations/qpdfview_zh_TW.ts +@@ -429,9 +429,8 @@ + + + help.html +- Please replace by file name of localized help if available, e.g. "help_fr.html". +- +- ++ Please replace by file name of localized help if available, e.g. "help_fr.html". ++ help_zh_TW.html + + + +-- +2.30.2 + diff --git a/app-text/qpdfview/qpdfview-0.4.18.recipe b/app-text/qpdfview/qpdfview-0.4.18.recipe index c64942c23..5a368ad43 100644 --- a/app-text/qpdfview/qpdfview-0.4.18.recipe +++ b/app-text/qpdfview/qpdfview-0.4.18.recipe @@ -4,7 +4,7 @@ DjVuLibre, CUPS and Qt, licensed under GPL version 2 or later." HOMEPAGE="https://launchpad.net/qpdfview/" COPYRIGHT="Adam Reichold et al." LICENSE="GNU GPL v2" -REVISION="4" +REVISION="5" SOURCE_URI="$HOMEPAGE/trunk/$portVersion/+download/qpdfview-$portVersion.tar.gz" CHECKSUM_SHA256="cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c" SOURCE_DIR="qpdfview-$portVersion" @@ -67,6 +67,7 @@ BUILD() CONFIG+="without_ps without_cups without_synctex without_dbus without_signals" \ TARGET_INSTALL_PATH=$appsDir/qPDFView \ PLUGIN_INSTALL_PATH=$appsDir/qPDFView/lib \ + DATA_INSTALL_PATH=$appsDir/qPDFView/data \ MANUAL_INSTALL_PATH=$manDir make $jobArgs @@ -77,12 +78,15 @@ INSTALL() cd haiku_build make install + #To translate the help file, modify "translations/qpdfview_??.ts". + #Replace the written "help.html" + # with "help_??.html". + mv $appsDir/qPDFView/qpdfview $appsDir/qPDFView/qPDFView # Icon local MAJOR="`echo "$portVersion" | cut -d. -f1`" local MIDDLE="`echo "$portVersion" | cut -d. -f2`" local MINOR="`echo "$portVersion" | cut -d. -f3`" - sed \ -e "s|@MAJOR@|$MAJOR|" \ -e "s|@MIDDLE@|$MIDDLE|" \