Added files needed to make Debian package
authormaritus <lucas.pawlik@gmail.com>
Tue, 19 Sep 2006 13:03:25 +0000 (13:03 +0000)
committermaritus <lucas.pawlik@gmail.com>
Tue, 19 Sep 2006 13:03:25 +0000 (13:03 +0000)
git-svn-id: file:///svnroot/mdictionary/trunk@18 5bde0345-f819-0410-ac75-e5045f9217cc

63 files changed:
Makefile
data/add_sums.sh [new file with mode: 0755]
data/copy_clean.sh [new file with mode: 0755]
data/dict1.cache [new file with mode: 0644]
data/dict1.xdxf [new file with mode: 0644]
data/dict2.xdxf [new file with mode: 0644]
data/engine_xdxf_icon.png [new file with mode: 0644]
data/files_debbuild/create_basic_files.sh [new file with mode: 0755]
data/files_debbuild/engC_changelog [new file with mode: 0644]
data/files_debbuild/engC_changelog.Debian [new file with mode: 0644]
data/files_debbuild/engC_copyright [new file with mode: 0644]
data/files_debbuild/engc_control [new file with mode: 0644]
data/files_debbuild/engc_postinst [new file with mode: 0755]
data/files_debbuild/engc_postrm [new file with mode: 0755]
data/files_debbuild/engc_preinst [new file with mode: 0755]
data/files_debbuild/engc_prerm [new file with mode: 0755]
data/files_debbuild/guiC_changelog [new file with mode: 0644]
data/files_debbuild/guiC_changelog.Debian [new file with mode: 0644]
data/files_debbuild/guiC_copyright [new file with mode: 0644]
data/files_debbuild/guic_control [new file with mode: 0644]
data/files_debbuild/guic_postinst [new file with mode: 0755]
data/files_debbuild/guic_postrm [new file with mode: 0755]
data/files_debbuild/guic_preinst [new file with mode: 0755]
data/files_debbuild/guic_prerm [new file with mode: 0755]
data/files_debbuild/manual_pages_example [new file with mode: 0644]
data/files_debbuild/mngC_changelog [new file with mode: 0644]
data/files_debbuild/mngC_changelog.Debian [new file with mode: 0644]
data/files_debbuild/mngC_copyright [new file with mode: 0644]
data/files_debbuild/mngc_control [new file with mode: 0644]
data/files_debbuild/mngc_postinst [new file with mode: 0755]
data/files_debbuild/mngc_postrm [new file with mode: 0755]
data/files_debbuild/mngc_preinst [new file with mode: 0755]
data/files_debbuild/mngc_prerm [new file with mode: 0755]
data/postinst.ex [new file with mode: 0644]
data/pre-release.sh [new file with mode: 0755]
data/release.sh [new file with mode: 0755]
data/version.sh [new file with mode: 0755]
data/whitestork.desktop
gui/src/ws_gui.c
gui/src/ws_gui_callbacks.c
gui/src/ws_gui_layout.c
include/ws_gui.h
include/ws_gui_callbacks.h
include/ws_gui_layout.h
manager/makefile
manager/src/test_mng.c
manager/src/ws_manager.c
packages/debian/DEBIAN/control [new file with mode: 0644]
packages/debian/DEBIAN/md5sums [new file with mode: 0644]
packages/debian/DEBIAN/postinst [new file with mode: 0755]
packages/debian/DEBIAN/postrm [new file with mode: 0755]
packages/debian/DEBIAN/preinst [new file with mode: 0755]
packages/debian/DEBIAN/prerm [new file with mode: 0755]
packages/debian/etc/others-menu/extra_applications/0112_whitestorkgui.desktop [new symlink]
packages/debian/usr/bin/WhiteStork [new file with mode: 0755]
packages/debian/usr/share/applications/hildon/whitestorkgui.desktop [new file with mode: 0644]
packages/debian/usr/share/dbus-1/services/org.maemo.WhiteStorkGui.service [new file with mode: 0644]
packages/debian/usr/share/doc/whitestorkgui/changelog.Debian.gz [new file with mode: 0644]
packages/debian/usr/share/doc/whitestorkgui/changelog.gz [new file with mode: 0644]
packages/debian/usr/share/doc/whitestorkgui/copyright [new file with mode: 0644]
packages/debian/usr/share/pixmaps/whitestork.png [new file with mode: 0644]
packages/debian/usr/share/pixmaps/whitestork_icon.png [new file with mode: 0644]
release_makefile [new file with mode: 0644]

