diff -Naur E:\trees\smtube\trunk\..\vendor\current/build_os2.cmd E:\trees\smtube\trunk/build_os2.cmd --- E:\trees\smtube\trunk\..\vendor\current/build_os2.cmd 1970-01-01 01:00:00.000000000 +0100 +++ E:\trees\smtube\trunk/build_os2.cmd 2013-11-28 12:54:50.000000000 +0100 @@ -0,0 +1,288 @@ +/* SMTube Build Script */ +/* root done by Herwig Bauernfeind, enhanced by Silvan Scherrer */ + +/* version history */ +/* version 0.1.0 from 23.05.2013 Silvan (first edition) */ +/* version 0.1.1 from 05.06.2013 Silvan renamed readme files (happy birthday Justin) */ +/* version 0.2.0 from 28.11.2013 Silvan added branding, added diff */ + +/* init the version string (don't forget to change) */ +version = "0.2.0" +version_date = "28.11.2013" +'@echo off' + +parse arg command option +parse source . . scriptFile + +/* init the required vars */ +qRC = 0 +mRC = 0 +buildDir = strip(directory(),'T','\') /* Make sure we have no trailing backslash */ +sourceDir = FixDir(filespec('D', scriptFile) || filespec('P', scriptFile)) +os2Dir = sourceDir || '\os2' +srcDir = sourceDir || '\src' +vendorDir = sourceDir || '\..\vendor\current' +diffDir = sourceDir || '\..\' +installDir = buildDir || '\install' +installDirT= installDir || '\translations' +qErrorFile = buildDir||'\qmake.err' +qOutFile = buildDir||'\qmake.out' +mErrorFile = buildDir||'\make.err' +mOutFile = buildDir||'\make.out' + +/* get the SMTube version */ +SMTube_version = '0.0.0' +SMTube_build = '' +call version +internal_build = translate(SMTube_version, '_', '.') + +title = "SMTube for eCS (OS/2) build script v" || version || " from " || version_date +say title +say +say "Build directory :" buildDir +say "Source directory:" sourceDir +say +say "SMTube version :" SMTube_version +say " build :" SMTube_build +say + +/* translate command to all upercase */ +command = translate(command) + +if command = "" then signal help + +if command = "INSTALL" then do + if option \== "" then do + SMTube_build = option + end + select + when SMTube_build \== "" then do + zipFile = installDir || '\SMTube-' || internal_build || '-' || SMTube_build || '.zip' + end + otherwise do + signal help + end + end +end + +/* now we translate also the options */ +option = translate(option) + +if sourceDir \== buildDir then do + say "Shadow build in progress ..." + say +end + +say "Executing command: "command option + +select + when command = "MAKE" & option = "CLEAN" then do + + say "cleaning the tree" + call make 'distclean' + + say "please execute this script again with 'make' to build SMTube" + + end + when command = "MAKE" then do + + say "building svn_revision" + ok = SysMkDir(buildDir||'\src') + address cmd 'sh ' sourceDir||'\get_svn_revision.sh ' sourceDir ' "eCS(OS/2) build"' + + say "creating SMTube makefile" + call qmake + + if qRC = 0 then do + say "building SMTube" + if option = "" then do + call make + end + else do + call make 'debug' + end + end + + end + + when command = "INSTALL" then do + +/* first delete everything */ + call deleteall + +/* create the installDir,and the translation subdir */ + ok = SysMkDir(installDir) + ok = SysMkDir(installDirT) + +/* copy the exe */ + ok = SysCopyObject(buildDir||'\src\smtube.exe',installDir) + +/* copy the readme */ + rm.0 = 3 + rm.1 = 'smtube_en.txt' + rm.2 = 'smtube_de.txt' + rm.3 = 'smtube_fr.txt' + do i = 1 to rm.0 + cmdtorun = 'sed "s;_VERSION_;' || SMTube_version || ';g" ' || os2Dir || '\' || rm.i || ' | sed "s;_BUILD_;' || SMTube_build || ';g" >' || installDir || '\' || rm.i + address cmd cmdtorun + end + +/* create the qm files from ts files */ + ok = SysFileTree(srcDir||'\translations\*.ts', rm.,'FO') + do i = 1 to rm.0 + fileName = filespec('N',rm.i) + fileName = left(fileName,lastpos('.', fileName)-1) || '.qm' + cmdtorun = 'lrelease ' || rm.i || ' -qm ' || installDir || '\translations\' || fileName + address cmd cmdtorun + end + +/* zip all dynamic stuff */ + ok = directory(installDir) + cmdtorun = 'zip -r ' || zipFile || ' * -x *.zip' + address cmd cmdtorun + ok = directory(buildDir) + +/* zip all icons */ + ok = directory(os2Dir) + cmdtorun = 'zip ' || zipFile || ' *.ico' + address cmd cmdtorun + ok = directory(buildDir) + + end + + when command = "UNINSTALL" then do + + call deleteall + + end + + when command = "DIFF" then do + + address cmd 'diff -Naur ' || vendorDir || ' ' || sourceDir || ' > ' || diffDir || 'smtube_' || SMTube_version || '_' || SMTube_build || '.diff' + + end + + otherwise do + say 'Unknown parameter "'command'" - aborting...' + exit 1 + end +end + +/* cleanup the mess */ +error: + +if qRC = 0 & mRC = 0 then do + ok = SysFileDelete(mOutFile) + ok = SysFileDelete(mErrorFile) + ok = SysFileDelete(qOutFile) + ok = SysFileDelete(qErrorFile) +end +else do + if mRC <> 0 then do + say "Alarm! Make errors occured! Look at "mOutFile" and "mErrorFile + end + if qRC <> 0 then do + say "Alarm! qMake errors occured! Look at "qOutFile" and "qErrorFile + end +end + +exit 0 + +qmake: + address cmd 'qmake ' sourceDir ' "APPLICATION_VERSION='SMTube_version'" 2>'qErrorFile' 1>'qOutFile + qRC = RC + if qRC <> 0 then do + call beep 880, 20 + say "Alarm! qmake RC="RC + end +return + +make: + makeparm = arg(1) + address cmd 'make 'makeparm' 2>'mErrorFile' 1>'mOutFile + mRC = RC + if mRC <> 0 then do + call beep 880, 20 + say "Alarm! make RC="RC + end +return + + +deleteall: /* delete installDir (including subdirs) except zip files */ + + say "Delete all files except *zip in " installDir + ok = SysFileTree(installDir||'\*', rm.,'FOS') + do i = 1 to rm.0 + if translate(right(rm.i, 3)) \== 'ZIP' then do + ok = SysFileDelete(rm.i) + end + end + + say "Delete zip file " zipFile + ok = SysFileDelete(zipFile) + + say "Removing subdirs from " || installDir + ok = SysFileTree(installDir||'\*', rm.,'OS') + do i = 1 to rm.0 + ok = SysRmDir(rm.i) + end + + call SysSleep(5) +return + +/** + * Fixes the directory path by a) converting all slashes to back + * slashes and b) ensuring that the trailing slash is present if + * the directory is the root directory, and absent otherwise. + * + * @param dir the directory path + * @param noslash + * optional argument. If 1, the path returned will not have a + * trailing slash anyway. Useful for concatenating it with a + * file name. + */ +FixDir: procedure expose (Globals) + parse arg dir, noslash + noslash = (noslash = 1) + dir = translate(dir, '\', '/') + if (right(dir, 1) == '\' &, + (noslash | \(length(dir) == 3 & (substr(dir, 2, 1) == ':')))) then + dir = substr(dir, 1, length(dir) - 1) + return dir + +/** + * reads the version.cpp and gets the SMTube version from there + */ +version: procedure expose SMTube_version SMTube_build srcDir + + SMTubeVer = ' ' + /* SMTube Version file */ + Version = srcDir || "\version.cpp" + + do until lines(Version) = 0 + verline = linein(Version) + if left(Verline,15) = "#define VERSION" then do + parse var verline . ' '. ' ' SMTubeVer + end + end + + ok = stream(Version,'c','close') + if SMTubeVer \== ' ' then do + SMTube_version = strip(SMTubeVer,,'"') + end + + if SMTube_build == '' then do + SMTube_build = 'GA' + end + + return + +help: + say "Parameters:" + say " make" + say " make debug" + say " make clean" + say " install build (build overwrites what this script finds)" + say " uninstall" + say " diff (creates a diff from vendor to trunk)" +exit 255 diff -Naur E:\trees\smtube\trunk\..\vendor\current/get_svn_revision.sh E:\trees\smtube\trunk/get_svn_revision.sh --- E:\trees\smtube\trunk\..\vendor\current/get_svn_revision.sh 2012-02-24 23:23:26.000000000 +0100 +++ E:\trees\smtube\trunk/get_svn_revision.sh 2013-05-23 18:29:44.000000000 +0200 @@ -7,10 +7,14 @@ test "$1" && extra="-$1" svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2` +test $svn_revision || svn_revision=`cd "$1" && LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2` test $svn_revision || svn_revision=`cd "$1" && grep revision .svn/entries 2>/dev/null | cut -d '"' -f2` test $svn_revision || svn_revision=`cd "$1" && sed -n -e '/^dir$/{n;p;q}' .svn/entries 2>/dev/null` test $svn_revision || svn_revision=0UNKNOWN +if test "$2"; then +extra="-$2" +fi NEW_REVISION="#define SVN_REVISION \"SVN-r${svn_revision}${extra}\"" OLD_REVISION=`cat src/svn_revision.h 2> /dev/null` diff -Naur E:\trees\smtube\trunk\..\vendor\current/os2/smtube_de.txt E:\trees\smtube\trunk/os2/smtube_de.txt --- E:\trees\smtube\trunk\..\vendor\current/os2/smtube_de.txt 1970-01-01 01:00:00.000000000 +0100 +++ E:\trees\smtube\trunk/os2/smtube_de.txt 2014-02-21 15:56:00.000000000 +0100 @@ -0,0 +1,98 @@ +SMTube _VERSION_ _BUILD_ README + +(W) Silvan Scherrer, Mai 27, 2013 +zuletzt ge�ndert am 27.05.2013 + +0. INHALT DIESER DATEI +====================== + +1. ERFORDERNISSE + +2. INSTALLATION + +3. LIZENZ, URHEBERRECHT, HAFTUNGSAUSSCHLUSS + +4. KONTAKT + +5. UNTERST�TZUNG UND SPENDEN + +6. ENTWICKLUNGSGESCHICHTE + + +1. ERFORDERNISSE +================ + +Folgende Voraussetzungen m�ssen installiert werden. + + +1.1 SMPlayer +------------ + + 1. Download SMPlayer 0.8.5 oder neuer (unter http://svn.netlabs.org/qtapps + befinden sich weitere Informationen) + 2. Installieren gem�ss Anleitung des SMPlayer + + +2. INSTALLATION +=============== + +Zur Installation von SMTube f�hren Sie folgende Schritte aus: + + 1. Entpacken Sie das SMTube-Paket in das selbe Verzeichnis wie SMPlayer. + 2. Mittels F11 im SMPlayer k�nnen nun YouTube Videos gesucht und abgespielt + werden. + +3. LIZENZ, URHEBERRECHT, HAFTUNGSAUSSCHLUSS +=========================================== + +SMTube ist (c) 2012-2014 RVM . + +Das Urheberrecht der OS/2-Portierung ist (c) 2013,2014 Silvan Scherrer. + +Dieses Programm ist freie Software; Sie k�nnen es unter den Bedingungen +der GNU General Public License, wie in der Datei COPYING im +Installationsverzeichnis enthalten, weiterverbreiten und/oder +modifizieren. + +Der Original-Quelltext ist erh�ltlich unter: + + http://smplayer.sourceforge.net + +Dieses Programm wird in der Hoffnung vertrieben, da� es n�tzlich ist, +aber OHNE JEDWEDE HAFTUNG und ohne implizite Garantie der +MARKF�HIGKEIT oder der BENUTZBARKEIT F�R EINEN BESTIMMTEN ZWECK. + +Einzelheiten entnehmen Sie bitte der Datei COPYING. + + +4. KONTAKT +========== + +Wenn Sie einen Fehler entdecken, dann erstellen Sie bitte ein Ticket unter +http://svn.netlabs.org/qtapps + +Es werden nur Meldungen reproduzierbarer Fehler akzeptiert. :-) + + +5. UNTERST�TZUNG UND SPENDEN +============================ + +SMTube basiert auf freiwilliger, ehrenamtlicher Arbeit. Wenn Sie die weitere +Entwicklung unterst�tzen m�chten, haben Sie folgende M�glichkeiten: + + * Spenden ans QT4 Projekt: meht Informationen unter http://qt.netlabs.org + + * Mitarbeit am Projekt: Neben der eigentlichen Entwicklung geh�rt hierzu + auch die Pflege der Dokumentation und der Projekt-Web-Site sowie Hilfe f�r + Anwender. + + +6. ENTWICKLUNGSGESCHICHTE +========================= + +2014-02-21 + * version 1.8 portiert + +2013-05-23 + * erste Version + diff -Naur E:\trees\smtube\trunk\..\vendor\current/os2/smtube_en.txt E:\trees\smtube\trunk/os2/smtube_en.txt --- E:\trees\smtube\trunk\..\vendor\current/os2/smtube_en.txt 1970-01-01 01:00:00.000000000 +0100 +++ E:\trees\smtube\trunk/os2/smtube_en.txt 2014-02-21 15:56:46.000000000 +0100 @@ -0,0 +1,97 @@ +SMTube _VERSION_ _BUILD_ README + +(W) Silvan Scherrer, May 27, 2013 +last update May 27, 2013 + + +0. CONTENTS OF THIS FILE +======================== + +1. REQUIREMENTS + +2. INSTALLATION + +3. LICENSE, COPYRIGHT, DISCLAIMER + +4. CONTACT + +5. SUPPORT AND DONATIONS + +6. HISTORY + + +1. REQUIREMENTS +=============== + +The following requirements need to be installed. + + +1.1 SMPlayer +------------ + + 1. Download SMPlayer 0.8.5 or better (see http://svn.netlabs.org/qtapps for + more information) + 2. Install the files according to the readme + + +2. INSTALLATION +=============== + +To install SMTube, do the following: + + 1. Extract the SMTube package into the same directory as SMPlayer is. + 2. With F11 in SMPlayer you can play and search for YouTube videos + + +3. LICENSE, COPYRIGHT, DISCLAIMER +================================= + +SMTube is copyright (C) 2012-2014 RVM . + +The OS/2 port is copyright (c) 2013,2014 Silvan Scherrer. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as contained in +the file COPYING in the installation directory. + +The original source code is available at: + + http://smplayer.sourceforge.net + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +For details, refer to the file COPYING. + + +4. CONTACT +========== + +If you find a bug, then add a ticket to the trac at +http://svn.netlabs.org/qtapps + +Only bug reports with a reproducable bug are accepted. :-) + + +5. SUPPORT AND DONATIONS +======================== + +SMTube is based on volunteer work. If you would like to support further +development, you can do so in one of the following ways: + + * Donate to the Qt4 project: see http://qt.netlabs.org for more information + + * Contribute to the project: Besides actual development, this also includes + maintaining the documentation and the project web site as well as help + for users. + + +6. HISTORY +========== + +2014-02-21 + * updated port to version 1.8 + +2013-05-23 + * first version diff -Naur E:\trees\smtube\trunk\..\vendor\current/os2/smtube_fr.txt E:\trees\smtube\trunk/os2/smtube_fr.txt --- E:\trees\smtube\trunk\..\vendor\current/os2/smtube_fr.txt 1970-01-01 01:00:00.000000000 +0100 +++ E:\trees\smtube\trunk/os2/smtube_fr.txt 2014-02-21 15:58:08.000000000 +0100 @@ -0,0 +1,104 @@ +SMTube _VERSION_ _BUILD_ LISEZMOI + +Document original....: (W) Silvan Scherrer, May 27, 2013 +Derni�re mise � jour.: 2013-05-27 +Traduction fran�aise.: Guillaume Gay +Version..............: 2013-05-27 + + +0. CONTENU DU FICHIER +===================== + +1. PR�REQUIS + +2. INSTALLATION + +3. LICENCE, COPYRIGHT, MENTIONS L�GALES + +4. CONTACT + +5. SOUTIEN ET DONS + +6. HISTORIQUE DES VERSIONS + + +1. PR�REQUIS +============ + +Le produit suivant n�cessite d'�tre install� au pr�alable. + +1.1 SMPlayer +------------ + + 1. T�l�charger SMPlayer version 0.8.5 ou ult�rieure + (voir http://svn.netlabs.org/qtapps pour plus d'information) + 2. Installer les fichiers selon les instructions figurant dans + le fichier lisezmoi + + +2. INSTALLATION +=============== + +Pour installer SMTube : + + 1. Extrayez le contenu du paquetage dans le m�me r�pertoire + que celui de SMPlayer. + 2. En appuyant sur la touche F11 dans SMPlayer, vous pouvez + rechercher et lire les vid�os YouTube. + + +3. LICENCE, COPYRIGHT, MENTIONS L�GALES +======================================= + +SMTube est un copyright (C) 2012-2014 de RVM . + +Le portage pour OS/2 est un copyright (C) 2013,2014 de Silvan Scherrer. + +Ce programme est un gratuiciel ; vous pouvez le redistribuer et/ou +le modifier selon les termes de la licence Publique G�n�rale GNU +contenue dans le fichier COPYING situ� dans r�pertoire d'installation. + +Le code source original est disponible sur : + + http://smplayer.sourceforge.net + +Ce programme est distribu� dans l'espoir qu'il sera utile � quelque +chose, mais SANS AUCUNE GARANTIE ; sans m�me la garantie implicite de +COMMERCIALISATION ou d'AD�QUATION � UN BUT PARTICULIER. + +Pour plus de d�tails, veuillez vous r�f�rer au fichier COPYING. + + +4. CONTACT +========== + +Si vous rencontrez un probl�me, ouvrez un ticket dans le syst�me +trac sur http://svn.netlabs.org/qtapps. + +Seuls les rapports de bogues reproductibles seront accept�s, bien +entendu ! :-) + + +5. SOUTIEN ET DONS +================== + +SMTube est bas� sur le volontariat. Si vous voulez soutenir les +d�veloppements futurs, vous pouvez le faire de l'une des mani�res +suivantes : + + * Faites un don pour le projet Qt4 : consultez http://qt.netlabs.org + pour plus d'informations. + + * Contribuez au projet : outre le d�veloppement pur, il y a aussi la + maintenance de la documentation, la maintenance du site web du + projet, ainsi que l'aide aux utilisateurs. + + +6. HISTORIQUE DES VERSIONS +========================== + +2014-02-21 + * Mise � jour � la version 1.8 de SMTube + +2013-05-23 + * Version initiale diff -Naur E:\trees\smtube\trunk\..\vendor\current/os2/smtube.ico E:\trees\smtube\trunk/os2/smtube.ico --- E:\trees\smtube\trunk\..\vendor\current/os2/smtube.ico 1970-01-01 01:00:00.000000000 +0100 +++ E:\trees\smtube\trunk/os2/smtube.ico 2013-05-23 19:53:18.000000000 +0200 @@ -0,0 +1,62 @@ +CI : @����CI : @@���������������������������������������������������������|?�����������������������������������������������?�?�?���� �������������?�?����������������������������?������������������������������������������������������������������ 2X } o H) 2�.�V�[�Z�`�b�l�]�:`4 H+B�W�t�y�v�v�w�z�|�y�x�t�b �o+zsd�hZ��c�������w\yqpiVGC9*' ++p�9�Z�^�o�X�P~-"2 �X�{�y�x�w�w�u�w�z�} � ��!��Q�ˊ�س�޸���������������������ˬ߷k��q�t�y�y�v�y�y�v�HB �>�w�y�w�v�y�|��$�;��H��Q��Q��G��f�̘�Ԭ�ٶ�ݼ���������������������ʈ��N��!�|�y�x�w�w�x�z�v�H2K�k�x�x�w�u� ��S�n�v��{����Š�Ə�Ȍ�֤�ۮ��������������������������ͅ��I��B��Q��R��>��#�} +�y�z�v�n�4�6�v�w�w�y��(�Y�g�k�v����Ƃ���́�σ�Ђ�Ӆ�ۖ������������������؄��l�۞�������ݻ�س�͢��z��<� �v�t�g�!�S�y�x�z��"�K�Z�d��j��a��T��V��]��]��^��b��l�׎�����������ތ��^�܂������������������������ڴ��u���u�t�W2< �d�w�x����;�R��X��K��:��7��A��B��=��@��G��O��j�ۗ����������a��H�ف������������������������������ٶ��n���v�srY"�v�|�{��,�I��E��4��.��/��7��7��5��<��C��I��S�Ԍ����������g��Q�ه��������������������������ܸ�С��U�� �|�: �m��������A��8��)��$��'��0��(��)��1��>��K��P��g�����������b��x�ޘ�Ӂ�Մ�׈�ً�ې�ߙ�ܓ�ݕ�ܕ�ޙ�ߝ���߹�խ�����1���U �M��;��1��'���~�y�y���%����!��,��3��6��7��;�̀���������`�ك������Ҁ�Ҁ�Ҁ�Ӏ�Ӏ�Յ�ُ�׋��|��y�҃�Չ�ژ�۬�˛��R��J�-C" �)�w"��0��A��(�r�n �q �w�� �� ��$��*��'��$��+��9��Z���������^�ڇ����������t��w��}��~��|��w��{�҂��{��k��e��m��x�҇�ә��h��i��s��Q t�Y�q�y$�|'�h�m�j�o +�}��#��"��������F�ы�������������d�ߎ�������������c��e��h��l��q��u��t��z��m��l��`��U��b������d�…�‚𽈒i> +N�A�^ �d�m�e �a�l�e�`�o*�n'�i�k�o"�}5ƨƹ�ƽ�ƾ�ż�Ŧaŧbž����������ŷ�ęVĕOĖQėRĘRĘSĘUĜ]ÚZÖQÖRÏG˞Z��~�Ѓ��T�˅�ˆ����tjC$�(�S�W�\ +�Z�a �^�k�` B.!)(&*'%)'%)&$)&$('&(('''&&&&&&%&%$%$!%%$$$$#####"#""""""!!   =7-�y��t��S��d�Ƃ�|��zߖa2 +� �A�N�R�Q�Q�` �^�l�i:*  !!!!  51*�ŋ��v��T��[��[��x�n��l�j7 6�,�F�I�L�I�N�X�e �o�f:) !! 42,�Π�Ն��g��]��F��Y�j�a܎UH)��>�A�E�D�G�K�S�f�o�a 9& ! 42,�լ�ܒ�҇��t��C��:��[�U�T�W*6�#�>�?�?�@�F�N�`�i�u �g 9'  32.��������͈��R��?��C�P�K�x:G��7�@�<�D�X�[�~3��C��C�� �x8) 222����������ן��\��B��D�J�F�E�F"�.�F�B�I�e�r"�{��'�����x�| 7. 222����������҅��g��5��@��E�E�F�k.$�,�U�T�K�U�j +�y ����2��X�z,�S�h6+777iiiWWW444!!! 221�����������b��*������0��G�>�~3w$#�5�j�h�f�[�b�p��5��R��h��n�b�J�U6%###eee�����䯯�ooo>>>### + + +1-&�լ������٥��T�z�s�y ��6��0�� �\C>�C�q�t�p�i�T�\ �s,��L��W��n�����L�O +�K6$%%%ppp������������������III''' +0*�͞���ا�ˑ��=�r�q�q�{ ����w�Uc&�@�u�w�v�o�R�E�]�}9��I��]��t����ͣ��n�V5"%%%ppp��������������������Ҕ��VVV--- /,(�ά�ް�ӟ�ć��9�z�u�o�q���z�z�y�SO �:�q�y�y�p�V�E�I�e��=��J��b��z����Ҭ�ڷ㸘4-($$$ooo��������������������������১�eee555 + + + /,(�ͫ�ڬ�ѝ�Ŋ��O�t�m�f +�l��,�y�x�x�u�P�r�x�y�w�_�@�@�O �m)�}:��M��g��~�Ę�԰������320###ooo��������������������������������빹�ttt444 + + + .,)�ή�٬�ў�É��i�}(�\�[�l�u �r�u�x�w�w�x�y�z�q�H�/�:�[�o,�z9��Q��j����ǝ�׶������320###ooo���������������������������������������sss + + + -+(�Ѵ�ݴ�Ң�ˆ��t��X�d �h�j�d�g�n�v�x�v�z�{�{�f�4�)�4�_�n+�{:��S��m����ɡ�ۼ������220"""ooo������������������������������������}}}777 + + + -+'�Ѵ�޶�թ�ŏ�����t�{)�b �[�Z�\ �c�t�y�z�|�{�|�X�&�(�5�]�s2�}>��T��n����˥���������110"""nnn��������������������������寯�lll888 + + + ,+(�־����خ�ȗ��m��q�v&�P�R�Q�S�Y�p�x�z�{�|�}�P�#�$�7�Z�k*��I��W��p����̧���������110!!!nnn��������������������ٜ��[[[--- + + + ,)&�Լ����Ѧ��O��;��K�b�I�G�J�L�P�l�y�y���z�O�%�&�9�V�c!��C��d��y����Ю���������00. mmm��������������Ɉ��KKK%%% + + + +(%�ӻ�ܸ��Z��Y��y��`�b�D�C�E�G�L�i�z�{�w�����^�/�(�:�S�g'��G��g�������ϭ�������а0,#bbb�����鶶�ttt>>> + + + *(%�ϵ����������}��i��F�V�@�B�C�M�j�}�z�F�����s�C�,�;�Y�l-�{>��Y��{����ӳ�������x/(444nnnZZZ222 + + + *$�v����Ϥ�����y��^��A�o%�B�@�D�U�t�|�^r�q�����]�9�< �U�^�t6��\��}����ϯ����ȓ�X/) + + + + + + *橀�ײ�ʟ�����t��`��@�k�K�C�I�e�{�v�. �0�}���w�T�A�L�\�s6��V��Y��Q�}B�o/��b�s.,* + + + +'$�ζ�ֱ�ƚ�����o��`��D�b�W �E�V�e�v�C& �7�z�u�i�Q�I�Z�s6�|A�R �Y�^�g ��M�ɡ-,+ + + + ,)&�˱�ѫ�”�����i��[��A�j�_�>�E�V�_@ �9�l�[�S�G�W �r4��\�i&�d!�e$�w$��j�к/-+ ,(%�ƫ�ͥ�����z��c��V�:�e�Y +�7�;�2I�+�I �F�;�S�r1��e��[�q2�l-��/�՘���1/,555}}}������������ggg fff������������sss'''VVV�������������α�Ǟ�����s��]��Q�x1�`�Q�4�7�^�'�=�0�G�q.��b�����U�w4��'��~�rhbMMM��������������񧧧555(((������������������MMM '''�������������ҵ�˜�����k��V��K�p$�a �D�7�-V%� �:�9�V �l#�H��~��~��6��M�ϯ�ֿ��ͧ��GGG vvv���������������yyyJJJ��������������쑑�*** >>>�������ͮ�����z��c��O��D�o"�]�4�:�/��3�H�H�]�] ��Q�����7��E��������������Љ��,,,@@@������������������LLL ###������������������ccc$$$rmi������r��]��M��B�j�D�3�6� G��K�?�V�m��l�����]�č��������������ԥ��666 ������������������fff + + + WWW��������������肂�TNJ��������r��`��O�v&�V�4�:�&O ��7�N�N�{,��m�ʨ��{�ֳ����Ѽ��Ǹ��fff MMM������������������000)))������������������HHH %%%�������Ƨ�����f��K��;�h�F�3�5� E��X�F�r3�9��k��s������򼟇�~)++'''������������������TTTggh���������������ppp + VWW��������������|��W��<�y+�X�6�=� \��A�b �N!�{��$��j�£�˯꼣dRHJ>7MD>LEAnml������������������hhhGFDIDAIB=VKD������������������xwuMJHOHDQD;WKC��������������������m��Q�.�m�@�<�4�*��_�_'�c)�� ��`�˲�̱�Ѹ�Ҽ�Կ����������������������������������������������ݭ�̔�ϲ����������������ʭ�ɫ�������׾�ѵ�����w��X��D�}"�R�8�A�<B�+�r�e$���O�˴�Ѻ�տ�������������������������������������������������۱�ب�׿�Ժ����������������������������ֽ�̯�����c��4��+�h�:�I�$ah�_�#�%��;��������������������������������������������������������ݰ�������������������������������������ս�Ť��x��;�� +�x�C�Q�4� �R�� ��5�G����������������������������������������������������������������������������������������������ѷ�����I����S�[�J� +YA������Y��������������������������������������������������s����������������������������������������ϲ�����b����^�h�\�2:.�����>�������������������������������������������������������������������������������������������l��f��6��`�t�d�2֨������w���������������������������������������������������������������������������������Я��[��!���x ���}�!4�v��������t��������������������������������������������������������������������������ֲ�Ȅ��S����q� ����m7?1���������\����ƿ�º�ƾ��������������������������������������������������������Ԝ��k��o��B�z.�~ +�������iF�h����������3�Ê�ɹ����ɺ�ʵ�ض�������������������������������������|������Ӿ�����U�T�S�'���������^Iש����������I��f�Ҏ�ѫ�ͺ�������������������������������������˕��C��M��|�i�o��\��$���������}#qY����߳������7�q����������������¼�¼����ż�ú�÷�������ŝ��v��E��2��/�� ��������Û D7I<C6'A1!pUN��vԢ�鷯�Ľ�ǿ�Ⱦ����ǽ�ĸ�����v��@��������������ܬ;.9*#G42`IFuVUzZWy]Xz[WzZVsU:K7 E3 +cL�sˣ���ˡ�l1&  \ No newline at end of file diff -Naur E:\trees\smtube\trunk\..\vendor\current/smtube.pro E:\trees\smtube\trunk/smtube.pro --- E:\trees\smtube\trunk\..\vendor\current/smtube.pro 1970-01-01 01:00:00.000000000 +0100 +++ E:\trees\smtube\trunk/smtube.pro 2013-05-23 18:30:40.000000000 +0200 @@ -0,0 +1,5 @@ +TEMPLATE = subdirs + +SUBDIRS += src + +src.file=src/smtube.pro \ No newline at end of file diff -Naur E:\trees\smtube\trunk\..\vendor\current/src/main.cpp E:\trees\smtube\trunk/src/main.cpp --- E:\trees\smtube\trunk\..\vendor\current/src/main.cpp 2013-07-22 12:09:14.000000000 +0200 +++ E:\trees\smtube\trunk/src/main.cpp 2014-02-21 15:42:52.000000000 +0100 @@ -63,7 +63,7 @@ #endif // YT_USE_SCRIPT QString translationsPath() { - QString path = "translations"; + QString path = QString(qApp->applicationDirPath() + "/translations"); #if !defined(Q_OS_WIN) #ifdef TRANSLATION_PATH QString s = QString(TRANSLATION_PATH); diff -Naur E:\trees\smtube\trunk\..\vendor\current/src/players.cpp E:\trees\smtube\trunk/src/players.cpp --- E:\trees\smtube\trunk\..\vendor\current/src/players.cpp 2013-01-12 01:03:30.000000000 +0100 +++ E:\trees\smtube\trunk/src/players.cpp 2013-05-23 18:40:32.000000000 +0200 @@ -25,11 +25,11 @@ if (found) *found = true; QString bin = qApp->applicationDirPath() + "/" + player_bin; - #ifdef Q_OS_WIN + #if defined(Q_OS_WIN) || defined(Q_OS_OS2) bin += ".exe"; #endif -#ifndef Q_OS_WIN +#if !defined(Q_OS_WIN) && !defined(Q_OS_OS2) QFileInfo fi(bin); if (!fi.exists() || !fi.isExecutable() || fi.isDir()) { qDebug("Player::exec: command: '%s' is not a valid executable", bin.toUtf8().constData()); diff -Naur E:\trees\smtube\trunk\..\vendor\current/src/qtsingleapplication/qtlocalpeer.cpp E:\trees\smtube\trunk/src/qtsingleapplication/qtlocalpeer.cpp --- E:\trees\smtube\trunk\..\vendor\current/src/qtsingleapplication/qtlocalpeer.cpp 2012-03-05 14:25:32.000000000 +0100 +++ E:\trees\smtube\trunk/src/qtsingleapplication/qtlocalpeer.cpp 2013-11-28 13:03:38.000000000 +0100 @@ -48,7 +48,7 @@ typedef BOOL(WINAPI*PProcessIdToSessionId)(DWORD,DWORD*); static PProcessIdToSessionId pProcessIdToSessionId = 0; #endif -#if defined(Q_OS_UNIX) +#if defined(Q_OS_UNIX) || defined(Q_OS_OS2) #include #include #endif diff -Naur E:\trees\smtube\trunk\..\vendor\current/src/smtube_os2.rc E:\trees\smtube\trunk/src/smtube_os2.rc --- E:\trees\smtube\trunk\..\vendor\current/src/smtube_os2.rc 1970-01-01 01:00:00.000000000 +0100 +++ E:\trees\smtube\trunk/src/smtube_os2.rc 2013-05-23 19:46:54.000000000 +0200 @@ -0,0 +1 @@ +ICON 1 DISCARDABLE "..\os2\smtube.ico" diff -Naur E:\trees\smtube\trunk\..\vendor\current/src/smtube.pro E:\trees\smtube\trunk/src/smtube.pro --- E:\trees\smtube\trunk\..\vendor\current/src/smtube.pro 2013-08-05 23:40:34.000000000 +0200 +++ E:\trees\smtube\trunk/src/smtube.pro 2014-02-21 15:32:02.000000000 +0100 @@ -107,3 +107,11 @@ win32 { RC_FILE = smtube.rc } + +os2 { + RC_FILE = smtube_os2.rc + # define the vendor part + DEF_FILE_VENDOR = bww bitwise works GmbH + DEF_FILE_VERSION = $$APPLICATION_VERSION + DEF_FILE_DESCRIPTION = eCS (OS/2) port of SMTube +}