#probably trash
STARDICT = stardict
-APP_NAME = whitestork
+APP_NAME = mDictionary
#versions
MAJOR_VER = 1
-MINOR_VER = 1
+MINOR_VER = 0
PATCH_VER = 0
RELEASE_MAJOR_VER = 1
-RELEASE_MINOR_VER = 1
+RELEASE_MINOR_VER = 0
RELEASE_PATCH_VER = 0
PACK_VER = 0
FRM_VER = 0.1
# VERSION_FILE = ./${INCLUDE}/ws_version.h
#package structure
-GUI_PACK_NAME = whitestorkgui
-MNG_PACK_NAME = whitestork
-PLUGINS_PACK_NAME = whitestorkplugins
-BOOKMARKS_PACK_NAME = whitestorkbookmarks
-META_PACK_NAME = whitestorkdictionary
-
-GUI_EXECUTABLE = ${BINARIES}/WhiteStork
-GUI_SERVICEFILE = org.maemo.WhiteStorkGui.service
+GUI_PACK_NAME = mdictionarygui
+MNG_PACK_NAME = mdictionary
+PLUGINS_PACK_NAME = mdictionaryplugins
+BOOKMARKS_PACK_NAME = mdictionarybookmarks
+META_PACK_NAME = mdictionarydictionary
+
+GUI_EXECUTABLE = ${BINARIES}/mdictionary
+GUI_SERVICEFILE = org.maemo.mdictionaryGui.service
GUI_DIRS = ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/applications/hildon ${DESTDIR}/usr/share/pixmaps ${DESTDIR}/usr/share/mis ${DESTDIR}/usr/share/dbus-1/services ${DESTDIR}/usr/share/locale
-#${DESTDIR}/usr/share/doc/whitestorkgui
+#${DESTDIR}/usr/share/doc/mdictionarygui
GUI_DBUS = ${DATA}/other/${GUI_SERVICEFILE}
-GUI_ICONS = ${DATA}/icons/whitestork_icon.png ${DATA}/icons/whitestork.png ${DATA}/icons/ws_top.png ${DATA}/icons/ws_warning_icon.png ${DATA}/icons/qgn_indi_search_whitestork.png ${DATA}/icons/ws_tra.png
+GUI_ICONS = ${DATA}/icons/mdictionary_icon.png ${DATA}/icons/mdictionary.png ${DATA}/icons/ws_top.png ${DATA}/icons/ws_warning_icon.png ${DATA}/icons/qgn_indi_search_mdictionary.png ${DATA}/icons/ws_tra.png ${DATA}/icons/mdictionary_about.png
GUI_LOCALE = ${DATA}/locale/out/
GUI_DOC = ${DATA}/docs/${GUI_PACK_NAME}/
-GUI_OTHER = ${DATA}/other/whitestork.desktop
-GUI_MIS = ${DATA}/mis/whitestork-search.xml
+GUI_OTHER = ${DATA}/other/mdictionary.desktop
+GUI_MIS = ${DATA}/mis/mdictionary-search.xml
-MNG_EXECUTABLE = ${BINARIES}/WhiteStorkManager
-MNG_SERVICEFILE = org.maemo.WhiteStorkManager.service
-MNG_LIB = ${BINARIES}/ws_bookmark.so
-MNG_DIRS = ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/WhiteStork ${DESTDIR}/usr/share/dbus-1/services ${DESTDIR}/usr/share/WhiteStork ${DESTDIR}/usr/share/doc/${MNG_PACK_NAME}
+MNG_EXECUTABLE = ${BINARIES}/mdictionaryManager
+MNG_SERVICEFILE = org.maemo.mdictionaryManager.service
+MNG_LIB = ${BINARIES}/engine_bookmarks.so
+MNG_DIRS = ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/mdictionary ${DESTDIR}/usr/share/dbus-1/services ${DESTDIR}/usr/share/mdictionary ${DESTDIR}/usr/share/doc/${MNG_PACK_NAME}
MNG_DBUS = ${DATA}/other/${MNG_SERVICEFILE}
MNG_OTHER = ${DATA}/dictionaries
-MNG_DICT1 = ${DATA}/dictionaries/StarDictSampleDict/sample.dict.dz ${DATA}/dictionaries/StarDictSampleDict/sample.idx ${DATA}/dictionaries/StarDictSampleDict/sample.ifo ${DESTDIR}/usr/share/WhiteStork/dictionaries/StarDictSampleDict/
-MNG_DICT2 = ${DATA}/dictionaries/XDXFSampleDict/dict.xdxf ${DESTDIR}/usr/share/WhiteStork/dictionaries/XDXFSampleDict/
-MNG_DICT_DIRS = ${DESTDIR}/usr/share/WhiteStork/dictionaries/StarDictSampleDict/ ${DESTDIR}/usr/share/WhiteStork/dictionaries/XDXFSampleDict/
+MNG_DICT1 = ${DATA}/dictionaries/StarDictSampleDict/sample.dict.dz ${DATA}/dictionaries/StarDictSampleDict/sample.idx ${DATA}/dictionaries/StarDictSampleDict/sample.ifo ${DESTDIR}/usr/share/mdictionary/dictionaries/StarDictSampleDict/
+MNG_DICT2 = ${DATA}/dictionaries/XDXFSampleDict/dict.xdxf ${DESTDIR}/usr/share/mdictionary/dictionaries/XDXFSampleDict/
+MNG_DICT_DIRS = ${DESTDIR}/usr/share/mdictionary/dictionaries/StarDictSampleDict/ ${DESTDIR}/usr/share/mdictionary/dictionaries/XDXFSampleDict/
MNG_BOOKMARKS = ${DATA}/bookmarks/${BOOKMARKS}/*
MNG_DOC = ${DATA}/docs/${MNG_PACK_NAME}/
PLUGINS_LIB = ${BINARIES}/engine_*.so
-PLUGINS_DIRS = ${DESTDIR}/usr/lib/WhiteStork ${DESTDIR}/usr/share/pixmaps
+PLUGINS_DIRS = ${DESTDIR}/usr/lib/mdictionary ${DESTDIR}/usr/share/pixmaps
#${DESTDIR}/usr/share/doc/${PLUGINS_PACK_NAME}
PLUGINS_ICONS = ${DATA}/icons/engine_xdxf_icon.png
PLUGINS_DOC = ${DATA}/docs/${PLUGINS_PACK_NAME}/
MAIL_ADDRESS = mdictionary-devel@garage.maemo.org
LOCALEDIR=/usr/share/locale
-GETTEXT_PACKAGE=whitestork
+GETTEXT_PACKAGE=mdictionary
ALL_LINGUAS="en_GB"
#APP_VER = ${MAJOR_VER}.${MINOR_VER}.`svn info | grep "Revision:" | awk '{print $$2}'`
send-last: debs
@tar -czf ${APP_NAME}-${APP_VER}.tar.gz *_${APP_VER}-${PACK_VER}_${ARCH}.deb
@echo -e -n "#!/bin/bash\n\
- mutt -x -a ~/debs.log -a ~/build.log -a ~/${APP_NAME}-${APP_VER}.tar.gz -s \"[WhiteStork]: daily build - version ${APP_NAME}-${APP_VER}\" ${MAIL_ADDRESS} <~/mail.content\n\
+ mutt -x -a ~/debs.log -a ~/build.log -a ~/${APP_NAME}-${APP_VER}.tar.gz -s \"[mdictionary]: daily build - version ${APP_NAME}-${APP_VER}\" ${MAIL_ADDRESS} <~/mail.content\n\
rm -f ~/${APP_NAME}-${APP_VER}.tar.gz\n" > mail.script
@chmod +x mail.script
@echo -e -n "\
This message was generated automatically , please do not reply.\n\
- Attachment: ${APP_NAME}-${APP_VER}.tar.gz - tarball with the newest Whitestork's packages.\n\
+ Attachment: ${APP_NAME}-${APP_VER}.tar.gz - tarball with the newest mdictionary's packages.\n\
Attachment: build.log - logs from building binaries.\n\
Attachment: debs.log - logs from making *.deb packages.\n\n\
Automatic Building Framework ver: ${FRM_VER}\nCopyright 2006 ComArch S.A.\n" > mail.content
@echo -e -n "Locale generation successfully completed...\n"
@echo -e -n "Locale generation successfully completed...\n" > ${LOG_BUILD}
-build: pre-build ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork ${BINARIES}/WhiteStorkManager ${BINARIES}/ws_bookmark.so plugins
- @echo -e -n "\nBuilding WhiteStork is finished.\n"
+build: pre-build ${BINARIES}/ws_dbus.o ${GUI_EXECUTABLE} ${MNG_EXECUTABLE} ${BINARIES}/engine_bookmarks.so plugins
+ @echo -e -n "\nBuilding mdictionary is finished.\n"
pre-build:
- @echo -e -n "Building WhiteStork... \n"
+ @echo -e -n "Building mdictionary... \n"
@echo -e -n "" > ${LOG_BUILD}
plugins: ${BINARIES}/engine_xdxf.so ${BINARIES}/engine_stardict.so
-${BINARIES}/WhiteStorkManager:
+${MNG_EXECUTABLE}:
# update-version
@echo -e -n "**--> Compiling Manager...\n"
@echo -e -n "**--> Compiling Manager...\n" >> ${LOG_BUILD}
# @cd ${DBUS} && make >> ../../${LOG_BUILD}
@make -C ${DBUS} >> ${LOG_BUILD}
-${BINARIES}/WhiteStork:
+${GUI_EXECUTABLE}:
#update-version
@echo -e -n "**--> Compiling User Interface...\n"
@echo -e -n "**--> Compiling User Interface...\n" >> ${LOG_BUILD}
# @cd ${STARDICT_PLUGIN} && make >> ../../../${LOG_BUILD}
@make -C ${STARDICT_PLUGIN} >> ${LOG_BUILD}
-${BINARIES}/ws_bookmark.so:
+${BINARIES}/engine_bookmarks.so:
# update-version
@echo -e -n "**--> Compiling Bookmarks...\n"
@echo -e -n "**--> Compiling Bookmarks...\n" >> ${LOG_BUILD}
run-dict:
- @run-standalone.sh WhiteStorkManager
+ @run-standalone.sh mdictionaryManager
clean-temp:
- @-fakeroot rm -rf /usr/share/WhiteStork
- @-fakeroot rm -rf /usr/lib/WhiteStork
- @-fakeroot rm -rf /usr/include/WhiteStork
- @-fakeroot rm -f /etc/others-menu/extra_applications/0112_whitestorkgui.desktop
- @-fakeroot rm -f /usr/share/applications/hildon/whitestorkgui.desktop
- @-fakeroot rm -f /usr/share/pixmaps/whitestork.png
- @-fakeroot rm -f /usr/share/pixmaps/whitestork_icon.png
- @-fakeroot rm -f /usr/bin/WhiteStork
- @-fakeroot rm -f /usr/bin/WhiteStorkManager
- @-fakeroot rm -f /usr/share/applications/hildon/whitestorkgui.desktop
- @-fakeroot rm -f /usr/lib/WhiteStork/engine_xdxf.so
- @-fakeroot rm -f /usr/lib/WhiteStork/engine_stardict.so
-
-# gconftool-2 --recursive-unset /apps/maemo/WhiteStork
-
-install-manager: localization ${BINARIES}/ws_dbus.o ${BINARIES}/ws_bookmark.so ${BINARIES}/WhiteStorkManager
+ @-fakeroot rm -rf /usr/share/mdictionary
+ @-fakeroot rm -rf /usr/lib/mdictionary
+ @-fakeroot rm -rf /usr/include/mdictionary
+ @-fakeroot rm -f /etc/others-menu/extra_applications/0112_mdictionarygui.desktop
+ @-fakeroot rm -f /usr/share/applications/hildon/mdictionarygui.desktop
+ @-fakeroot rm -f /usr/share/pixmaps/mdictionary.png
+ @-fakeroot rm -f /usr/share/pixmaps/mdictionary_icon.png
+ @-fakeroot rm -f /usr/bin/mdictionary
+ @-fakeroot rm -f /usr/bin/mdictionaryManager
+ @-fakeroot rm -f /usr/share/applications/hildon/mdictionarygui.desktop
+ @-fakeroot rm -f /usr/lib/mdictionary/engine_xdxf.so
+ @-fakeroot rm -f /usr/lib/mdictionary/engine_stardict.so
+
+# gconftool-2 --recursive-unset /apps/maemo/mdictionary
+
+install-manager: localization ${BINARIES}/ws_dbus.o ${BINARIES}/engine_bookmarks.so ${MNG_EXECUTABLE}
@install -d ${MNG_DIRS}
@cp ${MNG_EXECUTABLE} ${DESTDIR}/usr/bin
- @cp ${MNG_LIB} ${DESTDIR}/usr/lib/WhiteStork
+ @cp ${MNG_LIB} ${DESTDIR}/usr/lib/mdictionary
@cp ${MNG_DBUS} ${DESTDIR}/usr/share/dbus-1/services
@find ${MNG_DOC} -type f -not -path *.svn* -exec cp {} ${DESTDIR}/usr/share/doc/${MNG_PACK_NAME} \;
# @cp ${MNG_DICT1}
# @cp ${MNG_DICT2}
- @install -d ${DESTDIR}/usr/share/WhiteStork/dictionaries/bookmarks
- @cp -rf ${MNG_BOOKMARKS} ${DESTDIR}/usr/share/WhiteStork/dictionaries/bookmarks
+ @install -d ${DESTDIR}/usr/share/mdictionary/dictionaries/bookmarks
+ @cp -rf ${MNG_BOOKMARKS} ${DESTDIR}/usr/share/mdictionary/dictionaries/bookmarks
-install-gui: ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork
+install-gui: ${BINARIES}/ws_dbus.o ${GUI_EXECUTABLE}
@install -d ${GUI_DIRS}
@cp ${GUI_EXECUTABLE} ${DESTDIR}/usr/bin
@cp ${GUI_ICONS} ${DESTDIR}/usr/share/pixmaps
install-plugins: plugins
@install -d ${PLUGINS_DIRS}
- @cp ${PLUGINS_LIB} ${DESTDIR}/usr/lib/WhiteStork
+ @cp ${PLUGINS_LIB} ${DESTDIR}/usr/lib/mdictionary
@cp ${PLUGINS_ICONS} ${DESTDIR}/usr/share/pixmaps
@install -d ${MNG_DICT_DIRS}
@cp ${MNG_DICT1}
@cp ${MNG_DICT2}
# @find ${PLUGINS_DOC} -type f -not -path *.svn* -exec cp {} ${DESTDIR}/usr/share/doc/${PLUGINS_PACK_NAME} \;
+install-mdictionary: install-manager install-gui install-plugins
+
install: install-manager install-gui install-plugins
- @echo -e "\n\nIf you are installing whitestork, please run 'make entries', before running the application ( not as root )\n\n"
+ @echo -e "\n\nIf you are installing mdictionary, please run 'make entries', before running the application ( not as root )\n\n"
entries:
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/StarDictSampleDict/name "Polish - English Sample Dictionary"
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/StarDictSampleDict/path "/usr/share/WhiteStork/dictionaries/StarDictSampleDict"
- gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/StarDictSampleDict/active true
- gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/StarDictSampleDict/optimized false
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/XDXFSampleDict/name "English - Polish Sample Dictionary"
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/XDXFSampleDict/path "/usr/share/WhiteStork/dictionaries/XDXFSampleDict"
- gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/XDXFSampleDict/active true
- gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/XDXFSampleDict/optimized false
+ gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/StarDictSampleDict/name "Polish - English Sample Dictionary"
+ gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/StarDictSampleDict/path "/usr/share/mdictionary/dictionaries/StarDictSampleDict"
+ gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/StarDictSampleDict/active true
+ gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/StarDictSampleDict/optimized false
+ gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/XDXFSampleDict/name "English - Polish Sample Dictionary"
+ gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/XDXFSampleDict/path "/usr/share/mdictionary/dictionaries/XDXFSampleDict"
+ gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/XDXFSampleDict/active true
+ gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/XDXFSampleDict/optimized false
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/bookmarks/path "/usr/lib/WhiteStork/ws_bookmark.so"
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/name "Bookmarks"
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/path "/usr/share/WhiteStork/dictionaries/bookmarks"
- gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/active false
- gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/optimized true
- chmod -R 0777 /usr/share/WhiteStork/dictionaries
+ gconftool-2 --type string --set /apps/maemo/mdictionary/engines/bookmarks/path "/usr/lib/mdictionary/engine_bookmarks.so"
+ gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/bookmarks/name "Bookmarks"
+ gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/bookmarks/path "/usr/share/mdictionary/dictionaries/bookmarks"
+ gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/bookmarks/active false
+ gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/bookmarks/optimized true
+ chmod -R 0777 /usr/share/mdictionary/dictionaries
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/xdxf/path "/usr/lib/WhiteStork/engine_xdxf.so"
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/stardict/path "/usr/lib/WhiteStork/engine_stardict.so"
+ gconftool-2 --type string --set /apps/maemo/mdictionary/engines/xdxf/path "/usr/lib/mdictionary/engine_xdxf.so"
+ gconftool-2 --type string --set /apps/maemo/mdictionary/engines/stardict/path "/usr/lib/mdictionary/engine_stardict.so"
-# maemo-select-menu-location whitestork.desktop
+# maemo-select-menu-location mdictionary.desktop
install_deb: clean-inst-log uninstall eng-deb-i mng-deb-i gui-deb-i
@echo -n "" > ${LOG_INST}
uninstall:
- @-fakeroot dpkg --purge whitestork
-# @-fakeroot dpkg --purge whitestorkdictionary
+ @-fakeroot dpkg --purge mdictionary
+# @-fakeroot dpkg --purge mdictionarydictionary
display: access
@fakeroot su ${USER} -c 'af-sb-init.sh start'
-WhiteStork Multilingual Dictionary ver. 0.1.0 ALPHA
+mdictionary Multilingual Dictionary ver. 0.1.0 ALPHA
-What is WhiteStork Multilingual Dictionary
+What is mdictionary Multilingual Dictionary
------------------------------------------
-WhiteStork is a multilingual dictionary enabling its users to use many dictionary formats. Our final goal is to use many search engines so that different file formats could be used. They will be in a form of dynamically loadable modules. For now however, we have limited the project to one engine for the XDXF format. The application consists of four modules:
+mdictionary is a multilingual dictionary enabling its users to use many dictionary formats. Our final goal is to use many search engines so that different file formats could be used. They will be in a form of dynamically loadable modules. For now however, we have limited the project to one engine for the XDXF format. The application consists of four modules:
- GUI - written using GTK+ Hildon, GPL License
- Engine - XDXF format parser, GPL license
- Manager - thread management and GUI starting, GPL license
Compilation
-----------
-In order to compile this application go to the WhiteStork/trunk directory and run the following command:
+In order to compile this application go to the mdictionary/trunk directory and run the following command:
make clean && make
-However, it is important to put out, that this will only compile the program. You won't be able to run it. Read the Installation section for information on how to install WhiteStork on your system.
+However, it is important to put out, that this will only compile the program. You won't be able to run it. Read the Installation section for information on how to install mdictionary on your system.
Installation
------------
Running
-------
-After installation is successful, there should a WhiteStork entry in the Extras submenu. All you have to do now is start it. Please refer to the WhiteStork User Interface Specification for hints on how to use our dictionary. It is available under this URL: https://garage.maemo.org/docman/?group_id=58
+After installation is successful, there should a mdictionary entry in the Extras submenu. All you have to do now is start it. Please refer to the mdictionary User Interface Specification for hints on how to use our dictionary. It is available under this URL: https://garage.maemo.org/docman/?group_id=58
The package contains two dictionaries, so you can start using our app right away.
Should there be any problems, please contact one of our developers via garage.maemo.org.
Have fun using our application
-The WhiteStork Multilingual dictionary developer's
+The mdictionary Multilingual dictionary developer's
echo "Dictionary name wasn't specified. Run without parameters to get help."
else
if [ -e $1 ]; then
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/$2/name "$2"
- gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/$2/path "`pwd`/$1"
- gconftool-2 --type boolean --set /apps/maemo/WhiteStork/Dictionaries/$2/active false
- gconftool-2 --type boolean --set /apps/maemo/WhiteStork/Dictionaries/$2/optimized false
- gconftool-2 -R /apps/maemo/WhiteStork/Dictionaries/$2
+ gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/$2/name "$2"
+ gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/$2/path "`pwd`/$1"
+ gconftool-2 --type boolean --set /apps/maemo/mdictionary/dictionaries/$2/active false
+ gconftool-2 --type boolean --set /apps/maemo/mdictionary/dictionaries/$2/optimized false
+ gconftool-2 -R /apps/maemo/mdictionary/dictionaries/$2
else
echo "Dictionary file couldn't be found. Run without parameters to get help."
Package: bmconverter
Architecture: any
Depends: libsqlite0 (>= 2.8.13)
-Description: Software for converting WhiteStork bookmarks from sqlite format to Berkeley DB
+Description: Software for converting mdictionary bookmarks from sqlite format to Berkeley DB
XB-Maemo-Icon-26:
iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAABBklEQVRIidWW246EMAxD7dF+eP7c
+0CH3pK0ZTUjrSVEISWHmLQC+JL48Dmd5okmaBm35srWsJeXRBIktcBc1r3cNgjkgaO2B3NBgxQm
Encoding=UTF-8
Version=1.0
Name=Bookmark converter
-Comment=WhiteStork bookmark converter
+Comment=mdictionary bookmark converter
Exec=/usr/bin/bmconverter
Icon=bmconverter
Terminal=true
#include <libgnomevfs/gnome-vfs.h>
#include "bm-convert.h"
-#define WHITE_STORK_NAME "/usr/bin/WhiteStorkManager"
-#define WHITE_STORK_BOOKMARK_LOC "/usr/share/WhiteStork/dictionaries/bookmarks/ws_bookmarks"
+#define WHITE_STORK_NAME "/usr/bin/mdictionaryManager"
+#define WHITE_STORK_BOOKMARK_LOC "/usr/share/mdictionary/dictionaries/bookmarks/ws_bookmarks"
#define TMP_FILE "/media/mmc1/.bookmarks"
-#define WS_BERKELEY_BOOKMARK_FILES "/usr/share/WhiteStork/dictionaries/bookmarks"
+#define WS_BERKELEY_BOOKMARK_FILES "/usr/share/mdictionary/dictionaries/bookmarks"
#define g_strlen(string) ( NULL == (string) ? 0 : strlen(string) )
if (self != NULL)
{
self->program = HILDON_PROGRAM(hildon_program_get_instance());
- g_set_application_name("WhiteStork bookmark converter");
+ g_set_application_name("mdictionary bookmark converter");
self->window = HILDON_WINDOW(hildon_window_new());
hildon_program_add_window(self->program, self->window);
g_signal_connect(self->window, "delete_event",
gtk_container_add(GTK_CONTAINER(self->window), self->box);
self->label =
- gtk_label_new("This application converts WhiteStork bookmarks'"
+ gtk_label_new("This application converts mdictionary bookmarks'"
" database from the sqlite format to the Berkeley DB"
" format.\nThe processed files are copied"
- " from /usr/share/WhiteStork/dictionaries/bookmarks"
+ " from /usr/share/mdictionary/dictionaries/bookmarks"
" to /media/mmc1/.bookmarks directory");
gtk_label_set_line_wrap(GTK_LABEL(self->label), TRUE);
gtk_widget_show(self->label);
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- "WhiteStork not installed");
+ "mdictionary not installed");
gtk_widget_show_all(dialog);
g_signal_connect_swapped(dialog,
"response",
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE xdxf SYSTEM "http://xdxf.sourceforge.net/xdxf_lousy.dtd">
<xdxf lang_from="NN" lang_to="NN" format="visual">
-<full_name>WhiteStork Bookmarks</full_name>
+<full_name>mdictionary Bookmarks</full_name>
<description>Version: 1.0</description>
</xdxf>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>\r
<xdxf lang_from="ENG" lang_to="POL" format="visual">\r
<full_name>English - Polish dictionary</full_name>\r
- <description>Sample dictionary with some usefull expressions. Any suggestions? Please conntact marcin.biedron@comarch.pl. This file is part of WhiteStork application. Copyright 2007, ComArch S.A. All rights reserved.</description>\r
+ <description>Sample dictionary with some usefull expressions. Any suggestions? Please conntact marcin.biedron@comarch.pl. This file is part of mdictionary application. Copyright 2007, ComArch S.A. All rights reserved.</description>\r
<ar><k>a lot of</k> - dużo</ar>\r
<ar><k>a quarter</k> - ćwiartka</ar>\r
<ar><k>a third</k> - jedna trzecia</ar>\r
--- /dev/null
+mdictionary (0.1.0)
+
+ * Testing changelog.
+ * mdictionary
+ -- author <email> 2006-09-07
--- /dev/null
+mdictionary Debian maintainer and upstream author are identical.
+Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
--- /dev/null
+mdictionary
+
+All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
+++ /dev/null
-whitestork (0.1.0)
-
- * Testing changelog.
- * whitestork
- -- author <email> 2006-09-07
+++ /dev/null
-whitestork Debian maintainer and upstream author are identical.
-Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
+++ /dev/null
-whitestork
-
-All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
-WhiteStork Dictionary
+mdictionary Dictionary
All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
-whitestorkgui (0.1.0)
+mdictionarygui (0.1.0)
* Testing changelog.
- * whitestorkgui
+ * mdictionarygui
-- author <email> 2006-09-07
-whitestorkgui Debian maintainer and upstream author are identical.
+mdictionarygui Debian maintainer and upstream author are identical.
Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
-whitestorkgui
+mdictionarygui
All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
-whitestorkplugins (0.6.0)
+mdictionaryplugins (0.6.0)
* Testing changelog.
* enginexdxf
-whitestorkplugins
+mdictionaryplugins
Debian maintainer and upstream author are identical.
Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
-whitestorkplugins
+mdictionaryplugins
All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
#: ../gui/src/ws_gui_layout.c:712 ../gui/src/ws_gui_layout.c:904
msgid "ws_ti_choose_dictionaries_title"
-msgstr "Select dictionaries"
+msgstr "Select dictionaries..."
#: ../gui/src/ws_gui_layout.c:767 ../gui/src/ws_gui_layout.c:941
#: ../gui/src/ws_gui_layout.c:1233 ../gui/src/ws_gui_layout.c:1427
#: ../gui/src/ws_gui_layout.c:1780
msgid "ws_ni_words_list_full"
-msgstr "Query was too wide, WhiteStork is not able to show all words matching it. Please, elaborate your query."
+msgstr "Query was too wide, mdictionary is not able to show all words matching it. Please, elaborate your query."
-Package: whitestork
+Package: mdictionary
Version:
Section: user/office
Priority: optional
Depends: libexpat1 (>= 1.95.8)
Maintainer: ComArch S.A. <contact@comarch.com>
Description: Multilingual dictionary.
- WhiteStork Multilingual Dictionary is a very functional
+ mdictionary Multilingual Dictionary is a very functional
application allowing the use of many dictionary engines.
You can either download them from our homepage at
http://garage.maemo.org, or write your own, provided
if [ "$1" != "upgrade" ]
then
# End automatically added section
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/elements/name "Elements Database"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/elements/path "/usr/share/WhiteStork/dictionaries/elements"'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/elements/active true'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/elements/optimized true'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/us-en/name "American - English Dictionary"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/us-en/path "/usr/share/WhiteStork/dictionaries/us-en"'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/us-en/active true'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/us-en/optimized false'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/elements/name "Elements Database"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/elements/path "/usr/share/mdictionary/dictionaries/elements"'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/elements/active true'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/elements/optimized true'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/us-en/name "American - English Dictionary"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/us-en/path "/usr/share/mdictionary/dictionaries/us-en"'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/us-en/active true'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/us-en/optimized false'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/bookmarks/path "/usr/lib/WhiteStork/ws_bookmark.so"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/name "Bookmarks"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/path "/usr/share/WhiteStork/dictionaries/bookmarks"'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/active false'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/optimized true'
-chmod -R 0777 /usr/share/WhiteStork/dictionaries
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/engines/bookmarks/path "/usr/lib/mdictionary/ws_bookmark.so"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/bookmarks/name "Bookmarks"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/bookmarks/path "/usr/share/mdictionary/dictionaries/bookmarks"'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/bookmarks/active false'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/bookmarks/optimized true'
+chmod -R 0777 /usr/share/mdictionary/dictionaries
fi
\ No newline at end of file
echo -e "Preremoving actions..."
-#su $USER -c 'rm -rf /usr/share/WhiteStork'
+#su $USER -c 'rm -rf /usr/share/mdictionary'
if [ "$1" != "upgrade" ]
then
echo -e -n "Removing gconf configuration..\n"
- su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/WhiteStork/Dictionaries'
- su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/WhiteStork/Engines/bookmarks'
+ su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/mdictionary/dictionaries'
+ su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/mdictionary/engines/bookmarks'
fi
# End automatically added section
-Package: whitestorkdictionary
+Package: mdictionarydictionary
Version:
Section: user/office
Priority: optional
Architecture: all
Installed-Size:
-Depends: whitestorkgui (>= 0.1.0), whitestork (>= 0.1.0), whitestorkplugins (>= 0.1.0)
+Depends: mdictionarygui (>= 0.1.0), mdictionary (>= 0.1.0), mdictionaryplugins (>= 0.1.0)
Maintainer: ComArch S.A. <contact@comarch.com>
-Description: metapackage binding all WhiteStork Dictionary's components
- This package gathers all WhiteStork's components together, increasing
- the ease of use of WhiteStork Multilingual Dictionary.
+Description: metapackage binding all mdictionary Dictionary's components
+ This package gathers all mdictionary's components together, increasing
+ the ease of use of mdictionary Multilingual Dictionary.
Copyright 2006, ComArch S.A.
-Package: whitestorkgui
+Package: mdictionarygui
Version:
Section: user/office
Priority: optional
Architecture: all
Installed-Size:
-Depends: libexpat1 (>= 1.95.8), whitestork (>= 0.1.0)
+Depends: libexpat1 (>= 1.95.8), mdictionary (>= 0.1.0)
Maintainer: ComArch S.A. <contact@comarch.com>
-Description: GUI for whitestork.
+Description: GUI for mdictionary.
This package contain an example of GUI for
Whitestork - Multilingual Dictionary for
Maemo platform.
#echo $1 >> /home/krzsas/log.txt
echo -e "Postinstalling actions..."
-su $USER -c 'ln -s /usr/share/applications/hildon/whitestork.desktop /etc/others-menu/extra_applications/0112_whitestorkgui.desktop' ;
-#maemo-confirm-text /usr/share/doc/whitestorkgui/copyright
+su $USER -c 'ln -s /usr/share/applications/hildon/mdictionary.desktop /etc/others-menu/extra_applications/0112_mdictionarygui.desktop' ;
+#maemo-confirm-text /usr/share/doc/mdictionarygui/copyright
#case $? in
-#0)su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/configuration/licence true';;
- # maemo-select-menu-location whitestork.desktop
-#1)su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/configuration/licence false';;
+#0)su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/configuration/licence true';;
+ # maemo-select-menu-location mdictionary.desktop
+#1)su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/configuration/licence false';;
#esac
-maemo-select-menu-location whitestork.desktop
+maemo-select-menu-location mdictionary.desktop
exit 0
#!/bin/sh
echo -e "Postremoving actions..."
-su $USER -c 'rm -f /etc/others-menu/extra_applications/0112_whitestorkgui.desktop' ;
\ No newline at end of file
+su $USER -c 'rm -f /etc/others-menu/extra_applications/0112_mdictionarygui.desktop' ;
\ No newline at end of file
-Package: whitestorkplugins
+Package: mdictionaryplugins
Version:
Section: user/office
Priority: optional
Installed-Size:
Depends: libexpat1 (>= 1.95.8)
Maintainer: ComArch S.A. <contact@comarch.com>
-Description: Parsing engines for WhiteStork Multilingual Dictionary
+Description: Parsing engines for mdictionary Multilingual Dictionary
This package enables the use of XDXF and stardict dictionaries. Additional information about the XDXF format can be found here: xdxf.sourceforge.net.
Copyright 2006, ComArch S.A.
Maemo-Icon-26:
then
# End automatically added section
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/xdxf/path "/usr/lib/WhiteStork/engine_xdxf.so"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/stardict/path "/usr/lib/WhiteStork/engine_stardict.so"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/engines/xdxf/path "/usr/lib/mdictionary/engine_xdxf.so"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/engines/stardict/path "/usr/lib/mdictionary/engine_stardict.so"'
fi
# End automatically added section
if [ "$1" != "upgrade" ]
then
echo -e -n "Removing gconf configuration..\n"
- su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/WhiteStork/Engines'
+ su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/mdictionary/engines'
fi
-whitestork (1.1.0-1) unstable; urgency=low
+mdictionary (1.0.0-2) unstable; urgency=low
- * plugin for home applet "Internet Search" - search in mDictionary
- * change Copyright 2006 into Copyright 2006-2007 in copyrigth file
- * some info banners have been claryfied
- * cleaning translation after unsuccessful new search fixed
+ * minor bugfixes in debian package
- -- unknown <Dariusz.Wiechecki@comarch.com> Tue, 24 Jul 2007 15:27:00 +0300
+ -- unknown <Dariusz.Wiechecki@comarch.com> Mon, 20 Nov 2007 13:11:00 +0300
-whitestork (1.0.1-1) unstable; urgency=low
+mdictionary (1.0.0-1) unstable; urgency=low
- * Minor packaging update. No code changes.
+ * the first release of mDictionary (previously known as a WhiteStork)
+ * new icons and name
- -- unknown <Milosz.Wasilewski@comarch.com> Sun, 29 Apr 2007 19:30:47 +0300
-
-whitestork (1.0.0-1) unstable; urgency=low
-
- * Initial Release.
-
- -- unknown <Krzysztof.Sasiak@comarch.com> Thu, 29 Mar 2007 14:14:47 +0200
+ -- unknown <Dariusz.Wiechecki@comarch.com> Mon, 19 Nov 2007 16:06:00 +0300
-Source: whitestork
+Source: mdictionary
Section: user/office
Priority: extra
Maintainer: Krzysztof Sasiak <Krzysztof.Sasiak@comarch.com>
-Build-Depends: debhelper (>= 4), libdb1-dev, libosso-dev (>= 1.20-1), libgtk2.0-dev (>= 2.6.10), gtkhtml-dev (>= 3.9.1), hildon-libs-dev (>= 0.14.11), libart-2.0-dev (>= 2.3.17), hildon-fm-dev (>= 1.24), libbz2-dev (>=1.0.3)
+Build-Depends: debhelper (>= 4), libdb1-dev, libosso-dev (>= 1.14-1), libgtk2.0-dev (>= 2.6.10), gtkhtml-dev (>= 3.9.1) libart-2.0-dev (>= 2.3.17),
Standards-Version: 3.6.1
-Package: whitestorkgui
-Section: user/office
-Priority: optional
-Architecture: any
-Depends: ${shlibs:Depends}, whitestork (>= 1.1.0-1)
-Description: User interface for mDictionary
- WhiteStork Multilingual Dictionary is a very functional
- application allowing the use of many dictionary engines.
- You can either download them from our homepage at
- http://garage.maemo.org, or write your own, provided
- that You stick to the API (also available on our homepage).
- The graphical user interface of our application can also
- be replaced by a product of Your own programming skills.
- This package contains all three whitestork modules that is:
- gui, engines and plugins.
- Copyright 2006, ComArch S.A.
-XB-Maemo-Icon-26:
- iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
- WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1wEJDBUeRyfCHgAAAk5JREFUSMftlk9LVGEUxn937lzv
- nROjZDOpYdg/E3XQoiCEsk1R0CosXPUJ2rVp0baP0Aco2rRxE0FhRFGRmzbRH9IW0SJBLFKpR67j
- eFv4DkyTOtMoLaKzet/3POc8nHuf+7wX/rXwGqyLgHNuHUdRNJFKpeYlLa9X4NfZuAXYAWSjKOpK
- kmQoSZK7wAhwC7ji+35zEASFIAi+FItFrTXRNiAPcAT25+AQwGHo7YQ+gD2wtxXaJ0GXff+8SqUs
- MA58BHLAJUAAYRimfN9/Imm2kig9BFd7YdQ1TI/CvnIyB7RWgK+H4TXF8bibZAWYcSkBYwBxHI+Y
- 2XB5v947SgO95c0p6M9DD0AHtN3JZCamFxdvA4XVIwQ0A+/ddC1Aj5ntljTWsHLMrNvMBty2GTgI
- WBXmuJm1bVp1ZtYNDLhp5ipSeSAAnkua2Sp5Y2ZZ4IIj+wBMSiquh083QNAGDALHHEE38G4jkron
- MrPTQNbhZ4BXVZAunGiAJeCRJNVNZGYF1+ChpJPAV+BFjZpgVbD8kPS0JpEjKUqarDjuAC669Sfg
- fsUUv0Qmk9npeV6/pMe1iEZqfAtp4Kzr0bRGfiUMw3bf929KWkxvwpCXgXsbAXzfP1P209QGuFkz
- y29C/k1AIOl7PWIYBmLgpaTSH5D0ONk/KF8dXh1FncBR9wjeAguSpqsw24F8LkkKyxDOed5rSW8a
- dgYz63PGuasq9e3G0tLgiVLp2YEkWfBgasssqDqS1atjCojXIkr9rX+G/0QNR3oLe30G5p1j/BY/
- AaknsXLnUsw8AAAAAElFTkSuQmCC
-
-Package: whitestork
-Section: user/office
-Priority: optional
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: Multilingual dictionary.
- WhiteStork Multilingual Dictionary is a very functional
- application allowing the use of many dictionary engines.
- You can either download them from our homepage at
- http://garage.maemo.org, or write your own, provided
- that You stick to the API (also available on our homepage).
- The graphical user interface of our application can also
- be replaced by a product of Your own programming skills.
- This package contains all three whitestork modules that is:
- gui, engines and plugins.
- Copyright 2006, ComArch S.A.
-XB-Maemo-Icon-26:
- iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
- WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1wEJDBUeRyfCHgAAAk5JREFUSMftlk9LVGEUxn937lzv
- nROjZDOpYdg/E3XQoiCEsk1R0CosXPUJ2rVp0baP0Aco2rRxE0FhRFGRmzbRH9IW0SJBLFKpR67j
- eFv4DkyTOtMoLaKzet/3POc8nHuf+7wX/rXwGqyLgHNuHUdRNJFKpeYlLa9X4NfZuAXYAWSjKOpK
- kmQoSZK7wAhwC7ji+35zEASFIAi+FItFrTXRNiAPcAT25+AQwGHo7YQ+gD2wtxXaJ0GXff+8SqUs
- MA58BHLAJUAAYRimfN9/Imm2kig9BFd7YdQ1TI/CvnIyB7RWgK+H4TXF8bibZAWYcSkBYwBxHI+Y
- 2XB5v947SgO95c0p6M9DD0AHtN3JZCamFxdvA4XVIwQ0A+/ddC1Aj5ntljTWsHLMrNvMBty2GTgI
- WBXmuJm1bVp1ZtYNDLhp5ipSeSAAnkua2Sp5Y2ZZ4IIj+wBMSiquh083QNAGDALHHEE38G4jkron
- MrPTQNbhZ4BXVZAunGiAJeCRJNVNZGYF1+ChpJPAV+BFjZpgVbD8kPS0JpEjKUqarDjuAC669Sfg
- fsUUv0Qmk9npeV6/pMe1iEZqfAtp4Kzr0bRGfiUMw3bf929KWkxvwpCXgXsbAXzfP1P209QGuFkz
- y29C/k1AIOl7PWIYBmLgpaTSH5D0ONk/KF8dXh1FncBR9wjeAguSpqsw24F8LkkKyxDOed5rSW8a
- dgYz63PGuasq9e3G0tLgiVLp2YEkWfBgasssqDqS1atjCojXIkr9rX+G/0QNR3oLe30G5p1j/BY/
- AaknsXLnUsw8AAAAAElFTkSuQmCC
-Package: whitestorkplugins
+Package: mdictionary
Section: user/office
Priority: optional
Architecture: any
-Depends: ${shlibs:Depends}, whitestork (>= 1.1.0-1)
-Description: Dictionary plugins for mDictionary
+Depends: ${shlibs:Depends}
+Conflicts: whitestork
+Description: multilingual dictionary for maemo.org
+ mDictionary Multilingual Dictionary (known as WhiteStork) is
+ a very functional application allowing the use of many dictionary
+ engines. There are included XDXF and StarDict engines in the package,
+ but You can write your own, provided that You stick to the API
+ (also available on our homepage). The graphical user interface of
+ our application can also be replaced by a product of Your own
+ programming skills. This package contains all three modules
+ integrated that is: gui, engines and plugins.
+ Copyright 2006 - 2007, ComArch S.A.
XB-Maemo-Icon-26:
- iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
- WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1wEJDBUeRyfCHgAAAk5JREFUSMftlk9LVGEUxn937lzv
- nROjZDOpYdg/E3XQoiCEsk1R0CosXPUJ2rVp0baP0Aco2rRxE0FhRFGRmzbRH9IW0SJBLFKpR67j
- eFv4DkyTOtMoLaKzet/3POc8nHuf+7wX/rXwGqyLgHNuHUdRNJFKpeYlLa9X4NfZuAXYAWSjKOpK
- kmQoSZK7wAhwC7ji+35zEASFIAi+FItFrTXRNiAPcAT25+AQwGHo7YQ+gD2wtxXaJ0GXff+8SqUs
- MA58BHLAJUAAYRimfN9/Imm2kig9BFd7YdQ1TI/CvnIyB7RWgK+H4TXF8bibZAWYcSkBYwBxHI+Y
- 2XB5v947SgO95c0p6M9DD0AHtN3JZCamFxdvA4XVIwQ0A+/ddC1Aj5ntljTWsHLMrNvMBty2GTgI
- WBXmuJm1bVp1ZtYNDLhp5ipSeSAAnkua2Sp5Y2ZZ4IIj+wBMSiquh083QNAGDALHHEE38G4jkron
- MrPTQNbhZ4BXVZAunGiAJeCRJNVNZGYF1+ChpJPAV+BFjZpgVbD8kPS0JpEjKUqarDjuAC669Sfg
- fsUUv0Qmk9npeV6/pMe1iEZqfAtp4Kzr0bRGfiUMw3bf929KWkxvwpCXgXsbAXzfP1P209QGuFkz
- y29C/k1AIOl7PWIYBmLgpaTSH5D0ONk/KF8dXh1FncBR9wjeAguSpqsw24F8LkkKyxDOed5rSW8a
- dgYz63PGuasq9e3G0tLgiVLp2YEkWfBgasssqDqS1atjCojXIkr9rX+G/0QNR3oLe30G5p1j/BY/
- AaknsXLnUsw8AAAAAElFTkSuQmCC
\ No newline at end of file
+ iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAACXBIWXMAAAsTAAAL
+ EwEAmpwYAAABRWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjalZC/SsNgFEfP
+ 14pSwU5BHD9w0cHSKi24KDG2UqGNpEGabDYNaaHa8DVWqz6Bk5trX0BwEGefwMU/
+ L+ALCIKzQ5QqFIpnOvd34d7LhYSs1Ep2QsLhUaSsnS1Zd1w588IU08yRpHDg9cJK
+ rWQDFNtnXf4i4PMVAfC0MqY/iVTT73nAO+CpuuOCsAEtiL0FaI3YLwBN2ZYB4gpI
+ B7EPgXQj9lsgfRKFEYgHQPNCFYF4Bna/dwGkarn1XHa7kP99y5js39QdV8Y2uIaN
+ WUi+jTLnEm6GsHA+yhbvQNuH+0fvWPV//ppYg0n1aMbHJgIQ837kn0YARjccqHbQ
+ iuSSsSxXs9m8LJZdU1b1qm5Kw7T2TEu3y2Y1I6Xe6UjVDlpRTyq/56u+38wAfAFp
+ qFJd29bLeQAAAARnQU1BAACxnmFMQfcAAAAgY0hSTQAAejAAAICYAAD5/wAAgOgA
+ AHFHAADsUwAAOKQAAB1LzdW7PwAABG1JREFUeNq8lktsVVUUhr99nvec3tte7AVa
+ 7ZVXkWgLFKEECgNAVGIEqsx00KKJQx8DY3QCJkYTDUFNSgJGxARjwghJdEINiIGB
+ CbFpQKgpXKBpKaWUS9v7PI/loKVQ+4AyYI3O3met/997rT9rLyUiPA4zAJRSMw6M
+ Ne3ZgAQQ+G1DP32Sns5XRFAiMiVRrGlPHRAn9ONoRhNInMBrA9WIZsxHKQiDK0jw
+ 6dDhjw89EpG+47PbdsSK64Y+6h0CENilBKaLCgqgNIqlTxHqFkAbsJEvNqYnIzKm
+ OkXgB/HscA4jVkZY8Qyh6aAVM4RWyVQhdUAz8PVkP7UH1cIPFaHpAEwgUaGP8nL3
+ b8WnwtFmpIChW+h3eu6lpLsDejoeKnRmRAPdBEXv3joMkIeE0HhM9tiIDICfv6c5
+ WcXyUeXEgbr1+2YO1jzv8K6mX0vmmUbmg/Uvk55wo8HM0villPt+JsuGUTKidn4C
+ UNQapzDeqj/B4vLrLI52siLexspZZzGNTDOQ+uM3e/eRw/VjKlQiwncHDjYj2R/E
+ b8W1jjNndhbRIxxpX8vBfxph3jJWxNt4t7qFv3uriUWhItLL4mgnUWN48ppoYEUW
+ pR1nzs7nVp45epdoN7BrRLNZxG8lFvmFygowzalTZRpg2LXYkTI0swHHLUO0Whw3
+ CVpy5CbFr07OrfpyowFghW8vN6x1eGzD8xMocxvDfgP/po5RkThN1dPrcNxSNKMW
+ O5LEsJ7GsGtAlT2E3JbcS51SigPf6O9YFp/bzpryfDBCOHLqfra8uvOR1aYKu4/O
+ Tba8ZgAc2r/qxfLyMHAc+ai35/wLeti23bQ2uwV/8xjhAy3sQkkXBOcIQvOKJhd6
+ lD77uCruOwotI/LOh2/2dl3vSDhWuyTKFx7T9VzrzRu/bzFV6ytuZHMJbB0FO4eS
+ QQhO4wfJc+KdyHhemAq9E9lc3k3l8m7f4HDZzdGG7Ylw4aWtXBYZTd2B/QcrgdVI
+ QQK/Hcdql8qKHEGQc4v57k11dTUlXuFiX9Gzb6QHZ13OF5wMMPY0R2xPNE2wLV80
+ TbAsH9tZLqblEhROdS+ouXbeANDkpBOqDVmUjW7WUwyXyeWrpyktuZgtT1QfSV3N
+ i2VWYRghkUggZaVD6HqJRNz5GGYFSn9SNGMJSisV3Vo91nMBcrde18c6QzF/cVBp
+ t9OaucZWWiUoW3RrE8PFVZR6p6R26SJQMXSrXpSKoZnP3j9oTPuttERhnOoAWvbW
+ J5SeTGrG85rSKscCGnds/z/I/etx4KHficgwYfGsiAzhZX68taDmWs+Ep7xlb70O
+ JEK1MGHZDaCiNO7YPg408NogHCL0OyQMesgXeulLd4pjpHOzXC8LFIAAKCys7Qqm
+ nRne+LC+OhmDFQsWScNal8Fcjv7+v+gftiRQOl23Iwylfbl03eaJudbdQ6S/fe/P
+ mc0MfkghdQdupq7KmYERt4G+BJatSbTMAJCBviKocakMpn0mprDCJDWYWBsZt+9P
+ BfbfAGyC8jpg6wjHAAAAAElFTkSuQmCC
It was downloaded from https://garage.maemo.org
-Upstream Author: WhiteStork development team
+Upstream Author: mdictionary development team
Copyright: Comarch 2006-2007
-whitestorkgui_1.1.0-1_armel.deb user/office optional
-whitestork_1.1.0-1_armel.deb user/office optional
-whitestorkplugins_1.1.0-1_armel.deb user/office optional
+mdictionary_1.0.0-2_armel.deb user/office optional
# Add here commands to compile the package.
$(MAKE)
- #/usr/bin/docbook-to-man debian/whitestork.sgml > whitestork.1
+ #/usr/bin/docbook-to-man debian/mdictionary.sgml > mdictionary.1
touch build-stamp
dh_clean -k
dh_installdirs
- # Add here commands to install the package into debian/whitestork.
- $(MAKE) install-manager DESTDIR=$(CURDIR)/debian/whitestork
- $(MAKE) install-gui DESTDIR=$(CURDIR)/debian/whitestorkgui
- $(MAKE) install-plugins DESTDIR=$(CURDIR)/debian/whitestorkplugins
+ # Add here commands to install the package into debian/mdictionary.
+ #$(MAKE) install-manager DESTDIR=$(CURDIR)/debian/mdictionary
+ #$(MAKE) install-gui DESTDIR=$(CURDIR)/debian/mdictionarygui
+ #$(MAKE) install-plugins DESTDIR=$(CURDIR)/debian/mdictionaryplugins
+ $(MAKE) install-mdictionary DESTDIR=$(CURDIR)/debian/mdictionary
# Build architecture-independent files here.
-shlibs:Depends=libbz2-1.0, libc6 (>= 2.3.5-1), libdb1, libdbus-1-2 (>= 0.61), libdbus-glib-1-2 (>= 0.61), libgconf2-6 (>= 2.6.4.15), libglib2.0-0 (>= 2.8.6-1osso1), libosso1 (>= 1.20-1)
+shlibs:Depends=libbz2-1.0, libc6 (>= 2.3.5-1), libdb1, libdbus-1-2 (>= 0.61), libdbus-glib-1-2 (>= 0.61), libgconf2-6 (>= 2.6.4.14), libglib2.0-0 (>= 2.8.6-1osso1), libosso1 (>= 1.14-1)
do
tekst=${nazwa%.po}
install -d $2/$tekst/LC_MESSAGES/
- msgfmt $1/$nazwa -o $2/$tekst/LC_MESSAGES/whitestork.mo
+ msgfmt $1/$nazwa -o $2/$tekst/LC_MESSAGES/mDictionary.mo
done
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
#: ../gui/src/ws_gui_layout.c:42
msgid "ws_ni_welcome"
-msgstr "Welcome to mDictionary!"
+msgstr "Welcome to mdictionary!"
#: ../gui/src/ws_gui_layout.c:174 ../gui/src/ws_gui_layout.c:351
msgid "ws_me_search_find"
#: ../gui/src/ws_gui_layout.c:266
msgid "ws_me_dictionaries"
-msgstr "Dictionaries"
+msgstr "dictionaries"
#: ../gui/src/ws_gui_layout.c:268
msgid "ws_me_bookmarks"
#: ../gui/src/ws_gui_layout.c:42
msgid "ws_ni_welcome"
-msgstr "<font size=+2><center><br>Witamy w słowniku<br><b>WhiteStork</b><br>"
- "</font><br><IMG SRC=file:/usr/share/pixmaps/whitestork.png></center>"
+msgstr "<font size=+2><center><br>Witamy w słowniku<br><b>mdictionary</b><br>"
+ "</font><br><IMG SRC=file:/usr/share/pixmaps/mdictionary.png></center>"
#: ../gui/src/ws_gui_layout.c:45 ../gui/src/ws_gui_callbacks.c:143
#: ../gui/src/ws_gui_callbacks.c:854 ../gui/src/ws_gui_callbacks.c:980
msgstr ""
#: ../gui/src/ws_gui_layout.c:63 ../gui/src/ws_gui_layout.c:1318
-msgid "WhiteStork"
+msgid "mdictionary"
msgstr ""
#: ../gui/src/ws_gui_layout.c:111 ../gui/src/ws_gui_layout.c:1328
#: ../gui/src/ws_gui_layout.c:1185
msgid ""
"\n"
-".::GUI::. /apps/WhiteStork/Dictionaries does not exist!!"
+".::GUI::. /apps/mdictionary/dictionaries does not exist!!"
msgstr ""
#: ../gui/src/ws_gui_layout.c:712 ../gui/src/ws_gui_layout.c:904
msgstr "O Programie ..."
#: ../gui/src/ws_gui_layout.c:1315
-msgid "/usr/share/pixmaps/whitestork.png"
+msgid "/usr/share/pixmaps/mdictionary.png"
msgstr ""
#: ../gui/src/ws_gui_layout.c:1319
"Content-Transfer-Encoding: 8bit\n"
#: ../gui/src/ws_gui_layout.c:57 ../gui/src/ws_gui_layout.c:1225
-msgid "WhiteStork"
+msgid "mdictionary"
msgstr ""
#: ../gui/src/ws_gui_layout.c:105 ../gui/src/ws_gui_layout.c:1232
msgstr "Znajdź"
#: ../gui/src/ws_gui_layout.c:249
-msgid "Dictionaries"
+msgid "dictionaries"
msgstr "SÅ‚owniki"
#: ../gui/src/ws_gui_layout.c:251 ../gui/src/ws_gui_layout.c:529
#: ../gui/src/ws_gui_layout.c:1100
msgid ""
"\n"
-".::GUI::. /apps/WhiteStork/Dictionaries does not exist!!"
+".::GUI::. /apps/mdictionary/dictionaries does not exist!!"
msgstr ""
#: ../gui/src/ws_gui_layout.c:643 ../gui/src/ws_gui_layout.c:824
msgstr ""
#: ../gui/src/ws_gui_layout.c:64 ../gui/src/ws_gui_layout.c:1324
-msgid "WhiteStork"
+msgid "mdictionary"
msgstr ""
#: ../gui/src/ws_gui_layout.c:112 ../gui/src/ws_gui_layout.c:1334
#: ../gui/src/ws_gui_layout.c:1188
msgid ""
"\n"
-".::GUI::. /apps/WhiteStork/Dictionaries does not exist!!"
+".::GUI::. /apps/mdictionary/dictionaries does not exist!!"
msgstr ""
#: ../gui/src/ws_gui_layout.c:713 ../gui/src/ws_gui_layout.c:905
msgstr ""
#: ../gui/src/ws_gui_layout.c:1321
-msgid "/usr/share/pixmaps/whitestork.png"
+msgid "/usr/share/pixmaps/mdictionary.png"
msgstr ""
#: ../gui/src/ws_gui_layout.c:1325
LIBS = `pkg-config --libs glib-2.0 gmodule-2.0` -ldb1
FLAGS = `pkg-config --cflags glib-2.0 gmodule-2.0` -I${INCLUDE} -I./.. -I../../../include
BINARIES = bin
-FINAL = ws_bookmark.so
+FINAL = engine_bookmarks.so
first: clean ${FINAL} bdbprint
@-rm -f ${INCLUDE}/*~
@-rm -f ${SOURCES}/${FINAL}
@-rm -f ${SOURCES}/testDatabase
- @-rm -f ws_bookmark.so bookmark.o bdbprint
+ @-rm -f engine_bookmarks.so bookmark.o bdbprint
@echo -e -n "Project 'BookmarkEngine' directories has been cleaned.\n"
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
printf("Module description: %s\n",dict_eng_module_get_description(module));
Engine* sd;
- gboolean is_compatible = dict_eng_module_check(module,"/home/str/whitestork/engines/bookmark/ws_bookmarks");
+ gboolean is_compatible = dict_eng_module_check(module,"/home/str/mdictionary/engines/bookmark/ws_bookmarks");
if(is_compatible == TRUE)
{
printf("Location is compatible with enigne!\n");
//printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
- //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
- //home/stranger/whitestork/engine0.2/
-// xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+ //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+ //home/stranger/mdictionary/engine0.2/
+// xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
// dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
// dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);
printf("Dictionary has already cache file!\n");
}*/
sd = dict_eng_module_create(module,
- "/home/str/whitestork/engines/bookmark/ws_bookmarks" ,
+ "/home/str/mdictionary/engines/bookmark/ws_bookmarks" ,
ENGINE_CREATE);
printf("Lokacja: %s\n",dict_eng_get_location(sd));
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
printf("Module description: %s\n",dict_eng_module_get_description(module));
Engine* sd;
- gboolean is_compatible = dict_eng_module_check(module,"/home/str/whitestork/engines/bookmark/ws_bookmarks");
+ gboolean is_compatible = dict_eng_module_check(module,"/home/str/mdictionary/engines/bookmark/ws_bookmarks");
if(is_compatible == TRUE)
{
printf("Location is compatible with enigne!\n");
//printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
- //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
- //home/stranger/whitestork/engine0.2/
-// xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+ //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+ //home/stranger/mdictionary/engine0.2/
+// xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
// dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
// dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);
printf("Dictionary has already cache file!\n");
}*/
sd = dict_eng_module_create(module,
- "/home/str/whitestork/engines/bookmark/ws_bookmarks" ,
+ "/home/str/mdictionary/engines/bookmark/ws_bookmarks" ,
ENGINE_CREATE);
printf("Lokacja: %s\n",dict_eng_get_location(sd));
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
//printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
- //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
- //home/stranger/whitestork/engine0.2/
-// xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+ //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+ //home/stranger/mdictionary/engine0.2/
+// xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
// dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
// dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
printf("Module description: %s\n",dict_eng_module_get_description(module));
Engine* sd;
- gboolean is_compatible = dict_eng_module_check(module,"/home/str/whitestork/engines/bookmark/ws_bookmarks");
+ gboolean is_compatible = dict_eng_module_check(module,"/home/str/mdictionary/engines/bookmark/ws_bookmarks");
if(is_compatible == TRUE)
{
printf("Location is compatible with enigne!\n");
//printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
- //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
- //home/stranger/whitestork/engine0.2/
-// xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+ //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+ //home/stranger/mdictionary/engine0.2/
+// xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
// dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
// dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);
printf("Dictionary has already cache file!\n");
}*/
sd = dict_eng_module_create(module,
- "/home/str/whitestork/engines/bookmark/ws_bookmarks" ,
+ "/home/str/mdictionary/engines/bookmark/ws_bookmarks" ,
ENGINE_CREATE);
printf("Lokacja: %s\n",dict_eng_get_location(sd));
GnomeVFSResult result;
GnomeVFSFileSize ile;
- result = gnome_vfs_open (&handle, "/home/krzsas/WhiteStork/trunk/src/bookmarks/src/ws_bookmarks", GNOME_VFS_OPEN_READ | GNOME_VFS_OPEN_WRITE | GNOME_VFS_OPEN_RANDOM);
+ result = gnome_vfs_open (&handle, "/home/krzsas/mdictionary/trunk/src/bookmarks/src/ws_bookmarks", GNOME_VFS_OPEN_READ | GNOME_VFS_OPEN_WRITE | GNOME_VFS_OPEN_RANDOM);
if (result == GNOME_VFS_OK)
{
gnome_vfs_seek (handle, GNOME_VFS_SEEK_END, 0);
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
#endif
+#ifdef CHINOOK
+#include <hildon/hildon-program.h>
+#include <hildon/hildon-window.h>
+#include <hildon/hildon-banner.h>
+#include <hildon/hildon-find-toolbar.h>
+#include <hildon/hildon-file-chooser-dialog.h>
+#include <hildon/hildon-caption.h>
+#else
#include <hildon-widgets/hildon-program.h>
#include <hildon-widgets/hildon-window.h>
#include <hildon-widgets/hildon-banner.h>
#include <hildon-widgets/hildon-find-toolbar.h>
#include <hildon-fm/hildon-widgets/hildon-file-chooser-dialog.h>
#include <hildon-widgets/hildon-caption.h>
+#endif
+
#include <gtk/gtkfilechooser.h>
#include <gtk/gtkdialog.h>
#include <gdk/gdkkeysyms.h>
-#include <hildon-widgets/gtk-infoprint.h>
+//#include <hildon-widgets/gtk-infoprint.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include <gtkhtml/gtkhtml.h>
#include <signal.h>
#include <sys/time.h>
+#include <ws_services.h>
#include <ws_dbus.h>
#include <gtkhtml/gtkhtml-stream.h>
#define HISTORY_LEN 5
#define SCROLL_STEP_H 50
#define SCROLL_STEP_V 20
-#define GCONF_PATH "/apps/maemo/WhiteStork/Dictionaries"
-#define GCONF_CONF "/apps/maemo/WhiteStork/configuration"
+#define GCONF_PATH "/apps/maemo/mdictionary/dictionaries"
+#define GCONF_CONF "/apps/maemo/mdictionary/configuration"
#include <libintl.h>
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
CC = gcc
DEBUG = -g -Wall
-EXECUTABLE = WhiteStork
+EXECUTABLE = mdictionary
+APP_NAME = mDictionary
+LOCALEDIR = /usr/share/locale
INCLUDE_GUI = include
INCLUDE_DBUS_WRAPPER = ../../include
-CFLAGS = `pkg-config --cflags gtk+-2.0 libgtkhtml-3.8 hildon-libs hildon-fm glib-2.0 libosso gconf-2.0` -I${INCLUDE_GUI} -I${INCLUDE_DBUS_WRAPPER}
-LIBS = `pkg-config --libs gtk+-2.0 libgtkhtml-3.8 hildon-libs hildon-fm glib-2.0 libosso gconf-2.0`
+CFLAGS = `pkg-config --cflags gtk+-2.0 libgtkhtml-3.8 glib-2.0 libosso gconf-2.0` -I${INCLUDE_GUI} -I${INCLUDE_DBUS_WRAPPER}
+LIBS = `pkg-config --libs gtk+-2.0 libgtkhtml-3.8 glib-2.0 libosso gconf-2.0`
+DEFINES = -DPACKAGE=\"${APP_NAME}\" -DLOCALEDIR=\"${LOCALEDIR}\"
APP_VER = unofficialbuild
+CFLAGS += $(shell pkg-config --exists hildon-fm-2 hildon-1 && echo `pkg-config --cflags hildon-fm-2 hildon-1`)
+LIBS += $(shell pkg-config --exists hildon-fm-2 hildon-1 && echo `pkg-config --libs hildon-fm-2 hildon-1`)
+DEFINES += $(shell pkg-config --exists hildon-fm-2 hildon-1 && echo -DCHINOOK)
+
+CFLAGS += $(shell pkg-config --exists hildon-fm hildon-libs && echo `pkg-config --cflags hildon-fm hildon-libs`)
+LIBS += $(shell pkg-config --exists hildon-fm hildon-libs && echo `pkg-config --libs hildon-fm hildon-libs`)
+
SOURCES = src
BINARIES = bin
MAIN_BINARIES = ../../bin
-${EXECUTABLE}: ${BINARIES}/ws_gui.o ${BINARIES}/ws_gui_callbacks.o ${BINARIES}/ws_gui_layout.o ${MAIN_BINARIES}/ws_dbus.o ${BINARIES}/pc-instances.o
- @${CC} ${DEBUG} -o ${BINARIES}/${EXECUTABLE} ${BINARIES}/ws_gui.o ${BINARIES}/ws_gui_callbacks.o ${BINARIES}/ws_gui_layout.o ${BINARIES}/pc-instances.o ${MAIN_BINARIES}/ws_dbus.o ${LIBS} ${CFLAGS}
+${EXECUTABLE}: ${BINARIES}/ws_gui.o ${BINARIES}/ws_gui_callbacks.o ${BINARIES}/ws_gui_layout.o ${MAIN_BINARIES}/ws_dbus.o
+ ${CC} ${DEBUG} -o ${BINARIES}/${EXECUTABLE} ${BINARIES}/ws_gui.o ${BINARIES}/ws_gui_callbacks.o ${BINARIES}/ws_gui_layout.o ${MAIN_BINARIES}/ws_dbus.o ${LIBS} ${CFLAGS} ${DEFINES}
@cp ${BINARIES}/${EXECUTABLE} ${MAIN_BINARIES}
${BINARIES}/ws_gui.o: ${SOURCES}/ws_gui.c ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_GUI}/ws_gui_callbacks.h ${INCLUDE_GUI}/ws_gui_layout.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
- @${CC} ${DEBUG} -c ${SOURCES}/ws_gui.c -o ${BINARIES}/ws_gui.o ${CFLAGS}
+ ${CC} ${DEBUG} -c ${SOURCES}/ws_gui.c -o ${BINARIES}/ws_gui.o ${CFLAGS} ${DEFINES}
${BINARIES}/ws_gui_callbacks.o: ${SOURCES}/ws_gui_callbacks.c ${INCLUDE_GUI}/ws_gui_callbacks.h ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
- @${CC} ${DEBUG} -c ${SOURCES}/ws_gui_callbacks.c -o ${BINARIES}/ws_gui_callbacks.o ${CFLAGS}
+ ${CC} ${DEBUG} -c ${SOURCES}/ws_gui_callbacks.c -o ${BINARIES}/ws_gui_callbacks.o ${CFLAGS} ${DEFINES}
${BINARIES}/ws_gui_layout.o: ${SOURCES}/ws_gui_layout.c ${INCLUDE_GUI}/ws_gui_layout.h ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
- @${CC} ${DEBUG} -DWS_VERSION=\"${APP_VER}\" -c ${SOURCES}/ws_gui_layout.c -o ${BINARIES}/ws_gui_layout.o ${CFLAGS}
-
-${BINARIES}/pc-instances.o: ${SOURCES}/pc-instances.c ${INCLUDE_GUI}/pc-instances.h
- @${CC} ${DEBUG} -c ${SOURCES}/pc-instances.c -o ${BINARIES}/pc-instances.o ${CFLAGS}
+ ${CC} ${DEBUG} -DWS_VERSION=\"${APP_VER}\" -c ${SOURCES}/ws_gui_layout.c -o ${BINARIES}/ws_gui_layout.o ${CFLAGS} ${DEFINES}
${MAIN_BINARIES}/ws_dbus.o:
cd ../dbus_wrapper && make
dyn:
${BINARIES}/wsl_gui.o ${BINARIES}/wsl_gui_callbacks.o ${BINARIES}/wsl_gui_layout.o
- ${CC} ${DEBUG} -shared -fPIC -o ${EXECUTABLE}.so ${BINARIES}/wsl_gui.o ${BINARIES}/wsl_gui_callbacks.o ${BINARIES}/wsl_gui_layout.o dbus/ws_dbus.o ${LIBS} ${CFLAGS}
+ @{CC} ${DEBUG} -shared -fPIC -o ${EXECUTABLE}.so ${BINARIES}/wsl_gui.o ${BINARIES}/wsl_gui_callbacks.o ${BINARIES}/wsl_gui_layout.o dbus/ws_dbus.o ${LIBS} ${CFLAGS} ${DEFINES}
${BINARIES}/wsl_gui.o: ${SOURCES}/ws_gui.c ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_GUI}/ws_gui_callbacks.h ${INCLUDE_GUI}/ws_gui_layout.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
- ${CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui.c -o ${BINARIES}/wsl_gui.o ${CFLAGS}
+ @{CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui.c -o ${BINARIES}/wsl_gui.o ${CFLAGS} ${DEFINES}
${BINARIES}/wsl_gui_callbacks.o: ${SOURCES}/ws_gui_callbacks.c ${INCLUDE_GUI}/ws_gui_callbacks.h ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
- ${CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui_callbacks.c -o ${BINARIES}/wsl_gui_callbacks.o ${CFLAGS}
+ @{CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui_callbacks.c -o ${BINARIES}/wsl_gui_callbacks.o ${CFLAGS} ${DEFINES}
${BINARIES}/wsl_gui_layout.o: ${SOURCES}/ws_gui_layout.c ${INCLUDE_GUI}/ws_gui_layout.h ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
- ${CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui_layout.c -o ${BINARIES}/wsl_gui_layout.o ${CFLAGS}
+ @{CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui_layout.c -o ${BINARIES}/wsl_gui_layout.o ${CFLAGS} ${DEFINES}
clean:
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
#include <ws_gui_callbacks.h>
#include <ws_gui_layout.h>
-#include <pc-instances.h>
-
//int ws_gui_init(int argc, char *argv[])
int main(int argc, char *argv[])
{
- if (is_already_running_this_application() > 1)
- {
- // if YES - do not start another one - terminate
- g_debug("Another instance of application curently is running\n");
- //return 1;
- }
- else
- {
- g_debug("OK\n");
- }
gtk_init(&argc, &argv);
//localization
setlocale(LC_ALL, "");
- bindtextdomain("whitestork", "/usr/share/locale");
- bind_textdomain_codeset("whitestork", "UTF-8");
- textdomain("whitestork");
+ bindtextdomain(PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(PACKAGE, "UTF-8");
+ textdomain(PACKAGE);
if (strcmp(_("ws_check"), "ws_check") == 0)
{
setlocale(LC_ALL, "en_GB");
- bindtextdomain("whitestork", "/usr/share/locale");
- bind_textdomain_codeset("whitestork", "UTF-8");
- textdomain("whitestork");
+ bindtextdomain(PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(PACKAGE, "UTF-8");
+ textdomain(PACKAGE);
}
//dbus wrapper
- ws_gui_app->dbus_data = ws_dbus_create ("WhiteStorkGui", "v1.0");
+ ws_gui_app->dbus_data = ws_dbus_create ("mdictionaryGui", "v1.0");
ws_dbus_config (ws_gui_app->dbus_data,
WS_DBUS_CONFIG_SERVICE,
- "org.maemo.WhiteStorkGui");
+ GUI_SERVICE);
ws_dbus_config (ws_gui_app->dbus_data,
WS_DBUS_CONFIG_OBJECT,
- "/org/maemo/WhiteStorkGui");
+ GUI_OBJECT);
ws_dbus_config (ws_gui_app->dbus_data,
WS_DBUS_CONFIG_IFACE,
- "org.maemo.WhiteStorkGui");
+ GUI_IFACE);
ws_dbus_config (ws_gui_app->dbus_data,
WS_DBUS_CONFIG_REMOTE_SERVICE,
- "org.maemo.WhiteStorkManager");
+ MANAGER_SERVICE);
ws_dbus_config (ws_gui_app->dbus_data,
WS_DBUS_CONFIG_REMOTE_OBJECT,
- "/org/maemo/WhiteStorkManager");
+ MANAGER_OBJECT);
ws_dbus_config (ws_gui_app->dbus_data,
WS_DBUS_CONFIG_REMOTE_IFACE,
- "org.maemo.WhiteStorkManager");
+ MANAGER_IFACE);
ws_dbus_add_method (ws_gui_app->dbus_data,
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
case WS_DBUS_BOOKMARKS_ADDED_OK:
{
- gtk_infoprint(GTK_WINDOW(
+ hildon_banner_show_information(GTK_WIDGET(
ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_bookmark_added"));
break;
}
case WS_DBUS_BOOKMARKS_REMOVED_OK:
{
- gtk_infoprint(GTK_WINDOW(
+ hildon_banner_show_information(GTK_WIDGET(
ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_bookmark_removed"));
break;
}
case WS_DBUS_BOOKMARKS_ADDED_FAIL:
{
- gtk_infoprint(GTK_WINDOW(
+ hildon_banner_show_information(GTK_WIDGET(
ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_bookmark_not_added"));
break;
}
case WS_DBUS_BOOKMARKS_REMOVED_FAIL:
{
- gtk_infoprint(GTK_WINDOW(
+ hildon_banner_show_information(GTK_WIDGET(
ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_bookmark_not_removed"));
break;
}
ws_gui_app->caching_flag = FALSE;
- gtk_infoprint(GTK_WINDOW(
- ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_dictionary_added"));
gtk_widget_set_sensitive(
case WS_DBUS_WORDS_LIST_FULL:
{
- gtk_widget_show(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));
+ gtk_widget_show_all(GTK_WIDGET(ws_gui_app->ws_gui_list_eventbox));
+ /*gtk_widget_show(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));*/
break;
}
case WS_DBUS_WORDS_LIST_FILLED_NOT_FULL:
{
- gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));
+ gtk_widget_hide_all(GTK_WIDGET(ws_gui_app->ws_gui_list_eventbox));
+ /*gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));*/
break;
}
if ((tmp->len == 0 || tmp_word == NULL) && ws_gui_app->stop_clicked != TRUE )
{
- gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_no_words_found"));
//ws_gui_fill_html(" ", ws_gui_app);
if (data.value.s[0] == '\0')
{
- gtk_infoprint(GTK_WINDOW(
- ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_dictionary_not_added"));
}
else
ws_gui_app->ws_gui_menu->ws_gui_menu_full_screen),
TRUE);
ws_gui_app->ws_gui_full_screen_flag = TRUE;
- gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ib_fullscreen_on"));
}
else
ws_gui_app->ws_gui_menu->ws_gui_menu_full_screen),
FALSE);
ws_gui_app->ws_gui_full_screen_flag = FALSE;
- gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ib_fullscreen_off"));
}
}
{
WSGuiApp* ws_gui_app = (WSGuiApp*)user_data;
gtk_html_copy(GTK_HTML(ws_gui_app->ws_gui_html));
- gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ib_copied"));
}
"prefix",
temp,
NULL);
- gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
- _("ws_ib_pasted"));
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
+ _("ws_ib_pasted"));
}
/** zoom in text in translation (html) area
if (ws_gui_app->zoom > ZOOM_MAX)
{
ws_gui_app->zoom = ws_gui_app->zoom - ZOOM_STEP;
- gtk_infoprint(GTK_WINDOW(
- ws_gui_app->ws_gui_hildon_window),
- _("ws_ib_max_zoom"));
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
+ _("ws_ib_max_zoom"));
}
else
{
if ((WS_GUI_ABS(ws_gui_app->zoom - ZOOM_DEFAULT)) < 0.000001)
{
- gtk_infoprint(GTK_WINDOW(
+ hildon_banner_show_information(GTK_WIDGET(
ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ib_zoom_default"));
}
else
{
- gtk_infoprint(GTK_WINDOW(
+ hildon_banner_show_information(GTK_WIDGET(
ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ib_zoom_in"));
}
}
if (ws_gui_app->zoom < ZOOM_MIN)
{
ws_gui_app->zoom = ws_gui_app->zoom + ZOOM_STEP;
- gtk_infoprint(GTK_WINDOW(
- ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ib_min_zoom"));
}
else
if ((WS_GUI_ABS(ws_gui_app->zoom - ZOOM_DEFAULT)) < 0.000001)
{
- gtk_infoprint(GTK_WINDOW(
+ hildon_banner_show_information(GTK_WIDGET(
ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ib_zoom_default"));
}
else
{
- gtk_infoprint(GTK_WINDOW(
+ hildon_banner_show_information(GTK_WIDGET(
ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ib_zoom_out"));
}
}
}
else
{
- gtk_infoprint(
- GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_no_word_typed"));
}
g_free(ws_gui_app->last_word);
//ws_gui_app->ws_gui_banner_flag = FALSE;
ws_dbus_notify(ws_gui_app->dbus_data, WS_DBUS_INFO_STOP_SEARCH);
- gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_search_aborted"));
}
}
}
else
{
- gtk_infoprint(
- GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
- _("ws_ni_select_word_to_add"));
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
+ _("ws_ni_select_word_to_add"));
}
}
}
else
{
- gtk_infoprint(
- GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_select_word_to_remove"));
}
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
WSGuiApp* ws_gui_app=(WSGuiApp*)user_data;
ws_gui_app->welcome_note = g_strconcat("<br><br><center><font size=+3>",
- _("ws_ni_welcome"), "<br><IMG SRC=file:/usr/share/pixmaps/whitestork.png>",
+ _("ws_ni_welcome"), "<br><IMG SRC=file:/usr/share/pixmaps/mdictionary.png>",
NULL);
// ws_gui_app->ws_gui_w_list->ws_gui_list_item_data_string =
ws_gui_app->ws_gui_hildon_program =
HILDON_PROGRAM(hildon_program_get_instance());
- g_set_application_name("WhiteStork");
+ g_set_application_name(PACKAGE);
ws_gui_app->ws_gui_hildon_window = HILDON_WINDOW(hildon_window_new());
TRUE,
0);
- gtk_box_pack_start(GTK_BOX(ws_gui_app->ws_gui_list_vbox),
+ gtk_box_pack_end(GTK_BOX(ws_gui_app->ws_gui_list_vbox),
ws_gui_app->ws_gui_list_eventbox,
FALSE,
FALSE,
gtk_widget_show_all(GTK_WIDGET(ws_gui_app->ws_gui_hildon_window));
- gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));
+ gtk_widget_hide_all(GTK_WIDGET(ws_gui_app->ws_gui_list_eventbox));
+ /*gtk_widget_hide_all(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));*/
ws_gui_app->ws_gui_w_list->ws_gui_selection =
gtk_tree_view_get_selection (GTK_TREE_VIEW
NULL,
_("ws_ab_loading"));
- gtk_widget_set_sensitive(GTK_WIDGET
- (ws_gui_app->ws_gui_menu->ws_gui_popup_bookmark),
- FALSE);
+// gtk_widget_set_sensitive(GTK_WIDGET
+// (ws_gui_app->ws_gui_menu->ws_gui_popup_bookmark),
+// FALSE);
gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_banner_list_searching));
gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_banner_translation_loading));
else
{
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO,
- "\n.::GUI::. /apps/WhiteStork/Dictionaries does not exist!!");
+ "\n.::GUI::. /apps/mdictionary/dictionaries does not exist!!");
}
dialog1 = gtk_dialog_new ();
else
{
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO,
- "\n.::GUI::. /apps/WhiteStork/Dictionaries does not exist!!");
+ "\n.::GUI::. /apps/mdictionary/dictionaries does not exist!!");
}
for (i=0; i< g_slist_length(ws_gui_app->directories);i++)
{
gtk_widget_destroy(dialog);
ws_refresh_search_results(ws_gui_app);
- gtk_infoprint(GTK_WINDOW(
- ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_dictionary_added"));
}
}
else
{
gtk_widget_destroy (dialog);
- gtk_infoprint(GTK_WINDOW(
- ws_gui_app->ws_gui_hildon_window),
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
_("ws_ni_dictionary_wrong_file"));
}
else
{
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO,
- "\n.::GUI::. /apps/WhiteStork/Dictionaries does not exist!!");
+ "\n.::GUI::. /apps/mdictionary/dictionaries does not exist!!");
}
dialog1 = gtk_dialog_new ();
ws_dbus_notify(ws_gui_app->dbus_data,
WS_DBUS_INFO_CONFIG_CHANGED);
- gtk_infoprint(GTK_WINDOW(
- ws_gui_app->ws_gui_hildon_window),
- _("ws_ib_dictionary_removed"));
+
+ hildon_banner_show_information(GTK_WIDGET(
+ ws_gui_app->ws_gui_hildon_window),
+ NULL,
+ _("ws_ib_dictionary_removed"));
+
gtk_widget_destroy (dialog1);
ws_refresh_search_results(ws_gui_app);
}
about_dialog = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (about_dialog),
_("ws_ti_about_title"));
- gtk_window_set_default_size(GTK_WINDOW (about_dialog), 350, 200);
+ gtk_window_set_default_size(GTK_WINDOW (about_dialog), 350, 350);
dialog_vbox1 = GTK_DIALOG (about_dialog)->vbox;
gtk_widget_show (dialog_vbox1);
gtk_widget_show (vbox1);
gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox1, TRUE, TRUE, 0);
- image = gtk_image_new_from_file ("/usr/share/pixmaps/whitestork.png");
+ image = gtk_image_new_from_file ("/usr/share/pixmaps/mdictionary_about.png");
gtk_box_pack_start (GTK_BOX (vbox1), image, TRUE, TRUE, 0);
- label2 = gtk_label_new ("WhiteStork");
+ label2 = gtk_label_new ("mDictionary");
ws_gui_app->p = pango_font_description_from_string("Tahoma 18");
gtk_widget_modify_font(GTK_WIDGET(label2), ws_gui_app->p);
gtk_label_set_pattern (GTK_LABEL(label2), "__________");
gtk_box_pack_start (GTK_BOX (vbox1), label2, FALSE, FALSE, 5);
ws_version = g_strconcat("Maemo Multilingual Dictionary\nver. ",
- WS_VERSION,
+ WS_VERSION,
NULL);
label3 = gtk_label_new_with_mnemonic (_(ws_version));
ws_gui_app->p = pango_font_description_from_string("Tahoma 12");
gtk_box_pack_start (GTK_BOX (vbox1), label3, FALSE, FALSE, 5);
gtk_label_set_justify (GTK_LABEL (label3), GTK_JUSTIFY_CENTER);
- label4 = gtk_label_new ("Copyright 2006, ComArch S.A\nAll rights "
+ label4 = gtk_label_new ("Copyright 2006 - 2007, ComArch S.A\nAll rights "
"reserved");
ws_gui_app->p = pango_font_description_from_string("Tahoma 12");
gtk_widget_modify_font(GTK_WIDGET(label4), ws_gui_app->p);
CFLAGS = `pkg-config --cflags glib-2.0 gmodule-2.0 libosso gconf-2.0` \
-I${INCLUDE} -I${INCLUDE_DBUS_WRAPPER} ${SQLITE}
MAIN_BINARIES = ../../bin
-EXECUTABLE = ${BINARY}/WhiteStorkManager
+EXECUTABLE = ${BINARY}/mdictionaryManager
SOURCES = ${SOURCE}/*.c
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
#include <dictionary_engine.h>
#include <glib-object.h>
#include <gmodule.h>
+#include <ws_services.h>
#include <ws_dbus.h>
#ifdef __cplusplus
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006-2007 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006-2007 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006-2007 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006-2007 ComArch S.A.
extern "C" {
#endif
-#define GCONF_KEY "/apps/maemo/WhiteStork/Dictionaries"
-#define GCONF_LIB_PATH "/apps/maemo/WhiteStork/Engines"
+#define GCONF_KEY "/apps/maemo/mdictionary/dictionaries"
+#define GCONF_LIB_PATH "/apps/maemo/mdictionary/engines"
/**
*Function used to get the dictionaries location read fron GConf
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006-2007 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006-2007 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
if (!g_thread_supported ()) g_thread_init (NULL);
/* create data structure needed to comunicate with dbus wrapper */
- data->dbus_data = ws_dbus_create ("WhiteStorkManager", "v1.0");
+ data->dbus_data = ws_dbus_create ("mdictionaryManager", "v1.0");
/* set data used to comunicate with gui */
ws_dbus_config(data->dbus_data,
WS_DBUS_CONFIG_SERVICE,
- "org.maemo.WhiteStorkManager");
+ MANAGER_SERVICE);
ws_dbus_config(data->dbus_data,
WS_DBUS_CONFIG_OBJECT,
- "/org/maemo/WhiteStorkManager");
+ MANAGER_OBJECT);
ws_dbus_config(data->dbus_data,
WS_DBUS_CONFIG_IFACE,
- "org.maemo.WhiteStorkManager");
+ MANAGER_IFACE);
ws_dbus_config(data->dbus_data,
WS_DBUS_CONFIG_REMOTE_SERVICE,
- "org.maemo.WhiteStorkGui");
+ GUI_SERVICE);
ws_dbus_config(data->dbus_data,
WS_DBUS_CONFIG_REMOTE_OBJECT,
- "/org/maemo/WhiteStorkGui");
+ GUI_OBJECT);
ws_dbus_config(data->dbus_data,
WS_DBUS_CONFIG_REMOTE_IFACE,
- "org.maemo.WhiteStorkGui");
+ GUI_IFACE);
ws_dbus_add_method (data->dbus_data, "find_word", WS_DBUS_TYPE_STRING,
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
#include <unistd.h>
#include <dictionary_engine.h>
-#define DICT_PATH0 "/home/str/whitestork/stardictDicts/stardict-comn_dictd03_slovnyk_pl-ru-2.4.2"
-#define DICT_PATH1 "/home/str/whitestork/stardictDicts/stardict-comn_dictd03_slovnyk_pl-en-2.4.2"
-#define DICT_PATH2 "/home/str/whitestork/stardictDicts/stardict-dictd_www.dict.org_foldoc-2.4.2"
-#define DICT_PATH3 "/home/str/whitestork/stardictDicts/stardict-dictd_www.freedict.de_eng-fra-2.4.2"
+#define DICT_PATH0 "/home/str/mdictionary/stardictDicts/stardict-comn_dictd03_slovnyk_pl-ru-2.4.2"
+#define DICT_PATH1 "/home/str/mdictionary/stardictDicts/stardict-comn_dictd03_slovnyk_pl-en-2.4.2"
+#define DICT_PATH2 "/home/str/mdictionary/stardictDicts/stardict-dictd_www.dict.org_foldoc-2.4.2"
+#define DICT_PATH3 "/home/str/mdictionary/stardictDicts/stardict-dictd_www.freedict.de_eng-fra-2.4.2"
#define DICT_PATH4 "/home/gandzia/MyDocs/.documents/stardict-comn_dictd03_engcom-2.4.2"
#define DICT_PATH5 "/home/lukasz/MyDocs/stardict-foldoc"
#define DICT_PATH6
/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
/******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
int main(int argc, char** argv)
{
- char* nameApp = "WhiteStork: ";
+ char* nameApp = "mdictionary: ";
printf("%sStarting test program of module: dictionary_engine.\n",nameApp);
gchar* current_directory = g_get_current_dir();
//printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
- //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
- //home/stranger/whitestork/engine0.2/
-// xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+ //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+ //home/stranger/mdictionary/engine0.2/
+// xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
// dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
// dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);