Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add zibase management into calaos #20

Closed
wants to merge 153 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
ca00cf4
first comit of zibase analog input management
lovo63 Nov 13, 2013
3448990
first integration of zibase analog input
lovo63 Nov 13, 2013
6ffe41d
suppress some printf, add readme file for zibase modules
lovo63 Nov 16, 2013
35fad58
get automatically @ip on eth0
lovo63 Nov 16, 2013
3458f44
rewrite (try to) zibase lib in cpp, use ecore_con for client serveur …
lovo63 Dec 8, 2013
393f268
zibaseanalog inherit from analogInput module, change some parameters
lovo63 Dec 8, 2013
8991fe6
update param port usage
lovo63 Dec 8, 2013
ce6990c
remove unused code
raoulh Dec 11, 2013
57dd895
add tools, calaos_config and wago_test
raoulh Dec 11, 2013
de9383f
merge with master
raoulh Dec 11, 2013
8f2a5ba
First step for JsonApi in calaos server
raoulh Dec 11, 2013
bd1f8ef
Add lib to parse http
raoulh Dec 11, 2013
ce906ad
update po files
raoulh Dec 11, 2013
d08fa5b
Don't print debug info in calaos_config
raoulh Dec 11, 2013
9fb5bf0
calaos: update debian build-depends, now elive compliant (Thx Thanate…
Dec 17, 2013
ce70307
calaos: update debian depends ... less implicit depends
Dec 17, 2013
bafc899
Remove printf
raoulh Dec 22, 2013
ad2c307
Remove unusefull debug logs
raoulh Dec 22, 2013
6385c80
depends on jansson 2.5
raoulh Dec 22, 2013
9c62355
clean defines and add port 5454 for Json http api
raoulh Dec 22, 2013
605b4aa
Add templated functions for inputs/outputs retrieval in Room class
raoulh Dec 22, 2013
a3eadfd
Start Json http server
raoulh Dec 22, 2013
8350da1
More work on JSON api, returns get_home in json
raoulh Dec 22, 2013
1863f83
depend on jansson 2.4 instead of 2.5
raoulh Dec 30, 2013
376e586
Add camera array
raoulh Dec 30, 2013
6de6d2e
Add audio array, but with audio api changes.
raoulh Dec 30, 2013
b0a79dd
Add poll_listen api command
raoulh Dec 30, 2013
992b47e
Fix potential problem when home is void
naguirre Jan 3, 2014
cd1b9e5
Implement get_state and set_state in the Json API
raoulh Jan 3, 2014
0062f17
Add get_playlist JSON api
raoulh Jan 3, 2014
2c6fca4
Correctly use refcouting with jansson
raoulh Jan 3, 2014
e1adb9c
Fix unix linefeed...
raoulh Jan 3, 2014
97bec9c
Correctly check conversion failure, it was not valid in C++11
raoulh Jan 3, 2014
068a1fd
Put parenthesis to fix the operator priority
naguirre Dec 30, 2013
717c9f1
correct inclusion in calaos read main loop
lovo63 Jan 4, 2014
90f015c
Compile X11 and ecore_x stuff only when ecore_x is detected on the bu…
naguirre Jan 5, 2014
332a5ab
Use CalaosConfig.h instead of Config.h as there is a conflict with co…
naguirre Jan 5, 2014
335ed24
Fix error detected by llvm
naguirre Jan 5, 2014
7e0a93c
cmath has to be included otherwise std::floor is not found
naguirre Jan 5, 2014
5c9e585
Check correctly if file is open
naguirre Jan 5, 2014
861999c
MSG_NOSIGNAL doesn’t exist on macos, use socket option SO_NOSIGPIPE …
naguirre Jan 5, 2014
1a0e76e
json_array_foreach has been added in jansson 2.5, as it’s just a defi…
naguirre Jan 5, 2014
5245faa
Fix Typo
naguirre Jan 5, 2014
94bbe8a
add zibase digital io management, first commit
lovo63 Jan 5, 2014
c018485
Fix ecore_x link
raoulh Jan 5, 2014
525c97a
Fix warnings when calaos_server is closed during the run
naguirre Jan 7, 2014
2f4cda8
Reload Model when reconnecting
naguirre Jan 7, 2014
d43ab8e
1 secode for reconnection timer
naguirre Jan 7, 2014
6bafbf1
Remove reconnection timer in CalaosListener it's not need
naguirre Jan 7, 2014
9dff89b
[calaos server][io/zibase/zibasedigitalIn]suppress some code in comment
lovo63 Jan 11, 2014
a0f13d0
[calaos lib][zibase]add management of open detector through zibaseDig…
lovo63 Jan 11, 2014
141c794
first comit of zibase analog input management
lovo63 Nov 13, 2013
9751254
first integration of zibase analog input
lovo63 Nov 13, 2013
1c1dcd7
suppress some printf, add readme file for zibase modules
lovo63 Nov 16, 2013
705fb2a
get automatically @ip on eth0
lovo63 Nov 16, 2013
756c6da
rewrite (try to) zibase lib in cpp, use ecore_con for client serveur …
lovo63 Dec 8, 2013
9bbda4b
zibaseanalog inherit from analogInput module, change some parameters
lovo63 Dec 8, 2013
1e9f366
update param port usage
lovo63 Dec 8, 2013
4c4bac5
correct inclusion in calaos read main loop
lovo63 Jan 4, 2014
d935ed7
add zibase digital io management, first commit
lovo63 Jan 5, 2014
f8959cd
[calaos server][io/zibase/zibasedigitalIn]suppress some code in comment
lovo63 Jan 11, 2014
d92776d
[calaos lib][zibase]add management of open detector through zibaseDig…
lovo63 Jan 11, 2014
a45fa81
Add menu to reboot/restart
raoulh Jan 13, 2014
f73e70e
Add calaos screensaver
raoulh Jan 13, 2014
ea41866
[calaos_server][zibaseDigital]initalise digital value instead of anal…
lovo63 Jan 14, 2014
2ac0172
merge from mainline
lovo63 Jan 14, 2014
1663b14
Merge branch 'master' of https://github.com/lovo63/calaos_base
lovo63 Jan 14, 2014
1b12107
Start the connection in ctor. fixes #24
raoulh Jan 15, 2014
d5190b8
update po
raoulh Jan 15, 2014
db8d467
first comit of zibase analog input management
lovo63 Nov 13, 2013
c5cdb46
merge from mainline
lovo63 Jan 15, 2014
2f74e1f
first integration of zibase analog input
lovo63 Nov 13, 2013
1f988ad
suppress some printf, add readme file for zibase modules
lovo63 Nov 16, 2013
f16286d
get automatically @ip on eth0
lovo63 Nov 16, 2013
eb45582
rewrite (try to) zibase lib in cpp, use ecore_con for client serveur …
lovo63 Dec 8, 2013
bba9c43
zibaseanalog inherit from analogInput module, change some parameters
lovo63 Dec 8, 2013
b27cf72
update param port usage
lovo63 Dec 8, 2013
371c019
correct inclusion in calaos read main loop
lovo63 Jan 4, 2014
78d1b77
add zibase digital io management, first commit
lovo63 Jan 5, 2014
12c1a6e
[calaos server][io/zibase/zibasedigitalIn]suppress some code in comment
lovo63 Jan 11, 2014
ec328fd
[calaos lib][zibase]add management of open detector through zibaseDig…
lovo63 Jan 11, 2014
54ed07b
first comit of zibase analog input management
lovo63 Nov 13, 2013
5876ccd
first integration of zibase analog input
lovo63 Nov 13, 2013
e1c8ba2
suppress some printf, add readme file for zibase modules
lovo63 Nov 16, 2013
4092cc9
get automatically @ip on eth0
lovo63 Nov 16, 2013
1e42afc
rewrite (try to) zibase lib in cpp, use ecore_con for client serveur …
lovo63 Dec 8, 2013
2ac2ad6
zibaseanalog inherit from analogInput module, change some parameters
lovo63 Dec 8, 2013
8106e94
correct inclusion in calaos read main loop
lovo63 Jan 4, 2014
222b367
add zibase digital io management, first commit
lovo63 Jan 5, 2014
4bdc3fa
[calaos_server][zibaseDigital]initalise digital value instead of anal…
lovo63 Jan 14, 2014
339667d
merge from mainline
lovo63 Jan 14, 2014
982aa27
Merge branch 'master' of https://github.com/lovo63/calaos_base
lovo63 Jan 15, 2014
193eb74
suppress some unused file (from merge/conflict)
lovo63 Jan 15, 2014
733a2a9
suppress some unused file (from merge/conflict)
lovo63 Jan 15, 2014
8cb1c19
Add WebOutputLightRGB files
naguirre Jan 16, 2014
4c8e403
Rename EcoreFdHandler class to avoid collision
naguirre Jan 16, 2014
bda11c2
Start json api versionning
raoulh Jan 17, 2014
3935329
Read Json api port from local_config.xml
naguirre Jan 17, 2014
b105cc2
ignore++
raoulh Feb 4, 2014
5d15e14
Move calaos_thumb to tools and update autotools
raoulh Feb 4, 2014
677ac33
better detect lua
raoulh Feb 4, 2014
d01dd79
add functions to read a complete file into a string
raoulh Feb 4, 2014
f6bffda
Add get_cover and get_camera_pic commands in Json API
raoulh Feb 4, 2014
1144b3f
change lua check order to use lua 5.1 first before lua
raoulh Feb 4, 2014
dc1e1da
update pofiles
raoulh Feb 4, 2014
98b59a4
Update calaos_thumb to detect original image size if no size is speci…
raoulh Feb 5, 2014
c9c437f
Don't pass a size if no image size is specified
raoulh Feb 5, 2014
4be82a2
Add --fullscreen option
naguirre Feb 11, 2014
0ffe7a9
Fix EcoreTimer to not use default value when not needed
raoulh Feb 13, 2014
6317234
Use slot instead of signal in download manager
naguirre Feb 13, 2014
ed45251
Remove unused member variable
naguirre Feb 13, 2014
ebdcbd3
Download file in /tmp/calaos_input_num.part and move file to /tmp/cal…
naguirre Feb 13, 2014
040f629
Add function to update state of rgb light
raoulh Feb 13, 2014
cc2765d
More translations
naguirre Feb 15, 2014
d059230
Add internationalisation macros in Utils.h
naguirre Feb 15, 2014
36e8ee0
More translations
naguirre Feb 15, 2014
d70e38c
Translate text of Media Icons
naguirre Feb 15, 2014
7932946
More translations
naguirre Feb 15, 2014
0533523
first comit of zibase analog input management
lovo63 Nov 13, 2013
9034cdc
first integration of zibase analog input
lovo63 Nov 13, 2013
0e6ee1e
suppress some printf, add readme file for zibase modules
lovo63 Nov 16, 2013
81f07ee
get automatically @ip on eth0
lovo63 Nov 16, 2013
fc54550
rewrite (try to) zibase lib in cpp, use ecore_con for client serveur …
lovo63 Dec 8, 2013
8617a9b
zibaseanalog inherit from analogInput module, change some parameters
lovo63 Dec 8, 2013
81ea321
update param port usage
lovo63 Dec 8, 2013
022e934
correct inclusion in calaos read main loop
lovo63 Jan 4, 2014
6f7d75f
add zibase digital io management, first commit
lovo63 Jan 5, 2014
f16aa80
[calaos server][io/zibase/zibasedigitalIn]suppress some code in comment
lovo63 Jan 11, 2014
311cd8c
[calaos lib][zibase]add management of open detector through zibaseDig…
lovo63 Jan 11, 2014
6b3654f
first comit of zibase analog input management
lovo63 Nov 13, 2013
f8a903f
first integration of zibase analog input
lovo63 Nov 13, 2013
3fb5cd0
suppress some printf, add readme file for zibase modules
lovo63 Nov 16, 2013
016123a
get automatically @ip on eth0
lovo63 Nov 16, 2013
b8ad53a
rewrite (try to) zibase lib in cpp, use ecore_con for client serveur …
lovo63 Dec 8, 2013
9c94fc4
add zibase digital io management, first commit
lovo63 Jan 5, 2014
7e177f4
[calaos_server][zibaseDigital]initalise digital value instead of anal…
lovo63 Jan 14, 2014
c61f7e9
merge from mainline
lovo63 Jan 14, 2014
48bbea9
first comit of zibase analog input management
lovo63 Nov 13, 2013
1d2d63b
merge from mainline
lovo63 Jan 15, 2014
6719534
suppress some printf, add readme file for zibase modules
lovo63 Nov 16, 2013
892d489
get automatically @ip on eth0
lovo63 Nov 16, 2013
e1da575
rewrite (try to) zibase lib in cpp, use ecore_con for client serveur …
lovo63 Dec 8, 2013
76925c0
add zibase digital io management, first commit
lovo63 Jan 5, 2014
ca18258
first integration of zibase analog input
lovo63 Nov 13, 2013
13050f6
suppress some printf, add readme file for zibase modules
lovo63 Nov 16, 2013
a0e9d1b
zibaseanalog inherit from analogInput module, change some parameters
lovo63 Dec 8, 2013
35d8065
correct inclusion in calaos read main loop
lovo63 Jan 4, 2014
52f88e0
add zibase digital io management, first commit
lovo63 Jan 5, 2014
1aaf10b
merge from mainline
lovo63 Jan 14, 2014
cf9c12b
suppress some unused file (from merge/conflict)
lovo63 Jan 15, 2014
5b9cd0b
suppress some unused file (from merge/conflict)
lovo63 Jan 15, 2014
71e178e
merge from mainline
lovo63 Feb 16, 2014
0e585d6
Merge branch 'master' of https://github.com/lovo63/calaos_base
lovo63 Feb 16, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ po/insert-header.sin
po/quot.sed
po/remove-potcdate.sin
po/stamp-po
src/bin/tools/calaos_config
src/bin/tools/wago_test
src/bin/tools/calaos_thumb
8 changes: 4 additions & 4 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Installation Instructions
*************************

Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
Inc.

Copying and distribution of this file, with or without modification,
Expand Down Expand Up @@ -309,10 +309,9 @@ causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).

Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf limitation. Until the limitation is lifted, you can use
this workaround:
an Autoconf bug. Until the bug is fixed you can use this workaround:

CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash

`configure' Invocation
======================
Expand Down Expand Up @@ -368,3 +367,4 @@ operates.

`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.

46 changes: 44 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ AC_CANONICAL_HOST
### Checks for programs
AC_PROG_CXX
AC_PROG_CC
AM_PROG_CC_C_O
AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])

# pkg-config
Expand All @@ -49,15 +50,45 @@ PKG_PROG_PKG_CONFIG

efl_ver="1.7.0"

requirements_calaos_common="eina >= ${efl_ver} eet >= ${efl_ver} ecore >= ${efl_ver} ecore-file >= ${efl_ver} ecore-con >= ${efl_ver} sigc++-2.0 >= 2.2.0 log4cpp >= 1.0 jansson >= 2.0.0 vmime >= 0.9.0 lua5.1 >= 5.1.0"
requirements_calaos_common="eina >= ${efl_ver} eet >= ${efl_ver} ecore >= ${efl_ver} ecore-file >= ${efl_ver} ecore-con >= ${efl_ver} sigc++-2.0 >= 2.2.0 log4cpp >= 1.0 jansson >= 2.4 vmime >= 0.9.0"
PKG_CHECK_MODULES([CALAOS_COMMON], [${requirements_calaos_common}])
AC_SUBST([requirements_calaos_common])

