diff options
author | wg <wg@FreeBSD.org> | 2013-06-21 04:29:15 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-06-21 04:29:15 +0800 |
commit | 47d5b850dbd76237b93a86de6f490af833686fd8 (patch) | |
tree | 537465405cfd784d496af9f9955f43b39d8e3980 | |
parent | e54c53f7f80082121b468564d05d39f7aa4345fe (diff) | |
download | freebsd-ports-gnome-47d5b850dbd76237b93a86de6f490af833686fd8.tar.gz freebsd-ports-gnome-47d5b850dbd76237b93a86de6f490af833686fd8.tar.zst freebsd-ports-gnome-47d5b850dbd76237b93a86de6f490af833686fd8.zip |
x11/florence: update to 0.6.0
- Update to 0.6.0
- Add LICENSE (GPLv2 GFDL)
- New world order USES: pathfix, desktop-file-utils
- Add DOCS, man and NLS
- Better pkg-descr
- Pass maintainership to submitter
Changes:
http://sourceforge.net/p/florence/news/2012/10/florence-060-released/
PR: ports/179734
Submitted by: nemysis <nemysis@gmx.ch>
-rw-r--r-- | x11/florence/Makefile | 62 | ||||
-rw-r--r-- | x11/florence/distinfo | 4 | ||||
-rw-r--r-- | x11/florence/files/patch-src_trace.c | 12 | ||||
-rw-r--r-- | x11/florence/pkg-descr | 9 | ||||
-rw-r--r-- | x11/florence/pkg-plist | 50 |
5 files changed, 97 insertions, 40 deletions
diff --git a/x11/florence/Makefile b/x11/florence/Makefile index 7b86a874c49e..ff126c099af7 100644 --- a/x11/florence/Makefile +++ b/x11/florence/Makefile @@ -1,34 +1,60 @@ -# New ports collection makefile for: Florence -# Date created: 2011/07/26 -# Whom: Kris Moore <kmoore@freebsd.org> -# +# Created by: Kris Moore <kmoore@freebsd.org> # $FreeBSD$ -# PORTNAME= florence -PORTVERSION= 0.5.0 -PORTREVISION= 2 +PORTVERSION= 0.6.0 CATEGORIES= x11 MASTER_SITES= SF/florence/florence/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Florence OnScreen Keyboard +MAINTAINER= nemysis@gmx.ch +COMMENT= Extensible scalable virtual keyboard -LIB_DEPENDS= notify.4:${PORTSDIR}/devel/libnotify \ - cspi.10:${PORTSDIR}/accessibility/at-spi +LICENSE= GPLv2 GFDL +LICENSE_COMB= dual -USE_XORG= xtst -USE_GNOME= gtk20 intlhack gnomedocutils gconf2 librsvg2 gnomepanel +LIB_DEPENDS= notify:${PORTSDIR}/devel/libnotify +BUILD_DEPENDS= ${LOCALBASE}/libexec/at-spi2-registryd:${PORTSDIR}/accessibility/at-spi2-core USE_BZIP2= yes -USES= gettext iconv -USE_GMAKE= yes +USES= desktop-file-utils gettext iconv pathfix +USE_XORG= xtst xext +USE_GNOME= gtk30 cairo intlhack gnomedocutils librsvg2 +USE_GSTREAMER= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--prefix=${LOCALBASE} +USE_GMAKE= yes USE_LDCONFIG= yes INSTALLS_OMF= yes -GCONF_SCHEMAS= florence.schemas +GLIB_SCHEMAS= org.florence.gschema.xml + +MAN1= ${PORTNAME}.1 ${PORTNAME}_applet.1 + +PORTDOCS= AUTHORS ChangeLog NEWS README + +OPTIONS_DEFINE= NLS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +USES+= gettext +PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Application;Accessibility;System;|' \ + ${WRKSRC}/data/florence.desktop.in.in + +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e 's|^ALL_LINGUAS.*|ALL_LINGUAS =|' \ + ${WRKSRC}/po/Makefile.in.in +.endif -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif .include <bsd.port.mk> diff --git a/x11/florence/distinfo b/x11/florence/distinfo index f9808b424a7a..be00595a1ba0 100644 --- a/x11/florence/distinfo +++ b/x11/florence/distinfo @@ -1,2 +1,2 @@ -SHA256 (florence-0.5.0.tar.bz2) = 485416250e83104f44c917d63508fcf2ef2c45023777897fa637c7470fa6645c -SIZE (florence-0.5.0.tar.bz2) = 479264 +SHA256 (florence-0.6.0.tar.bz2) = d2d74a923591e1a6db412058877dbf9ef839712af56e41fd41cb8eefbef1f60e +SIZE (florence-0.6.0.tar.bz2) = 843826 diff --git a/x11/florence/files/patch-src_trace.c b/x11/florence/files/patch-src_trace.c deleted file mode 100644 index 3bb10603898c..000000000000 --- a/x11/florence/files/patch-src_trace.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/trace.c.orig 2010-11-28 14:59:13.000000000 +0000 -+++ src/trace.c -@@ -22,9 +22,7 @@ - #include "trace.h" - #include "system.h" - #include <glib/gprintf.h> --#include <glib/gutils.h> --#include <glib/gslist.h> --#include <glib/gstrfuncs.h> -+#include <glib.h> - #include <stdio.h> - #include <stdarg.h> diff --git a/x11/florence/pkg-descr b/x11/florence/pkg-descr index d5dfb801390b..080e9eb3e98e 100644 --- a/x11/florence/pkg-descr +++ b/x11/florence/pkg-descr @@ -1,3 +1,10 @@ -Florence is an extensible scalable virtual keyboard for GNOME. +Florence is an extensible scalable virtual keyboard for GNOME. You need it if +you can't use a real keyboard either because of a handicap, disease, +broken keyboard or tablet PC but you can use a pointing device. If you can't +use a pointing device, there is gok: http://www.gok.ca/ +Florence stays out of your way when you don't need it. +It appears on the screen only when you need it. +There is an auto-click functionality To help people having difficulties to use +the click button. WWW: http://florence.sourceforge.net diff --git a/x11/florence/pkg-plist b/x11/florence/pkg-plist index 5fc93d795e6b..74f1046dc006 100644 --- a/x11/florence/pkg-plist +++ b/x11/florence/pkg-plist @@ -1,6 +1,4 @@ bin/florence -bin/florence_applet -lib/bonobo/servers/florence.server share/applications/florence.desktop %%DATADIR%%/florence.conf %%DATADIR%%/florence.css @@ -57,6 +55,13 @@ share/applications/florence.desktop %%DATADIR%%/styles/bright/florence.style %%DATADIR%%/styles/default/florence.defs %%DATADIR%%/styles/default/florence.style +%%DATADIR%%/styles/default/sounds/modifier_press.ogg +%%DATADIR%%/styles/default/sounds/modifier_release.ogg +%%DATADIR%%/styles/default/sounds/press.ogg +%%DATADIR%%/styles/default/sounds/release.ogg +%%DATADIR%%/styles/default/sounds/return_press.ogg +%%DATADIR%%/styles/default/sounds/return_release.ogg +%%DATADIR%%/styles/default/sounds/sounds.xml %%DATADIR%%/styles/default/symbols.xml %%DATADIR%%/styles/hard/default.svg %%DATADIR%%/styles/hard/florence.defs @@ -111,36 +116,67 @@ share/applications/florence.desktop %%DATADIR%%/svg11/svg-xlink-attrib.rnc %%DATADIR%%/svg11/svg11.rnc share/gnome/help/florence/C/figures/behaviour.png +share/gnome/help/florence/C/figures/bigger.png +share/gnome/help/florence/C/figures/close.png +share/gnome/help/florence/C/figures/configuration.png share/gnome/help/florence/C/figures/florence.png share/gnome/help/florence/C/figures/layout.png +share/gnome/help/florence/C/figures/minimize.png +share/gnome/help/florence/C/figures/move.png +share/gnome/help/florence/C/figures/smaller.png share/gnome/help/florence/C/figures/style.png +share/gnome/help/florence/C/figures/switch.png share/gnome/help/florence/C/figures/window.png share/gnome/help/florence/C/florence.xml share/gnome/help/florence/C/gfdl.dbk share/gnome/help/florence/fr/figures/behaviour.png +share/gnome/help/florence/fr/figures/bigger.png +share/gnome/help/florence/fr/figures/close.png +share/gnome/help/florence/fr/figures/configuration.png share/gnome/help/florence/fr/figures/florence.png share/gnome/help/florence/fr/figures/layout.png +share/gnome/help/florence/fr/figures/minimize.png +share/gnome/help/florence/fr/figures/move.png +share/gnome/help/florence/fr/figures/smaller.png share/gnome/help/florence/fr/figures/style.png +share/gnome/help/florence/fr/figures/switch.png share/gnome/help/florence/fr/figures/window.png share/gnome/help/florence/fr/florence.xml -share/locale/fr/LC_MESSAGES/florence.mo +share/gnome/help/florence/ru/figures/behaviour.png +share/gnome/help/florence/ru/figures/bigger.png +share/gnome/help/florence/ru/figures/close.png +share/gnome/help/florence/ru/figures/configuration.png +share/gnome/help/florence/ru/figures/florence.png +share/gnome/help/florence/ru/figures/layout.png +share/gnome/help/florence/ru/figures/minimize.png +share/gnome/help/florence/ru/figures/move.png +share/gnome/help/florence/ru/figures/smaller.png +share/gnome/help/florence/ru/figures/style.png +share/gnome/help/florence/ru/figures/switch.png +share/gnome/help/florence/ru/figures/window.png +share/gnome/help/florence/ru/florence.xml +%%NLS%%share/locale/fr/LC_MESSAGES/florence.mo +%%NLS%%share/locale/it/LC_MESSAGES/florence.mo +%%NLS%%share/locale/ru/LC_MESSAGES/florence.mo share/omf/florence/florence-C.omf share/omf/florence/florence-fr.omf +share/omf/florence/florence-ru.omf share/pixmaps/florence.svg -@dirrm lib/bonobo/servers -@dirrm lib/bonobo +@dirrm share/omf/florence +@dirrm share/gnome/help/florence/ru/figures +@dirrm share/gnome/help/florence/ru @dirrm share/gnome/help/florence/fr/figures @dirrm share/gnome/help/florence/fr @dirrm share/gnome/help/florence/C/figures @dirrm share/gnome/help/florence/C @dirrm share/gnome/help/florence -@dirrm share/omf/florence -@dirrm share/omf @dirrm %%DATADIR%%/svg11 @dirrm %%DATADIR%%/styles/hard +@dirrm %%DATADIR%%/styles/default/sounds @dirrm %%DATADIR%%/styles/default @dirrm %%DATADIR%%/styles/bright @dirrm %%DATADIR%%/styles @dirrm %%DATADIR%%/relaxng @dirrm %%DATADIR%%/layouts @dirrm %%DATADIR%% +@dirrmtry share/applications |