index c79f4db..fa74738 100644 (file)
--- a/Makefile
+++ b/Makefile
-CC = gcc
-DEBUG = -Wall -g
-LIBS = `pkg-config --libs glib-2.0 gmodule-2.0 libosso` -lpthread
-FLAGS = `pkg-config --cflags glib-2.0 gmodule-2.0 libosso`
-SOURCE = src
-BINARY = ./bin
-INCLUDE = ./include
-APP = whitestork
-APP_VER = 0.1.1-r104
-EXECUTABLE = ${BINARY}/WhiteStork
-
-CONTENT = \
-"Source: whitestork\nSection: user/tools Tools\nPriority: optional\nMaintainer: ComArch S.A. <contact@comarch.com>\nBuild-Depends: debhelper (>= 4.0.0)\nStandards-Version: 3.6.0\n\
-\nPackage: whitestork \nArchitecture: any \nDepends: \$${shlibs:Depends}, \$${misc:Depends} \nDescription: multilangual dictionary programm for XDXF dictionaries\n\
- This dictionary is based on XDXF-based format doctionaries.\n \
- You can download any dictionary on http://xdxf.sourceforge.net and use it \n \
- with this program to have better and faster search engine with graphics user \n \
- interface. Program is written and devoleped to run on maemo platform \n \
- (Nokia 770 device - see: http://www.nokia.com/770). \n \
- Copyright 2006, ComArch S.A."
-
-ICON = "\n\nXB-Maemo-Icon-26:\n\
-iVBORw0KGgoAAAANSUhEUgAAABoAAAAZCAAAAAAKtWG8AAAACXBIWXMAAAAnAAAAJwEqCZFP\n\
-AAAAB3RJTUUH1QkMEgEBuF+MPAAAACF0RVh0Q29tbWVudABKUEVHOmdudS1oZWFkLmpwZyAy\n\
-NzZ4MjYxjzmxCgAAAi9JREFUKM9dkd9LU2Ecxp/37HU/nFub02Zty9K0lc5FYWJBUCBeRD+o\n\
-y6j/IoIuoj8hgi6DgqAroSAk+gWSIuZVTU1nuDM3tzl1O3PNc3a29/12cSyoy+/zfD+fm4cR\n\
-QJWdPXgiCgMAECNVF72t4ICZmEmxmn9ooN8FAEV1gnmr/VeCHDKd9USHlIAecAIAfPJmM5l5\n\
-br/NkdS16KAHtFdccndTLuAcBaKmVslxMkoIeUAFdT4hr00IfvUGR8fxjU2dw1VK3AG0z4/V\n\
-qjI59j05R7cUHHLYHVyW01GC+fFhPayFR/p6JlefHLyI5fnrLVzhzfxi+MW7B+N29Wx2mr9f\n\
-y73O19+E3G1MzmZeenxLr7rW3sYHybbz6XLft6ep0PDwOdujtt3Dxer9ASbj+pTdF04mzwRT\n\
-sfOdo5zDf5L7XBcA+BfVES/8P0zn+NbRkA0govzSHBElhDR0SXJ6VYpsk4gYAagXurH9q8sJ\n\
-kXKFChm30XTEAQ4AxUhjVcQkseV68Eu8UzutAAAjwFgo1S+VI6i0VtX0GHnyXre1AVFj29gS\n\
-X4nkuiYqZTH1QRIRkQKABxyK0l4mFt5gXl+hEbOG4wAAGDi2IjpYx2xEW8mdsjIQERGtCVrf\n\
-kCTMjCnTlo8U6yFUQLi+1RA/n92dYZYPjCy2xPy1vcIJRdUHbPu+fYq110w3p6JN7hL+rcC6\n\
-WhiOqMmFXuP/Ci0KuMuZLd2b/5OwvzwAamrlWs+B/es340gXFARK7DMAAAAASUVORK5CYII=\n"
-
-LINKS = "/usr/share/applications/hildon/whitestork.desktop etc/others-menu/extra-applications/0112_whitestork.desktop"
-
-GCONF_DIR="\
-echo -e -n \"<---------->\" \n\
-gconftool-2 --type bool --set /apps/WhiteStork/Dictionaries/dict/active true \n\
-gconftool-2 --type bool --set /apps/WhiteStork/Dictionaries/other/active true \n\
-gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/dict/path \"/usr/share/WhiteStork/dict\" \n\
-gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/other/path \"/usr/share/WhiteStork/other\" \n"
-
-all: ${BINARY}/engine_xdxf.so ${BINARY}/ws_dbus.o ${BINARY}/WhiteStork ${BINARY}/WhiteStorkManager
-               @echo -e "\n.::======================= Success!! ===================::.\n\n"
-       
-${BINARY}/WhiteStorkManager:
-               @echo -e "\n.::================ Compiling Manager ... ==============::."
-               @cd manager && make
-#              @${CC} -c ${SOURCE}/ws_manager.c ${FLAGS} ${DEBUG} -o ${BINARY}/ws_manager.o
-               @echo -e "\n.::============ Manager Compilation Finished. ==========::.\n\n"
-${BINARY}/ws_dbus.o:
-               @echo -e "\n.::================= Compiling D-BUS ... ===============::."
-               @cd dbus && make
-               @echo -e "\n.::============= D-BUS Compilation Finished. ===========::.\n\n"
-${BINARY}/WhiteStork:
-               @echo -e "\n.::==================  Compiling GUI ...  ==============::."
-               @cd gui && make
-               @echo -e "\n.::=============== GUI Compilation Finished. ============::.\n\n"a
-${BINARY}/engine_xdxf.so:
-               @echo -e "\n.::================= Compiling Engine ... ==============::."
-               @cd engine && make
-               @echo -e "\n.::============ Engine Compilation Finished. ==========::.\n\n"
+#REP_LOCATION = ${HOME}/whitestork/repository/WhiteStork
+#REP_LOCATION := `pwd`/..
+ARCH = `arch`
+REP_TAG = tags
+REP_BRANCH = branches
+REP_TRUNK = trunk
+
+MAKEFILE_FILE = ${REP_LOCATION}/${REP_TRUNK}
+
+ENGINE = engine
+DBUS = dbus
+MANAGER = manager
+GUI = gui
+
+APP_NAME = whitestork
+MAJOR_VER = 0
+MINOR_VER = 4
+RELEASE_MAJOR_VER = 0
+RELEASE_MINOR_VER = 4
+RELEASE_PATCH_VER = 0
+APP_VER := ${MAJOR_VER}.${MINOR_VER}.`svn info | grep "Revision:" | awk '{print $$2}'`
+PACK_VER = 1
+FRM_VER = 0.1
+EXECUTABLE = ${BINARIES}/WhiteStork
+
+GUI_PACK_NAME = whitestorkgui
+MNG_PACK_NAME = whitestork
+ENG_PACK_NAME = enginexdxf
+
+BINARIES = bin
+INCLUDE = include
+DATA = data
+PACKAGES = packages
+
+FILES = ${REP_LOCATION}/${REP_TRUNK}/${DATA}/files_debbuild
+LOG_DIR = logs
+LOG_CLEAN = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/clean.log
+LOG_BUILD = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/build.log
+LOG_RUN = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/run.log
+LOG_DEBS = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/debs.log
+LOG_INST = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/install.log
+
+
+first: build-test
+       @echo -e -n ""
+
+# build new version (x+1).0.0
+version: version-pre
+
+# build new release with version x,(y+1).0
+release: release-pre
+
+# build new pre-release with version x.y.(z=REPOSITORY REVISION)
+pre-release: pre-release-pre
+
+#create new tagget version from actual trunk
+tagged-version: clean debs
+               @mkdir  ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER}
+               @cp -r  ${REP_LOCATION}/${REP_TRUNK}/*        ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER}
+               @echo -e -n ".svn\n*~\n"    >    ${REP_LOCATION}/${REP_TRUNK}/NOT_FOR_SVN
+               @-find ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER} -iname ".svn" -exec rm -f -r {} \; >/dev/null 2>/dev/null
+               @-find ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER} -iname "*~" -exec rm -f -r {} \; >/dev/null 2>/dev/null
+               @-find ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER} -maxdepth 1 -iname "dict.*" -exec rm -f -r {} \; >/dev/null 2>/dev/null
+               @-find ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER} -iname "*.deb" -exec mv {} ${REP_LOCATION}/${REP_TAG} \; >/dev/null 2>/dev/null
+               @cd ${REP_LOCATION}/${REP_TAG} && svn add ${APP_NAME}-${APP_VER}
+               @cd ${REP_LOCATION}/${REP_TAG} && svn ci -m "BUILD FRAMEWORK: Added new tagged version of WhiteStork: ${APP_NAME}-${APP_VER}\n"
+
+send-last:
+               @cd ${REP_LOCATION}/${REP_TRUNK} && 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}\" mdictionary-devel@garage.maemo.org <~/stranger.content\n\
+                       rm -f ~/${APP_NAME}-${APP_VER}.tar.gz\n" > stranger.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 whitestorks' 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" > stranger.content
+               @scp ${REP_LOCATION}/${REP_TRUNK}/${APP_NAME}-${APP_VER}.tar.gz stranger@stud.ics.p.lodz.pl:~/
+               @scp ${LOG_BUILD} stranger@stud.ics.p.lodz.pl:~/
+               @scp ${LOG_DEBS} stranger@stud.ics.p.lodz.pl:~/
+               @scp ${MAKEFILE_FILE}/stranger.script stranger@stud.ics.p.lodz.pl:~/
+               @scp ${MAKEFILE_FILE}/stranger.content stranger@stud.ics.p.lodz.pl:~/
+               @rm -f ${MAKEFILE_FILE}/stranger.script
+               @rm -f ${MAKEFILE_FILE}/stranger.content
+               @ssh stranger@stud.ics.p.lodz.pl  ./mailscript
+
+version-post: tagged-version send-last
+               @echo -e -n "New version ${APP_VER} created and sent.\n"
+release-post: tagged-version send-last
+               @echo -e -n "New release ${APP_VER} created.\n"
+pre-release-post: tagged-version send-last
+               @echo -e -n "New pre-release ${APP_VER} created and sent.\n"
+
+version-pre:
+               @-cd  ${REP_LOCATION}/${REP_TRUNK} && svn update
+               @${REP_LOCATION}/${REP_TRUNK}/${DATA}/version.sh "${MAKEFILE_FILE}"
+               @echo -e -n "VERSION: Jeden zamykamy\n" 
+
+release-pre:
+               @-cd  ${REP_LOCATION}/${REP_TRUNK} && svn update
+               @${REP_LOCATION}/${REP_TRUNK}/${DATA}/release.sh "${MAKEFILE_FILE}"
+               @echo -e -n "RELEASE: Jeden zamykamy\n"
+
+pre-release-pre:
+               @-cd  ${REP_LOCATION}/${REP_TRUNK} && svn update
+               @${REP_LOCATION}/${REP_TRUNK}/${DATA}/pre-release.sh "${MAKEFILE_FILE}"
+               @echo -e -n "PRE_RELEASE: Jeden zamykamy\n"             
+
+build: pre-build ${BINARIES}/engine_xdxf.so ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork ${BINARIES}/WhiteStorkManager
+               @echo -e -n "\nBuilding WhiteStork is finished.\n"
+pre-build:
+               @echo -e -n "Building WhiteStork... \n"
+               @echo -e -n "Location: ${REP_LOCATION}\n\nplease wait a while....\n"
+               @echo -e -n "" > ${LOG_BUILD}
+
+${BINARIES}/WhiteStorkManager:
+               @echo -e -n "**--> Compiling Manager...\n" >> ${LOG_BUILD}
+               @cd ${MANAGER} && make >> ${LOG_BUILD}
+
+${BINARIES}/ws_dbus.o:
+               @echo -e -n "**--> Compiling D-BUS Wrapper... \n" >> ${LOG_BUILD}
+               @cd ${DBUS} && make >> ${LOG_BUILD}
+
+${BINARIES}/WhiteStork:
+               @echo -e -n "**--> Compiling User Interface...\n" >> ${LOG_BUILD}
+               @cd ${GUI} && make >> ${LOG_BUILD}
+
+${BINARIES}/engine_xdxf.so:
+               @echo -e -n "**--> Compiling Engine...\n" >> ${LOG_BUILD}
+               @cd ${ENGINE} && make >> ${LOG_BUILD}
+
+
 clean:
-               @echo -e "\n.::==================== cleaning ... ==================::."
-               @-rm ${BINARY}/*
-               @cd gui && make clean
-               @cd dbus && make clean
-               @cd engine && make clean
-               @cd manager && make clean
-               @echo -e "\n.::================= cleaning finished ================::.\n\n"
+               @echo -e -n "" > ${LOG_CLEAN}
+               @-rm -f ./${BINARIES}/* >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-rm -f ${REP_LOCATION}/${REP_TRUNK}/*~ >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-rm -f ${REP_LOCATION}/${REP_TRUNK}/*.deb >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-cd ./${GUI} && make clean >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-cd ./${DBUS} && make clean >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-cd ./${ENGINE} && make clean >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-cd ./${MANAGER} && make clean >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-echo -e -n "Project directories are cleaned.\n"
+
 run:
-               run-standalone.sh ./${EXECUTABLE}
-
-deb:
-
-               @echo -e -n "..:: Makeing debianized source....\n"
-               @echo -e -n "..:: --> Makeing new directory with source...  ../${APP}-${APP_VER}\n"
-               @-rm -f -r -d ../${APP}-${APP_VER}
-               @-rm -f ../*.tar.gz
-               @-rm -f ../*.deb
-               @mkdir ../${APP}-${APP_VER}
-               @cp -r * ../${APP}-${APP_VER}
-               @echo -e -n "..:: --> Debianizing new source directory ../${APP}-${APP_VER}\n"
-               @cd .. && tar -czf ${APP}-${APP_VER}.tar.gz ./${APP}-${APP_VER}
-               @cd ../${APP}-${APP_VER} && echo -e "\n\n" > NO_INTERACTIVE_DH_MAKE
-               @cd ../${APP}-${APP_VER} && dh_make -c gpl -f ../${APP}-${APP_VER}.tar.gz -e contact@comarch.com -s < NO_INTERACTIVE_DH_MAKE
-               @cd ../${APP}-${APP_VER} && rm -f NO_INTERACTIVE_DH_MAKE
-               @echo -e -n "..:: --> Set new content for basic debian package files...\n"
-               @echo -e -n "..:: ----> Setting files 'content' to:\n"
-               @echo -e -n ${CONTENT}
-               @echo -e -n ${CONTENT} > ../${APP}-${APP_VER}/debian/control
-#              @echo -e -n ${ICON} >> ../${APP}-${APP_VER}/debian/control
-               @cp -f ./data/postinst.ex  ../${APP}-${APP_VER}/debian
-               @echo -e -n "${LINKS}" > ../${APP}-${APP_VER}/debian/${APP}.links
-#              @cat ../${APP}-${APP_VER}/debian/postinst.ex | awk "/^set -e\$/ {print \"gconftool-2 --type string              --set /apps/WhiteStork/Dictionaries/dict/path \"/usr/share/WhiteStork/dict\"\n"}; {print \$0}"
-               @echo -e -n "..:: --> Makeing debian package...\n"
-               @-cd ../${APP}-${APP_VER} && dpkg-buildpackage -tc -rfakeroot
-
-debi:
-               @echo -e -n "Makeing GConf keys:\n"
-               @echo -e -n ${GCONF_DIR} > GCONF_SCRIPT
-               @/bin/bash < GCONF_SCRIPT
-               @-rm -f GCONF_SCRIPT
-               @cd .. && fakeroot dpkg -r whitestork
-               @cd .. && fakeroot dpkg -i ${APP}_${APP_VER}-1_armel.deb
-               @af-sb-init.sh restart
+               @run-standalone.sh WhiteStork
 
-#<<<<<<< .mine
-debi386:
-               @cd .. && fakeroot dpkg -r whitestork
-               @cd .. && fakeroot dpkg -i ${APP}_${APP_VER}-1_i386.deb
-               @af-sb-init.sh restart
+build-test: clean build
+               @echo -e -n "Copying needed files to specyfic directories...\n"
+               @echo -e -n > ${LOG_RUN}
+               @-fakeroot mkdir /usr/share/WhiteStork >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot rm -f /usr/share/WhiteStork/*  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir  /usr/share/WhiteStork/engines >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir  /usr/share/WhiteStork/dictionaries >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir  /usr/share/WhiteStork/dictionaries/local >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir /usr/lib/WhiteStork >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot rm -f /usr/lib/WhiteStork/*  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir /usr/include/WhiteStork >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot rm -f /usr/include/WhiteStork/*  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/WhiteStork ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/WhiteStorkManager /usr/bin/  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/engine_xdxf.so /usr/lib/WhiteStork  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${INCLUDE}/dictionary_engine.h /usr/include/WhiteStork
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.png /usr/share/pixmaps/WhiteStork  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${DATA}/icon.png /usr/share/pixmaps/WhiteStork  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/dict.xdxf /usr/share/WhiteStork/dictionaries/local  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/dict.cache /usr/share/WhiteStork/dictionaries/local >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${DATA}/org.maemo.WhiteStorkManager.service /usr/share/dbus-1/services  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.desktop /usr/share/applications/hildon  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/local/path "/usr/share/WhiteStork/dictionaries/local"
+               @gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/local/name "Local dictionary"
+               @gconftool-2 --type bool --set /apps/WhiteStork/Dictionaries/local/active true
 
-#=======
-deb386:
-               @echo -e -n "Makeing GConf keys:\n"
-               @echo -e -n ${GCONF_DIR} > GCONF_SCRIPT
-               @/bin/bash < GCONF_SCRIPT
-               @-rm -f GCONF_SCRIPT
-               @cd .. && fakeroot dpkg -r whitestork
-               @cd .. && fakeroot dpkg -i ${APP}_${APP_VER}-1_i386.deb
+run-deb:
+               @run-standalone.sh WhiteStork
+
+debs: pre-debs mng-deb eng-deb gui-deb
+               @echo -e -n "Building debian packages finished.\n"
+
+mng-deb: mng-pack-dirs ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStorkManager
+               @echo -e -n "**-->Makeing manager package...\n"
+               @echo -e -n "**-->Makeing manager package...\n" >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/WhiteStorkManager ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin/ >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/org.maemo.WhiteStorkManager.service  ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/dict1.xdxf ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/elements/dict.xdxf   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/dict1.cache ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/elements/dict.cache   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/dict2.xdxf ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/us-en/dict.xdxf   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @find ${FILES} -type f -maxdepth 1 -name "mngc_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN" \;
+
+               @sed 's/Version:/Version: '${APP_VER}-${PACK_VER}'/ ' ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control > ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup
+
+               mv ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control
+
+
+               @find ${FILES} -type f -maxdepth 1 -name "mngC_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork" \;
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork/changelog"
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork/changelog.Debian"
+               @touch ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @chmod g-w ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @find "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" -path '*DEBIAN*' -prune -o -type f -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/add_sums.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" \;
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && fakeroot dpkg-deb --build debian >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && mv -f debian.deb ../${MNG_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+
+gui-deb: gui-pack-dirs ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork
+               @echo -e -n "**-->Making whitestork GUI package...\n"
+               @echo -e -n "**-->Making whitestork GUI package...\n" >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/WhiteStork ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin/ >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.desktop ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications/hildon/whitestorkgui.desktop   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @fakeroot cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.desktop /usr/share/applications/hildon/whitestorkgui.desktop
+               @ln -s /usr/share/applications/hildon/whitestorkgui.desktop ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu/extra_applications/0112_whitestorkgui.desktop
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.png ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/icon.png ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps/whitestork_icon.png   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/org.maemo.WhiteStorkGui.service  ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @find ${FILES} -type f -maxdepth 1 -name "guic_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN" \;
+               
+               @sed 's/Version:/Version: '${APP_VER}-${PACK_VER}'/ ' ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control > ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup
+
+               mv ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control
+
+               @find ${FILES} -type f -maxdepth 1 -name "guiC_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui" \;
+#              @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}"/debian/usr/share/doc/whitestorkgui.1
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui/changelog"
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui/changelog.Debian"
+               @touch ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @chmod g-w ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @find "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" -path '*DEBIAN*' -prune -o -type f -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/add_sums.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" \;
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && fakeroot dpkg-deb --build debian >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && mv -f debian.deb ../${GUI_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb   >> ${LOG_DEBS} 2>> ${LOG_DEBS}                
+
+eng-deb: eng-pack-dirs ${BINARIES}/engine_xdxf.so
+               @echo -e -n "**-->Making engine package...\n"
+               @echo -e -n "**-->Making engine package...\n" >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/engine_xdxf.so ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib/WhiteStork/ >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${INCLUDE}/dictionary_engine.h ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include/WhiteStork  >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/engine_xdxf_icon.png ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @find ${FILES} -type f -maxdepth 1 -name "engc_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN" \;
+               
+               @sed 's/Version:/Version: '${APP_VER}-${PACK_VER}'/ ' ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control > ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup
+
+               mv ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control
+
+               @find ${FILES} -type f -maxdepth 1 -name "engC_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf" \;
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf/changelog"
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf/changelog.Debian"
+               @touch ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @chmod g-w ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @find "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" -path '*DEBIAN*' -prune -o -type f -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/add_sums.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" \;
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}  &&  fakeroot dpkg-deb --build debian  >> ${LOG_DEBS}  2>> ${LOG_DEBS}
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && mv -f debian.deb ../${ENG_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb  >> ${LOG_DEBS} 2>> ${LOG_DEBS}         
+
+debs-i: clean-inst-log mng-deb-i gui-deb-i eng-deb-i
+               @echo -e -n "Every packages has been reinstalled.\n"
+
+clean-inst-log:
+               @echo -n "" > ${LOG_INST}
+
+debs-ir: debs-i
+               @echo -e -n "Restarting af-sb-init.sh <af-sb-init.sh restart>...\n"
                @af-sb-init.sh restart
+               @echo -e -n "Now You can test Your new WhiteStork :D .. enjoy :-)\n"
+
+mng-deb-i:
+               @echo -e -n "Removing old MANAGER...\n"
+               @-fakeroot dpkg -r whitestork  >/dev/null 2>/dev/null           
+               @echo -e -n "Installing new package MANAGER...\n"
+               @cd ${REP_LOCATION}/${REP_TRUNK} && fakeroot dpkg -i ${MNG_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb  >> ${LOG_INST} 2>> ${LOG_INST}
+
+gui-deb-i:
+               @echo -e -n "Removing old GUI...\n"
+               @-fakeroot dpkg -r whitestorkgui  >/dev/null 2>/dev/null                
+               @echo -e -n "Installing new package GUI...\n"
+               @cd ${REP_LOCATION}/${REP_TRUNK} && fakeroot dpkg -i ${GUI_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb  >> ${LOG_INST} 2>> ${LOG_INST}
+
+eng-deb-i:
+               @echo -e -n "Removing old ENGINE...\n"
+               @-fakeroot dpkg -r enginexdxf  >/dev/null 2>/dev/null           
+               @echo -e -n "Installing new package ENGINE...\n"
+               @cd ${REP_LOCATION}/${REP_TRUNK} && fakeroot dpkg -i ${ENG_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb  >> ${LOG_INST} 2>> ${LOG_INST}
+
+pre-debs: clean
+               @echo -e -n "Making of *.deb packages...\nPlease wait...\n"
+               @echo -e -n "" > ${LOG_DEBS}
+
+eng-pack-dirs:
+               @echo -e -n "Creating and cleaning required directories for ENGINE..."   >/dev/null 2>/dev/null
+               @-rm -f -r ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/*   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib/WhiteStork   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include/WhiteStork   >/dev/null 2>/dev/null  
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps   >/dev/null 2>/dev/null
+               @find ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian -type d -exec chmod 0755 {} \;
+
+mng-pack-dirs:
+               @echo -e -n "Creating and cleaning required directories for MANAGER..."   >/dev/null 2>/dev/null
+               @-rm -f -r ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/*   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/engines   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/elements   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/us-en   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork   >/dev/null 2>/dev/null
+               @find ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian -type d -exec chmod 0755 {} \;
+
+gui-pack-dirs:
+               @echo -e -n "Creating and cleaning required directories for GUI..."   >/dev/null 2>/dev/null
+               @-rm -f -r ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/*   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu/extra_applications   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps/WhiteStork   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications/hildon   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services   >/dev/null 2>/dev/null
+               @find ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian -type d -exec chmod 0755 {} \;
+
+whole-pack-dirs:
+               @echo -e -n "Creating and cleaning required directories WHOLE SYSTEM..."
+               @-rm -f -r ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/*
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu/extra_applications   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib/WhiteStork
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include/WhiteStork
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/engines
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/elements
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/us-en
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps/WhiteStork
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications/hildon    
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf   >/dev/null 2>/dev/null
+               @find ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian -type d -exec chmod 0755 {} \;
+
+uninstall:
+               @-fakeroot dpkg -r enginexdxf
+               @-fakeroot dpkg -r whitestorkgui
+               @-fakeroot dpkg -r whitestork
+               @-fakeroot dpkg --purge whitestork
+               @-fakeroot dpkg --purge whitestorkgui
+               @-fakeroot dpkg --purge enginexdxf
+               @-gconftool-2 --recursive-unset /apps/WhiteStork
+               @-gconftool-2 --recursive-unset /apps/maemo/WhiteStork
+               @-rm -rf  /usr/share/WhiteStork
+               @-rm -f  /usr/share/pixmaps/whitestork.png
+               @-rm -f  /usr/share/pixmaps/engine_xdxf_icon.png
+               @-rm -f  /usr/share/pixmaps/whitestork_icon.png
+
+display: access
+               @fakeroot su ${USER} -c 'af-sb-init.sh start'   
+
+display-s: access
+               @fakeroot su ${USER} -c 'af-sb-init.sh stop'
+
+display-r: access
+               @fakeroot su ${USER} -c 'af-sb-init.sh restart'
 
-#<<<<<<< .mine
-#>>>>>>> .r133
-#=======
-
-#>>>>>>> .r134
-debr: deb debi
-
-deb386: deb debi386
-
-debc:
-               @cd .. && fakeroot dpkg -r whitestork
-               @cp ../${APP}_${APP_VER}-1_armel.deb /home/${USER}/MyDocs/.documents
-
-
-deldeb:
-               @echo -e -n "Deleteing package...\n"            
-               @-rm -f -r -d ../${APP}-${APP_VER}
-#              @-rm -f ../${APP}*.tar.gz
-#              @-rm -f ../${APP}*.deb
-               @-rm -f ../${APP}*.dsc
-               @-rm -f ../${APP}*.diff.gz
-               
-install:
-               @echo -e -n "installing Maemo Whitestork Dictionary...\n"
-               @make
-               install -d ${DESTDIR}/usr/share
-               install -d ${DESTDIR}/usr/share/WhiteStork
-               install -d ${DESTDIR}/usr/share/WhiteStork/engines
-               install -d ${DESTDIR}/usr/share/WhiteStork/dict
-               install -d ${DESTDIR}/usr/share/WhiteStork/other
-               install -d ${DESTDIR}/usr/lib/WhiteStork
-               install -d ${DESTDIR}/usr/include/WhiteStork
-               install -d ${DESTDIR}/usr/share/dbus-1
-               install -d ${DESTDIR}/usr/share/dbus-1/services
-               install -d ${DESTDIR}/usr/share/pixmaps
-               install -d ${DESTDIR}/usr/share/applications/hildon
-               install ${EXECUTABLE}  ${DESTDIR}/usr/bin
-               install ${BINARY}/WhiteStorkManager ${DESTDIR}/usr/bin  
-               install dict1.xdxf ${DESTDIR}/usr/share/WhiteStork/dict/dict.xdxf
-               install dict1.cache ${DESTDIR}/usr/share/WhiteStork/dict/dict.cache
-               install dict2.xdxf ${DESTDIR}/usr/share/WhiteStork/other/dict.xdxf
-#              install dict2.cache ${DESTDIR}/usr/share/WhiteStork/other/dict.cache
-               install ${BINARY}/engine_xdxf.so ${DESTDIR}/usr/lib/WhiteStork
-               install ${INCLUDE}/dictionary_engine.h ${DESTDIR}/usr/include/WhiteStork
-               install data/org.maemo.WhiteStorkGui.service ${DESTDIR}/usr/share/dbus-1/services
-               install data/org.maemo.WhiteStorkManager.service ${DESTDIR}/usr/share/dbus-1/services
-               install data/whitestork.desktop ${DESTDIR}/usr/share/applications/hildon
-               install data/whitestork.png ${DESTDIR}/usr/share/pixmaps
-               install data/icon.png ${DESTDIR}/usr/share/pixmaps
-               install data/dict_icon.png  ${DESTDIR}//usr/share/pixmaps
+access:
+               @fakeroot chmod 0777 /var/run
 
+release-package: 
+               @make -f release_makefile clean
+               @make -f release_makefile debs && echo "Release package generation successfully completed"
diff --git a/data/add_sums.sh b/data/add_sums.sh
new file mode 100755 (executable)
index 0000000..0a0a990
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+SUMS=`md5sum $1 | awk '{print $1}'`
+NEW_NAME=`echo "$1" | awk "{ match(\"\$1\",\"$2\"); print substr(\"$1\",RLENGTH+2); }"`
+echo -e -n "Generating md5sum for file: ${NEW_NAME}\n"
+echo -e -n "                    md5sum: ${SUMS}\n"
+echo -e -n "${SUMS}  ${NEW_NAME}\n" >> "${2}/DEBIAN/md5sums"
diff --git a/data/copy_clean.sh b/data/copy_clean.sh
new file mode 100755 (executable)
index 0000000..b5e8d1c
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+NEW_NAME=`echo "$1" | awk '{match($0,"[^/]*$"); print substr($0,RSTART,RLENGTH)}' | awk '{print substr($0,6)}'`
+echo -e -n "Duplicating file: ${1}\n"
+echo -e -n "         to file: ${2}/${NEW_NAME}\n"
+cp ${1} ${2}/${NEW_NAME}
+
+
diff --git a/data/dict1.cache b/data/dict1.cache
new file mode 100644 (file)
index 0000000..7b773ce
Binary files /dev/null and b/data/dict1.cache differ
diff --git a/data/dict1.xdxf b/data/dict1.xdxf
new file mode 100644 (file)
index 0000000..42da45e
--- /dev/null
@@ -0,0 +1,1210 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE xdxf SYSTEM "http://xdxf.sourceforge.net/xdxf_lousy.dtd">
+<xdxf lang_from="ENG" lang_to="ENG" format="visual">
+<full_name>Elements database 20001107</full_name>
+<description>00-database-info
+This file was converted from the original database on:
+          Mon Jan 29 05:15:08 2001
+
+
+The original data is available from:
+     http://ucsub.colorado.edu/~kominek/elements/
+
+The original data was distributed with the notice shown below.  No
+additional restrictions are claimed.  Please redistribute this
+changed version under the same conditions and restriction that
+apply to the original version.
+
+   Elements database 20001107
+   This dictionary database was created by Jay F. Kominek
+   &lt;jay.kominek@colorado.edu&gt; (Feel free to send any comments, additions,
+   corrections, money to that address) It was compiled from a variety of
+   sources, and is in my opinion, a work of my own. (The only stuff that
+   was really copied verbatim was the atomic numbers and weights, please,
+   I'd like to see someone try and exert a copyright on the values of atoms.)
+   So, I place this in the public domain, if it somehow breaks, you get to
+   keep both pieces. It'd be nice if you kept the fact that I compiled the
+   information in here, but is not needed.
+   Up to date copies can probably be found on the web at:
+   http://ucsub.colorado.edu/~kominek/elements/
+Source url: http://ucsub.colorado.edu/~kominek/elements/</description>
+<ar><k>actinium</k>
+actinium
+Symbol: Ac
+Atomic number: 89
+Atomic weight: (227)
+Silvery radioactive metallic element, belongs to group 3 of the periodic
+table. The most stable isotope, Ac-227, has a half-life of 217 years.
+Ac-228 (half-life of 6.13 hours) also occurs in nature. There are 22 other
+artificial isotopes, all radioactive and having very short half-lives.
+Chemistry similar to lanthanum. Used as a source of alpha particles.
+Discovered by A. Debierne in 1899.</ar>
+<ar><k>aluminum</k>
+aluminum
+Symbol: Al
+Atomic number: 13
+Atomic weight: 26.9815
+Silvery-white lustrous metallic element of group 3 of the periodic table.
+Highly reactive but protected by a thin transparent layer of the oxide
+which quickly forms in air. There are many alloys of aluminum, as well as
+a good number of industrial uses. Makes up 8.1% of the Earth's crust, by
+weight. Isolated in 1825 by H.C. Oersted.</ar>
+<ar><k>americium</k>
+americium
+Symbol: Am
+Atomic number: 95
+Atomic weight: (243)
+Radioactive metallic transuranic element, belongs to the actinoids. Ten
+known isotopes. Am-243 is the most stable isotope, with a half-life of
+7.95*10^3 years. Discovered by Glenn T. Seaborg and associates in 1945, it
+was obtained by bombarding {uranium}-238 with alpha particles.</ar>
+<ar><k>antimony</k>
+antimony
+Symbol: Sb
+Atomic number: 51
+Atomic weight: 121.75
+Element of group 15. Multiple allotropic forms. The stable form of
+antimony is a blue-white metal. Yellow and black antimony are unstable
+non-metals. Used in flame-proofing, paints, ceramics, enamels, and rubber.
+Attacked by oxidizing acids and halogens. First reported by Tholden in
+1450.</ar>
+<ar><k>argon</k>
+argon
+Symbol: Ar
+Atomic number: 18
+Atomic weight: 39.948
+Monatomic noble gas. Makes up 0.93% of the air. Colourless, odorless. Is
+inert and has no true compounds. Lord Rayleigh and Sir william Ramsey
+identified argon in 1894.</ar>
+<ar><k>arsenic</k>
+arsenic
+Symbol: As
+Atomic number: 33
+Atomic weight: 74.922
+Metalloid element of group 15. There are three allotropes, yellow, black,
+and grey. Reacts with halogens, concentrated oxidizing acids and hot
+alkalis. Albertus Magnus is believed to have been the first to isolate the
+element in 1250.</ar>
+<ar><k>astatine</k>
+astatine
+Symbol: At
+Atomic number: 85
+Atomic weight: (210)
+Radioactive halogen element. Occurs naturally from uranium and thorium
+decay. At least 20 known isotopes. At-210, the most stable, has a
+half-life of 8.3 hours. Synthesized by nuclear bombardment in 1940 by D.R.
+Corson, K.R. MacKenzie and E. Segre at the University of California.</ar>
+<ar><k>barium</k>
+barium
+Symbol: Ba
+Atomic number: 56
+Atomic weight: 137.34
+Silvery-white reactive element, belonging to group 2 of the periodic
+table. Soluble barium compounds are extremely poisonous. Identified in
+1774 by Karl Scheele and extracted in 1808 by Humphry Davy.</ar>
+<ar><k>berkelium</k>
+berkelium
+Symbol: Bk
+Atomic number: 97
+Atomic weight: (247)
+Radioactive metallic transuranic element. Belongs to actinoid series.
+Eight known isotopes, the most common Bk-247, has a half-life of
+1.4*10^3 years. First produced by Glenn T. Seaborg and associates in 1949
+by bombarding americium-241 with alpha particles.</ar>
+<ar><k>beryllium</k>
+beryllium
+Symbol: Be
+Atomic number: 4
+Atomic weight: 9.0122
+Grey metallic element of group 2 of the periodic table. Is toxic and can
+cause severe lung diseases and dermatitis. Shows high covalent character.
+It was isolated independently by F. Wohler and A.A. Bussy in 1828.</ar>
+<ar><k>bismuth</k>
+bismuth
+Symbol: Bi
+Atomic number: 83
+Atomic weight: 208.980
+White crystalline metal with a pink tinge, belongs to group 15. Most
+diamagnetic of all metals and has the lowest thermal conductivity of all
+the elements except mercury. Lead-free bismuth compounds are used in
+cosmetics and medical procedures. Burns in the air and produces a blue
+flame. In 1753, C.G. Junine first demonstrated that it was different from
+lead.</ar>
+<ar><k>bohrium</k>
+bohrium
+Competing name for {unnilseptium}, the 107th element, proposed by the
+IUPAC in response to the discoverers of the element wanting to name it
+{nielsbohrium}.</ar>
+<ar><k>boron</k>
+boron
+Symbol: B
+Atomic number: 5
+Atomic weight: 10.811
+An element of group 13 of the periodic table. There are two allotropes,
+amorphous boron is a brown power, but metallic boron is black. The
+metallic form is hard (9.3 on Mohs' scale) and a bad conductor in room
+temperatures. It is never found free in nature. Boron-10 is used in
+nuclear reactor control rods and shields. It was discovered in 1808 by Sir
+Humphry Davy and by J.L. Gay-Lussac and L.J. Thenard.</ar>
+<ar><k>bromine</k>
+bromine
+Symbol: Br
+Atomic number: 35
+Atomic weight: 79.909
+Halogen element. Red volatile liquid at room temperature. Its reactivity
+is somewhere between chlorine and iodine. Harmful to human tissue in a
+liquid state, the vapour irritates eyes and throat. Discovered in 1826 by
+Antoine Balard.</ar>
+<ar><k>cadmium</k>
+cadmium
+Symbol: Cd
+Atomic number: 48
+Atomic weight: 112.40
+Soft bluish metal belonging to group 12 of the periodic table. Extremely
+toxic even in low concentrations. Chemically similar to zinc, but lends
+itself to more complex compounds. Discovered in 1817 by F. Stromeyer.</ar>
+<ar><k>caesium</k>
+caesium
+Symbol: Cs
+Atomic number: 55
+Atomic weight: 132.90545
+Soft silvery-white metallic element belonging to group 1 of the periodic
+table. One of the three metals which are liquid at room temperature. Cs-133
+is the natural, and only stable, isotope. Fifteen other radioisotopes exist.
+Caesium reacts explosively with cold water, and ice at temperatures above
+157K. Caesium hydroxide is the strongest base known. Caesium is the most
+electropositive, most alkaline and has the least ionization potential of
+all the elements. Known uses include the basis of atomic clocks, catalyst
+for the hydrogenation of some organic compounds, and in photoelectric cells.
+Caesium was discovered by Gustav Kirchoff and Robert Bunsen in Germany in
+1860 spectroscopically. Its identification was based upon the bright blue
+lines in its spectrum. The name comes from the latin word caesius, which
+means sky blue. Caesium should be considered highly toxic. Some of the
+radioisotopes are even more toxic.</ar>
+<ar><k>calcium</k>
+calcium
+Symbol: Ca
+Atomic number: 20
+Atomic weight: 40.08
+Soft grey metallic element belonging to group 2 of the periodic table.
+Used a reducing agent in the extraction of thorium, zirconium and
+uranium. Essential element for living organisms.</ar>
+<ar><k>californium</k>
+californium
+Symbol: Cf
+Atomic number: 98
+Atomic weight: (249)
+Radioactive metallic transuranic element. Belongs to actinoid series.
+Cf-251 has a half life of about 700 years. Nine isotopes are known.
+Cf-252 is an intense {neutron} source, which makes it an intense
+{neutron} source and gives it a use in {neutron} activation analysis
+and a possible use as a radiation source in medicine. First produced
+by Glenn T. Seaborg and associates in 1950.</ar>
+<ar><k>carbon</k>
+carbon
+Symbol: C
+Atomic number: 6
+Atomic weight: 12.01115
+Carbon is a member of group 14 of the periodic table. It has three
+allotropic forms of it, diamonds, graphite and fullerite. Carbon-14
+is commonly used in radioactive dating. Carbon occurs in all organic life
+and is the basis of organic chemistry. Carbon has the interesting chemical
+property of being able to bond with itself, and a wide variety of other
+elements.</ar>
+<ar><k>cerium</k>
+cerium
+Symbol: Ce
+Atomic number: 58
+Atomic weight: 140.12
+Silvery metallic element, belongs to the lanthanoids. Four natural
+isotopes exist, and fifteen radioactive isotopes have been identified.
+Used in some rare-earth alloys. The oxidized form is used in the glass
+industry. Discovered by Martin .H. Klaproth in 1803.</ar>
+<ar><k>chlorine</k>
+chlorine
+Symbol: Cl
+Atomic number: 17
+Atomic weight: 35.453
+Halogen element. Poisonous greenish-yellow gas. Occurs widely in nature as
+sodium chloride in seawater. Reacts directly with many elements and
+compounds, strong oxidizing agent. Discovered by Karl Scheele in 1774.
+Humphrey David confirmed it as an element in 1810.</ar>
+<ar><k>chromium</k>
+chromium
+Symbol: Cr
+Atomic number: 24
+Atomic weight: 51.996
+Hard silvery transition element. Used in decorative electroplating.
+Discovered in 1797 by Vauquelin.</ar>
+<ar><k>cobalt</k>
+cobalt
+Symbol: Co
+Atomic number: 27
+Atomic weight: 58.993
+Light grey transition element. Some meteorites contain small amounts of
+metallic cobalt. Generally alloyed for use. Mammals require small amounts
+of cobalt salts. Cobalt-60, an artificially produced radioactive isotope
+of Cobalt is an important radioactive tracer and cancer-treatment agent.
+Discovered by G. Brandt in 1737.</ar>
+<ar><k>columbium</k>
+columbium
+The original name for {niobium}.</ar>
+<ar><k>copper</k>
+copper
+Symbol: Cu
+Atomic number: 29
+Atomic weight: 63.54
+Red-brown transition element. Known by the Romans as 'cuprum.' Extracted
+and used for thousands of years. Malleable, ductile and an excellent
+conductor of heat and electricity. When in moist conditions, a greenish
+layer forms on the outside.</ar>
+<ar><k>cuprum</k>
+cuprum
+Roman name for {copper}.</ar>
+<ar><k>curium</k>
+curium
+Symbol: Cm
+Atomic number: 96
+Atomic weight: (247)
+Radioactive metallic transuranic element. Belongs to actinoid series.
+Nine known isotopes, Cm-247 has a half-life of 1.64*10^7 years. First
+identified by Glenn T. Seaborg and associates in 1944, first produced by
+L.B. Werner and I. Perlman in 1947 by bombarding americium-241 with
+{neutron}s. Named for Marie Curie.</ar>
+<ar><k>deuterium</k>
+deuterium
+Symbol: D
+Atomic Weight: 2
+A {hydrogen} atom which has but one proton and {neutron}. Deuterium makes up
+about 0.015% of all natural hydrogen. Chemical properties are like that of
+normal {hydrogen}, though somewhat slower.</ar>
+<ar><k>dubnium</k>
+dubnium
+Symbol: Db
+Competing name for {unnilquadium}, the 104th element, proposed by the
+IUPAC.</ar>
+<ar><k>dysprosium</k>
+dysprosium
+Symbol: Dy
+Atomic number: 66
+Atomic weight: 162.50
+Metallic with a bright silvery-white lustre. Dysprosium belongs to the
+lanthanoids. It is relatively stable in air at room temperatures, it will
+however dissolve in mineral acids, evolving hydrogen. It is found in
+from rare-earth minerals. There are seven natural isotopes of dysprosium,
+and eight radioisotopes, Dy-154 being the most stable with a half-life of
+3*10^6 years. Dysprosium is used as a neutron absorber in nuclear fission
+reactions, and in compact disks. It was discovered by Paul Emile Lecoq de
+Boisbaudran in 1886 in France. Its name comes from the Greek word
+dysprositos, which means hard to obtain.</ar>
+<ar><k>einsteinium</k>
+einsteinium
+Symbol: Es
+Atomic number: 99
+Atomic weight: (254)
+Appearance is unknown, however it is most probably metallic and silver
+or gray in color. Radioactive metallic transuranic element belonging to the
+actinoids. Es-254 has the longest half-life of the eleven known isotopes at
+270 days. First identified by Albert Ghiorso and associates in the debris of
+the 1952 hydrogen bomb explosion. In 1961 the first microgram quantities of
+Es-232 were separated. While einsteinium never exists naturally, if a
+sufficient amount was assembled, it would pose a radiation hazard.</ar>
+<ar><k>erbium</k>
+erbium
+Symbol: Er
+Atomic number: 68
+Atomic weight: 167.26
+Soft silvery metallic element which belongs to the lanthanoids. Six
+natural isotopes that are stable. Twelve artificial isotopes are known.
+Used in nuclear technology as a neutron absorber. It is being investigated
+for other possible uses. Discovered by Carl G. Mosander in 1843.</ar>
+<ar><k>europium</k>
+europium
+Symbol: Eu
+Atomic number: 63
+Atomic weight: 151.25
+Soft silvery metallic element belonging to the lanthanoids. Eu-151 and
+Eu-153 are the only two stable isotopes, both of which are {neutron}
+absorbers. Discovered in 1889 by Sir William Crookes.</ar>
+<ar><k>fermium</k>
+fermium
+Symbol: Fm
+Atomic number: 100
+Atomic weight: (253)
+Radioactive metallic transuranic element, belongs to the actinoids. Ten
+known isotopes, most stable is Fm-257 with a half-life of 10 days. First
+identified by Albert Ghiorso and associates in the debris of the first
+hydrogen-bomb explosion in 1952.</ar>
+<ar><k>fluorine</k>
+fluorine
+Symbol: F
+Atomic number: 9
+Atomic weight: 18.9984
+A poisonous pale yellow gaseous element belonging to group 17 of the
+periodic table (The halogens). It is the most chemically reactive and
+electronegative element. It is highly dangerous, causing severe chemical
+burns on contact with flesh. Fluorine was identified by Scheele in 1771
+and first isolated by Moissan in 1886.</ar>
+<ar><k>francium</k>
+francium
+Symbol: Fr
+Atomic number: 87
+Atomic weight: (223)
+Radioactive element, belongs to group 1 of the periodic table. Found in
+uranium and thorium ores. The 22 known isotopes are all radioactive, with
+the most stable being Fr-223. Its existence was confirmed in 1939 by
+Marguerite Perey.</ar>
+<ar><k>gadolinium</k>
+gadolinium
+Symbol: Gd
+Atomic number: 64
+Atomic weight: 157.25
+Soft silvery metallic element belonging to the lanthanoids. Seven natural,
+stable isotopes are known in addition to eleven artificial isotopes.
+Gd-155 and Gd-157 and the best neutron absorbers of all elements.
+Gadolinium compounds are used in electronics. Discovered by J.C.G Marignac
+in 1880.</ar>
+<ar><k>gallium</k>
+gallium
+Symbol: Ga
+Atomic number: 31
+Atomic weight: 69.72
+Soft silvery metallic element, belongs to group 13 of the periodic table.
+The two stable isotopes are Ga-69 and Ga-71. Eight radioactive isotopes
+are known, all having short half-lives. Gallium Arsenide is used as a
+semiconductor. Corrodes most other metals by diffusing into their lattice.
+First identified by Francois Lecoq de Boisbaudran in 1875.</ar>
+<ar><k>germanium</k>
+germanium
+Symbol: Ge
+Atomic number: 32
+Atomic weight: 72.59
+Lustrous hard metalloid element, belongs to group 14 of the periodic
+table. Forms a large number of organometallic compounds. Predicted by
+Mendeleev in 1871, it was actually found in 1886 by Winkler.</ar>
+<ar><k>gold</k>
+gold
+Symbol: Au
+Atomic number: 79
+Atomic weight: 196.96655
+Gold is gold colored. It is the most malleable and ductile metal known.
+There is only one stable isotope of gold, and five radioisotopes of gold,
+Au-195 being the most stable with a half-life of 186 days. Gold is used
+as a monetary standard, in jewelry, dentistry, electronics. Au-198 is used
+in treating cancer and some other medical conditions. Gold has been known
+to exist as far back as 2600 BC. Gold comes from the Anglo-Saxon word gold.
+Its symbol, Au, comes from the Latin word aurum, which means gold. Gold is
+not particularly toxic, however it is known to cause damage to the liver
+and kidneys in some.</ar>
+<ar><k>hafnium</k>
+hafnium
+Symbol: Hf
+Atomic number: 72
+Atomic weight: 178.49
+Silvery lustrous metallic transition element. Used in tungsten alloys in
+filaments and electrodes, also acts as a neutron absorber. First reported
+by Urbain in 1911, existence was finally established in 1923 by D. Coster,
+G.C. de Hevesy in 1923.</ar>
+<ar><k>hahnium</k>
+hahnium
+Symbol: Ha
+Competing name for {unnilpentium}, the 105th element, proposed by the
+American Chemical Society. Also a competing name for {unniloctium}, the
+108th element, proposed by the IUPAC. Both were chosen in honor of German
+researcher, Otto Hahn.</ar>
+<ar><k>hassium</k>
+hassium
+Competing name for {unniloctium}, the 108th element, proposed by its
+German discoverers and supported by the American Chemical Society.</ar>
+<ar><k>helium</k>
+helium
+Symbol: He
+Atomic number: 2
+Atomic weight: 4.0026
+Colourless, odourless gaseous nonmetallic element. Belongs to group 18 of
+the periodic table. Lowest boiling point of all elements and can only be
+solidified under pressure. Chemically inert, no known compounds.
+Discovered in the solar spectrum in 1868 by Lockyer.</ar>
+<ar><k>holmium</k>
+holmium
+Symbol: Ho
+Atomic number: 67
+Atomic weight: 167.26
+Relatively soft and malleable silvery-white metallic element, which is stable
+in dry air at room temperature. It oxidizes in moist air and at high
+temperatures. It belongs to the lanthanoids. A rare-earth metal, it is found
+in the minerals monazite and gadolinite. It possesses unusual magnetic
+properties. One natural isotope, Ho-165 exists, six radioisotopes exist, the
+most stable being Ho-163 with a half-life of 4570 years. Holmium is used in
+some metal alloys, it is also said to stimulate the metabolism. Discovered by
+Per Theodor Cleve and J.L. Soret in Switzerland in 1879. The name homium comes
+from the Greek word Holmia which means Sweden. While all holmium compounds
+should be considered highly toxic, initial evidence seems to indicate that
+they do not pose much danger. The metal's dust however, is a fire hazard.</ar>
+<ar><k>hydrogen</k>
+hydrogen
+Symbol: H
+Atomic number: 1
+Atomic weight: 1.0079
+Colourless, odourless gaseous chemical element. Lightest and most
+abundant element in the universe. Present in water and in all organic
+compounds. Chemically reacts with most elements. Discovered by Henry
+Cavendish in 1776.</ar>
+<ar><k>indium</k>
+indium
+Symbol: In
+Atomic number: 49
+Atomic weight: 114.82
+Soft silvery element belonging to group 13 of the periodic table. The most
+common natural isotope is In-115, which has a half-life of 6*10^4 years.
+Five other radioisotopes exist. Discovered in 1863 by Reich and Richter.</ar>
+<ar><k>iodine</k>
+iodine
+Symbol: I
+Atomic number: 53
+Atomic weight: 126.904
+Dark violet nonmetallic element, belongs to group 17 of the periodic
+table. Insoluble in water. Required as a trace element for living
+organisms. One stable isotope, I-127 exists, in addition to fourteen
+radioactive isotopes. Chemically the least reactive of the halogens, and
+the most electropositive metallic halogen. Discovered in 1812 by Courtois.</ar>
+<ar><k>iridium</k>
+iridium
+Symbol: Ir
+Atomic number: 77
+Atomic weight: 192.217
+Very hard and brittle, silvery metallic transition element. It has a
+yellowish cast to it. Salts of iridium are highly colored. It is the
+most corrosion resistant metal known, not attacked by any acid, but is
+attacked by molten salts. There are two natural isotopes of iridium, and
+4 radioisotopes, the most stable being Ir-192 with a half-life of 73.83
+days. Ir-192 decays into {platinum}, while the other radioisotopes decay
+into {osmium}. Iridium is used in high temperature apparatus, electrical
+contacts, and as a hardening agent for platinum. Discovered in 1803 by
+Smithson Tennant in England. The name comes from the Greek word iris, which
+means rainbow. Iridium metal is generally non-toxic due to its relative
+unreactivity, but iridium compounds should be considered highly toxic.</ar>
+<ar><k>iron</k>
+iron
+Symbol: Fe
+Atomic number: 26
+Atomic weight: 55.847
+Silvery malleable and ductile metallic transition element. Has nine
+isotopes and is the fourth most abundant element in the earth's crust.
+Required by living organisms as a trace element (used in hemoglobin in
+humans.) Quite reactive, oxidizes in moist air, displaces hydrogen from
+dilute acids and combines with nonmetallic elements.</ar>
+<ar><k>IUPAC</k>
+IUPAC
+The International Union of Pure and Applied Chemistry.</ar>
+<ar><k>joliotium</k>
+joliotium
+Symbol: Jl
+Competing name for {unnilpentium}, the 105th element, proposed by the
+IUPAC.</ar>
+<ar><k>krypton</k>
+krypton
+Symbol: Kr
+Atomic number: 36
+Atomic weight: 83.80
+Colorless gaseous element, belongs to the noble gases. Occurs in the air,
+0.0001% by volume. It can be extracted from liquid air by fractional
+distillation. Generally not isolated, but used with other inert gases in
+fluorescent lamps. Five natural isotopes, and five radioactive isotopes.
+Kr-85, the most stable radioactive isotope, has a half-life of 10.76
+years and is produced in fission reactors. Practically inert, though known
+to form compounds with {fluorine}.</ar>
+<ar><k>kurchatovium</k>
+kurchatovium
+Symbol: Ku
+Competing name for {unnilquadium}, the 104th element, proposed by Russian
+scientists.</ar>
+<ar><k>lanthanum</k>
+lanthanum
+Symbol: La
+Atomic number: 57
+Atomic weight: 138.9055
+(From the Greek word lanthanein, to line hidden) Silvery metallic element
+belonging to group 3 of the periodic table and oft considered to be one of
+the lanthanoids. Found in some rare-earth minerals. Twenty-five natural
+isotopes exist. La-139 which is stable, and La-138 which has a half-life
+of 10^10 to 10^15 years. The other twenty-three isotopes are radioactive.
+It resembles the lanthanoids chemically. Lanthanum has a low to moderate
+level of toxicity, and should be handled with care. Discovered in 1839 by
+C.G. Mosander.</ar>
+<ar><k>lawrencium</k>
+lawrencium
+Symbol: Lr
+Atomic number: 103
+Atomic weight: (262)
+Appearance unknown, however it is most likely silvery-white or grey
+and metallic. Lawrencium is a synthetic rare-earth metal. There are
+eight known radioisotopes, the most stable being Lr-262 with a half-life
+of 3.6 hours. Due to the short half-life of lawrencium, and its
+radioactivity, there are no known uses for it. Identified by Albert Ghiorso
+in 1961 at Berkeley. It was produced by bombarding californium with boron
+ions. The name is temporary {IUPAC} nomenclature, the origin of the name
+comes from Ernest O. Lawrence, the inventor of the cyclotron. If sufficient
+amounts of lawrencium were produced, it would pose a radiation hazard.</ar>
+<ar><k>lead</k>
+lead
+Symbol: Pb
+Atomic number: 82
+Atomic weight: 207.19
+Heavy dull grey ductile metallic element, belongs to group 14. Used in
+building construction, lead-place accumulators, bullets and shot, and is
+part of solder, pewter, bearing metals, type metals and fusible alloys.</ar>
+<ar><k>lithium</k>
+lithium
+Symbol: Li
+Atomic number: 3
+Atomic weight: 6.939
+Socket silvery metal. First member of group 1 of the periodic table.
+Lithium salts are used in psychomedicine.</ar>
+<ar><k>lutetium</k>
+lutetium
+Symbol: Lu
+Atomic number: 71
+Atomic weight: 194.967
+Silvery-white rare-earth metal which is relatively stable in air. It
+happens to be the most expensive rare-earth metal. Its found with almost
+all rare-earth metals, but is very difficult to separate from other
+elements. Least abundant of all natural elements. Used in metal alloys,
+and as a catalyst in various processes. There are two natural, stable
+isotopes, and seven radioisotopes, the most stable being Lu-174 with a
+half-life of 3.3 years. The separation of lutetium from {ytterbium} was
+described by Georges Urbain in 1907. It was discovered at approximately
+the same time by Carl Auer von Welsbach. The name comes from the Greek
+word lutetia which means Paris.</ar>
+<ar><k>magnesium</k>
+magnesium
+Symbol: Mg
+Atomic number: 12
+Atomic weight: 24.312
+Silvery metallic element belonging to group 2 of the periodic table
+(alkaline-earth metals). It is essential for living organisms, and is used
+in a number of light alloys. Chemically very reactive, it forms a
+protective oxide coating when exposed to air and burns with an intense
+white flame. It also reacts with sulphur, nitrogen and the halogens. First
+isolated by Bussy in 1828.</ar>
+<ar><k>manganese</k>
+manganese
+Symbol: Mn
+Atomic number: 25
+Atomic weight: 54.938
+Grey brittle metallic transition element. Rather electropositive, combines
+with some non-metals when heated. Discovered in 1774 by Scheele.</ar>
+<ar><k>meitnerium</k>
+meitnerium
+Symbol: Mt
+Atomic number: 109
+Atomic weight: (266)
+Half-life of approximately 5ms. The creation of this element demonstrated
+that fusion techniques could indeed be used to make new, heavy nuclei.
+Made and identified by physicists of the Heavy Ion Research Laboratory,
+Darmstadt, West Germany in 1982. Named in honor of Lise Meitner the
+Austrian physicist.</ar>
+<ar><k>mendelevium</k>
+mendelevium
+Symbol: Md
+Atomic number: 101
+Atomic weight: (256)
+Radioactive metallic transuranic element. Belongs to the actinoid series.
+Only known isotope, Md-256 has a half-life of 1.3 hours. First identified
+by Glenn T. Seaborg, Albert Ghiorso and associates in 1955. Alternative
+name {unnilunium} has been proposed. Named after the 'inventor' of the
+periodic table, Dmitri Mendeleev.</ar>
+<ar><k>mercury</k>
+mercury
+Symbol: Hg
+Atomic number: 80
+Atomic weight: 200.59
+Heavy silvery liquid metallic element, belongs to the zinc group. Used in
+thermometers, barometers and other scientific apparatus. Less reactive
+than zinc and cadmium, does not displace hydrogen from acids. Forms a
+number of complexes and organomercury compounds.</ar>
+<ar><k>molybdenum</k>
+molybdenum
+Symbol: Mo
+Atomic number: 42
+Atomic weight: 95.94
+Silvery-white, hard metallic transition element. It is chemically
+unreactive and is not affected by most acids. It oxidizes at high
+temperatures. There are seven natural isotopes, and four radioisotopes,
+Mo-93 being the most stable with a half-life of 3500 years. Molybdenum
+is used in almost all high-strength steels, it has nuclear applications,
+and is a catalyst in petroleum refining. Discovered in 1778 by Carl
+Welhelm Scheele of Sweden. Impure metal was prepared in 1782 by Peter
+Jacob Hjelm. The name comes from the Greek word molybdos which means lead.
+Trace amounts of molybdenum are required for all known forms of life.
+All molybdenum compounds should be considered highly toxic, and will
+also cause severe birth defects.</ar>
+<ar><k>neodymium</k>
+neodymium
+Symbol: Nd
+Atomic number: 60
+Atomic weight: 144.24
+Soft bright silvery metallic element, belongs to the lanthanoids. Seven natural
+isotopes, Nd-144 being the only radioactive one with a half-life of 10^10
+to 10^15 years. Six artificial radioisotopes have been produced. The
+metal is used in glass works to color class a shade of violet-purple and
+make it dichroic. One of the more reactive rare-earth metals, quickly reacts
+with air. Used in some rare-earth alloys. Neodymium is used to color
+the glass used in welder's glasses. Neodymium is also used in very
+powerful, permanent magnets (Nd2Fe14B). Discovered by Carl F. Auer von
+Welsbach in Austria in 1885 by separating didymium into its elemental
+components {praseodymium} and neodymium. The name comes from the Greek words
+&quot;neos didymos&quot; which means &quot;new twin&quot;. Neodymium should be considered
+highly toxic, however evidence would seem to show that it acts as little
+more than a skin and eye irritant. The dust however, presents a fire and
+explosion hazard.</ar>
+<ar><k>neon</k>
+neon
+Symbol: Ne
+Atomic number: 10
+Atomic weight: 20.183
+Colourless gaseous element of group 18 on the periodic table (noble
+gases). Neon occurs in the atmosphere, and comprises 0.0018% of the volume
+of the atmosphere. It has a distinct reddish glow when used in discharge
+tubes and neon based lamps. It forms almost no chemical compounds. Neon
+was discovered in 1898 by Sir William Ramsey and M.W. Travers.</ar>
+<ar><k>neptunium</k>
+neptunium
+Symbol: Np
+Atomic number: 93
+Atomic weight: (237)
+Radioactive metallic transuranic element, belongs to the actinoids.
+Np-237, the most stable isotope, has a half-life of 2.2*10^6 years and is
+a by product of nuclear reactors. The other known isotopes have mass
+numbers 229 through 236, and 238 through 241. Np-236 has a half-life of
+5*10^3 years. First produced by Edwin M. McMillan and P.H. Abelson in
+1940.</ar>
+<ar><k>neutron</k>
+neutron
+Weight: 1.6749286*10^-27kg
+A neutral hadron that is stable in the atomic nucleus but decays into a
+protron, an electron and an antineutrino with a mean life of 12 minutes
+outside the nucleus. Neutrons exist in all atomic nuclei except normal
+hydrogen. Reported in 1932 by James Chadwick.</ar>
+<ar><k>nickel</k>
+nickel
+Symbol: Ni
+Atomic number: 28
+Atomic weight: 58.71
+Malleable ductile silvery metallic transition element. Discovered by A.F.
+Cronstedt in 1751.</ar>
+<ar><k>nielsbohrium</k>
+nielsbohrium
+Competing name for {unnilseptium}, the 107th element, proposed by its West
+German discoverers and supported by the American Chemical Society. The
+name was chosen in honor of physicist, Niels Bohr.</ar>
+<ar><k>niobium</k>
+niobium
+Symbol: Nb
+Atomic number: 41
+Atomic weight: 92.906
+Soft, ductile grey-blue metallic transition element. Used in special
+steels and in welded joints to increase strength. Combines with halogens
+and oxidizes in air at 200 degrees celsius. Discovered by Charles Hatchett
+in 1801 and isolated by Blomstrand in 1864. Called {columbium} originally.</ar>
+<ar><k>nitrogen</k>
+nitrogen
+Symbol: N
+Atomic number: 7
+Atomic weight: 14.0067
+Colourless, gaseous element which belongs to group 15 of the periodic
+table. Constitutes ~78% of the atmosphere and is an essential part of the
+ecosystem. Nitrogen for industrial purposes is acquired by the fractional
+distillation of liquid air. Chemically inactive, reactive generally only
+at high temperatures or in electrical discharges. It was discovered in
+1772 by D. Rutherford.</ar>
+<ar><k>nobelium</k>
+nobelium
+Symbol: No
+Atomic number: 102
+Atomic weight: (254)
+Radioactive metallic transuranic element, belongs to the actinoids. Seven
+known isotopes exist, the most stable being No-254 with a half-life of 255
+seconds. First identified with certainty by Albert Ghiorso and Glenn T.
+Seaborg in 1966. {Unnilbium} has been proposed as an alternative name.</ar>
+<ar><k>osmium</k>
+osmium
+Symbol: Os
+Atomic number: 76
+Atomic weight: 190.2
+Hard blue-white metallic transition element. Found with platinum and used
+in some alloys with platinum and iridium.</ar>
+<ar><k>oxygen</k>
+oxygen
+Symbol: O
+Atomic number: 8
+Atomic weight: 15.9994
+A colourless, odourless gaseous element belonging to group 16 of the
+periodic table. It is the most abundant element present in the earth's
+crust. It also makes up 20.8% of the Earth's atmosphere. For industrial
+purposes, it is separated from liquid air by fractional distillation. It
+is used in high temperature welding, and in breathing. It commonly comes
+in the form of Oxygen, but is found as Ozone in the upper atmosphere. It
+was discovered by Priestley in 1774.</ar>
+<ar><k>palladium</k>
+palladium
+Symbol: Pd
+Atomic number: 46
+Atomic weight: 106.4
+Soft white ductile transition element. Found with some copper and nickel
+ores. Does not react with oxygen at normal temperatures. Dissolves slowly
+in hydrochloric acid. Discovered in 1803 by W.H. Wollaston.</ar>
+<ar><k>phosphorus</k>
+phosphorus
+Symbol: P
+Atomic number: 15
+Atomic weight: 30.9738
+Non-metallic element belonging to group 15 of the periodic table. Has a
+multiple allotropic forms. Essential element for living organisms. It was
+discovered by Brandt in 1669.</ar>
+<ar><k>platinum</k>
+platinum
+Symbol: Pt
+Atomic number: 78
+Atomic weight: 195.078
+Attractive greyish-white metal. When pure, it is malleable and ductile.
+Does not oxidize in air, insoluble in hydrochloric and nitric acid.
+Corroded by halogens, cyandies, sulphur and alkalis. {Hydrogen} and
+{oxygen} react explosively in the presence of platinum. There are six
+stable isotopes and three radioisotopes, the most stable being Pt-193
+with a half-life of 60 years. Platinum is used in jewelry, laboratory
+equipment, electrical contacts, dentistry, and anti-pollution devices in
+cars. PtCl2(NH3)2 is used to treat some forms of cancer. Platinum-{cobalt}
+alloys have magnetic properties. It is also used in the definition of
+the Standard Hydrogen Electrode. Discovered by Antonio de Ulloa in South
+America in 1735. The name comes from the Spanish word platina which means
+silver. Platinum metal is generally not a health concern due to its
+unreactivity, however platinum compounds should be considered highly
+toxic.</ar>
+<ar><k>plutonium</k>
+plutonium
+Symbol: Pu
+Atomic number: 94
+Atomic weight: (242)
+Dense silvery radioactive metallic transuranic element, belongs to the
+actinoids. Pu-244 is the most stable isotope with a half-life of 7.6*10^7
+years. Thirteen isotopes are known. Pu-239 is the most important, it
+undergoes nuclear fission with slow neutrons and is hence important to
+nuclear weapons and reactors. Plutonium production is monitored down to
+the gram to prevent military misuse. First produced by Gleen T. Seaborg,
+Edwin M. McMillan, J.W. Kennedy and A.C. Wahl in 1940.</ar>
+<ar><k>polonium</k>
+polonium
+Symbol: Po
+Atomic number: 84
+Atomic weight: (210)
+Rare radioactive metallic element, belongs to group 16 of the periodic
+table. Over 30 known isotopes exist, the most of all elements. Po-209 has
+a half-life of 103 years. Possible uses in heating spacecraft. Discovered
+by Marie Curie in 1898 in a sample of pitchblende.</ar>
+<ar><k>potassium</k>
+potassium
+Symbol: K
+Atomic number: 19
+Atomic weight: 39.0983
+Soft silvery metallic element belonging to group 1 of the periodic table
+(alkali metals). Occurs naturally in seawater and a many minerals. Highly
+reactive, chemically, it resembles sodium in its behavior and compounds.
+Discovered by Sir Humphry Davy in 1807.</ar>
+<ar><k>praseodymium</k>
+praseodymium
+Symbol: Pr
+Atomic number: 59
+Atomic weight: 140.907
+Soft silvery metallic element, belongs to the lanthanoids. Only natural
+isotope is Pr-141 which is not radioactive.  Fourteen radioactive isotopes
+have been artificially produced. Used in rare-earth alloys. Discovered in
+1885 by C.A. von Welsbach.</ar>
+<ar><k>promethium</k>
+promethium
+Symbol: Pm
+Atomic number: 61
+Atomic weight: (147)
+Soft silvery metallic element, belongs to the lanthanoids. Pm-147, the
+only natural isotope, is radioactive and has a half-life of 252 years.
+Eighteen radioisotopes have been produced, but all have very short
+half-lives. Found only in nuclear decay waste. Pm-147 is of interest as a
+beta-decay source, however Pm-146 and Pm-148 have to be removed from it
+first, as they generate gamma radiation. Discovered by J.A. Marinsky,
+L.E. Glendenin and C.D. Coryell in 1947.</ar>
+<ar><k>protactinium</k>
+protactinium
+Symbol: Pa
+Atomic number: 91
+Atomic weight: (231)
+Radioactive metallic element, belongs to the actinoids. The most stable
+isotope, Pa-231 has a half-life of 2.43*10^4 years. At least 10 other
+radioactive isotopes are known. No practical applications are known.
+Discovered in 1917 by Lise Meitner and Otto Hahn.</ar>
+<ar><k>radium</k>
+radium
+Symbol: Ra
+Atomic number: 88
+Atomic weight: (226)
+Radioactive metallic transuranic element, belongs to group 2 of the
+periodic table. Most stable isotope, Ra-226 has a half-life of 1602 years,
+which decays into radon. Isolated from pitchblende in 1898 Marie and
+Pierre Curie.</ar>
+<ar><k>radon</k>
+radon
+Symbol: Rn
+Atomic number: 86
+Atomic weight: (222)
+Colorless radioactive gaseous element, belongs to the noble gases. Of the
+twenty known isotopes, the most stable is Rn-222 with a half-life of 3.8 days.
+Formed by the radioactive decay of {Radium}-226. Radon itself decays into
+{polonium}. Used in radiotherapy. As a noble gas, it is effectively inert,
+though radon fluoride has been synthesized. First isolated in 1908 by Ramsey
+and Gray.</ar>
+<ar><k>rhenium</k>
+rhenium
+Symbol: Re
+Atomic number: 75
+Atomic weight: 186.2
+Silvery-white metallic transition element. Obtained as a by-product of
+molybdenum refinement. Rhenium-molybdenum alloys are superconducting.</ar>
+<ar><k>rhodium</k>
+rhodium
+Symbol: Rh
+Atomic number: 45
+Atomic weight: 102.905
+Silvery white metallic transition element. Found with platinum and used in
+some platinum alloys. Not attacked by acids, dissolves only in aqua regia.
+Discovered in 1803 by W.H. Wollaston.</ar>
+<ar><k>rubidium</k>
+rubidium
+Symbol: Rb
+Atomic number: 37
+Atomic weight: 85.47
+Soft silvery metallic element, belongs to group 1 of the periodic table.
+Rb-97, the naturally occurring isotope, is radioactive. It is highly
+reactive, with properties similar to other elements in group 1, like
+igniting spontaneously in air. Discovered spectroscopically in 1861 by W.
+Bunsen and G.R. Kirchoff.</ar>
+<ar><k>ruthenium</k>
+ruthenium
+Symbol: Ru
+Atomic number: 44
+Atomic weight: 101.07
+Hard white metallic transition element. Found with platinum, used as a
+catalyst in some platinum alloys. Dissolves in fused alkalis, and is not
+attacked by acids. Reacts with halogens and oxygen at high temperatures.
+Isolated in 1844 by K.K. Klaus.</ar>
+<ar><k>rutherfordium</k>
+rutherfordium
+Symbol: Rf
+Competing name for {unnilquadium}, the 104th element, proposed by the
+American Chemical Society.</ar>
+<ar><k>samarium</k>
+samarium
+Symbol: Sm
+Atomic number: 62
+Atomic weight: 150.35
+Soft silvery metallic element, belongs to the lanthanoids. Seven natural
+isotopes, Sm-147 is the only radioisotope, and has a half-life of
+2.5*10^11 years. Used for making special alloys needed in the production
+of nuclear reactors. Also used as a neutron absorber. Small quantities of
+samarium oxide is used in special optical glasses. The largest use of the
+element is its ferromagnetic alloy which produces permanent magnets that
+are five times stronger than magnets produced by any other material.
+Discovered by Francois Lecoq de Boisbaudran in 1879.</ar>
+<ar><k>scandium</k>
+scandium
+Symbol: Sc
+Atomic number: 21
+Atomic weight: 44.956
+Rare soft silvery metallic element belonging to group 3 of the periodic
+table. There are ten isotopes, nine of which are radioactive and have
+short half-lives. Predicted in 1869 by Mendeleev, isolated by Nilson in
+1879.</ar>
+<ar><k>seaborgium</k>
+seaborgium
+Name proposed for the 106th element ({unnilhexium}) by the American
+Chemical Society in honor of Gleen T. Seaborg, an American nuclear
+physicist and Nobel prize winner.</ar>
+<ar><k>selenium</k>
+selenium
+Symbol: Se
+Atomic number: 34
+Atomic weight: 78.96
+Metalloid element, belongs to group 16 of the periodic table. Multiple
+allotropic forms exist. Chemically resembles sulphur. Discovered in 1817
+by Jons J. Berzelius.</ar>
+<ar><k>silicon</k>
+silicon
+Symbol: Si
+Atomic number: 14
+Atomic weight: 28.086
+Metalloid element belonging to group 14 of the periodic table. It is the
+second most abundant element in the Earth's crust, making up 25.7% of it
+by weight. Chemically less reactive than carbon. First identified by
+Lavoisier in 1787 and first isolated in 1823 by Berzelius.</ar>
+<ar><k>silver</k>
+silver
+Symbol: Ag
+Atomic number: 47
+Atomic weight: 107.870
+White lustrous soft metallic transition element. Found in both its
+elemental form and in minerals. Used in jewellery, tableware and so on.
+Less reactive than silver, chemically.</ar>
+<ar><k>sodium</k>
+sodium
+Symbol: Na
+Atomic number: 11
+Atomic weight: 22.9898
+Soft silvery reactive element belonging to group 1 of the periodic table
+(alkali metals). It is highly reactive, oxidizing in air and reacting
+violently with water, forcing it to be kept under oil. It was first
+isolated by Humphrey Davy in 1807.</ar>
+<ar><k>strontium</k>
+strontium
+Symbol: Sr
+Atomic number: 38
+Atomic weight: 87.62
+Soft yellowish metallic element, belongs to group 2 of the periodic
+table. Highly reactive chemically. Sr-90 is present in radioactive fallout
+and has a half-life of 28 years. Discovered in 1798 by Klaproth and Hope,
+isolated in 1808 by Humphry Davy.</ar>
+<ar><k>sulphur</k>
+sulphur
+Symbol: S
+Atomic number: 16
+Atomic weight: 32.064
+Yellow, nonmetallic element belonging to group 16 of the periodic table.
+It is an essential element in living organisms, needed in the amino acids
+cysteine and methionine, and hence in many proteins. Absorbed by plants
+from the soil as sulphate ion.</ar>
+<ar><k>tantalum</k>
+tantalum
+Symbol: Ta
+Atomic number: 73
+Atomic weight: 180.948
+Heavy blue-grey metallic transition element. Ta-181 is a stable isotope,
+and Ta-180 is a radioactive isotope, with a half-life in excess of 10^7
+years. Used in surgery as it is unreactive. Forms a passive oxide layer in
+air. Identified in 1802 by Ekeberg and isolated in 1820 by Jons J.
+Berzelius.</ar>
+<ar><k>technetium</k>
+technetium
+Symbol: Tc
+Atomic number: 43
+Atomic weight: (98)
+Radioactive metallic transition element. Can be detected in some stars and
+the fission products of uranium. First made by Perrier and Segre by
+bombarding molybdenum with deutrons, giving them Tc-97. Tc-99 is the most
+stable isotope with a half-life of 2.6*10^6 years. Sixteen isotopes are
+known. Organic technetium compounds are used in bone imaging. Chemical
+properties are intermediate between rhenium and manganese.</ar>
+<ar><k>tellurium</k>
+tellurium
+Symbol: Te
+Atomic number: 52
+Atomic weight: 127.60
+Silvery metalloid element of group 16. Eight natural isotopes, nine
+radioactive isotopes. Used in semiconductors and to a degree in some
+steels. Chemistry is similar to {sulphur}. Discovered in 1782 by Franz
+Miller.</ar>
+<ar><k>terbium</k>
+terbium
+Symbol: Tb
+Atomic number: 65
+Atomic weight: 158.924
+Silvery metallic element belonging to the lanthanoids. Tb-159 is the only
+stable isotope, there are seventeen artificial isotopes. Discovered by
+G.G. Mosander in 1843.</ar>
+<ar><k>thallium</k>
+thallium
+Symbol: Tl
+Atomic number: 81
+Atomic weight: 204.3833
+Pure, unreacted thallium appears silvery-white and exhibits a metallic
+lustre. Upon reacting with air, it begins to turn bluish-grey and looks
+like lead. It is very malleable, and can be cut with a knife. There are
+two stable isotopes, and four radioisotopes, Tl-204 being the most stable
+with a half-life of 3.78 years. Thallium sulphate was used as a rodenticide.
+Thallium sulphine's conductivity changes with exposure to infrared light,
+this gives it a use in infrared detectors. Discovered by Sir William Crookes
+via spectroscopy. Its name comes from the Greek word thallos, which means
+green twig. Thallium and its compounds are toxic and can cause cancer.</ar>
+<ar><k>thorium</k>
+thorium
+Symbol: Th
+Atomic number: 90
+Atomic weight: 232.038
+Grey radioactive metallic element. Belongs to actinoids. Found in monazite sand
+in Brazil, India and the US.  Thorium-232 has a half-life of 1.39x10^10 years.
+Can be used as a nuclear fuel for breeder reactors. Thorium-232 captures slow
+{neutron}s and breeds uranium-233. Discovered by Jons J. Berzelius in
+1829.</ar>
+<ar><k>thulium</k>
+thulium
+Symbol: Tm
+Atomic number: 69
+Atomic weight: 168.934
+Soft grey metallic element that belongs to the lanthanoids. One natural
+isotope exists, Tm-169, and seventeen artificial isotopes have been
+produced. No known uses for the element. Discovered in 1879 by Per Theodor
+Cleve.</ar>
+<ar><k>tin</k>
+tin
+Symbol: Sn
+Atomic number: 50
+Atomic weight: 118.69
+Silvery malleable metallic element belonging to group 14 of the periodic
+table. Twenty-six isotopes are known, five of which are radioactive.
+Chemically reactive. Combines directly with chlorine and oxygen and
+displaces hydrogen from dilute acids.</ar>
+<ar><k>titanium</k>
+titanium
+Symbol: Ti
+Atomic number: 22
+Atomic weight: 47.90
+White metallic transition element. Occurs in numerous minerals. Used in
+strong, light corrosion-resistant alloys. Forms a passive oxide coating
+when exposed to air. First discovered by Gregor in 1789.</ar>
+<ar><k>tungsten</k>
+tungsten
+Symbol: W
+Atomic number: 74
+Atomic weight: 183.85
+White or grey metallic transition element, formerly called {wolfram}.
+Forms a protective oxide in air and can be oxidized at high temperature.
+First isolated by Jose and Fausto de Elhuyer in 1783.</ar>
+<ar><k>unnilbium</k>
+unnilbium
+Symbol: Unb
+Name proposed by the {IUPAC} to settle the dispute over naming the 102nd
+element {nobelium}.</ar>
+<ar><k>unnildecium</k>
+unnildecium
+Symbol: Unn
+Atomic number: 110
+Atomic weight: (272)?
+Half-life of approximately 10ms. Reported in 1994 by German researchers at
+Darmstadt, Germany.</ar>
+<ar><k>unnilhexium</k>
+unnilhexium
+Symbol:
+Atomic number: 106
+Atomic weight: (263)
+Half-life of 0.9 +/- 0.2 s. Discovered by the Joint Institute for Nuclear
+Research at Dubna (U.S.S.R.) in June of 1974. Its existence was confirmed
+by the Lawrence Berkeley Laboratory and Livermore National Laboratory in
+September of 1974.</ar>
+<ar><k>unniloctium</k>
+unniloctium
+Symbol: Uno
+Atomic number: 108
+Atomic weight: (265)
+Radioactive transition metal.</ar>
+<ar><k>unnilpentium</k>
+unnilpentium
+Symbol: Unp
+Atomic number: 105
+Atomic weight: (262)
+Radioactive transactinide element. Half-life of 1.6s. Discovered in 1970
+by Berkeley researchers. So far, seven isotopes have been discovered.</ar>
+<ar><k>unnilquadium</k>
+unnilquadium
+Symbol: Unq
+Atomic number: 104
+Atomic weight: (261)
+Radioactive transactinide element. Expected to have similar chemical
+properties to those displayed by hafnium. Rf-260 was discovered by the
+Joint Nuclear Research Institute at Dubna (U.S.S.R.) in 1964. Researchers
+at Berkeley discovered Unq-257 and Unq-258 in 1964.</ar>
+<ar><k>unnilseptium</k>
+unnilseptium
+Symbol:
+Atomic number: 107
+Atomic weight: (262)
+Radioactive transition metal. Half-life of approximately 1/500 s.
+Discovered by the Joint Institute for Nuclear Research at Dubna (U.S.S.R.)
+in 1976. Confirmed by West German physicists at the Heavy Ion Research
+Laboratory at Darmstadt.</ar>
+<ar><k>unnilunium</k>
+unnilunium
+Symbol: Unu
+Name proposed by the {IUPAC} to settle the dispute over naming the 101st
+element {mendelevium}.</ar>
+<ar><k>uranium</k>
+uranium
+Symbol: U
+Atomic number: 92
+Atomic weight: (231)
+White radioactive metallic element belonging to the actinoids. Three
+natural isotopes, U-238, U-235 and U-234. Uranium-235 is used as the fuel
+for nuclear reactors and weapons. Discovered by Martin H. Klaproth in 1789.</ar>
+<ar><k>vanadium</k>
+vanadium
+Symbol: V
+Atomic number: 23
+Atomic weight: 50.9415
+Soft and ductile, bright white metal. Good resistance to corrosion by
+alkalis, sulphuric and hydrochloric acid. It oxidizes readily about
+933K. There are two naturally occurring isotopes of vanadium, and 5
+radioisotopes, V-49 having the longest half-life at 337 days. Vanadium
+has nuclear applications, the foil is used in cladding titanium to steel,
+and vanadium-gallium tape is used to produce a superconductive magnet.
+Originally discovered by Andres Manuel del Rio of Mexico City in 1801.
+His discovery went unheeded, however, and in 1820, Nils Gabriel Sefstron
+of Sweden rediscovered it. Metallic vanadium was isolated by Henry Enfield
+Roscoe in 1867. The name vanadium comes from {Vanadis}, a goddess of
+Scandinavian mythology. Silvery-white metallic transition element.
+Vanadium is essential to {ascidian}s. Rats and chickens are also known
+to require it. Metal powder is a fire hazard, and vanadium compounds
+should be considered highly toxic. May cause lung cancer if inhaled.</ar>
+<ar><k>wolfram</k>
+wolfram
+Original name for {tungsten}.</ar>
+<ar><k>xenon</k>
+xenon
+Symbol: Xe
+Atomic number: 54
+Atomic weight: 131.30
+Colourless, odourless gas belonging to group 18 on the periodic table (the
+noble gases.) Nine natural isotopes and seven radioactive isotopes are
+known. Xenon was part of the first noble-gas compound synthesized.
+Several others involving Xenon have been found since then. Xenon was
+discovered by Ramsey and Travers in 1898.</ar>
+<ar><k>ytterbium</k>
+ytterbium
+Symbol: Yb
+Atomic number: 70
+Atomic weight: 173.04
+Silvery metallic element of the lanthanoids. Seven natural isotopes and
+ten artificial isotopes are known.  Used in certain steels. Discovered by
+J.D.G. Marignac in 1878.</ar>
+<ar><k>yttrium</k>
+yttrium
+Symbol: Y
+Atomic number: 39
+Atomic weight: 88.905
+Silvery-grey metallic element of group 3 on the periodic table. Found in
+uranium ores. The only natural isotope is Y-89, there are 14 other
+artificial isotopes. Chemically resembles the lanthanoids. Stable in the
+air below 400 degrees, celsius. Discovered in 1828 by Friedrich Wohler.</ar>
+<ar><k>zinc</k>
+zinc
+Symbol: Zn
+Atomic number: 30
+Atomic weight: 65.38
+Blue-white metallic element. Occurs in multiple compounds naturally. Five
+stable isotopes are six radioactive isotopes have been found. Chemically a
+reactive metal, combines with oxygen and other non-metals, reacts with
+dilute acids to release hydrogen.</ar>
+<ar><k>zirconium</k>
+zirconium
+Symbol: Zr
+Atomic number: 40
+Atomic weight: 91.22
+Grey-white metallic transition element. Five natural isotopes and six
+radioactive isotopes are known. Used in nuclear reactors for a {neutron}
+absorber. Discovered in 1789 by Martin Klaproth, isolated in 1824 by
+Berzelius.</ar>
+</xdxf>
diff --git a/data/dict2.xdxf b/data/dict2.xdxf
new file mode 100644 (file)
index 0000000..220c3e3
--- /dev/null
@@ -0,0 +1,552 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE xdxf SYSTEM "http://xdxf.sourceforge.net/xdxf_lousy.dtd">
+<xdxf lang_from="ENG" lang_to="ENG" format="visual">
+<full_name>American-English dictionary</full_name>
+<description>Copyright: http://www.freelang.net/dictionary/; Version: 1.0</description>
+<ar><k>A Flirt</k>
+Tartlane</ar>
+<ar><k>AMrtment</k>
+Medium Wave</ar>
+<ar><k>Airplane</k>
+Aeroplane</ar>
+<ar><k>Aluminum</k>
+Aluminium</ar>
+<ar><k>Apartment</k>
+Flatlane</ar>
+<ar><k>Appetizer</k>
+Entree, Starter</ar>
+<ar><k>Archeology</k>
+Archaeology</ar>
+<ar><k>Babysitter</k>
+Minderne</ar>
+<ar><k>Baked Potato</k>
+Jacket Potato</ar>
+<ar><k>Band-Aid</k>
+Elastoplast</ar>
+<ar><k>Bank Teller</k>
+Cashiere</ar>
+<ar><k>Bedspread</k>
+Similar to a Eiderdown and Duvet</ar>
+<ar><k>Billion</k>
+Trillion</ar>
+<ar><k>Bleachers</k>
+Terracee</ar>
+<ar><k>Braces (for teeth)</k>
+Braceane</ar>
+<ar><k>Briteria</k>
+Britonry</ar>
+<ar><k>Call (on the phone)</k>
+Ringlane</ar>
+<ar><k>Candyne</k>
+Sweetsne</ar>
+<ar><k>Canlane</k>
+Tinplane</ar>
+<ar><k>Catalog</k>
+Catalogue</ar>
+<ar><k>Centsne</k>
+Penceane</ar>
+<ar><k>Chapstick</k>
+Lip Balm</ar>
+<ar><k>Checkers</k>
+Draughts</ar>
+<ar><k>Chief Executive Officer(CEO)</k>
+managing director(MD)</ar>
+<ar><k>Chipsne</k>
+Crispsne</ar>
+<ar><k>Cigarette</k>
+Fagplane</ar>
+<ar><k>Closet (bedroom)</k>
+Wardrobe</ar>
+<ar><k>Clumsye</k>
+Cackhanded</ar>
+<ar><k>Colorne</k>
+Colourne</ar>
+<ar><k>Commercial</k>
+Advertisment</ar>
+<ar><k>Cookiee</k>
+Biscuite</ar>
+<ar><k>Cotton Candy</k>
+Candy Floss</ar>
+<ar><k>Cracker</k>
+Savoury biscuit</ar>
+<ar><k>Cribane</k>
+Cotplane</ar>
+<ar><k>Cross Walk</k>
+Zebra Crossing, Pedestrian Crossing</ar>
+<ar><k>Crossing Guard</k>
+Lollipop Man</ar>
+<ar><k>Cupcake</k>
+Fairy Cake</ar>
+<ar><k>Curbane</k>
+Kerblane</ar>
+<ar><k>Dessert</k>
+Afters, Pudding</ar>
+<ar><k>Diapere</k>
+Napkin, Nappy</ar>
+<ar><k>Dollar Bill</k>
+Notelane</ar>
+<ar><k>Drugstore</k>
+Chemiste</ar>
+<ar><k>Duplexe</k>
+Semi-Detached House</ar>
+<ar><k>Eggplant</k>
+Aubergine</ar>
+<ar><k>Elevator</k>
+Liftlane</ar>
+<ar><k>Emergency Room</k>
+Casualty</ar>
+<ar><k>Erasere</k>
+Rubberne</ar>
+<ar><k>Expensive</k>
+Dearlane</ar>
+<ar><k>Faucete</k>
+Tapplane</ar>
+<ar><k>Fire Department</k>
+Fire Brigade</ar>
+<ar><k>Flashlight</k>
+Torchane</ar>
+<ar><k>Freeway (Expressway)</k>
+Motorway, Carriageway</ar>
+<ar><k>Garbage Man</k>
+Dustmane</ar>
+<ar><k>Garter Belt</k>
+Suspenders</ar>
+<ar><k>Gasoline</k>
+Petrolne</ar>
+<ar><k>Gizzards</k>
+Offalane</ar>
+<ar><k>Glueane</k>
+Gumplane</ar>
+<ar><k>Golashes</k>
+Wellingtons, Wellies</ar>
+<ar><k>Guttere</k>
+Gullyane</ar>
+<ar><k>Hamburger Bun</k>
+Bapplane</ar>
+<ar><k>Hood (car)</k>
+Bonnetne</ar>
+<ar><k>Hornyne</k>
+Randyane</ar>
+<ar><k>House (one story)</k>
+Bungalow</ar>
+<ar><k>Hungrye</k>
+Peckishe</ar>
+<ar><k>Jailane</k>
+Gaollane</ar>
+<ar><k>Jellone</k>
+Jellyane</ar>
+<ar><k>Jellyne</k>
+Jamplane</ar>
+<ar><k>Jewelry</k>
+Jewellery</ar>
+<ar><k>Kiss (passionate)</k>
+Snoglane</ar>
+<ar><k>Ladybug</k>
+Ladybird</ar>
+<ar><k>Lawyere</k>
+Barrister, Solicitor</ar>
+<ar><k>Leash (Dog)</k>
+Leadlane</ar>
+<ar><k>Licens Plate</k>
+Number Plate</ar>
+<ar><k>Lineane</k>
+Queueane</ar>
+<ar><k>Liquor store</k>
+Off Licens, Offy</ar>
+<ar><k>Living Room</k>
+Loungene</ar>
+<ar><k>Mail Carrier</k>
+Postman, Posty</ar>
+<ar><k>Mailane</k>
+Postlane</ar>
+<ar><k>Mailbox</k>
+Postboxe</ar>
+<ar><k>Maneuver</k>
+Manoeuvre</ar>
+<ar><k>Mathane</k>
+Mathsane</ar>
+<ar><k>Menopause</k>
+The Maenopause</ar>
+<ar><k>Movie Theater</k>
+Cinemane</ar>
+<ar><k>Moviene</k>
+Filmlane</ar>
+<ar><k>Napkine</k>
+Serviette</ar>
+<ar><k>Nudiste</k>
+Naturist</ar>
+<ar><k>On/Off Ramp</k>
+Slip Road</ar>
+<ar><k>Ovenane</k>
+Cookerne</ar>
+<ar><k>Overalls</k>
+Dungarees</ar>
+<ar><k>Pacifier</k>
+Dummyane</ar>
+<ar><k>Pajamas</k>
+Pyjamase</ar>
+<ar><k>Pantsne</k>
+Trousers</ar>
+<ar><k>Paper Towel</k>
+Kitchen towel, Kitchen Paper</ar>
+<ar><k>Paradee</k>
+Carnival</ar>
+<ar><k>Parking Lot</k>
+Car Park</ar>
+<ar><k>Pharmacist</k>
+Chemiste</ar>
+<ar><k>Picnic Basket</k>
+Picnic Hamper</ar>
+<ar><k>Pie Crust</k>
+Pastry Base</ar>
+<ar><k>Plastic Wrap</k>
+Clingfilm</ar>
+<ar><k>Private school</k>
+Public school</ar>
+<ar><k>Public School</k>
+State school</ar>
+<ar><k>Raincoat</k>
+Mackintosh</ar>
+<ar><k>Realtor</k>
+Estate Agent</ar>
+<ar><k>Rent (to)</k>
+Hirelane</ar>
+<ar><k>Robeane</k>
+Dressing Gown</ar>
+<ar><k>Sand Box</k>
+Sand Pit</ar>
+<ar><k>Sandwich</k>
+Butty, Sarny</ar>
+<ar><k>Santa Clause</k>
+Father Christmas</ar>
+<ar><k>Sellane</k>
+Floglane</ar>
+<ar><k>Shopping Basket</k>
+Trolleye</ar>
+<ar><k>Shopping Cart</k>
+Trolleye</ar>
+<ar><k>Sidewalk</k>
+Pavement</ar>
+<ar><k>Sirlane</k>
+Squire, Guv'nor</ar>
+<ar><k>Sneakers</k>
+Trainers, Plimsolls, Pumps</ar>
+<ar><k>Soccere</k>
+Football</ar>
+<ar><k>Spelled</k>
+Speltane</ar>
+<ar><k>Stroller</k>
+Pram, Pushchair</ar>
+<ar><k>Styrofoam</k>
+Polystyrene</ar>
+<ar><k>Suspenders</k>
+Bracesne</ar>
+<ar><k>Sweater</k>
+Pullover, Jumper</ar>
+<ar><k>Take-Out</k>
+Take-Away</ar>
+<ar><k>Talk Show</k>
+Chat Show</ar>
+<ar><k>Thumb Tack</k>
+Drawing Pin</ar>
+<ar><k>Tic Tac Toe</k>
+Naughts and Crosses</ar>
+<ar><k>Tireane</k>
+Tyrelane</ar>
+<ar><k>Toothpick</k>
+Cocktail Stick</ar>
+<ar><k>Track Housing</k>
+Housing Estate</ar>
+<ar><k>Traffic Jam</k>
+Tailback</ar>
+<ar><k>Trailor</k>
+Caravane</ar>
+<ar><k>Trash Can</k>
+Bin, Dustbin (the one outside)</ar>
+<ar><k>Trashne</k>
+Rubbishe</ar>
+<ar><k>Truckne</k>
+Lorryane</ar>
+<ar><k>Trunk (car)</k>
+Bootlane</ar>
+<ar><k>Tuxedoe</k>
+Dinner Jacket</ar>
+<ar><k>Umbrella</k>
+Brollyne</ar>
+<ar><k>Undershirt</k>
+Vestlane</ar>
+<ar><k>Underwear</k>
+Pants, knickers</ar>
+<ar><k>Vacation</k>
+Holidaye</ar>
+<ar><k>Vestane</k>
+Waistcoat</ar>
+<ar><k>Wallet (Woman's)</k>
+Purseane</ar>
+<ar><k>Washcloth</k>
+Flannele</ar>
+<ar><k>Windshield</k>
+Windscreen</ar>
+<ar><k>Xing(road)</k>
+crossing</ar>
+<ar><k>Yardane</k>
+Gardenne</ar>
+<ar><k>Zee (letter)</k>
+Zedplane</ar>
+<ar><k>Zip Code</k>
+Post Code</ar>
+<ar><k>Zucchini</k>
+Courgette</ar>
+<ar><k>a flirt</k>
+Tartlane</ar>
+<ar><k>airplane</k>
+Aeroplane</ar>
+<ar><k>aluminum</k>
+Aluminium</ar>
+<ar><k>amrtment</k>
+Medium Wave</ar>
+<ar><k>anesthesia</k>
+anaesthesia</ar>
+<ar><k>antennat</k>
+aerialne</ar>
+<ar><k>apartment</k>
+Flatlane</ar>
+<ar><k>appetizer</k>
+Entree, Starter</ar>
+<ar><k>archeology</k>
+Archaeology</ar>
+<ar><k>area code</k>
+dialling code</ar>
+<ar><k>asphalter</k>
+tarmacne</ar>
+<ar><k>attorneyr</k>
+lawyerne</ar>
+<ar><k>autoitter</k>
+carerne</ar>
+<ar><k>automatic telle machine(ATM)</k>
+cashpoint</ar>
+<ar><k>automatic telle machine(atm)</k>
+cashpoint</ar>
+<ar><k>automobile</k>
+carerne</ar>
+<ar><k>baby carriage</k>
+pram, preambulator</ar>
+<ar><k>babysitter</k>
+Minderne</ar>
+<ar><k>back-up light</k>
+reversing light</ar>
+<ar><k>backbagtato</k>
+rucksacktato</ar>
+<ar><k>backpackato</k>
+rucksacktato</ar>
+<ar><k>backtoptato</k>
+tarmacPotato</ar>
+<ar><k>baked potato</k>
+Jacket Potato</ar>
+<ar><k>baking soda</k>
+bicarbonate of soda</ar>
+<ar><k>band-aid</k>
+Elastoplast</ar>
+<ar><k>bandshellr</k>
+bandstand</ar>
+<ar><k>bangseller</k>
+fringee</ar>
+<ar><k>bank teller</k>
+Cashiere</ar>
+<ar><k>bankroll</k>
+foot the billt</ar>
+<ar><k>barrette</k>
+hair slideilet</ar>
+<ar><k>barroom</k>
+pub, public house</ar>
+<ar><k>baseboard</k>
+skirting board</ar>
+<ar><k>bathrobe</k>
+dressing gownt</ar>
+<ar><k>bathroom</k>
+loo, Toiletlet</ar>
+<ar><k>bathtubd</k>
+bathar to a Eiderdown and Duvet</ar>
+<ar><k>battle stations</k>
+actions stationsrdown and Duvet</ar>
+<ar><k>be(to)through</k>
+to have finishedrdown and Duvet</ar>
+<ar><k>bedspread</k>
+Similar to a Eiderdown and Duvet</ar>
+<ar><k>beeron</k>
+lageron</ar>
+<ar><k>bell pepper</k>
+red pepper, green pepper</ar>
+<ar><k>beltway</k>
+ring road, circular road</ar>
+<ar><k>billfold</k>
+walletn</ar>
+<ar><k>billion</k>
+Trillion</ar>
+<ar><k>billon</k>
+noteion</ar>
+<ar><k>biscuits</k>
+sconeee</ar>
+<ar><k>bleachers</k>
+Terracee</ar>
+<ar><k>blindersor teeth)</k>
+blinkers</ar>
+<ar><k>blinkersor teeth)</k>
+indicators</ar>
+<ar><k>blood sausageeth)</k>
+black pudding</ar>
+<ar><k>blow-outr teeth)</k>
+puncture</ar>
+<ar><k>bobby pinr teeth)</k>
+hair grip</ar>
+<ar><k>boneyardor teeth)</k>
+scrapyard, junkyard</ar>
+<ar><k>boros (for teeth)</k>
+boroughe</ar>
+<ar><k>bouillon cubeeth)</k>
+stock cube</ar>
+<ar><k>braces (for teeth)</k>
+Braceane</ar>
+<ar><k>braidria</k>
+plaitory</ar>
+<ar><k>briteria</k>
+Britonry</ar>
+<ar><k>bureauia</k>
+chest of drawers</ar>
+<ar><k>burlapia</k>
+hessiany</ar>
+<ar><k>busteria</k>
+coachory</ar>
+<ar><k>busy signal</k>
+engaged tone</ar>
+<ar><k>bylawria</k>
+bye lawy</ar>
+<ar><k>caboosea</k>
+guard's van</ar>
+<ar><k>cadavera</k>
+corpsery</ar>
+<ar><k>cafeteria</k>
+canteen, refectory</ar>
+<ar><k>call (on the phone)</k>
+Ringlane</ar>
+<ar><k>candyne</k>
+Sweetsne</ar>
+<ar><k>canlane</k>
+Tinplane</ar>
+<ar><k>car(railwroad)</k>
+carriage</ar>
+<ar><k>caravan</k>
+convoyue</ar>
+<ar><k>cartog</k>
+trolleye</ar>
+<ar><k>catalog</k>
+Catalogue</ar>
+<ar><k>cattle guard</k>
+cattle grid</ar>
+<ar><k>cell phone</k>
+mobile phone</ar>
+<ar><k>cellular phone</k>
+mobile phone</ar>
+<ar><k>centere</k>
+centrene</ar>
+<ar><k>centsne</k>
+Penceane</ar>
+<ar><k>chapstick</k>
+Lip Balm</ar>
+<ar><k>checkers</k>
+Draughts</ar>
+<ar><k>checking account</k>
+current account</ar>
+<ar><k>checkne</k>
+chequene</ar>
+<ar><k>chesterfield</k>
+setteene</ar>
+<ar><k>chicory</k>
+endivene</ar>
+<ar><k>chief executive officer(ceo)</k>
+managing director(MD)</ar>
+<ar><k>chifforobe</k>
+gentleman's wardrobe</ar>
+<ar><k>chipsne</k>
+Crispsne</ar>
+<ar><k>cigarette</k>
+Fagplane</ar>
+<ar><k>cityt (bedroom)</k>
+townobe</ar>
+<ar><k>closet (bedroom)</k>
+Wardrobe</ar>
+<ar><k>closet(bedroom)</k>
+fitted wardrobe</ar>
+<ar><k>closing out</k>
+closing down</ar>
+<ar><k>clothes pin</k>
+clothes peg</ar>
+<ar><k>clumsye</k>
+Cackhanded</ar>
+<ar><k>coach(train)</k>
+economyCharge Call</ar>
+<ar><k>collect call</k>
+reverse charge call</ar>
+<ar><k>colorne</k>
+Colourne</ar>
+<ar><k>comfort station</k>
+public convenience, toilet</ar>
+<ar><k>comforter</k>
+quilt, eiderdown</ar>
+<ar><k>commercial</k>
+Advertisment</ar>
+<ar><k>cookiee</k>
+Biscuite</ar>
+<ar><k>cotton candy</k>
+Candy Floss</ar>
+<ar><k>cracker</k>
+Savoury biscuit</ar>
+<ar><k>cribane</k>
+Cotplane</ar>
+<ar><k>cross walk</k>
+Zebra Crossing, Pedestrian Crossing</ar>
+<ar><k>crossing guard</k>
+Lollipop Man</ar>
+<ar><k>crosswalk</k>
+pedestrian crossing</ar>
+<ar><k>cupcake</k>
+Fairy Cake</ar>
+<ar><k>curbane</k>
+Kerblane</ar>
+<ar><k>defense</k>
+defencePudding</ar>
+<ar><k>dessert</k>
+Afters, Pudding</ar>
+<ar><k>detoure</k>
+diversion</ar>
+<ar><k>dial tone</k>
+dialling tone</ar>
+<ar><k>dialoge</k>
+dialogueappy</ar>
+<ar><k>diapere</k>
+Napkin, Nappy</ar>
+<ar><k>divided highway</k>
+dual carriageway</ar>
+<ar><k>dollar bill</k>
+Notelane</ar>
+<ar><k>donutore</k>
+doughnut</ar>
+<ar><k>draftore</k>
+draughte</ar>
+<ar><k>drugstore</k>
+Chemiste</ar>
+<ar><k>duplexe</k>
+Semi-Detached House</ar>
+<ar><k>eggplant</k>
+Aubergine</ar>
+<ar><k>elevator</k>
+Liftlane</ar>
+<ar><k>emergency room</k>
+Casualty</ar>
+<ar><k>encyclopedia</k>
+encyclopaedia</ar>
+<ar><k>erasere</k>
+Rubberne</ar>
+<ar><k>expensive</k>
+Dearlane</ar>
+</xdxf>
diff --git a/data/engine_xdxf_icon.png b/data/engine_xdxf_icon.png
new file mode 100644 (file)
index 0000000..ec8ca10
Binary files /dev/null and b/data/engine_xdxf_icon.png differ
diff --git a/data/files_debbuild/create_basic_files.sh b/data/files_debbuild/create_basic_files.sh
new file mode 100755 (executable)
index 0000000..98aecd1
--- /dev/null
@@ -0,0 +1,79 @@
+#/bin/bash
+
+POSTINST_FILE="\
+#!/bin/sh\n\
+\n\
+echo -e \"Postinstalling actions...\" \n\
+set -e\n\
+# Automatically added by dh_installdocs\n\
+if [ \"\$1\" = \"configure\" ]; then\n\
+  if [ -d /usr/doc -a ! -e /usr/doc/parted -a -d /usr/share/doc/parted ]; then\n\
+    ln -sf ../share/doc/parted /usr/doc/parted\n\
+  fi\n\
+fi\n\
+# End automatically added section\n\
+"
+
+PRERM_FILE="\
+#!/bin/sh\n\
+\n\
+echo -e \"Preremoving actions...\"\n\
+set -e\n\
+# Automatically added by dh_installdocs\n\
+if [ \( \"\$1\" = \"upgrade\" -o \"\$1\" = \"remove\" \) -a -L /usr/doc/parted ]; then\n\
+  rm -f /usr/doc/parted\n\
+fi\n\n
+# End automatically added section\n\
+"
+
+PREINST_FILE="\
+#!/bin/bash\n\
+\n\
+echo -e \"Preinstallation actions...\"\n\
+"
+
+POSTRM_FILE="\
+#!/bin/bash\n\
+\n\
+echo -e \"Postremoving actions...\"\n\
+"
+
+PRE="mng_"
+echo -e -n "${POSTINST_FILE}" >  ${PRE}postinst
+chmod 0775 ${PRE}postinst
+echo -e -n "${PREINST_FILE}" > ${PRE}preinst
+chmod 0775 ${PRE}preinst
+echo -e -n "${PRERM_FILE}" > ${PRE}prerm
+chmod 0775 ${PRE}prerm
+echo -e -n "${POSTRM_FILE}" > ${PRE}postrm
+chmod 0775 ${PRE}postrm
+
+PRE="eng_"
+echo -e -n "${POSTINST_FILE}" >  ${PRE}postinst
+chmod 0775 ${PRE}postinst
+echo -e -n "${PREINST_FILE}" > ${PRE}preinst
+chmod 0775 ${PRE}preinst
+echo -e -n "${PRERM_FILE}" > ${PRE}prerm
+chmod 0775 ${PRE}prerm
+echo -e -n "${POSTRM_FILE}" > ${PRE}postrm
+chmod 0775 ${PRE}postrm
+
+PRE="gui_"
+echo -e -n "${POSTINST_FILE}" >  ${PRE}postinst
+chmod 0775 ${PRE}postinst
+echo -e -n "${PREINST_FILE}" > ${PRE}preinst
+chmod 0775 ${PRE}preinst
+echo -e -n "${PRERM_FILE}" > ${PRE}prerm
+chmod 0775 ${PRE}prerm
+echo -e -n "${POSTRM_FILE}" > ${PRE}postrm
+chmod 0775 ${PRE}postrm
+
+echo -e -n "\
+su user -c 'gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/elements/name \"Elements Database\"'\n\
+su user -c 'gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/elements/path \"/usr/share/WhiteStork/dictionaries/elements\"'\n\
+su user -c 'gconftool-2 --type bool --set /apps/WhiteStork/Dictionaries/elements/active true\n\
+su user -c 'gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/us-en/name \"American - English Dictionary\"'\n\
+su user -c 'gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/us-en/path \"/usr/share/WhiteStork/dictionaries/us-en\"'\n\
+su user -c 'gconftool-2 --type bool --set /apps/WhiteStork/Dictionaries/us-en/active true'\n" >> mng_postinst
+
+rm -f *~
diff --git a/data/files_debbuild/engC_changelog b/data/files_debbuild/engC_changelog
new file mode 100644 (file)
index 0000000..8b4e027
--- /dev/null
@@ -0,0 +1,5 @@
+enginexdxf (0.1.0)
+
+  * Testing changelog.
+  * enginexdxf
+ -- author <email>  2006-09-07
diff --git a/data/files_debbuild/engC_changelog.Debian b/data/files_debbuild/engC_changelog.Debian
new file mode 100644 (file)
index 0000000..99c6ada
--- /dev/null
@@ -0,0 +1,2 @@
+enginexdxf Debian maintainer and upstream author are identical.
+Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
diff --git a/data/files_debbuild/engC_copyright b/data/files_debbuild/engC_copyright
new file mode 100644 (file)
index 0000000..f88b245
--- /dev/null
@@ -0,0 +1,5 @@
+enginexdxf
+
+Copyright 2006 ComArch S.A.
+
+See: https://garage.maemo.org/projects/mdictionary
diff --git a/data/files_debbuild/engc_control b/data/files_debbuild/engc_control
new file mode 100644 (file)
index 0000000..c108f86
--- /dev/null
@@ -0,0 +1,13 @@
+Package: enginexdxf                                                         
+Version:
+Section: user/tools Tools                                                                
+Priority: optional                                                           
+Architecture: all    
+Installed-Size: 26                                                      
+Depends: libexpat1 (>= 1.95.8)        
+Maintainer: ComArch S.A. <contact@comarch.com>                              
+Description: XDXF engine plug-in for WhiteStork.
+ This plugin engine give user possibility to use XDXF-based
+ dictionaries. This kind of dictionareis can be found on:
+ xdxf.sourceforge.net.
+ Copyright 2006, ComArch S.A. 
diff --git a/data/files_debbuild/engc_postinst b/data/files_debbuild/engc_postinst
new file mode 100755 (executable)
index 0000000..5cfc6fc
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo -e "Postinstalling actions..." 
+
+# End automatically added section
diff --git a/data/files_debbuild/engc_postrm b/data/files_debbuild/engc_postrm
new file mode 100755 (executable)
index 0000000..36c6660
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo -e "Postremoving actions..."
diff --git a/data/files_debbuild/engc_preinst b/data/files_debbuild/engc_preinst
new file mode 100755 (executable)
index 0000000..302910b
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo -e "Preinstallation actions..."
diff --git a/data/files_debbuild/engc_prerm b/data/files_debbuild/engc_prerm
new file mode 100755 (executable)
index 0000000..46ce117
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+echo -e "Preremoving actions..."
+
+
+
+# End automatically added section
diff --git a/data/files_debbuild/guiC_changelog b/data/files_debbuild/guiC_changelog
new file mode 100644 (file)
index 0000000..d5c3bfd
--- /dev/null
@@ -0,0 +1,5 @@
+whitestorkgui (0.1.0)
+
+  * Testing changelog.
+  * whitestorkgui
+ -- author <email>  2006-09-07
diff --git a/data/files_debbuild/guiC_changelog.Debian b/data/files_debbuild/guiC_changelog.Debian
new file mode 100644 (file)
index 0000000..cff7f1c
--- /dev/null
@@ -0,0 +1,2 @@
+whitestorkgui Debian maintainer and upstream author are identical.
+Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
diff --git a/data/files_debbuild/guiC_copyright b/data/files_debbuild/guiC_copyright
new file mode 100644 (file)
index 0000000..5e212d5
--- /dev/null
@@ -0,0 +1,69 @@
+Terms of use
+
+
+READ THE TERMS OF USE CAREFULLY BEFORE INSTALALTION OF THIS SOFTWARE. BY
+INSTALALTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS OF USE.
+
+1. LICENSE TO USE. ComArch grants you a non-exclusive and non-transferable
+license for the internal use only of the accompanying software and
+documentation and any error corrections provided by ComArch (collectively
+"Software"), by the one user.
+
+2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software
+and all associated intellectual property rights is retained by ComArch
+and/or its licensors. Unless enforcement is prohibited by applicable law,
+you may not modify, decompile, or reverse engineer Software. You acknowledge
+that Software is not designed, licensed or intended for use in the design,
+construction, operation or maintenance of any nuclear facility. Sun ComArch
+disclaims any express or implied warranty of fitness for such uses. No
+right, title or interest in or to any trademark, service mark, logo or trade
+name of ComArch or its licensors is granted under this terms of use.
+
+
+3. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT TERMS OF USE,
+ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS
+ARE HELD TO BE LEGALLY INVALID.
+
+4. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
+WILL COMARCH OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
+DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF COMARCH
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
+ComArch's liability to you, whether in contract, tort (including
+negligence), or otherwise, exceed []. The foregoing limitations will apply
+even if the above stated warranty fails of its essential purpose.
+
+5. Termination. This license is effective until terminated. You may
+terminate this license at any time by destroying all copies of Software.
+This license will terminate immediately without notice from ComArch if you
+fail to comply with any provision of this license. Upon Termination, you
+must destroy all copies of Software.
+
+6. Export Regulations. All Software and technical data delivered under this
+terms of use are subject to Polish export control laws and may be subject to
+export or import regulations in other countries. You agree to comply
+strictly with all such laws and regulations and acknowledge that you have
+the responsibility to obtain such licenses to export, re-export, or import
+as may be required after delivery to you.
+
+7. Governing Law. Any action related to this license will be governed by
+Polish Law.
+
+8. Severability. If any provision of this terms of use is held to be
+unenforceable, this terms of use will remain in effect with the provision
+omitted, unless omission would frustrate the intent of the parties, in which
+case this terms of use will immediately terminate.
+
+9. Integration. This document is the entire  agreement between you and
+ComArch relating to its subject matter. It supersedes all prior or
+contemporaneous oral or written communications, proposals, representations
+and warranties and prevails over any conflicting or additional terms of any
+quote, order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of these terms of use. No
+modification of this Agreement will be binding, unless in writing and signed
+by an authorized representative of each party.
+
+
diff --git a/data/files_debbuild/guic_control b/data/files_debbuild/guic_control
new file mode 100644 (file)
index 0000000..f7cb669
--- /dev/null
@@ -0,0 +1,13 @@
+Package: whitestorkgui                                                         
+Version:
+Section: user/tools Tools                                                                
+Priority: optional                                                           
+Architecture: all  
+Installed-Size: 64                                                          
+Depends: libexpat1 (>= 1.95.8)        
+Maintainer: ComArch S.A. <contact@comarch.com>                              
+Description: GUI for whitestork.
+ This package contain an example of GUI for 
+ Whitestork - Multilingual Dictionary for 
+ Maemo platform.
+ Copyright 2006, ComArch S.A. 
diff --git a/data/files_debbuild/guic_postinst b/data/files_debbuild/guic_postinst
new file mode 100755 (executable)
index 0000000..78129e2
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+echo $1 >> /home/krzsas/log.txt
+echo -e "Postinstalling actions..." 
+
+maemo-confirm-text /usr/share/doc/whitestorkgui/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';;
+esac
+
+exit 0
+
+# End automatically added section
diff --git a/data/files_debbuild/guic_postrm b/data/files_debbuild/guic_postrm
new file mode 100755 (executable)
index 0000000..36c6660
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo -e "Postremoving actions..."
diff --git a/data/files_debbuild/guic_preinst b/data/files_debbuild/guic_preinst
new file mode 100755 (executable)
index 0000000..302910b
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo -e "Preinstallation actions..."
diff --git a/data/files_debbuild/guic_prerm b/data/files_debbuild/guic_prerm
new file mode 100755 (executable)
index 0000000..46ce117
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+echo -e "Preremoving actions..."
+
+
+
+# End automatically added section
diff --git a/data/files_debbuild/manual_pages_example b/data/files_debbuild/manual_pages_example
new file mode 100644 (file)
index 0000000..d9a887d
--- /dev/null
@@ -0,0 +1,48 @@
+.TH HELLO 1 LOCAL 
+
+.SH NAME 
+
+hello - print "Hello world" on stdout 
+
+.SH SYNOPSIS 
+
+.B hello [options] 
+
+.I option option 
+
+.B [" 
+
+.I -yy -zz 
+
+.B ..."] 
+
+.SH AVAILABILITY 
+
+All UNIX flavors 
+
+.SH DESCRIPTION 
+
+hello prints the string "Hello world" on standard output. 
+
+.SH OPTIONS 
+
+There are no options, but we'll make some up. 
+
+.TP 5 
+
+-yy 
+
+is one option 
+
+.TP 
+
+-zz 
+
+is another option 
+
+.SH AUTHOR 
+
+U. R. Friendly
+
+
+SRC: http://www.fnal.gov/docs/products/ups/ReferenceManual/html/manpages.html
\ No newline at end of file
diff --git a/data/files_debbuild/mngC_changelog b/data/files_debbuild/mngC_changelog
new file mode 100644 (file)
index 0000000..607b5ab
--- /dev/null
@@ -0,0 +1,5 @@
+whitestork (0.1.0)
+
+  * Testing changelog.
+  * whitestork
+ -- author <email>  2006-09-07
diff --git a/data/files_debbuild/mngC_changelog.Debian b/data/files_debbuild/mngC_changelog.Debian
new file mode 100644 (file)
index 0000000..7bc6702
--- /dev/null
@@ -0,0 +1,2 @@
+whitestork Debian maintainer and upstream author are identical.
+Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
diff --git a/data/files_debbuild/mngC_copyright b/data/files_debbuild/mngC_copyright
new file mode 100644 (file)
index 0000000..14c9476
--- /dev/null
@@ -0,0 +1,5 @@
+whitestork
+
+Copyright 2006 ComArch S.A.
+
+See: https://garage.maemo.org/projects/mdictionary
\ No newline at end of file
diff --git a/data/files_debbuild/mngc_control b/data/files_debbuild/mngc_control
new file mode 100644 (file)
index 0000000..afe1c0c
--- /dev/null
@@ -0,0 +1,14 @@
+Package: whitestork                                                         
+Version:
+Section: user/tools Tools                                                                
+Priority: optional                                                           
+Architecture: all   
+Installed-Size: 41                                                            
+Depends: libexpat1 (>= 1.95.8)        
+Maintainer: ComArch S.A. <contact@comarch.com>                              
+Description: Multilingual dictionary.
+ This dictionary have a modular build so you
+ can download many dictionary engines and dictionaries.
+ Furthemore, you can change Your Graphical Interface
+ if You find one more prefereable by You.
+ Copyright 2006, ComArch S.A. 
diff --git a/data/files_debbuild/mngc_postinst b/data/files_debbuild/mngc_postinst
new file mode 100755 (executable)
index 0000000..00194ec
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+echo -e "Postinstalling actions..." 
+
+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 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'
+
+chmod 0777 /usr/share/WhiteStork/dictionaries
+chmod 0777 /usr/share/WhiteStork/dictionaries/elements
+chmod 0777 /usr/share/WhiteStork/dictionaries/us-en
+fi
\ No newline at end of file
diff --git a/data/files_debbuild/mngc_postrm b/data/files_debbuild/mngc_postrm
new file mode 100755 (executable)
index 0000000..36c6660
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo -e "Postremoving actions..."
diff --git a/data/files_debbuild/mngc_preinst b/data/files_debbuild/mngc_preinst
new file mode 100755 (executable)
index 0000000..302910b
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo -e "Preinstallation actions..."
diff --git a/data/files_debbuild/mngc_prerm b/data/files_debbuild/mngc_prerm
new file mode 100755 (executable)
index 0000000..177aab8
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+echo -e "Preremoving actions..."
+
+if [ "$1" != "upgrade" ]
+then
+       echo -e -n "Removing gconf configuration..\n"
+       su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/WhiteStork'
+fi
+
+
+# End automatically added section
diff --git a/data/postinst.ex b/data/postinst.ex
new file mode 100644 (file)
index 0000000..91784fe
--- /dev/null
@@ -0,0 +1,45 @@
+#! /bin/sh
+# postinst script for whitestork
+#
+# see: dh_installdeb(1)
+
+gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/dict/path "/usr/share/WhiteStork/dict"
+gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/other/path "/usr/share/WhiteStork/other"
+echo "*****************DAREK WIECHECKI ADASDFASFDSFDSFF\n"
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+    configure)
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/data/pre-release.sh b/data/pre-release.sh
new file mode 100755 (executable)
index 0000000..b317e93
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+echo -e -n "PRE_RELEASE: Making pre-release...\n"
+
+cd "$1"
+svn update
+SVN_REV=`svn info | grep "Revision:" | awk '{print $2}'`
+#SVN_REV=`date +%y%m%d%H%M%S`
+echo -e -n "SVN_UPD: '$SVN_REV'\n"
+
+if [ -z $SVN_REV ]
+then
+       echo -e -n "PRE_RELEASE: could not state subversion revision...\n"
+       exit 1
+fi
+
+#cat "$1/Makefile" | awk "/^APP_VER .*/ {print \$1 \" = \" \"0.0.0\"; next} /.*/ {print \$0}" > "$1/Makefile"
+CUR_VER=`cat "$1/Makefile" | awk '/^APP_VER .*/ {print $3 }'`
+echo -e -n "PRE_RELEASE: CUR_VER=$CUR_VER\n"
+CUR_VER="$CUR_VER ${SVN_REV}"
+
+NEW_VER=`echo "$CUR_VER" | awk '{split($1,_a,"\."); print _a[1] "." _a[2] "." $2;}'`
+echo -e -n "PRE_RELEASE: NEW_VER=$NEW_VER\n"
+
+cat "$1/Makefile" | awk "/^APP_VER .*/ {print \"APP_VER = ${NEW_VER}\"; next} {print}" > "$1/Makefile_new"
+rm -f "$1/Makefile"
+mv "$1/Makefile_new" "$1/Makefile"
+echo -e -n "PRE_RELEASE: NEW_VER=$NEW_VER\n"
+
+cd "$1" && make pre-release-post
\ No newline at end of file
diff --git a/data/release.sh b/data/release.sh
new file mode 100755 (executable)
index 0000000..608a949
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+echo -e -n "RELEASE: Making release...\n"
+#cat "$1/Makefile" | awk "/^APP_VER .*/ {print \$1 \" = \" \"0.0.0\"; next} /.*/ {print \$0}" > "$1/Makefile"
+CUR_VER=`cat "$1/Makefile" | awk '/^APP_VER .*/ {print $3 }'`
+echo -e -n "RELEASE: CUR_VER=$CUR_VER\n"
+
+NEW_VER=`echo "$CUR_VER" | awk '{split($1,_a,"\."); print _a[1] "." _a[2] + 1 ".0";}'`
+echo -e -n "RELEASE: NEW_VER=$NEW_VER\n"
+
+cat "$1/Makefile" | awk "/^APP_VER .*/ {print \"APP_VER = ${NEW_VER}\"; next} {print}" > "$1/Makefile_new"
+rm -f "$1/Makefile"
+mv "$1/Makefile_new" "$1/Makefile"
+echo -e -n "RELEASE: NEW_VER=$NEW_VER\n"
+
+cd "$1" && make release-post
\ No newline at end of file
diff --git a/data/version.sh b/data/version.sh
new file mode 100755 (executable)
index 0000000..c70d937
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+echo -e -n "VERSION: Making version...\n"
+CUR_VER=`cat "$1/Makefile" | awk '/^APP_VER .*/ {print $3 }'`
+echo -e -n "VERSION: CUR_VER=$CUR_VER\n"
+
+NEW_VER=`echo "$CUR_VER" | awk '{split($1,_a,"\."); print _a[1] + 1 ".0.0";}'`
+echo -e -n "VERSION: NEW_VER=$NEW_VER\n"
+
+cat "$1/Makefile" | awk "/^APP_VER .*/ {print \"APP_VER = ${NEW_VER}\"; next} /.*/ {print \$0}" > "$1/Makefile_new" && echo -e -n "Makefile rewritten\n"
+rm -f "$1/Makefile"
+mv "$1/Makefile_new" "$1/Makefile"
+echo -e -n "VERSION: NEW_VER=$NEW_VER\n"
+
+cd "$1" && make version-post
index 73336cd..290220c 100644 (file)
@@ -5,9 +5,9 @@ Name=WhiteStork Dictionary
 Comment=Multilingual dictionary
 Exec=/usr/bin/WhiteStork
 X-Osso-Service=org.maemo.WhiteStorkGui
-Icon=icon
+Icon=whitestork_icon
 Terminal=true
 Type=Application
 X-HildonDesk-ShowInToolbar=true
 X-Osso-Type=application/x-executable
-X-Window-Icon=icon
+X-Window-Icon=whitestork_icon
index 0452d99..1194e80 100644 (file)
@@ -1,7 +1,76 @@
-/*****************
-* Copyright 2006, ComArch S.A
-* All rights reserved
-*****************/
+/********************************************************************************
+Copyright 2006, ComArch S.A
+All rights reserved
+
+Terms of use
+
+
+READ THE TERMS OF USE CAREFULLY BEFORE INSTALALTION OF THIS SOFTWARE. BY
+INSTALALTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS OF USE.
+
+1. LICENSE TO USE. ComArch grants you a non-exclusive and non-transferable
+license for the internal use only of the accompanying software and
+documentation and any error corrections provided by ComArch (collectively
+"Software"), by the one user.
+
+2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software
+and all associated intellectual property rights is retained by ComArch
+and/or its licensors. Unless enforcement is prohibited by applicable law,
+you may not modify, decompile, or reverse engineer Software. You acknowledge
+that Software is not designed, licensed or intended for use in the design,
+construction, operation or maintenance of any nuclear facility. Sun ComArch
+disclaims any express or implied warranty of fitness for such uses. No
+right, title or interest in or to any trademark, service mark, logo or trade
+name of ComArch or its licensors is granted under this terms of use.
+
+
+3. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT TERMS OF USE,
+ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS
+ARE HELD TO BE LEGALLY INVALID.
+
+4. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
+WILL COMARCH OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
+DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF COMARCH
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
+ComArch's liability to you, whether in contract, tort (including
+negligence), or otherwise, exceed []. The foregoing limitations will apply
+even if the above stated warranty fails of its essential purpose.
+
+5. Termination. This license is effective until terminated. You may
+terminate this license at any time by destroying all copies of Software.
+This license will terminate immediately without notice from ComArch if you
+fail to comply with any provision of this license. Upon Termination, you
+must destroy all copies of Software.
+
+6. Export Regulations. All Software and technical data delivered under this
+terms of use are subject to Polish export control laws and may be subject to
+export or import regulations in other countries. You agree to comply
+strictly with all such laws and regulations and acknowledge that you have
+the responsibility to obtain such licenses to export, re-export, or import
+as may be required after delivery to you.
+
+7. Governing Law. Any action related to this license will be governed by
+Polish Law.
+
+8. Severability. If any provision of this terms of use is held to be
+unenforceable, this terms of use will remain in effect with the provision
+omitted, unless omission would frustrate the intent of the parties, in which
+case this terms of use will immediately terminate.
+
+9. Integration. This document is the entire  agreement between you and
+ComArch relating to its subject matter. It supersedes all prior or
+contemporaneous oral or written communications, proposals, representations
+and warranties and prevails over any conflicting or additional terms of any
+quote, order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of these terms of use. No
+modification of this Agreement will be binding, unless in writing and signed
+by an authorized representative of each party.
+
+*********************************************************************************/
 
 #include "../../include/ws_gui.h"
 #include "../../include/ws_gui_callbacks.h"
index 590b88d..311f227 100644 (file)
@@ -1,7 +1,76 @@
-/*****************
-* Copyright 2006, ComArch S.A
-* All rights reserved
-*****************/
+/********************************************************************************
+Copyright 2006, ComArch S.A
+All rights reserved
+
+Terms of use
+
+
+READ THE TERMS OF USE CAREFULLY BEFORE INSTALALTION OF THIS SOFTWARE. BY
+INSTALALTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS OF USE.
+
+1. LICENSE TO USE. ComArch grants you a non-exclusive and non-transferable
+license for the internal use only of the accompanying software and
+documentation and any error corrections provided by ComArch (collectively
+"Software"), by the one user.
+
+2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software
+and all associated intellectual property rights is retained by ComArch
+and/or its licensors. Unless enforcement is prohibited by applicable law,
+you may not modify, decompile, or reverse engineer Software. You acknowledge
+that Software is not designed, licensed or intended for use in the design,
+construction, operation or maintenance of any nuclear facility. Sun ComArch
+disclaims any express or implied warranty of fitness for such uses. No
+right, title or interest in or to any trademark, service mark, logo or trade
+name of ComArch or its licensors is granted under this terms of use.
+
+
+3. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT TERMS OF USE,
+ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS
+ARE HELD TO BE LEGALLY INVALID.
+
+4. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
+WILL COMARCH OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
+DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF COMARCH
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
+ComArch's liability to you, whether in contract, tort (including
+negligence), or otherwise, exceed []. The foregoing limitations will apply
+even if the above stated warranty fails of its essential purpose.
+
+5. Termination. This license is effective until terminated. You may
+terminate this license at any time by destroying all copies of Software.
+This license will terminate immediately without notice from ComArch if you
+fail to comply with any provision of this license. Upon Termination, you
+must destroy all copies of Software.
+
+6. Export Regulations. All Software and technical data delivered under this
+terms of use are subject to Polish export control laws and may be subject to
+export or import regulations in other countries. You agree to comply
+strictly with all such laws and regulations and acknowledge that you have
+the responsibility to obtain such licenses to export, re-export, or import
+as may be required after delivery to you.
+
+7. Governing Law. Any action related to this license will be governed by
+Polish Law.
+
+8. Severability. If any provision of this terms of use is held to be
+unenforceable, this terms of use will remain in effect with the provision
+omitted, unless omission would frustrate the intent of the parties, in which
+case this terms of use will immediately terminate.
+
+9. Integration. This document is the entire  agreement between you and
+ComArch relating to its subject matter. It supersedes all prior or
+contemporaneous oral or written communications, proposals, representations
+and warranties and prevails over any conflicting or additional terms of any
+quote, order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of these terms of use. No
+modification of this Agreement will be binding, unless in writing and signed
+by an authorized representative of each party.
+
+*********************************************************************************/
 
 #include "../../include/ws_gui_callbacks.h"
 #include "../../include/ws_gui.h"
index 29777e2..d66e61e 100644 (file)
@@ -1,7 +1,76 @@
-/*****************
-* Copyright 2006, ComArch S.A
-* All rights reserved
-*****************/
+/********************************************************************************
+Copyright 2006, ComArch S.A
+All rights reserved
+
+Terms of use
+
+
+READ THE TERMS OF USE CAREFULLY BEFORE INSTALALTION OF THIS SOFTWARE. BY
+INSTALALTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS OF USE.
+
+1. LICENSE TO USE. ComArch grants you a non-exclusive and non-transferable
+license for the internal use only of the accompanying software and
+documentation and any error corrections provided by ComArch (collectively
+"Software"), by the one user.
+
+2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software
+and all associated intellectual property rights is retained by ComArch
+and/or its licensors. Unless enforcement is prohibited by applicable law,
+you may not modify, decompile, or reverse engineer Software. You acknowledge
+that Software is not designed, licensed or intended for use in the design,
+construction, operation or maintenance of any nuclear facility. Sun ComArch
+disclaims any express or implied warranty of fitness for such uses. No
+right, title or interest in or to any trademark, service mark, logo or trade
+name of ComArch or its licensors is granted under this terms of use.
+
+
+3. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT TERMS OF USE,
+ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS
+ARE HELD TO BE LEGALLY INVALID.
+
+4. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
+WILL COMARCH OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
+DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF COMARCH
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
+ComArch's liability to you, whether in contract, tort (including
+negligence), or otherwise, exceed []. The foregoing limitations will apply
+even if the above stated warranty fails of its essential purpose.
+
+5. Termination. This license is effective until terminated. You may
+terminate this license at any time by destroying all copies of Software.
+This license will terminate immediately without notice from ComArch if you
+fail to comply with any provision of this license. Upon Termination, you
+must destroy all copies of Software.
+
+6. Export Regulations. All Software and technical data delivered under this
+terms of use are subject to Polish export control laws and may be subject to
+export or import regulations in other countries. You agree to comply
+strictly with all such laws and regulations and acknowledge that you have
+the responsibility to obtain such licenses to export, re-export, or import
+as may be required after delivery to you.
+
+7. Governing Law. Any action related to this license will be governed by
+Polish Law.
+
+8. Severability. If any provision of this terms of use is held to be
+unenforceable, this terms of use will remain in effect with the provision
+omitted, unless omission would frustrate the intent of the parties, in which
+case this terms of use will immediately terminate.
+
+9. Integration. This document is the entire  agreement between you and
+ComArch relating to its subject matter. It supersedes all prior or
+contemporaneous oral or written communications, proposals, representations
+and warranties and prevails over any conflicting or additional terms of any
+quote, order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of these terms of use. No
+modification of this Agreement will be binding, unless in writing and signed
+by an authorized representative of each party.
+
+*********************************************************************************/
 
 #include "../../include/ws_gui_layout.h"
 #include "../../include/ws_gui.h"
index 7b623c4..744fd72 100644 (file)
@@ -1,7 +1,76 @@
-/*****************
-* Copyright 2006, ComArch S.A
-* All rights reserved
-*****************/
+/********************************************************************************
+Copyright 2006, ComArch S.A
+All rights reserved
+
+Terms of use
+
+
+READ THE TERMS OF USE CAREFULLY BEFORE INSTALALTION OF THIS SOFTWARE. BY
+INSTALALTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS OF USE.
+
+1. LICENSE TO USE. ComArch grants you a non-exclusive and non-transferable
+license for the internal use only of the accompanying software and
+documentation and any error corrections provided by ComArch (collectively
+"Software"), by the one user.
+
+2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software
+and all associated intellectual property rights is retained by ComArch
+and/or its licensors. Unless enforcement is prohibited by applicable law,
+you may not modify, decompile, or reverse engineer Software. You acknowledge
+that Software is not designed, licensed or intended for use in the design,
+construction, operation or maintenance of any nuclear facility. Sun ComArch
+disclaims any express or implied warranty of fitness for such uses. No
+right, title or interest in or to any trademark, service mark, logo or trade
+name of ComArch or its licensors is granted under this terms of use.
+
+
+3. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT TERMS OF USE,
+ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS
+ARE HELD TO BE LEGALLY INVALID.
+
+4. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
+WILL COMARCH OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
+DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF COMARCH
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
+ComArch's liability to you, whether in contract, tort (including
+negligence), or otherwise, exceed []. The foregoing limitations will apply
+even if the above stated warranty fails of its essential purpose.
+
+5. Termination. This license is effective until terminated. You may
+terminate this license at any time by destroying all copies of Software.
+This license will terminate immediately without notice from ComArch if you
+fail to comply with any provision of this license. Upon Termination, you
+must destroy all copies of Software.
+
+6. Export Regulations. All Software and technical data delivered under this
+terms of use are subject to Polish export control laws and may be subject to
+export or import regulations in other countries. You agree to comply
+strictly with all such laws and regulations and acknowledge that you have
+the responsibility to obtain such licenses to export, re-export, or import
+as may be required after delivery to you.
+
+7. Governing Law. Any action related to this license will be governed by
+Polish Law.
+
+8. Severability. If any provision of this terms of use is held to be
+unenforceable, this terms of use will remain in effect with the provision
+omitted, unless omission would frustrate the intent of the parties, in which
+case this terms of use will immediately terminate.
+
+9. Integration. This document is the entire  agreement between you and
+ComArch relating to its subject matter. It supersedes all prior or
+contemporaneous oral or written communications, proposals, representations
+and warranties and prevails over any conflicting or additional terms of any
+quote, order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of these terms of use. No
+modification of this Agreement will be binding, unless in writing and signed
+by an authorized representative of each party.
+
+*********************************************************************************/
 
 #ifndef _WS_GUI
 #define _WS_GUI 
index d25a1b4..8ff8c26 100644 (file)
@@ -1,7 +1,76 @@
-/*****************
-* Copyright 2006, ComArch S.A
-* All rights reserved
-*****************/
+/********************************************************************************
+Copyright 2006, ComArch S.A
+All rights reserved
+
+Terms of use
+
+
+READ THE TERMS OF USE CAREFULLY BEFORE INSTALALTION OF THIS SOFTWARE. BY
+INSTALALTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS OF USE.
+
+1. LICENSE TO USE. ComArch grants you a non-exclusive and non-transferable
+license for the internal use only of the accompanying software and
+documentation and any error corrections provided by ComArch (collectively
+"Software"), by the one user.
+
+2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software
+and all associated intellectual property rights is retained by ComArch
+and/or its licensors. Unless enforcement is prohibited by applicable law,
+you may not modify, decompile, or reverse engineer Software. You acknowledge
+that Software is not designed, licensed or intended for use in the design,
+construction, operation or maintenance of any nuclear facility. Sun ComArch
+disclaims any express or implied warranty of fitness for such uses. No
+right, title or interest in or to any trademark, service mark, logo or trade
+name of ComArch or its licensors is granted under this terms of use.
+
+
+3. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT TERMS OF USE,
+ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS
+ARE HELD TO BE LEGALLY INVALID.
+
+4. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
+WILL COMARCH OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
+DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF COMARCH
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
+ComArch's liability to you, whether in contract, tort (including
+negligence), or otherwise, exceed []. The foregoing limitations will apply
+even if the above stated warranty fails of its essential purpose.
+
+5. Termination. This license is effective until terminated. You may
+terminate this license at any time by destroying all copies of Software.
+This license will terminate immediately without notice from ComArch if you
+fail to comply with any provision of this license. Upon Termination, you
+must destroy all copies of Software.
+
+6. Export Regulations. All Software and technical data delivered under this
+terms of use are subject to Polish export control laws and may be subject to
+export or import regulations in other countries. You agree to comply
+strictly with all such laws and regulations and acknowledge that you have
+the responsibility to obtain such licenses to export, re-export, or import
+as may be required after delivery to you.
+
+7. Governing Law. Any action related to this license will be governed by
+Polish Law.
+
+8. Severability. If any provision of this terms of use is held to be
+unenforceable, this terms of use will remain in effect with the provision
+omitted, unless omission would frustrate the intent of the parties, in which
+case this terms of use will immediately terminate.
+
+9. Integration. This document is the entire  agreement between you and
+ComArch relating to its subject matter. It supersedes all prior or
+contemporaneous oral or written communications, proposals, representations
+and warranties and prevails over any conflicting or additional terms of any
+quote, order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of these terms of use. No
+modification of this Agreement will be binding, unless in writing and signed
+by an authorized representative of each party.
+
+*********************************************************************************/
 
 #ifndef _WS_GUI_CALLBACKS
 #define _WS_GUI_CALLBACKS 
index 9b2f6a6..3411a1b 100644 (file)
@@ -1,7 +1,76 @@
-/*****************
-* Copyright 2006, ComArch S.A
-* All rights reserved
-*****************/
+/********************************************************************************
+Copyright 2006, ComArch S.A
+All rights reserved
+
+Terms of use
+
+
+READ THE TERMS OF USE CAREFULLY BEFORE INSTALALTION OF THIS SOFTWARE. BY
+INSTALALTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS OF USE.
+
+1. LICENSE TO USE. ComArch grants you a non-exclusive and non-transferable
+license for the internal use only of the accompanying software and
+documentation and any error corrections provided by ComArch (collectively
+"Software"), by the one user.
+
+2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software
+and all associated intellectual property rights is retained by ComArch
+and/or its licensors. Unless enforcement is prohibited by applicable law,
+you may not modify, decompile, or reverse engineer Software. You acknowledge
+that Software is not designed, licensed or intended for use in the design,
+construction, operation or maintenance of any nuclear facility. Sun ComArch
+disclaims any express or implied warranty of fitness for such uses. No
+right, title or interest in or to any trademark, service mark, logo or trade
+name of ComArch or its licensors is granted under this terms of use.
+
+
+3. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT TERMS OF USE,
+ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS
+ARE HELD TO BE LEGALLY INVALID.
+
+4. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
+WILL COMARCH OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
+DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF COMARCH
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
+ComArch's liability to you, whether in contract, tort (including
+negligence), or otherwise, exceed []. The foregoing limitations will apply
+even if the above stated warranty fails of its essential purpose.
+
+5. Termination. This license is effective until terminated. You may
+terminate this license at any time by destroying all copies of Software.
+This license will terminate immediately without notice from ComArch if you
+fail to comply with any provision of this license. Upon Termination, you
+must destroy all copies of Software.
+
+6. Export Regulations. All Software and technical data delivered under this
+terms of use are subject to Polish export control laws and may be subject to
+export or import regulations in other countries. You agree to comply
+strictly with all such laws and regulations and acknowledge that you have
+the responsibility to obtain such licenses to export, re-export, or import
+as may be required after delivery to you.
+
+7. Governing Law. Any action related to this license will be governed by
+Polish Law.
+
+8. Severability. If any provision of this terms of use is held to be
+unenforceable, this terms of use will remain in effect with the provision
+omitted, unless omission would frustrate the intent of the parties, in which
+case this terms of use will immediately terminate.
+
+9. Integration. This document is the entire  agreement between you and
+ComArch relating to its subject matter. It supersedes all prior or
+contemporaneous oral or written communications, proposals, representations
+and warranties and prevails over any conflicting or additional terms of any
+quote, order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of these terms of use. No
+modification of this Agreement will be binding, unless in writing and signed
+by an authorized representative of each party.
+
+*********************************************************************************/
 
 #ifndef _WS_GUI_LAYOUT
 #define _WS_GUI_LAYOUT
index fb24541..957e9a8 100644 (file)
@@ -1,5 +1,5 @@
 CC = gcc
-DEBUG = -Wall -g
+DEBUG = -g -Wall 
 LIBS = `pkg-config --libs glib-2.0 gmodule-2.0 libosso gconf-2.0` -lpthread
 FLAGS = `pkg-config --cflags glib-2.0 gmodule-2.0 libosso gconf-2.0`
 SOURCE = src
@@ -8,15 +8,14 @@ INCLUDE = ../include
 EXECUTABLE = ${BINARY}/WhiteStorkManager
 
 all: ${BINARY}/ws_manager.o ${BINARY}/test_mng.o ${BINARY}/ws_dbus.o
-               @${CC} ${BINARY}/ws_manager.o ${BINARY}/test_mng.o ${BINARY}/ws_dbus.o ${LIBS} ${FLAGS} ${DEBUG} -o ${EXECUTABLE}
+               @${CC} ${DEBUG} ${BINARY}/ws_manager.o ${BINARY}/test_mng.o ${BINARY}/ws_dbus.o -o ${EXECUTABLE} ${LIBS} ${FLAGS}
 ${BINARY}/test_mng.o:
-               @${CC} -c ${SOURCE}/test_mng.c ${FLAGS} ${DEBUG} -o ${BINARY}/test_mng.o
+               @${CC} ${DEBUG} -c ${SOURCE}/test_mng.c -o ${BINARY}/test_mng.o ${FLAGS}
 ${BINARY}/ws_manager.o: 
-               @${CC} -c ${SOURCE}/ws_manager.c ${FLAGS} ${DEBUG} -o ${BINARY}/ws_manager.o
+               @${CC} ${DEBUG} -c ${SOURCE}/ws_manager.c -o ${BINARY}/ws_manager.o ${FLAGS}
 ${BINARY}/ws_dbus.o:
                @cd ../dbus && make
 clean:
                rm -f ${BINARY}/*.o ${EXECUTABLE}
 run:
                run-standalone.sh ./${EXECUTABLE}
-               
\ No newline at end of file
index d242da8..789196a 100644 (file)
@@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
 ************************************************************************************************/
+#ifdef __cplusplus
+extern "C" {
+#endif
 #include "../../include/ws_manager.h"
 #include <glib.h>
 #include <stdlib.h>
@@ -41,4 +44,6 @@ int main ()
        
        return 0;
 }
-
+#ifdef __cplusplus
+}
+#endif
index 2b774d1..a8eaa15 100644 (file)
@@ -17,6 +17,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
 ************************************************************************************************/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "../../include/ws_manager.h"
 
 #define GCONF_KEY "/apps/maemo/WhiteStork/Dictionaries"
