aboutsummaryrefslogtreecommitdiff
path: root/editors/mousepad
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2020-12-01 17:10:15 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2020-12-01 17:10:15 +0000
commit71e686b4895bfb49689184b27ebfacac13b461b1 (patch)
treeeaa41dc286a63dfbd124b9b8b7577f75c56a20ea /editors/mousepad
parent98269e86d4f92058c21c0e51248ed4639b1e8921 (diff)
downloadports-71e686b4895bfb49689184b27ebfacac13b461b1.tar.gz
ports-71e686b4895bfb49689184b27ebfacac13b461b1.zip
Notes
Diffstat (limited to 'editors/mousepad')
-rw-r--r--editors/mousepad/Makefile18
-rw-r--r--editors/mousepad/distinfo6
-rw-r--r--editors/mousepad/files/patch-mousepad_mousepad-close-button.c11
-rw-r--r--editors/mousepad/pkg-plist7
4 files changed, 15 insertions, 27 deletions
diff --git a/editors/mousepad/Makefile b/editors/mousepad/Makefile
index e466c6f1bf75..75e0bd1792a1 100644
--- a/editors/mousepad/Makefile
+++ b/editors/mousepad/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mousepad
-PORTVERSION= 0.4.2
-PORTREVISION= 1
+PORTVERSION= 0.5.0
CATEGORIES= editors xfce
MASTER_SITES= XFCE/apps
DIST_SUBDIR= xfce4
@@ -15,25 +14,18 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= desktop-file-utils gettext-tools gmake gnome libtool perl5 \
- pkgconfig tar:bzip2
-USE_GNOME= cairo gdkpixbuf2 glib20 intlhack intltool
+ pkgconfig tar:bzip2 xfce
+USE_GNOME= cairo dconf gdkpixbuf2 glib20 gtk30 gtksourceview3 intlhack \
+ intltool
USE_XFCE= xfconf
GNU_CONFIGURE= yes
GLIB_SCHEMAS= org.xfce.mousepad.gschema.xml
-OPTIONS_DEFINE= GTK3 NLS
-OPTIONS_DEFAULT= GTK3
+OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
-GTK3_CONFIGURE_ENABLE= gtk3
-GTK3_USE= gnome=gtk30,gtksourceview3,dconf
-GTK3_USE_OFF= gnome=gtk20,gtksourceview2
-GTK3_USES= xfce
-GTK3_USES_OFF= xfce:gtk2
-GTK3_CFLAGS_OFF= -I${LOCALBASE}/include/gio-unix-2.0
-
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
diff --git a/editors/mousepad/distinfo b/editors/mousepad/distinfo
index 6235f2c08624..8da194a72e0b 100644
--- a/editors/mousepad/distinfo
+++ b/editors/mousepad/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1564325286
-SHA256 (xfce4/mousepad-0.4.2.tar.bz2) = 84c02adfca7f8b33b9466a306ded72fb9f38f93c9edb78660343854c4a3aded7
-SIZE (xfce4/mousepad-0.4.2.tar.bz2) = 696014
+TIMESTAMP = 1606819549
+SHA256 (xfce4/mousepad-0.5.0.tar.bz2) = 10366d490cfc9b7f30400496d3fc0be7de8ad91a95d588b43ace0e464220708b
+SIZE (xfce4/mousepad-0.5.0.tar.bz2) = 810533
diff --git a/editors/mousepad/files/patch-mousepad_mousepad-close-button.c b/editors/mousepad/files/patch-mousepad_mousepad-close-button.c
deleted file mode 100644
index 3a2ea2e2aa85..000000000000
--- a/editors/mousepad/files/patch-mousepad_mousepad-close-button.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- mousepad/mousepad-close-button.c.orig 2014-09-01 20:50:07 UTC
-+++ mousepad/mousepad-close-button.c
-@@ -88,7 +88,7 @@ mousepad_close_button_init (MousepadClos
- gtk_widget_set_name (GTK_WIDGET (button), "mousepad-close-button");
- #endif
-
-- image = gtk_image_new_from_icon_name ("gtk-close", GTK_ICON_SIZE_MENU);
-+ image = gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_MENU);
- gtk_container_add (GTK_CONTAINER (button), image);
- gtk_widget_show (image);
-
diff --git a/editors/mousepad/pkg-plist b/editors/mousepad/pkg-plist
index f1f779d4d09e..bf74744fe4fa 100644
--- a/editors/mousepad/pkg-plist
+++ b/editors/mousepad/pkg-plist
@@ -1,5 +1,9 @@
bin/mousepad
share/applications/mousepad.desktop
+share/icons/hicolor/128x128/apps/org.xfce.mousepad.png
+share/icons/hicolor/16x16/apps/org.xfce.mousepad.png
+share/icons/hicolor/48x48/apps/org.xfce.mousepad.png
+share/icons/hicolor/scalable/apps/org.xfce.mousepad.svg
%%NLS%%share/locale/ar/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/ast/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/be/LC_MESSAGES/mousepad.mo
@@ -12,6 +16,7 @@ share/applications/mousepad.desktop
%%NLS%%share/locale/en_AU/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/en_GB/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/es/LC_MESSAGES/mousepad.mo
+%%NLS%%share/locale/et/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/eu/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/fi/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/fr/LC_MESSAGES/mousepad.mo
@@ -20,6 +25,7 @@ share/applications/mousepad.desktop
%%NLS%%share/locale/hr/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/hu/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/hy_AM/LC_MESSAGES/mousepad.mo
+%%NLS%%share/locale/hye/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/id/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/ie/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/is/LC_MESSAGES/mousepad.mo
@@ -50,4 +56,5 @@ share/applications/mousepad.desktop
%%NLS%%share/locale/uk/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/mousepad.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/mousepad.mo
+share/metainfo/mousepad.appdata.xml
share/polkit-1/actions/org.xfce.mousepad.policy