View | Details | Raw Unified | Return to bug 256303 | Differences between
and this patch

Collapse All | Expand All

(-)b/editors/mousepad/Makefile (-4 / +22 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	mousepad
3
PORTNAME=	mousepad
4
PORTVERSION=	0.5.5
4
PORTVERSION=	0.5.5
5
PORTREVISION=	1
5
CATEGORIES=	editors xfce
6
CATEGORIES=	editors xfce
6
MASTER_SITES=	XFCE/apps
7
MASTER_SITES=	XFCE/apps
7
DIST_SUBDIR=	xfce4
8
DIST_SUBDIR=	xfce4
Lines 12-22 COMMENT= Simple text editor for the Xfce Desktop Link Here
12
LICENSE=	GPLv2
13
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
16
LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
17
15
USES=		desktop-file-utils gettext-tools gmake gnome libtool perl5 \
18
USES=		desktop-file-utils gettext-tools gmake gnome libtool perl5 \
16
		pkgconfig tar:bzip2 xfce
19
		pkgconfig tar:bzip2 xfce
17
USE_GNOME=	cairo dconf gdkpixbuf2 glib20 gtk30 gtksourceview3 intlhack \
20
USE_GNOME=	cairo dconf gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool
18
		intltool
19
USE_XFCE=	xfconf
20
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
21
22
22
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
Lines 24-33 INSTALL_TARGET= install-strip Link Here
24
25
25
GLIB_SCHEMAS=	org.xfce.mousepad.gschema.xml
26
GLIB_SCHEMAS=	org.xfce.mousepad.gschema.xml
26
27
27
OPTIONS_DEFINE=		NLS
28
OPTIONS_DEFINE=		NLS SPELL
28
OPTIONS_SUB=		yes
29
OPTIONS_SUB=		yes
29
30
31
SPELL_DESC=		Spell checking plugin
32
30
NLS_CONFIGURE_ENABLE=	nls
33
NLS_CONFIGURE_ENABLE=	nls
31
NLS_USES=		gettext-runtime
34
NLS_USES=		gettext-runtime
32
35
36
SPELL_CONFIGURE_ENABLE=	plugin-gspell
37
SPELL_LIB_DEPENDS=	libgspell-1.so:textproc/gspell \
38
			libenchant-2.so:textproc/enchant2
39
SPELL_SUB_FILES=	pkg-message
40
41
.include <bsd.port.options.mk>
42
43
.if ${PORT_OPTIONS:MSPELL}
44
GLIB_SCHEMAS+=	org.xfce.mousepad.plugins.gspell.gschema.xml
45
.endif
46
47
post-patch-SPELL-on:
48
	@${REINPLACE_CMD} -i '' -e 's|en_US||' \
49
		${WRKSRC}/plugins/gspell-plugin/org.xfce.mousepad.plugins.gspell.gschema.xml
50
33
.include <bsd.port.mk>
51
.include <bsd.port.mk>
(-)b/editors/mousepad/files/pkg-message.in (+21 lines)
Added Link Here
1
[
2
{
3
	type: remove
4
	message: <<EOM
5
Remove the default language (if defined):
6
  gsettings reset org.xfce.mousepad.plugins.gspell.preferences \
7
   default-language
8
EOM
9
}
10
{
11
	type: install
12
	message: <<EOM
13
Install dictionaries for your prefered language:
14
  pkg search hunspell
15
16
Then configure the spell-checking plugin (e.g. for French users):
17
  gsettings set org.xfce.mousepad.plugins.gspell.preferences \
18
   default-language 'fr_FR'
19
EOM
20
}
21
]
(-)b/editors/mousepad/pkg-plist (+1 lines)
Lines 2-7 bin/mousepad Link Here
2
lib/libmousepad.so
2
lib/libmousepad.so
3
lib/libmousepad.so.0
3
lib/libmousepad.so.0
4
lib/libmousepad.so.0.0.0
4
lib/libmousepad.so.0.0.0
5
%%SPELL%%lib/mousepad/plugins/libmousepad-plugin-gspell.so
5
share/applications/mousepad-settings.desktop
6
share/applications/mousepad-settings.desktop
6
share/applications/mousepad.desktop
7
share/applications/mousepad.desktop
7
share/icons/hicolor/128x128/apps/org.xfce.mousepad.png
8
share/icons/hicolor/128x128/apps/org.xfce.mousepad.png

Return to bug 256303