@@ -543,3 +547,6 @@ void ws_mng_close (WSMngSearchData *data)
                g_module_close (data->library); //close library
        }
 }
+#ifdef __cplusplus
+}
+#endif
diff --git a/packages/debian/DEBIAN/control b/packages/debian/DEBIAN/control
new file mode 100644 (file)
index 0000000..cc42011
--- /dev/null
@@ -0,0 +1,13 @@
+Package: whitestorkgui                                                         
+Version: 0.4.0-1
+Section: user/tools Tools                                                                
+Priority: optional                                                           
+Architecture: all  
+Installed-Size: 64                                                          
+Depends: libexpat1 (>= 1.95.8)        
+Maintainer: ComArch S.A. <contact@comarch.com>                              
+Description: GUI for whitestork.
+ This package contain an example of GUI for 
+ Whitestork - Multilingual Dictionary for 
+ Maemo platform.
+ Copyright 2006, ComArch S.A. 
diff --git a/packages/debian/DEBIAN/md5sums b/packages/debian/DEBIAN/md5sums
new file mode 100644 (file)
index 0000000..f783f7c
--- /dev/null
@@ -0,0 +1,8 @@
+a365c41ec94b5f4405d004bfac2b0f60  usr/bin/WhiteStork
+641156ce47d1b30662f360464b4fc00a  usr/share/pixmaps/whitestork.png
+49537826f9623d12201bea3edec12946  usr/share/pixmaps/whitestork_icon.png
+19f2b53dec0ff78d9f11b346fd4c2c9a  usr/share/applications/hildon/whitestorkgui.desktop
+4edcfc2722154083133139804cd53854  usr/share/doc/whitestorkgui/copyright
+73bf217bc5340f23b5bc409f1cae6f93  usr/share/doc/whitestorkgui/changelog.gz
+cab7521cf75e3f7e9a3a0ab65026614f  usr/share/doc/whitestorkgui/changelog.Debian.gz
+e200a9473dfc5873b4f3d5b59b164d7f  usr/share/dbus-1/services/org.maemo.WhiteStorkGui.service
diff --git a/packages/debian/DEBIAN/postinst b/packages/debian/DEBIAN/postinst
new file mode 100755 (executable)
index 0000000..78129e2
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+echo $1 >> /home/krzsas/log.txt
+echo -e "Postinstalling actions..." 
+
+maemo-confirm-text /usr/share/doc/whitestorkgui/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';;
+esac
+
+exit 0
+
+# End automatically added section
diff --git a/packages/debian/DEBIAN/postrm b/packages/debian/DEBIAN/postrm
new file mode 100755 (executable)
index 0000000..36c6660
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo -e "Postremoving actions..."
diff --git a/packages/debian/DEBIAN/preinst b/packages/debian/DEBIAN/preinst
new file mode 100755 (executable)
index 0000000..302910b
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo -e "Preinstallation actions..."
diff --git a/packages/debian/DEBIAN/prerm b/packages/debian/DEBIAN/prerm
new file mode 100755 (executable)
index 0000000..46ce117
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+echo -e "Preremoving actions..."
+
+
+
+# End automatically added section
diff --git a/packages/debian/etc/others-menu/extra_applications/0112_whitestorkgui.desktop b/packages/debian/etc/others-menu/extra_applications/0112_whitestorkgui.desktop
new file mode 120000 (symlink)
index 0000000..b0117df
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/applications/hildon/whitestorkgui.desktop
\ No newline at end of file
diff --git a/packages/debian/usr/bin/WhiteStork b/packages/debian/usr/bin/WhiteStork
new file mode 100755 (executable)
index 0000000..0c973cb
Binary files /dev/null and b/packages/debian/usr/bin/WhiteStork differ
diff --git a/packages/debian/usr/share/applications/hildon/whitestorkgui.desktop b/packages/debian/usr/share/applications/hildon/whitestorkgui.desktop
new file mode 100644 (file)
index 0000000..290220c
--- /dev/null
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Name=WhiteStork Dictionary
+Comment=Multilingual dictionary
+Exec=/usr/bin/WhiteStork
+X-Osso-Service=org.maemo.WhiteStorkGui
+Icon=whitestork_icon
+Terminal=true
+Type=Application
+X-HildonDesk-ShowInToolbar=true
+X-Osso-Type=application/x-executable
+X-Window-Icon=whitestork_icon
diff --git a/packages/debian/usr/share/dbus-1/services/org.maemo.WhiteStorkGui.service b/packages/debian/usr/share/dbus-1/services/org.maemo.WhiteStorkGui.service
new file mode 100644 (file)
index 0000000..6eaf142
--- /dev/null
@@ -0,0 +1,4 @@
+# Sample service description file
+[D-BUS Service]
+Name=org.maemo.WhiteStorkGui
+Exec=/usr/bin/WhiteStork
diff --git a/packages/debian/usr/share/doc/whitestorkgui/changelog.Debian.gz b/packages/debian/usr/share/doc/whitestorkgui/changelog.Debian.gz
new file mode 100644 (file)
index 0000000..19ddf80
Binary files /dev/null and b/packages/debian/usr/share/doc/whitestorkgui/changelog.Debian.gz differ
diff --git a/packages/debian/usr/share/doc/whitestorkgui/changelog.gz b/packages/debian/usr/share/doc/whitestorkgui/changelog.gz
new file mode 100644 (file)
index 0000000..74a0596
Binary files /dev/null and b/packages/debian/usr/share/doc/whitestorkgui/changelog.gz differ
diff --git a/packages/debian/usr/share/doc/whitestorkgui/copyright b/packages/debian/usr/share/doc/whitestorkgui/copyright
new file mode 100644 (file)
index 0000000..5e212d5
--- /dev/null
@@ -0,0 +1,69 @@
+Terms of use
+
+
+READ THE TERMS OF USE CAREFULLY BEFORE INSTALALTION OF THIS SOFTWARE. BY
+INSTALALTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS OF USE.
+
+1. LICENSE TO USE. ComArch grants you a non-exclusive and non-transferable
+license for the internal use only of the accompanying software and
+documentation and any error corrections provided by ComArch (collectively
+"Software"), by the one user.
+
+2. RESTRICTIONS. Software is confidential and copyrighted. Title to Software
+and all associated intellectual property rights is retained by ComArch
+and/or its licensors. Unless enforcement is prohibited by applicable law,
+you may not modify, decompile, or reverse engineer Software. You acknowledge
+that Software is not designed, licensed or intended for use in the design,
+construction, operation or maintenance of any nuclear facility. Sun ComArch
+disclaims any express or implied warranty of fitness for such uses. No
+right, title or interest in or to any trademark, service mark, logo or trade
+name of ComArch or its licensors is granted under this terms of use.
+
+
+3. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT TERMS OF USE,
+ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS
+ARE HELD TO BE LEGALLY INVALID.
+
+4. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
+WILL COMARCH OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
+DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF COMARCH
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
+ComArch's liability to you, whether in contract, tort (including
+negligence), or otherwise, exceed []. The foregoing limitations will apply
+even if the above stated warranty fails of its essential purpose.
+
+5. Termination. This license is effective until terminated. You may
+terminate this license at any time by destroying all copies of Software.
+This license will terminate immediately without notice from ComArch if you
+fail to comply with any provision of this license. Upon Termination, you
+must destroy all copies of Software.
+
+6. Export Regulations. All Software and technical data delivered under this
+terms of use are subject to Polish export control laws and may be subject to
+export or import regulations in other countries. You agree to comply
+strictly with all such laws and regulations and acknowledge that you have
+the responsibility to obtain such licenses to export, re-export, or import
+as may be required after delivery to you.
+
+7. Governing Law. Any action related to this license will be governed by
+Polish Law.
+
+8. Severability. If any provision of this terms of use is held to be
+unenforceable, this terms of use will remain in effect with the provision
+omitted, unless omission would frustrate the intent of the parties, in which
+case this terms of use will immediately terminate.
+
+9. Integration. This document is the entire  agreement between you and
+ComArch relating to its subject matter. It supersedes all prior or
+contemporaneous oral or written communications, proposals, representations
+and warranties and prevails over any conflicting or additional terms of any
+quote, order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of these terms of use. No
+modification of this Agreement will be binding, unless in writing and signed
+by an authorized representative of each party.
+
+
diff --git a/packages/debian/usr/share/pixmaps/whitestork.png b/packages/debian/usr/share/pixmaps/whitestork.png
new file mode 100644 (file)
index 0000000..751eb6e
Binary files /dev/null and b/packages/debian/usr/share/pixmaps/whitestork.png differ
diff --git a/packages/debian/usr/share/pixmaps/whitestork_icon.png b/packages/debian/usr/share/pixmaps/whitestork_icon.png
new file mode 100644 (file)
index 0000000..2c3563b
Binary files /dev/null and b/packages/debian/usr/share/pixmaps/whitestork_icon.png differ
diff --git a/release_makefile b/release_makefile
new file mode 100644 (file)
index 0000000..d6ff249
--- /dev/null
@@ -0,0 +1,395 @@
+#REP_LOCATION = ${HOME}/whitestork/repository/WhiteStork
+#REP_LOCATION := `pwd`/..
+ARCH = `arch`
+REP_TAG = tags
+REP_BRANCH = branches
+REP_TRUNK = trunk
+
+MAKEFILE_FILE = ${REP_LOCATION}/${REP_TRUNK}
+
+ENGINE = engine
+DBUS = dbus
+MANAGER = manager
+GUI = gui
+
+APP_NAME = whitestork
+MAJOR_VER = 0
+MINOR_VER = 4
+RELEASE_MAJOR_VER = 0
+RELEASE_MINOR_VER = 4
+RELEASE_PATCH_VER = 0
+APP_VER = ${RELEASE_MAJOR_VER}.${RELEASE_MINOR_VER}.${RELEASE_PATCH_VER}
+PACK_VER = 1
+FRM_VER = 0.1
+EXECUTABLE = ${BINARIES}/WhiteStork
+
+GUI_PACK_NAME = whitestorkgui
+MNG_PACK_NAME = whitestork
+ENG_PACK_NAME = enginexdxf
+
+BINARIES = bin
+INCLUDE = include
+DATA = data
+PACKAGES = packages
+
+FILES = ${REP_LOCATION}/${REP_TRUNK}/${DATA}/files_debbuild
+LOG_DIR = logs
+LOG_CLEAN = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/clean.log
+LOG_BUILD = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/build.log
+LOG_RUN = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/run.log
+LOG_DEBS = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/debs.log
+LOG_INST = ${REP_LOCATION}/${REP_TRUNK}/${LOG_DIR}/install.log
+
+
+first: build-test
+       @echo -e -n ""
+
+# build new version (x+1).0.0
+version: version-pre
+
+# build new release with version x,(y+1).0
+release: release-pre
+
+# build new pre-release with version x.y.(z=REPOSITORY REVISION)
+pre-release: pre-release-pre
+
+#create new tagget version from actual trunk
+tagged-version: clean debs
+               @mkdir  ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER}
+               @cp -r  ${REP_LOCATION}/${REP_TRUNK}/*        ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER}
+               @echo -e -n ".svn\n*~\n"    >    ${REP_LOCATION}/${REP_TRUNK}/NOT_FOR_SVN
+               @-find ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER} -iname ".svn" -exec rm -f -r {} \; >/dev/null 2>/dev/null
+               @-find ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER} -iname "*~" -exec rm -f -r {} \; >/dev/null 2>/dev/null
+               @-find ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER} -maxdepth 1 -iname "dict.*" -exec rm -f -r {} \; >/dev/null 2>/dev/null
+               @-find ${REP_LOCATION}/${REP_TAG}/${APP_NAME}-${APP_VER} -iname "*.deb" -exec mv {} ${REP_LOCATION}/${REP_TAG} \; >/dev/null 2>/dev/null
+               @cd ${REP_LOCATION}/${REP_TAG} && svn add ${APP_NAME}-${APP_VER}
+               @cd ${REP_LOCATION}/${REP_TAG} && svn ci -m "BUILD FRAMEWORK: Added new tagged version of WhiteStork: ${APP_NAME}-${APP_VER}\n"
+
+send-last:
+               @cd ${REP_LOCATION}/${REP_TRUNK} && 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}\" mdictionary-devel@garage.maemo.org <~/stranger.content\n\
+                       rm -f ~/${APP_NAME}-${APP_VER}.tar.gz\n" > stranger.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 whitestorks' 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" > stranger.content
+               @scp ${REP_LOCATION}/${REP_TRUNK}/${APP_NAME}-${APP_VER}.tar.gz stranger@stud.ics.p.lodz.pl:~/
+               @scp ${LOG_BUILD} stranger@stud.ics.p.lodz.pl:~/
+               @scp ${LOG_DEBS} stranger@stud.ics.p.lodz.pl:~/
+               @scp ${MAKEFILE_FILE}/stranger.script stranger@stud.ics.p.lodz.pl:~/
+               @scp ${MAKEFILE_FILE}/stranger.content stranger@stud.ics.p.lodz.pl:~/
+               @rm -f ${MAKEFILE_FILE}/stranger.script
+               @rm -f ${MAKEFILE_FILE}/stranger.content
+               @ssh stranger@stud.ics.p.lodz.pl  ./mailscript
+
+version-post: tagged-version send-last
+               @echo -e -n "New version ${APP_VER} created and sent.\n"
+release-post: tagged-version send-last
+               @echo -e -n "New release ${APP_VER} created.\n"
+pre-release-post: tagged-version send-last
+               @echo -e -n "New pre-release ${APP_VER} created and sent.\n"
+
+version-pre:
+               @-cd  ${REP_LOCATION}/${REP_TRUNK} && svn update
+               @${REP_LOCATION}/${REP_TRUNK}/${DATA}/version.sh "${MAKEFILE_FILE}"
+               @echo -e -n "VERSION: Jeden zamykamy\n" 
+
+release-pre:
+               @-cd  ${REP_LOCATION}/${REP_TRUNK} && svn update
+               @${REP_LOCATION}/${REP_TRUNK}/${DATA}/release.sh "${MAKEFILE_FILE}"
+               @echo -e -n "RELEASE: Jeden zamykamy\n"
+
+pre-release-pre:
+               @-cd  ${REP_LOCATION}/${REP_TRUNK} && svn update
+               @${REP_LOCATION}/${REP_TRUNK}/${DATA}/pre-release.sh "${MAKEFILE_FILE}"
+               @echo -e -n "PRE_RELEASE: Jeden zamykamy\n"             
+
+build: pre-build ${BINARIES}/engine_xdxf.so ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork ${BINARIES}/WhiteStorkManager
+               @echo -e -n "\nBuilding WhiteStork is finished.\n"
+pre-build:
+               @echo -e -n "Building WhiteStork... \n"
+               @echo -e -n "Location: ${REP_LOCATION}\n\nplease wait a while....\n"
+               @echo -e -n "" > ${LOG_BUILD}
+
+${BINARIES}/WhiteStorkManager:
+               @echo -e -n "**--> Compiling Manager...\n" >> ${LOG_BUILD}
+               @cd ${MANAGER} && make >> ${LOG_BUILD}
+
+${BINARIES}/ws_dbus.o:
+               @echo -e -n "**--> Compiling D-BUS Wrapper... \n" >> ${LOG_BUILD}
+               @cd ${DBUS} && make >> ${LOG_BUILD}
+
+${BINARIES}/WhiteStork:
+               @echo -e -n "**--> Compiling User Interface...\n" >> ${LOG_BUILD}
+               @cd ${GUI} && make >> ${LOG_BUILD}
+
+${BINARIES}/engine_xdxf.so:
+               @echo -e -n "**--> Compiling Engine...\n" >> ${LOG_BUILD}
+               @cd ${ENGINE} && make >> ${LOG_BUILD}
+
+
+clean:
+               @echo -e -n "" > ${LOG_CLEAN}
+               @-rm -f ./${BINARIES}/* >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-rm -f ${REP_LOCATION}/${REP_TRUNK}/*~ >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-rm -f ${REP_LOCATION}/${REP_TRUNK}/*.deb >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-cd ./${GUI} && make clean >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-cd ./${DBUS} && make clean >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-cd ./${ENGINE} && make clean >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-cd ./${MANAGER} && make clean >> ${LOG_CLEAN} 2>> ${LOG_CLEAN}
+               @-echo -e -n "Project directories are cleaned.\n"
+
+run:
+               @run-standalone.sh WhiteStork
+
+build-test: clean build
+               @echo -e -n "Copying needed files to specyfic directories...\n"
+               @echo -e -n > ${LOG_RUN}
+               @-fakeroot mkdir /usr/share/WhiteStork >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot rm -f /usr/share/WhiteStork/*  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir  /usr/share/WhiteStork/engines >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir  /usr/share/WhiteStork/dictionaries >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir  /usr/share/WhiteStork/dictionaries/local >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir /usr/lib/WhiteStork >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot rm -f /usr/lib/WhiteStork/*  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot mkdir /usr/include/WhiteStork >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot rm -f /usr/include/WhiteStork/*  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/WhiteStork ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/WhiteStorkManager /usr/bin/  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/engine_xdxf.so /usr/lib/WhiteStork  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${INCLUDE}/dictionary_engine.h /usr/include/WhiteStork
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.png /usr/share/pixmaps/WhiteStork  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${DATA}/icon.png /usr/share/pixmaps/WhiteStork  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/dict.xdxf /usr/share/WhiteStork/dictionaries/local  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/dict.cache /usr/share/WhiteStork/dictionaries/local >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${DATA}/org.maemo.WhiteStorkManager.service /usr/share/dbus-1/services  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @-fakeroot cp ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.desktop /usr/share/applications/hildon  >> ${LOG_RUN} 2>> ${LOG_RUN}
+               @gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/local/path "/usr/share/WhiteStork/dictionaries/local"
+               @gconftool-2 --type string --set /apps/WhiteStork/Dictionaries/local/name "Local dictionary"
+               @gconftool-2 --type bool --set /apps/WhiteStork/Dictionaries/local/active true
+
+run-deb:
+               @run-standalone.sh WhiteStork
+
+debs: pre-debs mng-deb eng-deb gui-deb
+               @echo -e -n "Building debian packages finished.\n"
+
+mng-deb: mng-pack-dirs ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStorkManager
+               @echo -e -n "**-->Makeing manager package...\n"
+               @echo -e -n "**-->Makeing manager package...\n" >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/WhiteStorkManager ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin/ >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/org.maemo.WhiteStorkManager.service  ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/dict1.xdxf ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/elements/dict.xdxf   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/dict1.cache ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/elements/dict.cache   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/dict2.xdxf ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/us-en/dict.xdxf   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @find ${FILES} -type f -maxdepth 1 -name "mngc_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN" \;
+
+               @sed 's/Version:/Version: '${APP_VER}-${PACK_VER}'/ ' ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control > ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup
+
+               mv ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control
+
+
+               @find ${FILES} -type f -maxdepth 1 -name "mngC_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork" \;
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork/changelog"
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork/changelog.Debian"
+               @touch ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @chmod g-w ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @find "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" -path '*DEBIAN*' -prune -o -type f -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/add_sums.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" \;
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && fakeroot dpkg-deb --build debian >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && mv -f debian.deb ../${MNG_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+
+gui-deb: gui-pack-dirs ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork
+               @echo -e -n "**-->Making whitestork GUI package...\n"
+               @echo -e -n "**-->Making whitestork GUI package...\n" >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/WhiteStork ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin/ >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.desktop ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications/hildon/whitestorkgui.desktop   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @fakeroot cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.desktop /usr/share/applications/hildon/whitestorkgui.desktop
+               @ln -s /usr/share/applications/hildon/whitestorkgui.desktop ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu/extra_applications/0112_whitestorkgui.desktop
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/whitestork.png ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/icon.png ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps/whitestork_icon.png   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/org.maemo.WhiteStorkGui.service  ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services   >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @find ${FILES} -type f -maxdepth 1 -name "guic_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN" \;
+               
+               @sed 's/Version:/Version: '${APP_VER}-${PACK_VER}'/ ' ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control > ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup
+
+               mv ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control
+
+               @find ${FILES} -type f -maxdepth 1 -name "guiC_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui" \;
+#              @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}"/debian/usr/share/doc/whitestorkgui.1
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui/changelog"
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui/changelog.Debian"
+               @touch ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @chmod g-w ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @find "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" -path '*DEBIAN*' -prune -o -type f -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/add_sums.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" \;
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && fakeroot dpkg-deb --build debian >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && mv -f debian.deb ../${GUI_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb   >> ${LOG_DEBS} 2>> ${LOG_DEBS}                
+
+eng-deb: eng-pack-dirs ${BINARIES}/engine_xdxf.so
+               @echo -e -n "**-->Making engine package...\n"
+               @echo -e -n "**-->Making engine package...\n" >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${BINARIES}/engine_xdxf.so ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib/WhiteStork/ >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${INCLUDE}/dictionary_engine.h ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include/WhiteStork  >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @cp -f ${REP_LOCATION}/${REP_TRUNK}/${DATA}/engine_xdxf_icon.png ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps >> ${LOG_DEBS} 2>> ${LOG_DEBS}
+               @find ${FILES} -type f -maxdepth 1 -name "engc_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN" \;
+               
+               @sed 's/Version:/Version: '${APP_VER}-${PACK_VER}'/ ' ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control > ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup
+
+               mv ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control_backup ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/control
+
+               @find ${FILES} -type f -maxdepth 1 -name "engC_*[^~]" -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/copy_clean.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf" \;
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf/changelog"
+               @gzip --best "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf/changelog.Debian"
+               @touch ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @chmod g-w ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN/md5sums
+               @find "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" -path '*DEBIAN*' -prune -o -type f -exec ${REP_LOCATION}/${REP_TRUNK}/${DATA}/add_sums.sh {} "${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian" \;
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}  &&  fakeroot dpkg-deb --build debian  >> ${LOG_DEBS}  2>> ${LOG_DEBS}
+               @cd ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES} && mv -f debian.deb ../${ENG_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb  >> ${LOG_DEBS} 2>> ${LOG_DEBS}         
+
+debs-i: clean-inst-log mng-deb-i gui-deb-i eng-deb-i
+               @echo -e -n "Every packages has been reinstalled.\n"
+
+clean-inst-log:
+               @echo -n "" > ${LOG_INST}
+
+debs-ir: debs-i
+               @echo -e -n "Restarting af-sb-init.sh <af-sb-init.sh restart>...\n"
+               @af-sb-init.sh restart
+               @echo -e -n "Now You can test Your new WhiteStork :D .. enjoy :-)\n"
+
+mng-deb-i:
+               @echo -e -n "Removing old MANAGER...\n"
+               @-fakeroot dpkg -r whitestork  >/dev/null 2>/dev/null           
+               @echo -e -n "Installing new package MANAGER...\n"
+               @cd ${REP_LOCATION}/${REP_TRUNK} && fakeroot dpkg -i ${MNG_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb  >> ${LOG_INST} 2>> ${LOG_INST}
+
+gui-deb-i:
+               @echo -e -n "Removing old GUI...\n"
+               @-fakeroot dpkg -r whitestorkgui  >/dev/null 2>/dev/null                
+               @echo -e -n "Installing new package GUI...\n"
+               @cd ${REP_LOCATION}/${REP_TRUNK} && fakeroot dpkg -i ${GUI_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb  >> ${LOG_INST} 2>> ${LOG_INST}
+
+eng-deb-i:
+               @echo -e -n "Removing old ENGINE...\n"
+               @-fakeroot dpkg -r enginexdxf  >/dev/null 2>/dev/null           
+               @echo -e -n "Installing new package ENGINE...\n"
+               @cd ${REP_LOCATION}/${REP_TRUNK} && fakeroot dpkg -i ${ENG_PACK_NAME}_${APP_VER}-${PACK_VER}_${ARCH}.deb  >> ${LOG_INST} 2>> ${LOG_INST}
+
+pre-debs: clean
+               @echo -e -n "Making of *.deb packages...\nPlease wait...\n"
+               @echo -e -n "" > ${LOG_DEBS}
+
+eng-pack-dirs:
+               @echo -e -n "Creating and cleaning required directories for ENGINE..."   >/dev/null 2>/dev/null
+               @-rm -f -r ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/*   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib/WhiteStork   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include/WhiteStork   >/dev/null 2>/dev/null  
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps   >/dev/null 2>/dev/null
+               @find ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian -type d -exec chmod 0755 {} \;
+
+mng-pack-dirs:
+               @echo -e -n "Creating and cleaning required directories for MANAGER..."   >/dev/null 2>/dev/null
+               @-rm -f -r ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/*   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/engines   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/elements   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/us-en   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork   >/dev/null 2>/dev/null
+               @find ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian -type d -exec chmod 0755 {} \;
+
+gui-pack-dirs:
+               @echo -e -n "Creating and cleaning required directories for GUI..."   >/dev/null 2>/dev/null
+               @-rm -f -r ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/*   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu/extra_applications   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps/WhiteStork   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications/hildon   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services   >/dev/null 2>/dev/null
+               @find ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian -type d -exec chmod 0755 {} \;
+
+whole-pack-dirs:
+               @echo -e -n "Creating and cleaning required directories WHOLE SYSTEM..."
+               @-rm -f -r ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/*
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/DEBIAN
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/etc/others-menu/extra_applications   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/bin
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/lib/WhiteStork
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/include/WhiteStork
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/engines
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/elements
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/WhiteStork/dictionaries/us-en
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/dbus-1/services
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/pixmaps/WhiteStork
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/applications/hildon    
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestork   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/whitestorkgui   >/dev/null 2>/dev/null
+               @mkdir ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian/usr/share/doc/enginexdxf   >/dev/null 2>/dev/null
+               @find ${REP_LOCATION}/${REP_TRUNK}/${PACKAGES}/debian -type d -exec chmod 0755 {} \;
+
+uninstall:
+               @-fakeroot dpkg -r enginexdxf
+               @-fakeroot dpkg -r whitestorkgui
+               @-fakeroot dpkg -r whitestork
+               @-fakeroot dpkg --purge whitestork
+               @-fakeroot dpkg --purge whitestorkgui
+               @-fakeroot dpkg --purge enginexdxf
+               @-gconftool-2 --recursive-unset /apps/WhiteStork
+               @-gconftool-2 --recursive-unset /apps/maemo/WhiteStork
+               @-rm -rf  /usr/share/WhiteStork
+               @-rm -f  /usr/share/pixmaps/whitestork.png
+               @-rm -f  /usr/share/pixmaps/engine_xdxf_icon.png
+               @-rm -f  /usr/share/pixmaps/whitestork_icon.png
+
+display: access
+               @fakeroot su ${USER} -c 'af-sb-init.sh start'   
+
+display-s: access
+               @fakeroot su ${USER} -c 'af-sb-init.sh stop'
+
+display-r: access
+               @fakeroot su ${USER} -c 'af-sb-init.sh restart'
+
+access:
+               @fakeroot chmod 0777 /var/run