Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 480614 | Differences between
and this patch

Collapse All | Expand All

(-)screencastor_test.orig/go_screencastor.sh (-6 / +8 lines)
Lines 17-36 Link Here
17
	do
17
	do
18
		case "${option}" in
18
		case "${option}" in
19
			"--help")
19
			"--help")
20
				echo -e "${BLEUFONCE}$(eval_gettext $'For more information:') ${FUSHIA}man screencastor${RAZ}" ;;
20
				echo -e "${BLEUFONCE}$(gettext $'For more information:') ${FUSHIA}man screencastor${RAZ}" ;;
21
21
22
			"--pause")
22
			"--pause")
23
				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Pause of the screencast')${RAZ}"; touch "${tmp}/pause"; } ;;
23
				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Pause of the screencast')${RAZ}"; touch "${tmp}/pause"; } ;;
24
24
25
			"--stop")
25
			"--stop")
26
				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Stop of the screencast')${RAZ}"; touch "${tmp}/stop"; } ;;
26
				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Stop of the screencast')${RAZ}"; touch "${tmp}/stop"; } ;;
27
27
28
			"--start")
28
			"--start")
29
				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Start of the screencast')${RAZ}"; touch "${tmp}/start"; } ;;
29
				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Start of the screencast')${RAZ}"; touch "${tmp}/start"; } ;;
30
30
31
			"--version")
31
			"--version")
32
				echo -e "${BLEUFONCE}$(eval_gettext $'Screencastor version:') ${FUSHIA}$(sed -n "s/^version=.\(.*\)./\1/p" "screencastor.sh")${RAZ}"
32
				echo -e "${BLEUFONCE}$(gettext $'Screencastor version:') ${FUSHIA}$(sed -n "s/^version=.\(.*\)./\1/p" "screencastor.sh")${RAZ}"
33
				echo -e "${BLEUFONCE}$(eval_gettext $'Screencastor last modification:') ${FUSHIA}$(stat -c %y "screencastor.sh" | cut -d" " -f 1)${RAZ}" ;;
33
				echo -e "${BLEUFONCE}$(gettext $'Screencastor last modification:') ${FUSHIA}$(stat -c %y "screencastor.sh" | cut -d" " -f 1)${RAZ}" ;;
34
		esac
34
		esac
35
	done
35
	done
36
36
Lines 191-202 Link Here
191
--combobox='@@_audio_provenance@@col
191
--combobox='@@_audio_provenance@@col
192
pulse
192
pulse
193
/dev/dsp1
193
/dev/dsp1
194
screencastorjack
194
hw:0,0
195
hw:0,0
195
hw:1,0' \
196
hw:1,0' \
196
--combobox="@@_pref_liste@@col
197
--combobox="@@_pref_liste@@col
197
$(find "${HOME}/.config/screencastor" -iname "*.cfg" -print | sort | sed 's/0Defaut.cfg/Defaut/ ; s@.*/@@')" \
198
$(find "${HOME}/.config/screencastor" -iname "*.cfg" -print | sort | sed 's/0Defaut.cfg/Defaut/ ; s@.*/@@')" \
198
--combobox='@@_audio_serveur@@col
199
--combobox='@@_audio_serveur@@col
199
alsa
200
alsa
201
jack
200
oss' \
202
oss' \
201
--combobox="@@_video_vpre@@col
203
--combobox="@@_video_vpre@@col
202
${liste_preset}" \
204
${liste_preset}" \
(-)screencastor_test.orig/screencastor.py (-1 / +1 lines)
Lines 1-4 Link Here
1
#! /usr/bin/env python
1
#!/usr/bin/env python2
2
# -*- coding:Utf­8 ­-*-
2
# -*- coding:Utf­8 ­-*-
3
############################################################################
3
############################################################################
4
##                                                                        ##
4
##                                                                        ##
(-)screencastor_test.orig/screencastor.sh (-3 / +5 lines)
Lines 1292-1304 Link Here
1292
case "${G2S_audio_provenance}" in
1292
case "${G2S_audio_provenance}" in
1293
	0) G2S_audio_provenance=pulse ;;
1293
	0) G2S_audio_provenance=pulse ;;
1294
	1) G2S_audio_provenance=/dev/dsp1 ;;
1294
	1) G2S_audio_provenance=/dev/dsp1 ;;
1295
	2) G2S_audio_provenance=hw:0,0 ;;
1295
	2) G2S_audio_provenance=screencastorjack ;;
1296
	3) G2S_audio_provenance=hw:1,0 ;;
1296
	3) G2S_audio_provenance=hw:0,0 ;;
1297
	4) G2S_audio_provenance=hw:1,0 ;;
1297
esac
1298
esac
1298
1299
1299
case "${G2S_audio_serveur}" in
1300
case "${G2S_audio_serveur}" in
1300
	0) G2S_audio_serveur=alsa ;;
1301
	0) G2S_audio_serveur=alsa ;;
1301
	1) G2S_audio_serveur=oss ;;
1302
	1) G2S_audio_serveur=jack ;;
1303
	2) G2S_audio_serveur=oss ;;
1302
esac
1304
esac
1303
1305
1304
case "${G2S_langue}" in
1306
case "${G2S_langue}" in

Return to bug 480614