diff options
24 files changed, 716 insertions, 0 deletions
diff --git a/Photos/DSCN0024.JPG b/Photos/DSCN0024.JPG Binary files differnew file mode 100644 index 0000000..410e979 --- /dev/null +++ b/Photos/DSCN0024.JPG diff --git a/Photos/IMG_0026.jpg b/Photos/IMG_0026.jpg Binary files differnew file mode 100644 index 0000000..26f9194 --- /dev/null +++ b/Photos/IMG_0026.jpg diff --git a/Photos/IMG_0027.jpg b/Photos/IMG_0027.jpg Binary files differnew file mode 100644 index 0000000..c914eca --- /dev/null +++ b/Photos/IMG_0027.jpg diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/README.md diff --git a/Script/launch_cam.sh b/Script/launch_cam.sh new file mode 100755 index 0000000..75fcd20 --- /dev/null +++ b/Script/launch_cam.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# +# Launch web cam +# + +touch /home/app/gst-pid +alreadyrunning=`cat /home/app/gst-pid` + +cnt=$(echo $alreadyrunning | wc -w) +if [ $cnt -lt 2 ] ; then + echo "create new $cnt" + gst-launch-1.0 v4l2src device=/dev/video$cnt ! video/x-raw, width=640, height=480 ! videoconvert ! waylandsink & + echo $! >> /home/app/gst-pid +else echo "already running" + for x in $alreadyrunning; do kill -9 $x; done + rm -rf /home/app/gst-pid +fi + + diff --git a/Script/launch_video.sh b/Script/launch_video.sh new file mode 100755 index 0000000..6b23c87 --- /dev/null +++ b/Script/launch_video.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +# +# Launch web cam +# + +touch /home/app/gstvid-pid +alreadyrunning=`cat /home/app/gstvid-pid` + +#URL=http://intel07.vannes/~sdx/Downloads/Amazing%20Nature%20full%20HD%20720p.mp4 +#URL=http://intel07.vannes/~sdx/Videos/big_buck_bunny_480p_surround-fix.avi +#URL=http://intel07.vannes/~sdx/Videos/caminandes_480p.avi +URL=file:///home/app/AmazingNature_480p.mp4 + +if [ $(echo $alreadyrunning | wc -w) -lt 8 ] ; then + echo "create new" + gst-launch-1.0 playbin uri=$URL & + echo $! >> /home/app/gstvid-pid +else echo "already running" + for x in $alreadyrunning; do kill -9 $x; done + rm -rf /home/app/gstvid-pid +fi + + diff --git a/Sound/alsamixer b/Sound/alsamixer Binary files differnew file mode 100755 index 0000000..d64fb0b --- /dev/null +++ b/Sound/alsamixer diff --git a/Sound/asound.state b/Sound/asound.state new file mode 100644 index 0000000..ec1d423 --- /dev/null +++ b/Sound/asound.state @@ -0,0 +1,500 @@ +state.PCH { + control.1 { + iface MIXER + name 'Speaker Playback Volume' + value.0 87 + value.1 87 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 87' + dbmin -6525 + dbmax 0 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.2 { + iface MIXER + name 'Speaker Playback Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.3 { + iface MIXER + name 'Headphone Playback Volume' + value.0 87 + value.1 87 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 87' + dbmin -6525 + dbmax 0 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.4 { + iface MIXER + name 'Headphone Playback Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.5 { + iface MIXER + name 'Headphone Playback Switch' + index 1 + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.6 { + iface MIXER + name 'Mic Playback Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -3450 + dbmax 1200 + dbvalue.0 -3450 + dbvalue.1 -3450 + } + } + control.7 { + iface MIXER + name 'Mic Playback Switch' + value.0 false + value.1 false + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.8 { + iface MIXER + name 'Dock Mic Playback Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -3450 + dbmax 1200 + dbvalue.0 -3450 + dbvalue.1 -3450 + } + } + control.9 { + iface MIXER + name 'Dock Mic Playback Switch' + value.0 false + value.1 false + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.10 { + iface MIXER + name 'Auto-Mute Mode' + value Disabled + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Disabled + item.1 Enabled + } + } + control.11 { + iface MIXER + name 'Capture Volume' + value.0 63 + value.1 63 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 63' + dbmin -1725 + dbmax 3000 + dbvalue.0 3000 + dbvalue.1 3000 + } + } + control.12 { + iface MIXER + name 'Capture Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.13 { + iface MIXER + name 'Mic Boost Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 3' + dbmin 0 + dbmax 3000 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.14 { + iface MIXER + name 'Dock Mic Boost Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 3' + dbmin 0 + dbmax 3000 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.15 { + iface MIXER + name 'Internal Mic Boost Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 3' + dbmin 0 + dbmax 3000 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.16 { + iface MIXER + name 'Master Playback Volume' + value 87 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 87' + dbmin -6525 + dbmax 0 + dbvalue.0 0 + } + } + control.17 { + iface MIXER + name 'Master Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.18 { + iface CARD + name 'Mic Jack' + value false + comment { + access read + type BOOLEAN + count 1 + } + } + control.19 { + iface CARD + name 'Dock Mic Jack' + value false + comment { + access read + type BOOLEAN + count 1 + } + } + control.20 { + iface CARD + name 'Internal Mic Phantom Jack' + value true + comment { + access read + type BOOLEAN + count 1 + } + } + control.21 { + iface CARD + name 'Speaker Phantom Jack' + value true + comment { + access read + type BOOLEAN + count 1 + } + } + control.22 { + iface CARD + name 'Headphone Jack' + value false + comment { + access read + type BOOLEAN + count 1 + } + } + control.23 { + iface CARD + name 'Dock Headphone Jack' + value false + comment { + access read + type BOOLEAN + count 1 + } + } + control.24 { + iface PCM + name 'Playback Channel Map' + value.0 0 + value.1 0 + value.2 0 + value.3 0 + comment { + access read + type INTEGER + count 4 + range '0 - 36' + } + } + control.25 { + iface PCM + name 'Capture Channel Map' + value.0 0 + value.1 0 + comment { + access read + type INTEGER + count 2 + range '0 - 36' + } + } + control.26 { + iface CARD + name 'HDMI/DP,pcm=3 Jack' + value false + comment { + access read + type BOOLEAN + count 1 + } + } + control.27 { + iface MIXER + name 'IEC958 Playback Con Mask' + value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access read + type IEC958 + count 1 + } + } + control.28 { + iface MIXER + name 'IEC958 Playback Pro Mask' + value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access read + type IEC958 + count 1 + } + } + control.29 { + iface MIXER + name 'IEC958 Playback Default' + value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access 'read write' + type IEC958 + count 1 + } + } + control.30 { + iface MIXER + name 'IEC958 Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.31 { + iface PCM + device 3 + name ELD + value '' + comment { + access 'read volatile' + type BYTES + count 0 + } + } + control.32 { + iface CARD + name 'HDMI/DP,pcm=7 Jack' + value false + comment { + access read + type BOOLEAN + count 1 + } + } + control.33 { + iface MIXER + name 'IEC958 Playback Con Mask' + index 1 + value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access read + type IEC958 + count 1 + } + } + control.34 { + iface MIXER + name 'IEC958 Playback Pro Mask' + index 1 + value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access read + type IEC958 + count 1 + } + } + control.35 { + iface MIXER + name 'IEC958 Playback Default' + index 1 + value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access 'read write' + type IEC958 + count 1 + } + } + control.36 { + iface MIXER + name 'IEC958 Playback Switch' + index 1 + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.37 { + iface PCM + device 7 + name ELD + value '' + comment { + access 'read volatile' + type BYTES + count 0 + } + } + control.38 { + iface PCM + device 3 + name 'Playback Channel Map' + value.0 0 + value.1 0 + value.2 0 + value.3 0 + value.4 0 + value.5 0 + value.6 0 + value.7 0 + comment { + access 'read write' + type INTEGER + count 8 + range '0 - 36' + } + } + control.39 { + iface PCM + device 7 + name 'Playback Channel Map' + value.0 0 + value.1 0 + value.2 0 + value.3 0 + value.4 0 + value.5 0 + value.6 0 + value.7 0 + comment { + access 'read write' + type INTEGER + count 8 + range '0 - 36' + } + } + control.40 { + iface MIXER + name 'PCM Playback Volume' + value.0 255 + value.1 255 + comment { + access 'read write user' + type INTEGER + count 2 + range '0 - 255' + tlv '0000000100000008ffffec1400000014' + dbmin -5100 + dbmax 0 + dbvalue.0 0 + dbvalue.1 0 + } + } +} diff --git a/Video/AmazingNature_480p.mp4 b/Video/AmazingNature_480p.mp4 Binary files differnew file mode 100644 index 0000000..b7ef414 --- /dev/null +++ b/Video/AmazingNature_480p.mp4 diff --git a/backgrounds/tizen/golfe-morbihan.jpg b/backgrounds/tizen/golfe-morbihan.jpg Binary files differnew file mode 100755 index 0000000..8e3d591 --- /dev/null +++ b/backgrounds/tizen/golfe-morbihan.jpg diff --git a/icons/tizen/32x32/annex.png b/icons/tizen/32x32/annex.png Binary files differnew file mode 100644 index 0000000..d664a74 --- /dev/null +++ b/icons/tizen/32x32/annex.png diff --git a/icons/tizen/32x32/bubblewrap.png b/icons/tizen/32x32/bubblewrap.png Binary files differnew file mode 100644 index 0000000..4301515 --- /dev/null +++ b/icons/tizen/32x32/bubblewrap.png diff --git a/icons/tizen/32x32/calculator.png b/icons/tizen/32x32/calculator.png Binary files differnew file mode 100644 index 0000000..7de1c44 --- /dev/null +++ b/icons/tizen/32x32/calculator.png diff --git a/icons/tizen/32x32/go.png b/icons/tizen/32x32/go.png Binary files differnew file mode 100644 index 0000000..5701af9 --- /dev/null +++ b/icons/tizen/32x32/go.png diff --git a/icons/tizen/32x32/mancala.png b/icons/tizen/32x32/mancala.png Binary files differnew file mode 100644 index 0000000..89f5ca3 --- /dev/null +++ b/icons/tizen/32x32/mancala.png diff --git a/icons/tizen/32x32/network.png b/icons/tizen/32x32/network.png Binary files differnew file mode 100644 index 0000000..10ad0ac --- /dev/null +++ b/icons/tizen/32x32/network.png diff --git a/icons/tizen/32x32/photo.png b/icons/tizen/32x32/photo.png Binary files differnew file mode 100644 index 0000000..6f118cd --- /dev/null +++ b/icons/tizen/32x32/photo.png diff --git a/icons/tizen/32x32/terminal.png b/icons/tizen/32x32/terminal.png Binary files differnew file mode 100644 index 0000000..81b85b5 --- /dev/null +++ b/icons/tizen/32x32/terminal.png diff --git a/icons/tizen/32x32/video.png b/icons/tizen/32x32/video.png Binary files differnew file mode 100644 index 0000000..5d6c8d1 --- /dev/null +++ b/icons/tizen/32x32/video.png diff --git a/icons/tizen/32x32/web-browser.png b/icons/tizen/32x32/web-browser.png Binary files differnew file mode 100644 index 0000000..074fa05 --- /dev/null +++ b/icons/tizen/32x32/web-browser.png diff --git a/icons/tizen/32x32/webcam.png b/icons/tizen/32x32/webcam.png Binary files differnew file mode 100644 index 0000000..82a76b6 --- /dev/null +++ b/icons/tizen/32x32/webcam.png diff --git a/packaging/.directory b/packaging/.directory new file mode 100644 index 0000000..feba07f --- /dev/null +++ b/packaging/.directory @@ -0,0 +1,4 @@ +[Dolphin] +Timestamp=2013,11,19,14,49,37 +Version=3 +ViewMode=1 diff --git a/packaging/opentizen-config.spec b/packaging/opentizen-config.spec new file mode 100644 index 0000000..efeb8c0 --- /dev/null +++ b/packaging/opentizen-config.spec @@ -0,0 +1,61 @@ +%define USERHOME %{USERHOME} + +Name: desktop-skin +Summary: Provides desktop-skin. +Version: 2.0 +Group: Applications +License: GPL-2.0+ +Release: 1 +BuildArch: noarch + +%description +Provides desktop-skin. + + +%prep + +%build + +%install +mkdir -p %{buildroot}%{_libdir}/alsa +install -m 644 Sound/asound.state %{buildroot}/root +install -m 755 Sound/alsamixer %{buildroot}%{_bindir} + +install -m 755 Script/launch_cam.sh %{buildroot}%{_bindir} +install -m 755 Script/launch_video.sh %{buildroot}%{_bindir} + +mkdir -p %{buildroot}%{USERHOME} +install -m 644 Video/AmazingNature_480p.mp4 %{USERHOME} + + +mkdir -p %{buildroot}%{USERHOME}/Photos +install -m 644 Photos/* %{USERHOME}/Photos + +mkdir -p %{buildroot}%{_datadir}/icons/tizen/32x32 +install -m 644 icons/tizen/32x32/* %{buildroot}%{_datadir}/icons/tizen/32x32 + +mkdir -p %{buildroot}%{_datadir}/backgrounds/tizen +install -m 644 backgrounds/tizen/golfe-morbihan.jpg %{buildroot}%{_datadir}/backgrounds/tizen/golfe-morbihan.jpg + +mkdir -p %{buildroot}%{_sysconfdir}/xdg +install -m 644 weston/weston.ini %{buildroot}%{_sysconfdir}/xdg/weston + +%post +chown -R app:app %{USERHOME} + +%files +%{_libdir}/alsa/asound.state +%{_bindir}/alsamixer + +%{_bindir}/launch_cam.sh +%{_bindir}/launch_video.sh + +%{USERHOME}/AmazingNature_480p.mp4 + +%{USERHOME}/Photos/* + +%{_datadir}/icons/tizen/32x32/* + +%{_datadir}/backgrounds/tizen/golfe-morbihan.jpg + +%{_sysconfdir}/xdg/weston/weston.ini diff --git a/weston/weston.ini b/weston/weston.ini new file mode 100644 index 0000000..478ca24 --- /dev/null +++ b/weston/weston.ini @@ -0,0 +1,107 @@ +[core] +modules=desktop-shell.so +#modules=desktop-shell.so,xwayland.so + +[shell] +#background-image=/usr/share/backgrounds/gnome/Aqua.jpg +background-image=/usr/share/backgrounds/tizen/golfe-morbihan.jpg +background-color=0xff002244 +background-type=scale-crop +panel-color=0x95333333 +locking=true +animation=zoom +#binding-modifier=ctrl +num-workspaces=4 +#cursor-theme=whiteglass +#cursor-size=24 + +#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png +#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg +#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg +#animation=fade + +## weston + +[launcher] +icon=/usr/share/icons/tizen/32x32/terminal.png +path=/usr/bin/weston-terminal + +## widgets applications ## + +[launcher] +icon=/usr/share/icons/tizen/32x32/network.png +path=/usr/bin/econnman-bin + +[launcher] +icon=/usr/share/icons/tizen/32x32/web-browser.png +path=/usr/bin/MiniBrowser http://www.tizen.org + +#[launcher] +#icon=/usr/share/icons/tizen/32x32/calculator.png +#path=/usr/bin/gnome-calculator + +#[launcher] +#icon=/usr/share/pixmaps/equate-mini.png +#path=/usr/bin/equate + +#[launcher] +#icon=/usr/share/icons/tizen/32x32/photo.png +#path=/usr/bin/ephoto + +[launcher] +icon=/usr/share/icons/tizen/32x32/webcam.png +path=/usr/bin/launch_cam.sh + +[launcher] +icon=/usr/share/icons/tizen/32x32/video.png +path=/usr/bin/launch_video.sh + +[launcher] +icon=/usr/share/icons/tizen/32x32/annex.png +path=/usr/bin/wrt-launcher -s 33CFo0eFJe.annex + +[launcher] +icon=/usr/share/icons/tizen/32x32/bubblewrap.png +path=/usr/bin/wrt-launcher -s ewqPdCunAO.bubblewrap + +[launcher] +icon=/usr/share/icons/tizen/32x32/go.png +path=/usr/bin/wrt-launcher -s SM31mV8fq9.go + +[launcher] +icon=/usr/share/icons/tizen/32x32/mancala.png +path=/usr/bin/wrt-launcher -s yKrWwxz1KX.mancala + +[screensaver] +# Uncomment path to disable screensaver +duration=600 + +[input-method] +path=/usr/libexec/weston-keyboard + +[keyboard] +keymap_layout=fr + +[xwayland] +path=/usr/bin/X + +#[output] +#name=LVDS1 +#mode=1680x1050 +#transform=90 +#icc_profile=/usr/share/color/icc/colord/Bluish.icc + +#[output] +#name=VGA1 +#mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync +#transform=flipped + +#[output] +#name=X1 +#mode=1024x768 +#transform=flipped-270 + +#[touchpad] +#constant_accel_factor = 50 +#min_accel_factor = 0.16 +#max_accel_factor = 1.0 |