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

Collapse All | Expand All

(-)b/russian/emkatic/Makefile (-2 / +10 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	emkatic
4
PORTNAME=	emkatic
5
PORTVERSION=	0.20
5
PORTVERSION=	0.20
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	russian emulators
7
CATEGORIES=	russian emulators
8
MASTER_SITES=	SF/${PORTNAME}/eMKatic%20Source
8
MASTER_SITES=	SF/${PORTNAME}/eMKatic%20Source
9
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
9
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
Lines 29-39 Link Here
29
PLIST_FILES=	bin/${PORTNAME}
29
PLIST_FILES=	bin/${PORTNAME}
30
PORTDOCS=	CHANGELOG.txt
30
PORTDOCS=	CHANGELOG.txt
31
31
32
OPTIONS_DEFINE=		DOCS PORTAUDIO
32
OPTIONS_DEFINE=		BEEP DOCS PORTAUDIO
33
OPTIONS_SINGLE=		GUI
33
OPTIONS_SINGLE=		GUI
34
OPTIONS_SINGLE_GUI=	GTK2 QT4
34
OPTIONS_SINGLE_GUI=	GTK2 QT4
35
OPTIONS_DEFAULT=	GTK2 PORTAUDIO
35
OPTIONS_DEFAULT=	GTK2 PORTAUDIO
36
36
37
BEEP_DESC=	Enable RUN_DEPEND audio/beep
37
GTK2_DESC=	Build with GTK+ 2 interface
38
GTK2_DESC=	Build with GTK+ 2 interface
38
QT4_DESC=	Build with Qt 4 interface
39
QT4_DESC=	Build with Qt 4 interface
39
40
Lines 41-46 Link Here
41
42
42
.include <bsd.port.pre.mk>
43
.include <bsd.port.pre.mk>
43
44
45
.if ${PORT_OPTIONS:MBEEP}
46
RUN_DEPENDS+=	beep:${PORTSDIR}/audio/beep
47
PKGMESSAGE=	${PKGDIR}/pkg-message
48
.else
49
PKGMESSAGE=	/nonexistent
50
.endif
51
44
.if ${PORT_OPTIONS:MGTK2}
52
.if ${PORT_OPTIONS:MGTK2}
45
USE_FPC+=	gtk2
53
USE_FPC+=	gtk2
46
USE_GNOME=	gtk20
54
USE_GNOME=	gtk20
(-)b/russian/emkatic/pkg-message (+38 lines)
Added Link Here
1
Speaker sound Support:
2
======================
3
4
For support speaker sound four user needs to be in the operator group and needs read and write permissions to the /dev/speaker device.
5
6
Load kernel modul:
7
8
# kldload speaker
9
10
Add a user to a group operator's:
11
12
% pw groupmod operator -m jerry
13
14
Uncomment the following lines in the file /etc/devfs.rules (create if it doesn't exist):
15
16
# Allow members of group operator to cat things to the speaker
17
18
[speaker=10]
19
add path 'speaker' mode 0660 group operator
20
21
To load these new rule add the following to /etc/rc.conf:
22
23
devfs_speaker_ruleset="speaker"
24
25
Then restart devfs to load the new rules:
26
27
% /etc/rc.d/devfs restart
28
29
Sound an eternal program
30
========================
31
32
External program audio/beep (need load and confugured speaker, see Speaker sound)
33
34
At the setting of the emulator should specify:
35
36
beep -p <Hz> <cs>
37
38
beep -p 1 0

Return to bug 200624