git: 97d6f4adbfae - main - graphics/drawing: Adopt/Update to 1.0.1

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 20 Jan 2023 10:07:02 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97d6f4adbfae96d5d79347a8e4850ca68375487d

commit 97d6f4adbfae96d5d79347a8e4850ca68375487d
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-01-19 13:26:50 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-01-20 10:06:28 +0000

    graphics/drawing: Adopt/Update to 1.0.1
    
    - Add NLS option
    
    ChangeLog: https://github.com/maoschanz/drawing/releases
---
 graphics/drawing/Makefile  |  12 ++--
 graphics/drawing/distinfo  |   6 +-
 graphics/drawing/pkg-plist | 133 ++++++++++++++++++++++++++++++++++++---------
 3 files changed, 117 insertions(+), 34 deletions(-)

diff --git a/graphics/drawing/Makefile b/graphics/drawing/Makefile
index bb6bb8a8e8ea..0fd98b0cd95b 100644
--- a/graphics/drawing/Makefile
+++ b/graphics/drawing/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	drawing
-DISTVERSION=	0.8.5
+DISTVERSION=	1.0.1
 CATEGORIES=	graphics
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Drawing application for the GNOME desktop
 WWW=		https://maoschanz.github.io/drawing/
 
@@ -13,13 +13,17 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \
 		itstool:textproc/itstool
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
 
-USES=		desktop-file-utils gettext gnome meson pkgconfig python:3.6+ \
+USES=		desktop-file-utils gettext gnome meson pkgconfig python \
 		shebangfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	maoschanz
-USE_GNOME=	gtk30 pygobject3
+USE_GNOME=	glib20 gtk30 pygobject3
 
 GLIB_SCHEMAS=	com.github.maoschanz.drawing.gschema.xml
 SHEBANG_FILES=	build-aux/meson/postinstall.py
 
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+NLS_MESON_TRUE=	enable-translations-and-appdata
+
 .include <bsd.port.mk>
diff --git a/graphics/drawing/distinfo b/graphics/drawing/distinfo
index e9a5bb7be0e1..bf9fb1589b83 100644
--- a/graphics/drawing/distinfo
+++ b/graphics/drawing/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641231114
-SHA256 (maoschanz-drawing-0.8.5_GH0.tar.gz) = d9c3ab7005097f22e4940045ff047419e765a3ed3e5e8fa0da50418b82f98fbc
-SIZE (maoschanz-drawing-0.8.5_GH0.tar.gz) = 11465320
+TIMESTAMP = 1674126705
+SHA256 (maoschanz-drawing-1.0.1_GH0.tar.gz) = 62c43c00befe3db2873967370dffd030de8041d6ba6281f8c46d556f9756867f
+SIZE (maoschanz-drawing-1.0.1_GH0.tar.gz) = 14388196
diff --git a/graphics/drawing/pkg-plist b/graphics/drawing/pkg-plist
index 64bcef44381d..c52a2eefe842 100644
--- a/graphics/drawing/pkg-plist
+++ b/graphics/drawing/pkg-plist
@@ -21,7 +21,6 @@ share/applications/com.github.maoschanz.drawing.desktop
 %%DATADIR%%/drawing/filter_saturation.py
 %%DATADIR%%/drawing/filter_transparency.py
 %%DATADIR%%/drawing/filter_veil.py
-%%DATADIR%%/drawing/gi_composites.py
 %%DATADIR%%/drawing/history_manager.py
 %%DATADIR%%/drawing/image.py
 %%DATADIR%%/drawing/main.py
@@ -36,6 +35,7 @@ share/applications/com.github.maoschanz.drawing.desktop
 %%DATADIR%%/drawing/optionsbar_rotate.py
 %%DATADIR%%/drawing/optionsbar_scale.py
 %%DATADIR%%/drawing/optionsbar_selection.py
+%%DATADIR%%/drawing/optionsbar_skew.py
 %%DATADIR%%/drawing/preferences.py
 %%DATADIR%%/drawing/printing_manager.py
 %%DATADIR%%/drawing/properties.py
