diff options
Diffstat (limited to 'deskutils/gnote')
-rw-r--r-- | deskutils/gnote/Makefile | 37 | ||||
-rw-r--r-- | deskutils/gnote/distinfo | 6 | ||||
-rw-r--r-- | deskutils/gnote/files/patch-src_recentchanges.cpp | 12 | ||||
-rw-r--r-- | deskutils/gnote/pkg-plist | 109 |
4 files changed, 73 insertions, 91 deletions
diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile index 1e1946f585b6..52c1af192ed6 100644 --- a/deskutils/gnote/Makefile +++ b/deskutils/gnote/Makefile @@ -1,44 +1,31 @@ PORTNAME= gnote -PORTVERSION= 42.1 -PORTREVISION= 2 +PORTVERSION= 47.2 +PORTREVISION= 1 CATEGORIES= deskutils gnome -MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} +MASTER_SITES= GNOME +DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= C++ version of Tomboy, note taking application -WWW= https://wiki.gnome.org/Apps/Gnote +WWW= https://gitlab.gnome.org/GNOME/gnote LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool -LIB_DEPENDS= libenchant.so:textproc/enchant \ - libgtkspell3-3.so:textproc/gtkspell3 \ - libsecret-1.so:security/libsecret \ - libuuid.so:misc/e2fsprogs-libuuid +LIB_DEPENDS= libsecret-1.so:security/libsecret \ + libuuid.so:misc/libuuid -PORTSCOUT= limitw:1,even +PORTSCOUT= limit:^47\. -USE_GNOME= gtkmm30 intltool libxml2 libxslt -USE_XORG= x11 -USES= compiler:c++11-lib desktop-file-utils gettext gnome localbase \ - meson pathfix pkgconfig python:build tar:xz xorg +USES= compiler:c++17-lang desktop-file-utils gettext gnome localbase \ + meson pkgconfig python:build tar:xz +USE_GNOME= glib20 gtkmm40 libadwaita libxml2 libxslt USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_VERSION} GLIB_SCHEMAS= org.gnome.gnote.gschema.xml -DOCS= AUTHORS ChangeLog NEWS README TODO - -PLIST_SUB+= SVER=${PORTVERSION:R} \ - VERSION=${PORTVERSION} - -OPTIONS_DEFINE= DOCS - -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} -.endfor +PLIST_SUB= VERSION=${PORTVERSION:R} .include <bsd.port.mk> diff --git a/deskutils/gnote/distinfo b/deskutils/gnote/distinfo index f5c5e99018c9..9c4cca6317f6 100644 --- a/deskutils/gnote/distinfo +++ b/deskutils/gnote/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1659639789 -SHA256 (gnote-42.1.tar.xz) = 6c20c47b24ed9c03a0de64742dd121f2e7cee05ec6a06158c3cd1265d31e5539 -SIZE (gnote-42.1.tar.xz) = 3330824 +TIMESTAMP = 1745068484 +SHA256 (gnome/gnote-47.2.tar.xz) = 9a60f1692480f64d166d31e6564a0ff248127a598e2ff7f6357dc0b2ec25b168 +SIZE (gnome/gnote-47.2.tar.xz) = 3839184 diff --git a/deskutils/gnote/files/patch-src_recentchanges.cpp b/deskutils/gnote/files/patch-src_recentchanges.cpp index 9fefec1e777c..a9fbd9221ad4 100644 --- a/deskutils/gnote/files/patch-src_recentchanges.cpp +++ b/deskutils/gnote/files/patch-src_recentchanges.cpp @@ -1,10 +1,10 @@ ---- src/recentchanges.cpp.orig 2021-09-01 22:35:10 UTC +--- src/recentchanges.cpp.orig 2023-09-25 18:30:51 UTC +++ src/recentchanges.cpp -@@ -842,7 +842,6 @@ namespace gnote { +@@ -896,7 +896,6 @@ namespace gnote { - Gtk::PopoverMenu *NoteRecentChanges::make_window_menu(Gtk::Button *button, std::vector<PopoverWidget> && items) + Gtk::Popover *NoteRecentChanges::make_window_menu(Gtk::Button *button, std::vector<PopoverWidget> && items) { - std::sort(items.begin(), items.end()); - Gtk::PopoverMenu *menu = manage(new Gtk::PopoverMenu); - Gtk::Box *menu_box = manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL)); - utils::set_common_popover_widget_props(*menu_box); + auto menu = Gio::Menu::create(); + if(items.size() > 0) { + auto iter = items.begin(); diff --git a/deskutils/gnote/pkg-plist b/deskutils/gnote/pkg-plist index a497a4854d90..7de4b862a87d 100644 --- a/deskutils/gnote/pkg-plist +++ b/deskutils/gnote/pkg-plist @@ -1,57 +1,49 @@ bin/gnote -lib/gnote/plugins/42/backlinks.desktop -lib/gnote/plugins/42/bugzilla.desktop -lib/gnote/plugins/42/exporttogtg.desktop -lib/gnote/plugins/42/exporttohtml.desktop -lib/gnote/plugins/42/filesystemsyncservice.desktop -lib/gnote/plugins/42/fixedwidth.desktop -lib/gnote/plugins/42/gvfssyncservice.desktop -lib/gnote/plugins/42/inserttimestamp.desktop -lib/gnote/plugins/42/libbacklinks.so -lib/gnote/plugins/42/libbugzilla.so -lib/gnote/plugins/42/libexporttogtg.so -lib/gnote/plugins/42/libexporttohtml.so -lib/gnote/plugins/42/libfilesystemsyncservice.so -lib/gnote/plugins/42/libfixedwidth.so -lib/gnote/plugins/42/libgvfssyncservice.so -lib/gnote/plugins/42/libinserttimestamp.so -lib/gnote/plugins/42/libnotedirectorywatcher.so -lib/gnote/plugins/42/libnoteoftheday.so -lib/gnote/plugins/42/libprintnotes.so -lib/gnote/plugins/42/libreadonly.so -lib/gnote/plugins/42/libreplacetitle.so -lib/gnote/plugins/42/libspecialnotes.so -lib/gnote/plugins/42/libstatistics.so -lib/gnote/plugins/42/libstickynoteimport.so -lib/gnote/plugins/42/libtableofcontents.so -lib/gnote/plugins/42/libtodo.so -lib/gnote/plugins/42/libtomboyimport.so -lib/gnote/plugins/42/libunderline.so -lib/gnote/plugins/42/libwebdavsyncservice.so -lib/gnote/plugins/42/notedirectorywatcher.desktop -lib/gnote/plugins/42/noteoftheday.desktop -lib/gnote/plugins/42/printnotes.desktop -lib/gnote/plugins/42/readonly.desktop -lib/gnote/plugins/42/replacetitle.desktop -lib/gnote/plugins/42/specialnotes.desktop -lib/gnote/plugins/42/statistics.desktop -lib/gnote/plugins/42/stickynoteimport.desktop -lib/gnote/plugins/42/tableofcontents.desktop -lib/gnote/plugins/42/todo.desktop -lib/gnote/plugins/42/tomboyimport.desktop -lib/gnote/plugins/42/underline.desktop -lib/gnote/plugins/42/webdavsyncservice.desktop -lib/libgnote-42.so -lib/libgnote-42.so.0 -lib/libgnote-42.so.0.0.1 -share/man/man1/gnote.1.gz +lib/gnote/plugins/%%VERSION%%/backlinks.desktop +lib/gnote/plugins/%%VERSION%%/bugzilla.desktop +lib/gnote/plugins/%%VERSION%%/exporttogtg.desktop +lib/gnote/plugins/%%VERSION%%/exporttohtml.desktop +lib/gnote/plugins/%%VERSION%%/filesystemsyncservice.desktop +lib/gnote/plugins/%%VERSION%%/fixedwidth.desktop +lib/gnote/plugins/%%VERSION%%/gvfssyncservice.desktop +lib/gnote/plugins/%%VERSION%%/inserttimestamp.desktop +lib/gnote/plugins/%%VERSION%%/libbacklinks.so +lib/gnote/plugins/%%VERSION%%/libbugzilla.so +lib/gnote/plugins/%%VERSION%%/libexporttogtg.so +lib/gnote/plugins/%%VERSION%%/libexporttohtml.so +lib/gnote/plugins/%%VERSION%%/libfilesystemsyncservice.so +lib/gnote/plugins/%%VERSION%%/libfixedwidth.so +lib/gnote/plugins/%%VERSION%%/libgvfssyncservice.so +lib/gnote/plugins/%%VERSION%%/libinserttimestamp.so +lib/gnote/plugins/%%VERSION%%/libnotedirectorywatcher.so +lib/gnote/plugins/%%VERSION%%/libnoteoftheday.so +lib/gnote/plugins/%%VERSION%%/libprintnotes.so +lib/gnote/plugins/%%VERSION%%/libreadonly.so +lib/gnote/plugins/%%VERSION%%/libreplacetitle.so +lib/gnote/plugins/%%VERSION%%/libspecialnotes.so +lib/gnote/plugins/%%VERSION%%/libstatistics.so +lib/gnote/plugins/%%VERSION%%/libtableofcontents.so +lib/gnote/plugins/%%VERSION%%/libtodo.so +lib/gnote/plugins/%%VERSION%%/libtomboyimport.so +lib/gnote/plugins/%%VERSION%%/libunderline.so +lib/gnote/plugins/%%VERSION%%/libwebdavsyncservice.so +lib/gnote/plugins/%%VERSION%%/notedirectorywatcher.desktop +lib/gnote/plugins/%%VERSION%%/noteoftheday.desktop +lib/gnote/plugins/%%VERSION%%/printnotes.desktop +lib/gnote/plugins/%%VERSION%%/readonly.desktop +lib/gnote/plugins/%%VERSION%%/replacetitle.desktop +lib/gnote/plugins/%%VERSION%%/specialnotes.desktop +lib/gnote/plugins/%%VERSION%%/statistics.desktop +lib/gnote/plugins/%%VERSION%%/tableofcontents.desktop +lib/gnote/plugins/%%VERSION%%/todo.desktop +lib/gnote/plugins/%%VERSION%%/tomboyimport.desktop +lib/gnote/plugins/%%VERSION%%/underline.desktop +lib/gnote/plugins/%%VERSION%%/webdavsyncservice.desktop +lib/libgnote-%%VERSION%%.so +lib/libgnote-%%VERSION%%.so.1 +lib/libgnote-%%VERSION%%.so.1.0.0 share/applications/org.gnome.Gnote.desktop share/dbus-1/services/org.gnome.Gnote.service -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO share/gnome-shell/search-providers/org.gnome.Gnote.search-provider.ini %%DATADIR%%/exporttohtml.xsl %%DATADIR%%/gnote-introspect.xml @@ -923,12 +915,12 @@ share/help/zh_CN/gnote/gnote-synchronization.page share/help/zh_CN/gnote/gnote-template-notes.page share/help/zh_CN/gnote/gnote-working-with-notebooks.page share/help/zh_CN/gnote/index.page -share/icons/hicolor/16x16/apps/org.gnome.Gnote.svg -share/icons/hicolor/22x22/apps/org.gnome.Gnote.svg -share/icons/hicolor/24x24/apps/org.gnome.Gnote.svg -share/icons/hicolor/256x256/apps/org.gnome.Gnote.svg -share/icons/hicolor/32x32/apps/org.gnome.Gnote.svg -share/icons/hicolor/48x48/apps/org.gnome.Gnote.svg +share/icons/hicolor/16x16/apps/org.gnome.Gnote.png +share/icons/hicolor/22x22/apps/org.gnome.Gnote.png +share/icons/hicolor/24x24/apps/org.gnome.Gnote.png +share/icons/hicolor/256x256/apps/org.gnome.Gnote.png +share/icons/hicolor/32x32/apps/org.gnome.Gnote.png +share/icons/hicolor/48x48/apps/org.gnome.Gnote.png share/icons/hicolor/scalable/apps/org.gnome.Gnote.svg share/locale/ar/LC_MESSAGES/gnote.mo share/locale/as/LC_MESSAGES/gnote.mo @@ -953,8 +945,10 @@ share/locale/he/LC_MESSAGES/gnote.mo share/locale/hi/LC_MESSAGES/gnote.mo share/locale/hu/LC_MESSAGES/gnote.mo share/locale/id/LC_MESSAGES/gnote.mo +share/locale/ie/LC_MESSAGES/gnote.mo share/locale/it/LC_MESSAGES/gnote.mo share/locale/ja/LC_MESSAGES/gnote.mo +share/locale/ka/LC_MESSAGES/gnote.mo share/locale/kn/LC_MESSAGES/gnote.mo share/locale/ko/LC_MESSAGES/gnote.mo share/locale/lt/LC_MESSAGES/gnote.mo @@ -984,4 +978,5 @@ share/locale/uk/LC_MESSAGES/gnote.mo share/locale/zh_CN/LC_MESSAGES/gnote.mo share/locale/zh_HK/LC_MESSAGES/gnote.mo share/locale/zh_TW/LC_MESSAGES/gnote.mo +share/man/man1/gnote.1.gz share/metainfo/org.gnome.Gnote.appdata.xml |