forked from Lainports/freebsd-ports
Update mousepad to 0.5.0
This version removes support for GTK 2, so remove the GTK3 option (which was already the default) from the port.
This commit is contained in:
parent
98269e86d4
commit
71e686b489
4 changed files with 15 additions and 27 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue