diff options
Diffstat (limited to 'freebsd/applications/office/basket')
5 files changed, 234 insertions, 0 deletions
diff --git a/freebsd/applications/office/basket/Makefile b/freebsd/applications/office/basket/Makefile new file mode 100644 index 000000000..ed373eb9d --- /dev/null +++ b/freebsd/applications/office/basket/Makefile @@ -0,0 +1,37 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# + +.include <../../../trinity.port.mk> + +PORTNAME= basket-trinity +COMMENT= Multi-purpose note-taking application for Trinity +TDE_PREVERSION= +MASTER_SITE_SUBDIR= b/${PORTNAME} +PORTREVISION= 0 +CATEGORIES= deskutils x11 +DIST_SUBDIR= TDE/applications/office + + +BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/core/tdelibs \ + ${TDE_PREFIX}/lib/libkontact.so:${PORTSDIR}/x11/trinity/core/tdepim + +LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface + +LIB_DEPENDS+=\ + libgpgme.so:${PORTSDIR}/security/gpgme \ + +# Build +post-patch: tde-pathfix + +do-configure: tde-cmake-prepare + ${TDE_CMAKE_CONFIGURE} \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" + +do-build: tde-cmake-build + +do-install: tde-cmake-install + +.include <bsd.port.mk> diff --git a/freebsd/applications/office/basket/distinfo b/freebsd/applications/office/basket/distinfo new file mode 100644 index 000000000..7971b5fb7 --- /dev/null +++ b/freebsd/applications/office/basket/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1635215761 +SHA256 (TDE/applications/office/basket-trinity_14.0.11.orig.tar.xz) = 0a23465b5b9c452fb7cb67f04015f846047b9b7add56a9508ba4b86f37ed9caf +SIZE (TDE/applications/office/basket-trinity_14.0.11.orig.tar.xz) = 3614936 diff --git a/freebsd/applications/office/basket/files/patch-bp000-fix-crash-on-export-basket-archive.diff b/freebsd/applications/office/basket/files/patch-bp000-fix-crash-on-export-basket-archive.diff new file mode 100644 index 000000000..172333cf3 --- /dev/null +++ b/freebsd/applications/office/basket/files/patch-bp000-fix-crash-on-export-basket-archive.diff @@ -0,0 +1,60 @@ +commit 6ccb5528ecff0cf0db5fe2f81b26a79959e87902 +Author: Slávek Banko <slavek.banko@axis.cz> +Date: Fri Oct 29 03:47:53 2021 +0200 + + Prevent null pointer deference in methods for selection. + This resolves the crash when exporting the Basket archive. + + Signed-off-by: Slávek Banko <slavek.banko@axis.cz> + (cherry picked from commit a08c6ac9e3c8ac162ce08b730fd6108e2f71213c) + +diff --git a/src/archive.cpp b/src/archive.cpp +index 3f3377c..aec789f 100644 +--- a/src/archive.cpp ++++ b/src/archive.cpp +@@ -228,7 +228,8 @@ void Archive::saveBasketToArchive(Basket *basket, bool recursive, KTar *tar, TQS + + // Recursively save child baskets: + BasketListViewItem *item = Global::bnpView->listViewItemForBasket(basket); +- if (recursive && item->firstChild()) { ++ if (recursive && item && item->firstChild()) ++ { + for (BasketListViewItem *child = (BasketListViewItem*) item->firstChild(); child; child = (BasketListViewItem*) child->nextSibling()) { + saveBasketToArchive(child->basket(), recursive, tar, backgrounds, tempFolder, progress); + } +diff --git a/src/basket.cpp b/src/basket.cpp +index a4edb31..67107d2 100644 +--- a/src/basket.cpp ++++ b/src/basket.cpp +@@ -4469,12 +4469,20 @@ void Basket::noteUngroup() + + void Basket::unplugSelection(NoteSelection *selection) + { ++ if (!selection) ++ { ++ return; ++ } + for (NoteSelection *toUnplug = selection->firstStacked(); toUnplug; toUnplug = toUnplug->nextStacked()) + unplugNote(toUnplug->note); + } + + void Basket::insertSelection(NoteSelection *selection, Note *after) + { ++ if (!selection) ++ { ++ return; ++ } + for (NoteSelection *toUnplug = selection->firstStacked(); toUnplug; toUnplug = toUnplug->nextStacked()) { + if (toUnplug->note->isGroup()) { + Note *group = new Note(this); +@@ -4496,6 +4504,10 @@ void Basket::insertSelection(NoteSelection *selection, Note *after) + + void Basket::selectSelection(NoteSelection *selection) + { ++ if (!selection) ++ { ++ return; ++ } + for (NoteSelection *toUnplug = selection->firstStacked(); toUnplug; toUnplug = toUnplug->nextStacked()) { + if (toUnplug->note->isGroup()) + selectSelection(toUnplug); diff --git a/freebsd/applications/office/basket/pkg-descr b/freebsd/applications/office/basket/pkg-descr new file mode 100644 index 000000000..65566a566 --- /dev/null +++ b/freebsd/applications/office/basket/pkg-descr @@ -0,0 +1,9 @@ +Multi-purpose note-taking application for Trinity + +This application provides as many baskets (drawers) as you wish; Several +kinds of objects (texts, URLs, images,...) can be drag-n-drop'd into it. + +Objects can be edited, copied, dragged... So, they can be arranged according to users' taste. Moreover, Basket allows you to keep all objects +you want in one place, keep data on hand, take notes... + +Homepage: http://basket.kde.org/ diff --git a/freebsd/applications/office/basket/pkg-plist b/freebsd/applications/office/basket/pkg-plist new file mode 100644 index 000000000..4586f04d9 --- /dev/null +++ b/freebsd/applications/office/basket/pkg-plist @@ -0,0 +1,125 @@ +bin/basket +lib/libbasketcommon.la +lib/libbasketcommon.so +lib/trinity/basketthumbcreator.la +lib/trinity/basketthumbcreator.so +lib/trinity/kcm_basket.la +lib/trinity/kcm_basket.so +lib/trinity/libbasketpart.la +lib/trinity/libbasketpart.so +lib/trinity/libkontact_basket.la +lib/trinity/libkontact_basket.so +share/applications/tde/basket.desktop +share/apps/basket/backgrounds/abstract.png +share/apps/basket/backgrounds/alien-artifact.png +share/apps/basket/backgrounds/alien-artifact.png.config +share/apps/basket/backgrounds/basket-title.png +share/apps/basket/backgrounds/green-curves.png +share/apps/basket/backgrounds/light.png +share/apps/basket/backgrounds/painting.png +share/apps/basket/backgrounds/pens.png +share/apps/basket/backgrounds/pins.png +share/apps/basket/backgrounds/previews/abstract.png +share/apps/basket/backgrounds/previews/alien-artifact.png +share/apps/basket/backgrounds/previews/basket-title.png +share/apps/basket/backgrounds/previews/green-curves.png +share/apps/basket/backgrounds/previews/light.png +share/apps/basket/backgrounds/previews/painting.png +share/apps/basket/backgrounds/previews/pens.png +share/apps/basket/backgrounds/previews/pins.png +share/apps/basket/backgrounds/previews/rainbow-balls.png +share/apps/basket/backgrounds/previews/rounds-line.png +share/apps/basket/backgrounds/previews/strings.png +share/apps/basket/backgrounds/previews/todo.png +share/apps/basket/backgrounds/previews/working.png +share/apps/basket/backgrounds/rainbow-balls.png +share/apps/basket/backgrounds/rounds-line.png +share/apps/basket/backgrounds/strings.png +share/apps/basket/backgrounds/todo.png +share/apps/basket/backgrounds/working.png +share/apps/basket/basket_part.rc +share/apps/basket/basketui.rc +share/apps/basket/images/insertion_help.png +share/apps/basket/images/tag_export_help.png +share/apps/basket/images/tag_export_on_every_lines_help.png +share/apps/basket/welcome/Welcome_de.baskets +share/apps/basket/welcome/Welcome_en_US.baskets +share/apps/basket/welcome/Welcome_fr.baskets +share/apps/basket/welcome/Welcome_it.baskets +share/apps/basket/welcome/Welcome_ja.baskets +share/apps/basket/welcome/Welcome_nn.baskets +share/apps/basket/welcome/Welcome_pt.baskets +share/apps/basket/welcome/Welcome_ru.baskets +share/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg +share/config/magic/basket.magic +share/config/magic/basket.magic.mgc +share/doc/tde/HTML/en/basket/common +share/doc/tde/HTML/en/basket/index.cache.bz2 +share/doc/tde/HTML/en/basket/index.docbook +share/icons/crystalsvg/128x128/apps/basket.png +share/icons/crystalsvg/128x128/mimetypes/baskets.png +share/icons/crystalsvg/128x128/mimetypes/baskett.png +share/icons/crystalsvg/16x16/actions/likeback_bug.png +share/icons/crystalsvg/16x16/actions/likeback_dislike.png +share/icons/crystalsvg/16x16/actions/likeback_feature.png +share/icons/crystalsvg/16x16/actions/likeback_like.png +share/icons/crystalsvg/16x16/actions/tag_checkbox.png +share/icons/crystalsvg/16x16/actions/tag_checkbox_checked.png +share/icons/crystalsvg/16x16/actions/tag_for_later.png +share/icons/crystalsvg/16x16/actions/tag_fun.png +share/icons/crystalsvg/16x16/actions/tag_important.png +share/icons/crystalsvg/16x16/actions/tag_preference_bad.png +share/icons/crystalsvg/16x16/actions/tag_preference_excelent.png +share/icons/crystalsvg/16x16/actions/tag_preference_good.png +share/icons/crystalsvg/16x16/actions/tag_priority_high.png +share/icons/crystalsvg/16x16/actions/tag_priority_low.png +share/icons/crystalsvg/16x16/actions/tag_priority_medium.png +share/icons/crystalsvg/16x16/actions/tag_progress_000.png +share/icons/crystalsvg/16x16/actions/tag_progress_025.png +share/icons/crystalsvg/16x16/actions/tag_progress_050.png +share/icons/crystalsvg/16x16/actions/tag_progress_075.png +share/icons/crystalsvg/16x16/actions/tag_progress_100.png +share/icons/crystalsvg/16x16/apps/basket.png +share/icons/crystalsvg/16x16/mimetypes/baskets.png +share/icons/crystalsvg/16x16/mimetypes/baskett.png +share/icons/crystalsvg/22x22/apps/basket.png +share/icons/crystalsvg/22x22/mimetypes/baskets.png +share/icons/crystalsvg/22x22/mimetypes/baskett.png +share/icons/crystalsvg/32x32/apps/basket.png +share/icons/crystalsvg/32x32/mimetypes/baskets.png +share/icons/crystalsvg/32x32/mimetypes/baskett.png +share/icons/crystalsvg/48x48/apps/basket.png +share/icons/crystalsvg/48x48/mimetypes/baskets.png +share/icons/crystalsvg/48x48/mimetypes/baskett.png +share/icons/crystalsvg/64x64/apps/basket.png +share/icons/crystalsvg/64x64/mimetypes/baskets.png +share/icons/crystalsvg/64x64/mimetypes/baskett.png +share/icons/crystalsvg/scalable/apps/basket.svg +share/locale/cs/LC_MESSAGES/basket.mo +share/locale/da/LC_MESSAGES/basket.mo +share/locale/de/LC_MESSAGES/basket.mo +share/locale/es/LC_MESSAGES/basket.mo +share/locale/fr/LC_MESSAGES/basket.mo +share/locale/it/LC_MESSAGES/basket.mo +share/locale/ja/LC_MESSAGES/basket.mo +share/locale/nl/LC_MESSAGES/basket.mo +share/locale/nn/LC_MESSAGES/basket.mo +share/locale/pl_PL/LC_MESSAGES/basket.mo +share/locale/pt/LC_MESSAGES/basket.mo +share/locale/ru/LC_MESSAGES/basket.mo +share/locale/sk/LC_MESSAGES/basket.mo +share/locale/tr/LC_MESSAGES/basket.mo +share/locale/uk/LC_MESSAGES/basket.mo +share/locale/zh_CN/LC_MESSAGES/basket.mo +share/locale/zh_TW/LC_MESSAGES/basket.mo +share/man/man1/basket.1.gz +share/mimelnk/application/x-basket-archive.desktop +share/mimelnk/application/x-basket-template.desktop +share/services/basket_config_apps.desktop +share/services/basket_config_baskets.desktop +share/services/basket_config_general.desktop +share/services/basket_config_new_notes.desktop +share/services/basket_config_notes_appearance.desktop +share/services/basket_part.desktop +share/services/basketthumbcreator.desktop +share/services/kontact/basket.desktop |