ports/176083: New port: deskutils/easystroke Easystroke is a gesture-recognition application for X11
Tobias Kortkamp
tobias.kortkamp at gmail.com
Tue Feb 12 21:20:00 UTC 2013
>Number: 176083
>Category: ports
>Synopsis: New port: deskutils/easystroke Easystroke is a gesture-recognition application for X11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 12 21:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Tobias Kortkamp
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD loki 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Thu Feb 7 15:18:29 UTC 2013 root at loki:/usr/obj/usr/src/sys/SL510 amd64
>Description:
Easystroke is a gesture-recognition application for X11. Gestures or
strokes are movements that you make with your mouse (or your pen,
finger etc.) while holding down a specific mouse button. Easystroke
will execute certain actions if it recognizes the stroke; currently
easystroke can emulate key presses, execute shell commands, hold down
modifiers and emulate a scroll wheel. The program was designed with
Tablet PCs in mind and can be used effectively even without access to
a keyboard.
WWW: http://easystroke.sourceforge.net/
>How-To-Repeat:
>Fix:
--- easystroke.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# easystroke
# easystroke/files
# easystroke/files/patch-main.cc
# easystroke/distinfo
# easystroke/Makefile
# easystroke/pkg-plist
# easystroke/pkg-descr
#
echo c - easystroke
mkdir -p easystroke > /dev/null 2>&1
echo c - easystroke/files
mkdir -p easystroke/files > /dev/null 2>&1
echo x - easystroke/files/patch-main.cc
sed 's/^X//' >easystroke/files/patch-main.cc << '1b04934477851c283a90af5be61b9494'
X--- main.cc~ 2012-10-06 08:07:11.000000000 +0200
X+++ main.cc 2013-02-12 17:29:51.103190380 +0100
X@@ -1350,7 +1350,7 @@
X config_dir += "/.easystroke";
X }
X struct stat st;
X- char *name = canonicalize_file_name(config_dir.c_str());
X+ char *name = realpath(config_dir.c_str(), NULL);
X
X // check if the directory does not exist
X if (lstat(name, &st) == -1) {
1b04934477851c283a90af5be61b9494
echo x - easystroke/distinfo
sed 's/^X//' >easystroke/distinfo << '318a3d458b6104588612cf3e6a61e417'
XSHA256 (easystroke-0.5.6.tar.gz) = aee0b9127610ea2b75d0d9ff056e804f059c2241e5e94eae49140268c7fc13ab
XSIZE (easystroke-0.5.6.tar.gz) = 111143
318a3d458b6104588612cf3e6a61e417
echo x - easystroke/Makefile
sed 's/^X//' >easystroke/Makefile << 'c14e3dc4b5e5d944d08a8fa94eefb77f'
X# $FreeBSD$
X
XPORTNAME= easystroke
XPORTVERSION= 0.5.6
XCATEGORIES= deskutils
XMASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
X
XMAINTAINER= tobias.kortkamp at gmail.com
XCOMMENT= Easystroke is a gesture-recognition application for X11
X
XBUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man
XLIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtkmm24 \
X dbus-glib:${PORTSDIR}/devel/dbus-glib
X
XMAN1= easystroke.1
X
XUSE_XORG= x11 xtst
XUSE_GMAKE= yes
XINSTALLS_ICONS= yes
X
XOPTIONS_DEFINE= NLS
X
X.include <bsd.port.options.mk>
X
XUSE_GETTEXT= yes
X
X.if ${PORT_OPTIONS:MNLS}
XBUILD_DEPENDS+= intltool-merge:${PORTSDIR}/textproc/intltool
XPLIST_SUB+= NLS=""
XALL_TARGET= all man
X.else
X# This builds easystroke without translations
XALL_TARGET= man
XPLIST_SUB+= NLS="@comment "
X# Create a .desktop file without translations.
X# It's usually created by intltool-merge during the build.
Xpre-build:
X @${CP} ${WRKSRC}/${PORTNAME}.desktop.in ${WRKSRC}/${PORTNAME}.desktop
X.endif
X
Xdo-install:
X @${MKDIR} ${PREFIX}/bin/
X @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
X @${MKDIR} ${PREFIX}/share/applications/
X @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/
X @${MKDIR} ${PREFIX}/share/pixmaps/
X @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg ${PREFIX}/share/pixmaps/
X @${MKDIR} ${PREFIX}/man/man1/
X @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
X
X.if ${PORT_OPTIONS:MNLS}
X @${MKDIR} ${PREFIX}/share/locale/
X @(cd ${WRKSRC}/po/ && \
X ${COPYTREE_SHARE} \* ${PREFIX}/share/locale/ "-name *.mo")
X.endif
X
X.include <bsd.port.mk>
c14e3dc4b5e5d944d08a8fa94eefb77f
echo x - easystroke/pkg-plist
sed 's/^X//' >easystroke/pkg-plist << 'aac24fe806e22ed342a1eb18539f1f80'
Xshare/pixmaps/easystroke.svg
X%%NLS%%share/locale/ru/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/ko/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/fi/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/el/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/ja/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/de/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/vi/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/zh_CN/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/it/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/ca/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/zh_TW/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/hu/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/es/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/pl/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/fr/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/he/LC_MESSAGES/easystroke.mo
X%%NLS%%share/locale/cs/LC_MESSAGES/easystroke.mo
Xshare/applications/easystroke.desktop
Xbin/easystroke
aac24fe806e22ed342a1eb18539f1f80
echo x - easystroke/pkg-descr
sed 's/^X//' >easystroke/pkg-descr << '6cc4ab20f6a199223c739f1ac57956a1'
XEasystroke is a gesture-recognition application for X11. Gestures or
Xstrokes are movements that you make with your mouse (or your pen,
Xfinger etc.) while holding down a specific mouse button. Easystroke
Xwill execute certain actions if it recognizes the stroke; currently
Xeasystroke can emulate key presses, execute shell commands, hold down
Xmodifiers and emulate a scroll wheel. The program was designed with
XTablet PCs in mind and can be used effectively even without access to
Xa keyboard.
X
XWWW: http://easystroke.sourceforge.net/
6cc4ab20f6a199223c739f1ac57956a1
exit
--- easystroke.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list