Thu, 13 Sep 2012 23:11:20 +0200
Integrate Sencha Touch, not really HTML buth rather Javascript oh well.
Additionally improve exemplary text describing Dojo Toolkit use.
dhtml/dhtml.spec | file | annotate | diff | comparison | revisions | |
dhtml/dhtml.txt | file | annotate | diff | comparison | revisions |
1.1 --- a/dhtml/dhtml.spec Thu Sep 13 20:08:16 2012 +0200 1.2 +++ b/dhtml/dhtml.spec Thu Sep 13 23:11:20 2012 +0200 1.3 @@ -66,6 +66,7 @@ 1.4 %define V_excanvas 20090130 1.5 %define V_oat 2.8 1.6 %define V_extjs 4.1.1 1.7 +%define V_sentch 2.0.1.1 1.8 %define V_raphael 2.1.0 1.9 %define V_svgweb 20110226 1.10 %define V_canto 0.15 1.11 @@ -136,17 +137,18 @@ 1.12 Source41: http://download.openpkg.org/components/versioned/dhtml/excanvas-%{V_excanvas}.js 1.13 Source42: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz 1.14 Source43: http://cdn.sencha.com/extjs-%{V_extjs}-gpl.zip 1.15 -Source44: http://download.openpkg.org/components/versioned/dhtml/raphael-%{V_raphael}.js 1.16 -Source45: http://download.openpkg.org/components/versioned/dhtml/svgweb-%{V_svgweb}.tar.gz 1.17 -Source46: http://canto-js.googlecode.com/files/canto-%{V_canto}.js 1.18 -Source47: http://mootools.net/download/get/mootools-core-%{V_mootools}-full-nocompat-yc.js 1.19 -Source48: http://github.com/downloads/mui/mochaui/mochaui-%{V_mochaui}.zip 1.20 -Source49: http://download.github.com/pure-pure-%{V_pure}.zip 1.21 -Source50: http://www.dillerdesign.com/experiment/DD_belatedPNG/DD_belatedPNG_%{V_ddbelatedpng}.js 1.22 -Source51: http://ftp.mozilla.org/pub/mozilla.org/labs/bespin/Embedded/BespinEmbedded-%{V_skywriter}.tar.gz 1.23 -Source52: http://senchalabs.github.com/philogl/downloads/PhiloGL-%{V_philogl}.zip 1.24 -Source53: https://download.github.com/mathjax-MathJax-v%{V_mathjax}.zip 1.25 -Source54: dhtml.txt 1.26 +Source44: http://cdn.sencha.io/touch/sencha-touch-%{V_sentch}-gpl.zip 1.27 +Source45: http://download.openpkg.org/components/versioned/dhtml/raphael-%{V_raphael}.js 1.28 +Source46: http://download.openpkg.org/components/versioned/dhtml/svgweb-%{V_svgweb}.tar.gz 1.29 +Source47: http://canto-js.googlecode.com/files/canto-%{V_canto}.js 1.30 +Source48: http://mootools.net/download/get/mootools-core-%{V_mootools}-full-nocompat-yc.js 1.31 +Source49: http://github.com/downloads/mui/mochaui/mochaui-%{V_mochaui}.zip 1.32 +Source50: http://download.github.com/pure-pure-%{V_pure}.zip 1.33 +Source51: http://www.dillerdesign.com/experiment/DD_belatedPNG/DD_belatedPNG_%{V_ddbelatedpng}.js 1.34 +Source52: http://ftp.mozilla.org/pub/mozilla.org/labs/bespin/Embedded/BespinEmbedded-%{V_skywriter}.tar.gz 1.35 +Source53: http://senchalabs.github.com/philogl/downloads/PhiloGL-%{V_philogl}.zip 1.36 +Source54: https://download.github.com/mathjax-MathJax-v%{V_mathjax}.zip 1.37 +Source55: dhtml.txt 1.38 1.39 # build information 1.40 BuildPreReq: OpenPKG, openpkg >= 20100101, infozip 1.41 @@ -378,6 +380,11 @@ 1.42 url = http://www.sencha.com/products/js/download.php 1.43 regex = Ext\s+JS\s+(\d+\.\d+\.\d+) 1.44 } 1.45 + prog dhtml:sentch = { 1.46 + version = %{V_sentch} 1.47 + url = http://cdn.sencha.io/touch/ 1.48 + regex = sencha-touch-(\d+\.\d+\.\d+\.\d+)-gpl\.zip 1.49 + } 1.50 prog dhtml:raphael = { 1.51 version = %{V_raphael} 1.52 url = http://raphaeljs.com/ 1.53 @@ -469,14 +476,15 @@ 1.54 %{l_prefix}/bin/unzip -q -x %{SOURCE40} 1.55 %setup -q -T -D -a 42 1.56 %{l_prefix}/bin/unzip -q -x %{SOURCE43} 1.57 + %{l_prefix}/bin/unzip -q -x %{SOURCE44} 1.58 chmod -R a+r MochiKit-%{V_mochikit} 1.59 - %setup -q -T -D -a 45 1.60 - %{l_prefix}/bin/unzip -q -x %{SOURCE48} 1.61 + %setup -q -T -D -a 46 1.62 %{l_prefix}/bin/unzip -q -x %{SOURCE49} 1.63 - %setup -q -T -D -a 51 1.64 + %{l_prefix}/bin/unzip -q -x %{SOURCE50} 1.65 + %setup -q -T -D -a 52 1.66 mkdir philogl-%{V_philogl} 1.67 - ( cd philogl-%{V_philogl}; %{l_prefix}/bin/unzip -q -x %{SOURCE52} ) || exit $? 1.68 - %setup -q -T -D -a 53 1.69 + ( cd philogl-%{V_philogl}; %{l_prefix}/bin/unzip -q -x %{SOURCE53} ) || exit $? 1.70 + %setup -q -T -D -a 54 1.71 1.72 %build 1.73 1.74 @@ -514,6 +522,7 @@ 1.75 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \ 1.76 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat \ 1.77 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs \ 1.78 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/sentch \ 1.79 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael \ 1.80 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb \ 1.81 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto \ 1.82 @@ -686,6 +695,13 @@ 1.83 find extjs-%{V_extjs} -name "*Copy.gif" -type f -exec rm -f {} \; 1.84 cp -rp extjs-%{V_extjs}/* \ 1.85 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs/ 1.86 + rm -rf \ 1.87 + sencha-touch-%{V_sentch}/docs \ 1.88 + sencha-touch-%{V_sentch}/src \ 1.89 + sencha-touch-%{V_sentch}/pkgs \ 1.90 + sencha-touch-%{V_sentch}/examples 1.91 + cp -rp sencha-touch-%{V_sentch}/* \ 1.92 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/sentch/ 1.93 cp -rp svgweb/svg* \ 1.94 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb/ 1.95 %{l_shtool} install -c -m 644 \
2.1 --- a/dhtml/dhtml.txt Thu Sep 13 20:08:16 2012 +0200 2.2 +++ b/dhtml/dhtml.txt Thu Sep 13 23:11:20 2012 +0200 2.3 @@ -111,7 +111,7 @@ 2.4 2.5 - Dojo 2.6 <!-- Dojo (http://dojotoolkit.org/) --> 2.7 - <script type="text/javascript" src="/dhtml/dojo/dojo.js"></script> 2.8 + <script type="text/javascript" src="/dhtml/dojo/dojo.js" data-dojo-config="async:true"></script> 2.9 [<script type="text/javascript">dojo.require("dojo.<xxx>.<xxx>");</script>] 2.10 2.11 - MochiKit 2.12 @@ -150,6 +150,12 @@ 2.13 <script type="text/javascript" src="/ext/adapter/jquery/ext-jquery-adapter.js"><script> 2.14 <script type="text/javascript" src="/ext/ext-all.js"><script> 2.15 2.16 + - Sencha Touch 2.17 + <!-- Sencha Touch JavaScript Toolkit (http://www.sencha.com/products/touch/ --> 2.18 + <script src="/dhtml/sentch/lib/touch/sencha-touch.js" type="text/javascript"></script> 2.19 + <script src="app/app.js" type="text/javascript"></script> 2.20 + <link href="/dhtml/sentch/lib/touch/resources/css/sencha-touch.css" rel="stylesheet" type="text/css" /> 2.21 + 2.22 - Raphael 2.23 <!-- Raphael (http://raphaeljs.com/) --> 2.24 <script type="text/javascript" src="/dhtml/raphael/raphael.js"><script>