Source Files
Filename | Size | Changed | Actions |
---|---|---|---|
hello-0.1.tar.gz | 0000000539539 Bytes | 1367635328about 11 years ago | |
hello.changes | 0000000106106 Bytes | 1367635346about 11 years ago | |
hello.spec | 0000000754754 Bytes | 1367635361about 11 years ago | |
hello.yaml | 0000000297297 Bytes | 1367635396about 11 years ago |
Latest Revision
Graham Cobb (gcobb)
committed
about 10 years ago (revision 2)
Testing, testing --This line, and those below, will be ignored-- D Argos-codes.tcl A hello-0.1.tar.gz A hello.changes A hello.spec A hello.yaml Diff for working copy: . Index: hello-0.1.tar.gz =================================================================== Binary file 'hello-0.1.tar.gz' added. Index: hello.changes =================================================================== --- hello.changes (revision 0) +++ hello.changes (revision 0) @@ -0,0 +1,2 @@ +* Tue Oct 23 2012 David Greaves <david@dgreaves.com> - 0.1-1 +- Initial release of Mer hello world sample. Index: hello.spec =================================================================== --- hello.spec (revision 0) +++ hello.spec (revision 0) @@ -0,0 +1,54 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.25 +# + +Name: hello + +# >> macros +# << macros + +Summary: Simple "Hello World" +Version: 0.1 +Release: 1 +Group: Amusements/Games +License: GPL +URL: https://wiki.merproject.org/wiki/Building_against_Mer_in_Community_OBS +Source0: hello-0.1.tar.gz +Source100: hello.yaml + +%description +Sample package for Mer + + +%prep +%setup -q -n %{name}-%{version} + +# >> setup +# << setup + +%build +# >> build pre +# << build pre + + +make %{?jobs:-j%jobs} + +# >> build post +# << build post + +%install +rm -rf %{buildroot} +# >> install pre +# << install pre +%make_install + +# >> install post +# << install post + + +%files +%defattr(-,root,root,-) +%{_bindir}/hello +# >> files +# << files Index: hello.yaml =================================================================== --- hello.yaml (revision 0) +++ hello.yaml (revision 0) @@ -0,0 +1,13 @@ +Name: hello +Summary: Simple "Hello World" +Description: Sample package for Mer +URL: https://wiki.merproject.org/wiki/Building_against_Mer_in_Community_OBS +Version: 0.1 +Release: 1 +Group: Amusements/Games +License: GPL +Configure: "none" +Sources: + - hello-0.1.tar.gz +Files: + - "%{_bindir}/hello" Index: Argos-codes.tcl =================================================================== --- Argos-codes.tcl (revision 1) +++ Argos-codes.tcl (working copy) @@ -1,47 +0,0 @@ -source /tvlib/tcl/tv/mfslib.tcl - -proc setIr { irObj field irSequence } { - - set savedInitial 0 - - foreach irPart $irSequence { - - if {$savedInitial == 0} { - set savedInitial 1 - dbobj $irObj set $field $irPart - } else { - dbobj $irObj add $field $irPart - } - - } -} - -proc setcodes {} { - - set db [dbopen] - - puts "Setting new IR codes (Clean Strategy 2)..." - - RetryTransaction { - - set tivoir [db $db open /Component/Ir/TivoFormat/20000] - - setIr $tivoir "Dig0" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 32 33 96 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 32 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig1" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig2" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig3" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 96 33 96 33 32 33 32 33 32 33 32 33 32 33 96 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig4" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 32 33 96 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 32 33 96 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig5" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 32 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig6" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 96 33 32 33 96 33 32 33 32 33 32 33 32 33 96 33 32 33 96 33 32 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig7" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 32 33 32 33 96 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 32 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig8" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - setIr $tivoir "Dig9" "0 48 36 0 519 259 33 96 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 96 33 96 33 96 33 32 33 96 33 96 33 96 33 32 33 32 33 32 33 32 33 96 33 32 33 32 33 32 33 96 33 96 33 96 33 96 33 2318 519 129 33 5538" - } - - puts "Finished! Reboot your TiVo for the new codes to take effect." - - dbclose $db - -} - -