View | Details | Raw Unified | Return to bug 74745
Collapse All | Expand All

(-)libgii/Makefile (-13 / +17 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	libgii
8
PORTNAME=	libgii
9
PORTVERSION=	0.8.5
9
PORTVERSION=	0.9.0
10
CATEGORIES=	devel
10
CATEGORIES=	devel
11
MASTER_SITES=	ftp://ftp.ggi-project.org/pub/packages/ggi/ggi/v2.0/ \
11
MASTER_SITES=	http://www.ggi-project.org/ftp/ggi/v2.1/ \
12
		${MASTER_SITE_SOURCEFORGE}
12
		${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	ggi
13
MASTER_SITE_SUBDIR=	ggi
14
DISTNAME=	${PORTNAME}-${PORTVERSION}.src
14
DISTNAME=	${PORTNAME}-${PORTVERSION}.src
Lines 19-25 Link Here
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
20
USE_BZIP2=	yes
20
USE_BZIP2=	yes
21
USE_XLIB=	yes
21
USE_XLIB=	yes
22
USE_REINPLACE=	yes
23
INSTALLS_SHLIB=	yes
22
INSTALLS_SHLIB=	yes
24
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
25
24
Lines 30-38 Link Here
30
PLIST_SUB+=	KII="@comment "
29
PLIST_SUB+=	KII="@comment "
31
.endif
30
.endif
32
31
33
MAN1=		mhub.1
32
MAN1=		mhub.1 xsendbut.1
34
MAN3=		ggGetSwarType.3 ggGetUserDir.3 ggInit.3 \
33
MAN3=		ggAddTask.3 ggCurTime.3 \
35
		ggLockCreate.3 ggRegisterCleanup.3 giiEventPoll.3 \
34
		ggGetSwarType.3 ggGetUserDir.3 ggInit.3 ggLoadModule.3 \
35
		ggLockCreate.3 ggRegisterCleanup.3 ggstrlcpy.3 \
36
		gg-error.3 gg-types.3 giiEventPoll.3 \
36
		giiEventSend.3 giiInit.3 giiMTInit.3 \
37
		giiEventSend.3 giiInit.3 giiMTInit.3 \
37
		giiOpen.3 giiPanic.3 giiQueryDeviceInfo.3 \
38
		giiOpen.3 giiPanic.3 giiQueryDeviceInfo.3 \
38
		giiQueryValInfo.3 giiSetEventMask.3 gii_cmd_event.3 \
39
		giiQueryValInfo.3 giiSetEventMask.3 gii_cmd_event.3 \
Lines 44-53 Link Here
44
		input-directx.7 input-file.7 input-linux-evdev.7 \
45
		input-directx.7 input-file.7 input-linux-evdev.7 \
45
		input-linux-kbd.7 input-linux-mouse.7 input-lk201.7 \
46
		input-linux-kbd.7 input-linux-mouse.7 input-lk201.7 \
46
		input-mouse.7 input-tcp.7 libgg.7 libgii.7
47
		input-mouse.7 input-tcp.7 libgg.7 libgii.7
47
MLINKS=		ggRegisterCleanup.3 ggCleanupForceExit.3 \
48
MLINKS=		ggAddTask.3 ggDelTask.3 - ggTimeBase.3 \
48
		- ggUnregisterCleanup.3 ggInit.3 ggExit.3 \
49
		- GG_SCHED_TICKS2USECS.3 - GG_SCHED_USECS2TICKS.3 \
50
		ggRegisterCleanup.3 ggCleanupForceExit.3 \
51
		- ggUnregisterCleanup.3 \
52
		ggCurTime.3 ggUSleep.3 - ggUSlumber.3 \
53
		ggInit.3 ggExit.3 \
54
		ggLoadModule.3 ggFreeModule.3 - ggGetSymbolAddress.3 \
49
		ggLockCreate.3 ggLock.3 - ggLockDestroy.3 \
55
		ggLockCreate.3 ggLock.3 - ggLockDestroy.3 \
50
		- ggTryLock.3 - ggUnlock.3 \
56
		- ggTryLock.3 - ggUnlock.3 \
57
		gg-error.3 ggi-error.3 - gii-error.3 \
58
		ggstrlcpy.3 ggstrlcat.3 \
51
		giiSetEventMask.3 giiAddEventMask.3 - giiGetEventMask.3 \
59
		giiSetEventMask.3 giiAddEventMask.3 - giiGetEventMask.3 \
52
		giiOpen.3 giiClose.3 - giiJoinInputs.3 - giiSplitInputs.3 \
60
		giiOpen.3 giiClose.3 - giiJoinInputs.3 - giiSplitInputs.3 \
53
		giiEventPoll.3 giiEventRead.3 - giiEventSelect.3 \
61
		giiEventPoll.3 giiEventRead.3 - giiEventSelect.3 \
Lines 60-67 Link Here
60
		gii_cmddata_getvalinfo.3 gii_phystype.3 - gii_valrange.3 \
68
		gii_cmddata_getvalinfo.3 gii_phystype.3 - gii_valrange.3 \
61
		filter-key.7 filter-keytrans.7
69
		filter-key.7 filter-keytrans.7
62
DOCSDIR=	share/doc/libgii
70
DOCSDIR=	share/doc/libgii
63
DOCS=		ChangeLog NEWS README \
71
DOCS=		ChangeLog NEWS README
64
		doc/env.txt doc/inputs.txt
65
EXAMPLESDIR=	share/examples/libgii
72
EXAMPLESDIR=	share/examples/libgii
66
EXAMPLES=	demos/demo.c demos/filter.c \
73
EXAMPLES=	demos/demo.c demos/filter.c \
67
		demos/mhub.c demos/xsendbut.c
74
		demos/mhub.c demos/xsendbut.c
Lines 75-83 Link Here
75
PLIST_SUB+=	VGL=""
82
PLIST_SUB+=	VGL=""
76
.endif
83
.endif
77
84
78
post-configure:
79
	@${REINPLACE_CMD} -e 's/\(deplibs\) -lc/\1/;' ${WRKSRC}/libtool
80
81
post-install:
85
post-install:
82
	@${CP} ${WRKSRC}/libgii.conf ${PREFIX}/etc/ggi/libgii.conf.dist
86
	@${CP} ${WRKSRC}/libgii.conf ${PREFIX}/etc/ggi/libgii.conf.dist
83
	@${CP} ${WRKSRC}/filter/mouse/mouse ${PREFIX}/etc/ggi/filter/mouse.dist
87
	@${CP} ${WRKSRC}/filter/mouse/mouse ${PREFIX}/etc/ggi/filter/mouse.dist
(-)libgii/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (libgii-0.8.5.src.tar.bz2) = 1584ff2417198d413252a13ce4b6c80f
1
MD5 (libgii-0.9.0.src.tar.bz2) = 3c7a16c9cfe6400d9f40f918abc9670f
2
SIZE (libgii-0.8.5.src.tar.bz2) = 436619
2
SIZE (libgii-0.9.0.src.tar.bz2) = 505030
(-)libgii/pkg-descr (-6 / +15 lines)
Lines 1-10 Link Here
1
The goal of LibGII is to provide a single easy to use, but yet powerful, API
1
LibGII (General Input Interface) is intended to be to input what our LibGGI
2
for all possible input sources.  However we are not there yet.  The API is far
2
(General Graphics Interface) library is to graphics.
3
from set in stone yet, and is likely to change.
4
3
5
The main purpose of this LibGII release is to accompany our LibGGI beta
4
LibGII is based on the concept of input streams, which virtualize access
6
release, but you're still very welcome to use LibGII as a standalone library
5
to the underlying input drivers. Events from various input devices are
7
for your non-LibGGI applications.
6
abstracted into easy-to-use structures. LibGII also allows the application to
7
join streams together, receiving input from an arbitrary combination of
8
devices. LibGII is a separate component from LibGGI, although LibGGI
9
depends on LibGII for input purposes.
10
11
The main purpose of this LibGII release is to accompany our LibGGI
12
release, but you're still very welcome to use LibGII as a standalone
13
library for your non-LibGGI applications. Also you might be interrested in
14
the mhub utility found in the demos directory. mhub is a mouse event repeater
15
and converter. See mhub(1) and the libgii(7) and input-<target>(7) manual pages
16
for more info.
8
17
9
WWW: http://www.ggi-project.org/
18
WWW: http://www.ggi-project.org/
10
19
(-)libgii/pkg-plist (-2 / +5 lines)
Lines 11-19 Link Here
11
@exec [ -f %B/libgii.conf ] || cp %B/%f %B/libgii.conf
11
@exec [ -f %B/libgii.conf ] || cp %B/%f %B/libgii.conf
12
include/ggi/errors.h
12
include/ggi/errors.h
13
include/ggi/events.h
13
include/ggi/events.h
14
include/ggi/gg-defs.h
14
include/ggi/gg.h
15
include/ggi/gg.h
16
include/ggi/gii-defs.h
15
include/ggi/gii-unix.h
17
include/ggi/gii-unix.h
16
include/ggi/gii.h
18
include/ggi/gii.h
19
include/ggi/input/cocoa.h
20
include/ggi/input/directx.h
21
include/ggi/input/kii.h
17
include/ggi/input/lin_kbd.h
22
include/ggi/input/lin_kbd.h
18
include/ggi/input/xwin.h
23
include/ggi/input/xwin.h
19
include/ggi/internal/gii-dl.h
24
include/ggi/internal/gii-dl.h
Lines 59-66 Link Here
59
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
64
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
60
%%PORTDOCS%%%%DOCSDIR%%/NEWS
65
%%PORTDOCS%%%%DOCSDIR%%/NEWS
61
%%PORTDOCS%%%%DOCSDIR%%/README
66
%%PORTDOCS%%%%DOCSDIR%%/README
62
%%PORTDOCS%%%%DOCSDIR%%/env.txt
63
%%PORTDOCS%%%%DOCSDIR%%/inputs.txt
64
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.c
67
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.c
65
%%PORTDOCS%%%%EXAMPLESDIR%%/filter.c
68
%%PORTDOCS%%%%EXAMPLESDIR%%/filter.c
66
%%PORTDOCS%%%%EXAMPLESDIR%%/mhub.c
69
%%PORTDOCS%%%%EXAMPLESDIR%%/mhub.c

Return to bug 74745