From 5a162f8bc9c2779d2e204d68a076c7de82674afa Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Wed, 7 Feb 2007 10:48:43 +0000 Subject: [PATCH] add Google Explorer CANVAS emulation --- dhtml/dhtml.spec | 15 +++++++++++++-- dhtml/dhtml.txt | 26 +++++++++++++++----------- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/dhtml/dhtml.spec b/dhtml/dhtml.spec index 4680ec01a0..125501a0d4 100644 --- a/dhtml/dhtml.spec +++ b/dhtml/dhtml.spec @@ -76,6 +76,7 @@ %define V_jquery_create 20070207 %define V_jquery_array 20070207 %define V_jquery_easing 1.1 +%define V_excanvas 20070207 # package information Name: dhtml @@ -143,7 +144,8 @@ Source48: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-cookie-%{ Source49: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-create-%{V_jquery_create}.js Source50: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-array-%{V_jquery_array}.js Source51: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-easing-%{V_jquery_easing}.js -Source52: dhtml.txt +Source52: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/excanvas-%{V_excanvas}.js +Source53: dhtml.txt # build information Prefix: %{l_prefix} @@ -414,6 +416,11 @@ AutoReqProv: no url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/ regex = jquery-array-(__VER__)\.js } + prog dhtml:excanvas = { + version = %{V_excanvas} + url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/ + regex = excanvas-(__VER__)\.js + } %prep %setup -q -c -T @@ -489,7 +496,8 @@ AutoReqProv: no $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit \ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt \ - $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin \ + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas %{l_shtool} install -c -m 644 \ %{SOURCE prototype-%{V_prototype}.js} \ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/ @@ -646,6 +654,9 @@ AutoReqProv: no %{l_shtool} install -c -m 644 \ %{SOURCE jquery-easing-%{V_jquery_easing}.js} \ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/easing.js + %{l_shtool} install -c -m 644 \ + %{SOURCE excanvas-%{V_excanvas}.js} \ + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas/excanvas.js %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files diff --git a/dhtml/dhtml.txt b/dhtml/dhtml.txt index c55a234428..e486a217df 100644 --- a/dhtml/dhtml.txt +++ b/dhtml/dhtml.txt @@ -129,16 +129,20 @@ To use these JavaScript libraries... - jQuery - - [] - [] - [] - [] - [] - [] - [] - [] - [] - [] + + [] + [] + [] + [] + [] + [] + [] + [] + [] + [] [] + - ExplorerCanvas + + +