@@ -59,11 +59,15 @@ share/applications/com.github.maoschanz.drawing.desktop
 %%DATADIR%%/drawing/tool_rotate.py
 %%DATADIR%%/drawing/tool_scale.py
 %%DATADIR%%/drawing/tool_shape.py
+%%DATADIR%%/drawing/tool_skew.py
 %%DATADIR%%/drawing/tool_text.py
-%%DATADIR%%/drawing/utilities.py
+%%DATADIR%%/drawing/tools_initializer.py
 %%DATADIR%%/drawing/utilities_blur.py
+%%DATADIR%%/drawing/utilities_colors.py
+%%DATADIR%%/drawing/utilities_files.py
 %%DATADIR%%/drawing/utilities_overlay.py
 %%DATADIR%%/drawing/utilities_paths.py
+%%DATADIR%%/drawing/utilities_units.py
 %%DATADIR%%/drawing/window.py
 share/help/C/drawing/figures/icon.png
 share/help/C/drawing/figures/screenshot_arrow.png
@@ -90,34 +94,109 @@ share/help/C/drawing/tools_selection.page
 share/help/C/drawing/tools_transform.page
 share/help/C/drawing/whats_new.page
 share/help/C/drawing/zoom_preview.page
+share/help/es/drawing/figures/icon.png
+share/help/es/drawing/figures/screenshot_arrow.png
+share/help/es/drawing/figures/screenshot_color_editor.png
+share/help/es/drawing/figures/screenshot_color_palette.png
+share/help/es/drawing/figures/screenshot_filters.png
+share/help/es/drawing/figures/screenshot_fullscreen.png
+share/help/es/drawing/figures/screenshot_hsl.png
+share/help/es/drawing/figures/screenshot_menu.png
+share/help/es/drawing/figures/screenshot_prefs_images.png
+share/help/es/drawing/figures/screenshot_prefs_tools.png
+share/help/es/drawing/figures/screenshot_scale.png
+share/help/es/drawing/figures/screenshot_selection.png
+share/help/es/drawing/figures/screenshot_text.png
+share/help/es/drawing/figures/screenshot_zoom.png
+share/help/es/drawing/fullscreen.page
+share/help/es/drawing/index.page
+share/help/es/drawing/legal.xml
+share/help/es/drawing/main_features.page
+share/help/es/drawing/preferences.page
+share/help/es/drawing/tools_classic.page
+share/help/es/drawing/tools_classic_colors.page
+share/help/es/drawing/tools_selection.page
+share/help/es/drawing/tools_transform.page
+share/help/es/drawing/whats_new.page
+share/help/es/drawing/zoom_preview.page
+share/help/ru/drawing/figures/icon.png
+share/help/ru/drawing/figures/screenshot_arrow.png
+share/help/ru/drawing/figures/screenshot_color_editor.png
+share/help/ru/drawing/figures/screenshot_color_palette.png
+share/help/ru/drawing/figures/screenshot_filters.png
+share/help/ru/drawing/figures/screenshot_fullscreen.png
+share/help/ru/drawing/figures/screenshot_hsl.png
+share/help/ru/drawing/figures/screenshot_menu.png
+share/help/ru/drawing/figures/screenshot_prefs_images.png
+share/help/ru/drawing/figures/screenshot_prefs_tools.png
+share/help/ru/drawing/figures/screenshot_scale.png
+share/help/ru/drawing/figures/screenshot_selection.png
+share/help/ru/drawing/figures/screenshot_text.png
+share/help/ru/drawing/figures/screenshot_zoom.png
+share/help/ru/drawing/fullscreen.page
+share/help/ru/drawing/index.page
+share/help/ru/drawing/legal.xml
+share/help/ru/drawing/main_features.page
+share/help/ru/drawing/preferences.page
+share/help/ru/drawing/tools_classic.page
+share/help/ru/drawing/tools_classic_colors.page
+share/help/ru/drawing/tools_selection.page
+share/help/ru/drawing/tools_transform.page
+share/help/ru/drawing/whats_new.page
+share/help/ru/drawing/zoom_preview.page
+share/help/tr/drawing/figures/icon.png
+share/help/tr/drawing/figures/screenshot_arrow.png
+share/help/tr/drawing/figures/screenshot_color_editor.png
+share/help/tr/drawing/figures/screenshot_color_palette.png
+share/help/tr/drawing/figures/screenshot_filters.png
+share/help/tr/drawing/figures/screenshot_fullscreen.png
+share/help/tr/drawing/figures/screenshot_hsl.png
+share/help/tr/drawing/figures/screenshot_menu.png
+share/help/tr/drawing/figures/screenshot_prefs_images.png
+share/help/tr/drawing/figures/screenshot_prefs_tools.png
+share/help/tr/drawing/figures/screenshot_scale.png
+share/help/tr/drawing/figures/screenshot_selection.png
+share/help/tr/drawing/figures/screenshot_text.png
+share/help/tr/drawing/figures/screenshot_zoom.png
+share/help/tr/drawing/fullscreen.page
+share/help/tr/drawing/index.page
+share/help/tr/drawing/legal.xml
+share/help/tr/drawing/main_features.page
+share/help/tr/drawing/preferences.page
+share/help/tr/drawing/tools_classic.page
+share/help/tr/drawing/tools_classic_colors.page
+share/help/tr/drawing/tools_selection.page
+share/help/tr/drawing/tools_transform.page
+share/help/tr/drawing/whats_new.page
+share/help/tr/drawing/zoom_preview.page
 share/icons/hicolor/128x128/apps/com.github.maoschanz.drawing.png
 share/icons/hicolor/256x256/apps/com.github.maoschanz.drawing.png
 share/icons/hicolor/48x48/apps/com.github.maoschanz.drawing.png
 share/icons/hicolor/512x512/apps/com.github.maoschanz.drawing.png
 share/icons/hicolor/scalable/apps/com.github.maoschanz.drawing-symbolic.svg
 share/icons/hicolor/scalable/apps/com.github.maoschanz.drawing.svg