# Check for LUA
# Lua pkg-config hack for different naming conventions
have_lua="yes"
requirement_lua=""
lua_libs=""
PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1.0], requirement_lua="lua5.1",
[PKG_CHECK_MODULES([LUA], [lua-5.1 >= 5.1.0], requirement_lua="lua-5.1",
[PKG_CHECK_MODULES([LUA], [lua51 >= 5.1.0], requirement_lua="lua51",
[PKG_CHECK_MODULES([LUA], [lua >= 5.1.0], requirement_lua="lua",
[have_lua="no"])])])])

if test "x${have_lua}" = "xno" ; then
AC_MSG_CHECKING([whether lua_newstate() is in liblua])
AC_CHECK_LIB([lua], [lua_newstate],
[
have_lua="yes"
lua_libs="-llua"
],
[have_lua="no"])
AC_MSG_RESULT([${have_lua}])
fi
AC_SUBST(lua_libs)

if test "x${have_lua}" = "xno" ; then
AC_MSG_ERROR([Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly])
fi

requirements_calaos_server="eina >= ${efl_ver} eet >= ${efl_ver} ecore >= ${efl_ver} ecore-file >= ${efl_ver} ecore-con >= ${efl_ver} libcurl"
PKG_CHECK_MODULES([CALAOS_SERVER], [${requirements_calaos_server}])
AC_SUBST([requirements_calaos_server])

