FreeBSD Bugzilla – Attachment 157400 Details for
Bug 200624
[PATCH] russian/emkatic: new option BEEP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-Makefile and add pkg-message
emkatic_beep.diff (text/plain), 2.07 KB, created by
Andrey Fesenko
on 2015-06-04 04:20:01 UTC
(
hide
)
Description:
patch-Makefile and add pkg-message
Filename:
MIME Type:
Creator:
Andrey Fesenko
Created:
2015-06-04 04:20:01 UTC
Size:
2.07 KB
patch
obsolete
>diff -r 6333c0de0c98 -r 6d6081ca3022 russian/emkatic/Makefile >--- a/russian/emkatic/Makefile Thu Jun 04 04:32:25 2015 +0300 >+++ b/russian/emkatic/Makefile Thu Jun 04 07:01:18 2015 +0300 >@@ -3,7 +3,7 @@ > > PORTNAME= emkatic > PORTVERSION= 0.20 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= russian emulators > MASTER_SITES= SF/${PORTNAME}/eMKatic%20Source > DISTNAME= ${PORTNAME}-${PORTVERSION}-src >@@ -29,11 +29,12 @@ > PLIST_FILES= bin/${PORTNAME} > PORTDOCS= CHANGELOG.txt > >-OPTIONS_DEFINE= DOCS PORTAUDIO >+OPTIONS_DEFINE= BEEP DOCS PORTAUDIO > OPTIONS_SINGLE= GUI > OPTIONS_SINGLE_GUI= GTK2 QT4 > OPTIONS_DEFAULT= GTK2 PORTAUDIO > >+BEEP_DESC= Enable RUN_DEPEND audio/beep > GTK2_DESC= Build with GTK+ 2 interface > QT4_DESC= Build with Qt 4 interface > >@@ -41,6 +42,13 @@ > > .include <bsd.port.pre.mk> > >+.if ${PORT_OPTIONS:MBEEP} >+RUN_DEPENDS+= beep:${PORTSDIR}/audio/beep >+PKGMESSAGE= ${PKGDIR}/pkg-message >+.else >+PKGMESSAGE= /nonexistent >+.endif >+ > .if ${PORT_OPTIONS:MGTK2} > USE_FPC+= gtk2 > USE_GNOME= gtk20 >diff -r 6333c0de0c98 -r 6d6081ca3022 russian/emkatic/pkg-message >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/russian/emkatic/pkg-message Thu Jun 04 07:01:18 2015 +0300 >@@ -0,0 +1,38 @@ >+Speaker sound Support: >+====================== >+ >+For support speaker sound four user needs to be in the operator group and needs read and write permissions to the /dev/speaker device. >+ >+Load kernel modul: >+ >+# kldload speaker >+ >+Add a user to a group operator's: >+ >+% pw groupmod operator -m jerry >+ >+Uncomment the following lines in the file /etc/devfs.rules (create if it doesn't exist): >+ >+# Allow members of group operator to cat things to the speaker >+ >+[speaker=10] >+add path 'speaker' mode 0660 group operator >+ >+To load these new rule add the following to /etc/rc.conf: >+ >+devfs_speaker_ruleset="speaker" >+ >+Then restart devfs to load the new rules: >+ >+% /etc/rc.d/devfs restart >+ >+Sound an eternal program >+======================== >+ >+External program audio/beep (need load and confugured speaker, see Speaker sound) >+ >+At the setting of the emulator should specify: >+ >+beep -p <Hz> <cs> >+ >+beep -p 1 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200624
:
157400
|
157401
|
157402
|
157412