-share/locale/ca/LC_MESSAGES/drawing.mo
-share/locale/cs/LC_MESSAGES/drawing.mo
-share/locale/da/LC_MESSAGES/drawing.mo
-share/locale/de/LC_MESSAGES/drawing.mo
-share/locale/es/LC_MESSAGES/drawing.mo
-share/locale/eu/LC_MESSAGES/drawing.mo
-share/locale/fi/LC_MESSAGES/drawing.mo
-share/locale/fr/LC_MESSAGES/drawing.mo
-share/locale/he/LC_MESSAGES/drawing.mo
-share/locale/hr/LC_MESSAGES/drawing.mo
-share/locale/hu/LC_MESSAGES/drawing.mo
-share/locale/id/LC_MESSAGES/drawing.mo
-share/locale/it/LC_MESSAGES/drawing.mo
-share/locale/ja/LC_MESSAGES/drawing.mo
-share/locale/ko/LC_MESSAGES/drawing.mo
-share/locale/nl/LC_MESSAGES/drawing.mo
-share/locale/oc/LC_MESSAGES/drawing.mo
-share/locale/pl/LC_MESSAGES/drawing.mo
-share/locale/pt_BR/LC_MESSAGES/drawing.mo
-share/locale/ru/LC_MESSAGES/drawing.mo
-share/locale/sv/LC_MESSAGES/drawing.mo
-share/locale/tr/LC_MESSAGES/drawing.mo
-share/locale/zh_CN/LC_MESSAGES/drawing.mo
-share/locale/zh_TW/LC_MESSAGES/drawing.mo
-share/metainfo/com.github.maoschanz.drawing.appdata.xml
+%%NLS%%share/locale/ca/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/da/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/de/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/es/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/he/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/id/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/it/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/oc/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/drawing.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/drawing.mo
+%%NLS%%share/metainfo/com.github.maoschanz.drawing.appdata.xml