requirements_calaos_home="eina >= ${efl_ver} eet >= ${efl_ver} ecore >= ${efl_ver} ecore-file >= ${efl_ver} ecore-con >= ${efl_ver} elementary >= ${efl_ver} ecore-x >= ${efl_ver} openssl >= 1.0.0 libcurl x11 xext"
CALAOS_COMMON_LIBS="${CALAOS_COMMON_LIBS} ${LUA_LIBS} ${lua_libs}"
CALAOS_COMMON_CFLAGS="${CALAOS_COMMON_CFLAGS} ${LUA_CFLAGS}"

requirements_calaos_home="eina >= ${efl_ver} eet >= ${efl_ver} ecore >= ${efl_ver} ecore-file >= ${efl_ver} ecore-con >= ${efl_ver} elementary >= ${efl_ver} openssl >= 1.0.0 libcurl"
PKG_CHECK_MODULES([CALAOS_HOME], [${requirements_calaos_home}], [have_calaos_home_dep="yes"], [have_calaos_home_dep="no"])
AM_CONDITIONAL([HAVE_CALAOS_HOME_BIN], [test "x${have_calaos_home_dep}" = "xyes"])

Expand Down Expand Up @@ -119,13 +150,23 @@ then
AC_DEFINE([HAVE_EWEBKIT], [1], [ewebkit])
fi

have_ecore_x="no"
PKG_CHECK_MODULES([ECORE_X], [ecore-x x11 xext], [have_ecore_x="yes"], [have_ecore_x="no"])
AM_CONDITIONAL([HAVE_ECORE_X], [test "x${have_ecore_x}" = "xyes"])
if test "x${have_ecore_x}" == "xyes"
then
AC_DEFINE([HAVE_ECORE_X], [1], [ecore_x])
fi


AC_CONFIG_FILES([
Makefile
src/Makefile
src/lib/Makefile
src/bin/Makefile
src/bin/calaos_server/Makefile
src/bin/calaos_home/Makefile
src/bin/tools/Makefile
src/widgets/Makefile
src/widgets/clock/Makefile
src/widgets/note/Makefile
Expand Down Expand Up @@ -167,4 +208,5 @@ echo " Build theme.......... : $build_theme"
echo
echo " One Wire support......: ${have_owcapi}"
echo " EWebkit support.......: ${have_ewebkit}"
echo " Ecore_X support.......: ${have_ecore_x}"
echo
3 changes: 2 additions & 1 deletion data/themes/default/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,8 @@ structure/slider.edc \
structure/macro_round_button.edc \
structure/amplifier_control.edc \
structure/images.edc \
elm/elm_genlist_widget.edc
elm/elm_genlist_widget.edc \
structure/screen_suspend.edc

FONT = \
fonts/calaos_logo.ttf \
Expand Down
2 changes: 2 additions & 0 deletions data/themes/default/calaos_theme.edc
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,6 @@ collections
#include "elm/elm_gengrid_item_config.edc"

#include "structure/paging_view.edc"

#include "structure/screen_suspend.edc"
}
2 changes: 1 addition & 1 deletion data/themes/default/structure/activity_loading.edc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ part
{
state, "default" 0.0;
visible: 1;
text { text: "Chargement..."; font: "CalaosContentBold"; size: 20; min: 0 0; align: 0.5 0.65; }
text { text: "Loading..."; font: "CalaosContentBold"; size: 20; min: 0 0; align: 0.5 0.65; }
color: 95 95 95 255;
}
}
Expand Down
4 changes: 2 additions & 2 deletions data/themes/default/structure/main_menu.edc
Original file line number Diff line number Diff line change
Expand Up @@ -588,11 +588,11 @@ group
}
}

MENU_BUTTON("home", "Ma maison", 0.5, 1.0, -284, -94,
MENU_BUTTON("home", "My Home", 0.5, 1.0, -284, -94,
0.5, 1.0, -143, -1)
MENU_BUTTON("media", "Medias", 0.5, 1.0, -142, -94,
0.5, 1.0, -1, -1)
MENU_BUTTON("scenarios", "Scénarios", 0.5, 1.0, 0, -94,
MENU_BUTTON("scenarios", "Scenarios", 0.5, 1.0, 0, -94,
0.5, 1.0, 141, -1)
MENU_BUTTON("configuration", "Configuration", 0.5, 1.0, 142, -94,
0.5, 1.0, 283, -1)
Expand Down
2 changes: 1 addition & 1 deletion data/themes/default/structure/page_audio_list.edc
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ group
ELEMENT_ACTION_BUTTON_NORMAL("stop_button", "player_buttons", "player_buttons", "player_buttons", "button_action_stop.png", "button_action_glow.png", "player", "player,stop", 0.0, 0.5, 74, -14, 0.0, 0.5, 107, 13)
ELEMENT_ACTION_BUTTON_NORMAL("next_button", "player_buttons", "player_buttons", "player_buttons", "button_action_next.png", "button_action_glow.png", "player", "player,next", 0.0, 0.5, 111, -14, 0.0, 0.5, 144, 13)

HORIZ_SLIDER("player.time.slider", "time_slider_whole", "message.text", "Avancement :", "player.time", "00:00", 50, 180, 215, "slider.png", "slider_on.png", "slider_border.png", "player", "player,time,change", "local", "slider,timer,inactive", "local", "slider,timer,active")
HORIZ_SLIDER("player.time.slider", "time_slider_whole", "message.text", "Avancement2 :", "player.time", "00:00", 50, 180, 215, "slider.png", "slider_on.png", "slider_border.png", "player", "player,time,change", "local", "slider,timer,inactive", "local", "slider,timer,active")

#include "activity_loading.edc"
}
Expand Down
10 changes: 5 additions & 5 deletions data/themes/default/structure/page_media.edc
Original file line number Diff line number Diff line change
Expand Up @@ -522,12 +522,12 @@ group { \
} \
}

MEDIA_MENU_ITEM("calaos/icons/menu/media/music", "calaos/icons/media/music", "Votre Musique", "Accédez à toute votre discothèque", "click,music", "menu")
MEDIA_MENU_ITEM("calaos/icons/menu/media/camera", "calaos/icons/media/camera", "Vidéosurveillance", "Pilotez toutes vos caméras", "click,camera", "menu")
MEDIA_MENU_ITEM("calaos/icons/menu/media/photos", "calaos/icons/media/flickr", "Flickr", "Visualisez des photos", "click,photos", "menu")
MEDIA_MENU_ITEM("calaos/icons/menu/media/music", "calaos/icons/media/music", "Your Music", "Access you media library", "click,music", "menu")
MEDIA_MENU_ITEM("calaos/icons/menu/media/camera", "calaos/icons/media/camera", "CCTV", "Drive all you cctv cameras", "click,camera", "menu")
MEDIA_MENU_ITEM("calaos/icons/menu/media/photos", "calaos/icons/media/flickr", "Flickr", "Look at pictures", "click,photos", "menu")

MEDIA_MENU_ITEM("calaos/icons/menu/media/web", "calaos/icons/media/web", "Internet", "Accédez et surfez sur le web", "click,web", "menu")
MEDIA_MENU_ITEM("calaos/icons/menu/media/eskiss", "calaos/icons/media/eskiss", "Eskiss", "Jouez avec la physique !", "click,eskiss", "menu")
MEDIA_MENU_ITEM("calaos/icons/menu/media/web", "calaos/icons/media/web", "Internet", "Go and surf the web", "click,web", "menu")
MEDIA_MENU_ITEM("calaos/icons/menu/media/eskiss", "calaos/icons/media/eskiss", "Eskiss", "Play with physics !", "click,eskiss", "menu")

group
{
Expand Down
10 changes: 5 additions & 5 deletions data/themes/default/structure/player.edc
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ part {
rel1.to: "player_artist_label";
rel2.to: "player_artist_label";
color: 231 231 231 140;
text { text: "Artiste :"; font: "CalaosContent"; size: 12; min: 0 0; align: 1.0 0.5;}
text { text: "Artist :"; font: "CalaosContent"; size: 12; min: 0 0; align: 1.0 0.5;}
}
description {
state: "active" 0.0;
Expand Down Expand Up @@ -1282,7 +1282,7 @@ part {
rel1.to: "player_title_label";
rel2.to: "player_title_label";
color: 231 231 231 140;
text { text: "Piste :"; font: "CalaosContent"; size: 12; min: 0 0; align: 1.0 0.5;}
text { text: "Track :"; font: "CalaosContent"; size: 12; min: 0 0; align: 1.0 0.5;}
}
description {
state: "active" 0.0;
Expand Down Expand Up @@ -1320,7 +1320,7 @@ part {
rel1.to: "player_year_label";
rel2.to: "player_year_label";
color: 231 231 231 140;
text { text: "Année :"; font: "CalaosContent"; size: 12; min: 0 0; align: 1.0 0.5;}
text { text: "Year :"; font: "CalaosContent"; size: 12; min: 0 0; align: 1.0 0.5;}
}
description {
state: "active" 0.0;
Expand Down Expand Up @@ -1364,7 +1364,7 @@ part {
rel1.to: "player_duration_label";
rel2.to: "player_duration_label";
color: 231 231 231 140;
text { text: "Durée :"; font: "CalaosContent"; size: 12; min: 0 0; align: 1.0 0.5;}
text { text: "Duration :"; font: "CalaosContent"; size: 12; min: 0 0; align: 1.0 0.5;}
}
description {
state: "active" 0.0;
Expand Down Expand Up @@ -1409,7 +1409,7 @@ ELEMENT_ACTION_BUTTON_NORMAL("volume_more", "player_button_volume_more", "player
ELEMENT_ACTION_BUTTON_NORMAL("volume_less", "player_button_volume_less", "player_button_volume_less", "player_button_volume_less", "button_action_less_vertical.png", "button_action_vertical_glow.png", "player", "player,volume,moins", 0.5, 0.5, -14, -17, 0.5, 0.5, 13, 16)
ELEMENT_ACTION_BUTTON_NORMAL("amplifier", "player_button_amp", "player_button_amp", "player_button_amp", "button_info.png", "button_info_glow.png", "player", "player,amplifier", 0.0, 0.0, 0, 0, 1.0, 1.0, -1, -1)

HORIZ_SLIDER("player.time.slider", "time_slider_whole", "message.text", "Avancement :", "player.time", "00:00", 50, 180, 215, "slider.png", "slider_on.png", "slider_border.png", "player", "player,time,change", "local", "slider,timer,inactive", "local", "slider,timer,active")
HORIZ_SLIDER("player.time.slider", "time_slider_whole", "message.text", "Position :", "player.time", "00:00", 50, 180, 215, "slider.png", "slider_on.png", "slider_border.png", "player", "player,time,change", "local", "slider,timer,inactive", "local", "slider,timer,active")
VERTI_SLIDER("player.volume.slider", "volume_slider_whole", 50, 180, 215, "slider_vertical.png", "slider_vertical_on.png", "slider_border.png", "player", "player,volume,change", "local", "slider,volume,inactive", "local", "slider,volume,active")
// End macros

115 changes: 115 additions & 0 deletions data/themes/default/structure/screen_suspend.edc
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
//Calaos Home Theme
//Copyright 2014 Calaos Team

group
{
name: "calaos/screen_suspend";

parts
{
part
{
name: "whole";
type: RECT;
description
{
state: "default" 0.0;
visible: 0;
}
description
{
state: "deactivate" 0.0;
visible: 1;
color: 0 0 0 0;
}
}

part
{
name: "background";
type: RECT;
repeat_events: 1;
description
{
state: "default" 0.0;
visible: 1;
color: 0 0 0 0;
}
description
{
state: "suspend" 0.0;
visible: 1;
color: 0 0 0 255;
}
}
}

programs
{
program
{
signal: "event,repeat,deactivate";
source: "calaos";
action: STATE_SET "deactivate" 0.0;
target: "whole";
}
program
{
signal: "event,repeat,activate";
source: "calaos";
action: STATE_SET "default" 0.0;
target: "whole";
}

program
{
name: "start_suspend";
signal: "start,suspend";
source: "calaos";
action: STATE_SET "suspend" 0.0;
target: "background";
transition: DECELERATE 3.0;
after: "end_suspend";
}

program
{
name: "end_suspend";
action: SIGNAL_EMIT "end,suspend" "object";
}

program
{
name: "start_wakeup";
signal: "start,wakeup";
source: "calaos";
action: STATE_SET "default" 0.0;
target: "background";
transition: ACCELERATE 1.5;
after: "end_wakeup";
}

program
{
name: "now_wakeup";
signal: "now,wakeup";
source: "calaos";
action: STATE_SET "default" 0.0;
target: "background";
}

program
{
name: "end_wakeup";
action: SIGNAL_EMIT "end,wakeup" "object";
}

program
{
signal: "start,suspend,stop";
source: "calaos";
action: ACTION_STOP;
target: "start_suspend";
}
}
}
12 changes: 6 additions & 6 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ Section: miscellaneous
Priority: optional
Maintainer: Michael Bouchaud (yoz) <yoz@fl.so>
Build-Depends: debhelper (>= 6), cdbs, libtool, pkg-config,
libelementary-dev, libecore-dev, libedje-dev, libefreet-dev,
libvmime-dev, libjansson-dev, liblog4cpp5-dev, libsigc++-2.0-dev,
gettext, libow-dev, libssl-dev, autoconf, automake, autopoint
libelementary-dev, libefl-dev | libecore-dev, libefl-dev | libedje-dev,
libefl-dev | libefreet-dev, libvmime-dev, libjansson-dev, liblog4cpp5-dev,
libsigc++-2.0-dev, gettext, libow-dev, libssl-dev, autoconf, automake,
autopoint
Standards-Version: 3.8.2
Vcs-Git: https://github.com/calaos/calaos_base
Vcs-Browser: https://github.com/calaos/calaos_base
Homepage: http://www.calaos.fr

Package: calaos-server
Architecture: any
Depends: ${shlibs:Depends}, libecore1, libvmime0,
Depends: ${shlibs:Depends}, libvmime0,
libjansson4, liblog4cpp5, libsigc++-2.0-0c2a, libowcapi-2.8-15
Description: Calaos is a powerful home automation software.
It features a complete set of part to automate your house
Expand All @@ -24,8 +25,7 @@ Description: Calaos is a powerful home automation software.

Package: calaos-home
Architecture: any
Depends: ${shlibs:Depends}, libelementary, libvmime0,
libjansson4, liblog4cpp5, libsigc++-2.0-0c2a
Depends: ${shlibs:Depends}, libvmime0, libjansson4, liblog4cpp5
Description: Calaos is a powerful home automation software.
It features a complete set of part to automate your house
from lights to shutter or even music or cameras.
Expand Down
Loading