Windows GUI for trunk building - page 52 - General Discussion and Assistance - CHDK Forum

Windows GUI for trunk building

  • 771 Replies
  • 300521 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #510 on: 11 / April / 2011, 11:02:58 »
Advertisements
CHDK-Shell-v314 (update version)

  • fixed:      Camera properties cross-referencing (in 'Source Tools ..') should
                  now be compatible with new camera.h / platform_camera.h structure

  • Security: Clean according to Jotti. Checksums (FileAlyzer) are:
                  CHDK-Shell-v314-sfx.exe
                  CRC-32:  A84976BA
                  MD5:      6682C5AD5A56C533DAC29D56AD6F8BEE
                  SHA1:     DFF876B58C57A18229C384DFAE30D63EC6A400D8
                  CHDK-Shell_Updater.7z
                  CRC-32:  9BFF1EDC
                  MD5:      895DD513278B19681681F1C05CB1D125
                  SHA1:     5BDDB5B83A3F5A12BB07520B893B574C6035B8A2

cheers,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = same minor version, so currently 3.1.0 and higher

Re: Windows GUI for trunk building
« Reply #511 on: 11 / April / 2011, 21:39:03 »
Hmmm ... updated and I get this (screen shot attached ).

Update 1: deleting trunk 1141 gets rid of this.  But that leaves me stuck at 1139.
Update 2: Everything works again. Updated to 3.14 (the update button in 3.12 did not indicate that a newer version was available).
« Last Edit: 11 / April / 2011, 22:48:22 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: Windows GUI for trunk building
« Reply #512 on: 12 / April / 2011, 06:08:53 »
@mngc

Not configurable from the program ATM, I'll look into it. For the moment, you might be able to
manually configure this as follows (note: never tried this myself):

- open the /bin folder in your compiler(s) folder, for instance: gcc451/bin
- find the WGETRC file and edit appropriate settings

As an aside: I recently changed the SVN addresses for CHDK & CHDKDE to use https



Thanks your answer. I edit all wxgetrc in chdk shell to use proxy.

I add https http ftp proxy and check_certificate = off  and use_proxy = on.

Not working, if i use cmd checkbox, small debug information available=> "Unkown error"

The debug window not show all information, only dowload link and the error displayed.

How wget called from main program? I try without chdk shell. I download windows version of wget and use normal command prompt and comman line parameter, set https_proxy variable and not working. => certificate error => i use skip certificate check. Now wget dowload the file.   

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #513 on: 12 / April / 2011, 12:08:49 »
@waterwingz

Sorry about that ... based my 'crash prevention' code on the size of camera.h, which
was made slightly larger than I had foreseen  ;)
  
@mngc

Did some googling, and it appears to be a known problem with Wget 1.9.1 ...
I did once try to update Wget, but never could get it to work, but then again,
I absolutely s*ck at anything web related ...
So, if you could supply a (link to a) complete set of files that can replace the
ones that are currently included in the /bin folder (the wget 1.9.1 uses 2 dlls to
provide SSL support, IIRC libeay32.dll & ssleay32.dll) that would be helpfull ...
I could then make the main Wget options configurable for easier experimentation.

TIA,

wim

[edit: I think I just got Wget 1.11.4 to run under CHDK-Shell ... that's a start ]

« Last Edit: 12 / April / 2011, 12:34:30 by whim »


*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: Windows GUI for trunk building
« Reply #514 on: 13 / April / 2011, 09:15:36 »


Did some googling, and it appears to be a known problem with Wget 1.9.1 ...
I did once try to update Wget, but never could get it to work, but then again,
I absolutely s*ck at anything web related ...
So, if you could supply a (link to a) complete set of files that can replace the
ones that are currently included in the /bin folder (the wget 1.9.1 uses 2 dlls to
provide SSL support, IIRC libeay32.dll & ssleay32.dll) that would be helpfull ...
I could then make the main Wget options configurable for easier experimentation.

TIA,

wim

[edit: I think I just got Wget 1.11.4 to run under CHDK-Shell ... that's a start ]



Good news. I get new wget from:
http://gnuwin32.sourceforge.net/packages/wget.htm

I use setup version of wget. I try it with normal command window. I set https http ftp proxy, check_certificate = off,  and use_proxy = on (i not know, why check_certificate = off requied to work wget). Now wget ok.

Now i copy installed bin folder to chdk shell bin folder (overwrite original wget). Then, uninstall setup version of wget. Now test it with chdk-shell. Not working, but i see the debug message wgetrc searching c:\program files... (not ok), and ...gcc451/etc folder (not ok). Now i move wgetrc to gcc*/etc folder. Now working! Latest 1142 CHDK source download with CHDK shell and then succesfully compiled for Canon a590is 1.0.1B. 

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #515 on: 13 / April / 2011, 12:15:19 »
@mngc

Looks like we got that about the same time then   :D
(getting it to run, that is ... haven't tried proxy stuff)

I used wget.exe 1.11.4 from Bart Puype
Quote
Latest version is 1.11.4, compiled with MS Visual C++ and linked with OpenSSL 0.9.8k. Page will be updated with new releases of wget. Wget tends to see a couple of incremental bugfix releases (i.e. 1.11.x). I am currently using wget 1.11.x on a daily basis.
Replaced the original versions (1.9.1) and got things working by adding "--no-certificate-check"
in the wget options.
I'm already preparing CHDK-Shell 3.15 - at startup it will:
- if not present, create new infile option 'wget_options' and set it to '--no-http-keep-alive'
- if it finds the new wget.exe in the /CHDK-Shell subdirectory, replace the installed wget in
   selected GCC3 and GCC4 devkits (renaming the old to 'wget.exe.191'), and then remove the
   new wget.exe from /CHDK-Shell subdirectory.
- Check for installed wget versions, if 'new' then add ' --no-check-certificate' to 'wget_options'
   (only if not already there, of course)

Afterwards, users can add/remove any 'wget_options' they like to customise ...

Note that if 'your' new wget does not report "GNU Wget 1.11.4" with wget --version it will probably
be overwritten, so keep it somewhere safe before running the 3.15 update ...
Once you've got the proxy params figured out, I'll add a way to set them from the program.

thanks,

wim




« Last Edit: 13 / April / 2011, 12:19:39 by whim »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #516 on: 13 / April / 2011, 15:42:42 »
@mngc
Quote
Now i move wgetrc to gcc*/etc folder. Now working!
Since you used an installer, check if it did not leave any wget preset garbage in the registry...
You might also want to remove references to wget in your PATH variable; it should
not matter because CHDK-Shell never counts on PATH variables.

CHDK-Shell-v315 (update version)

  • changed:  Camera properties cross-referencing (in 'Source Tools ..') updated:
                    - improved (?) detection of unnecessary overrides in platform_camera.h
                    - a list of unnecessary overrides (itemised per camera) is added
                      to the 'camprop_xref.log'; the same info is also shown when
                      hitting camera name buttons on the main GUI

  • changed:  wget.exe can now be updated to v. 1.11.4 to use proxy options,
                    a feature broken in version 1.9.1. Thanks for the hint, mngc !
                    I promise to implement a way to configure proxy settings as soon
                    as somebody figures out the required cmd and/or WGETRC settings.
                    Because pre 3.15 versions will not be able to use the new wget,
                    the update will NOT take place automatically: after updating to 3.15
                    the new wget.exe is provided in the /CHDK-Shell subdirectory as
                    'wget.exe.1114'. Just rename it to 'wget.exe' and (re)start the
                    program to update your devkits - the old ones will be kept as
                    'wget.exe.191'. Afterwards, '/CHDK-Shell/wget.exe' will be renamed
                    back to '/CHDK-Shell/wget.exe.1114'
                    Note that only GCC3 and the SELECTED GCC4 are updated - if you have
                    others, either copy the files manually, or select your other GCC4
                    and repeat the steps above.

  • Security: Clean according to Jotti. Checksums (FileAlyzer) are:
                  CHDK-Shell-v315-sfx.exe
                  CRC-32:  EE355ED0
                  MD5:      D6C5D9EDF1387E26619A24E7C2FBA825
                  SHA1:     3776BA4A4E3549CF46596C0CED8487B127ECB0DC
                  CHDK-Shell_Updater.7z
                  CRC-32:  4F1964CA
                  MD5:      536B3624B0D4B8329C038BC49104A93E
                  SHA1:     3B79D9670B93EAEA92460647E0299973F60A923A

cheers,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = same minor version, so currently 3.1.0 and higher

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #517 on: 13 / April / 2011, 20:11:28 »
CHDKXREF-v100.7z (262 kB  .7z incl. source)

  • fixed:      Reduction of falsely flagged "unnecessary overrides" (code from CHDK-Shell 3.16 !)

  • added:    Now also works for 'pre-platform_camera.h' builds (i.e. 1138 and earlier).

  • added:    Output file now also contains a per-camera list of suspected unnecessary overrides.

  • changed: Tweaked the GUI a bit.

  • Security: Clean according to Jotti. Checksums for the .7z (FileAlyzer) are:
                  CRC-32:  16F5DAE5
                  MD5:      127AA325063BE1F65E8D5810D12976E0
                  SHA1:     6A87D03FC0C1D9D30DD017BC9AAB6727C1B4D882

Cheers,

wim
« Last Edit: 13 / April / 2011, 20:18:56 by whim »


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #518 on: 14 / April / 2011, 13:37:35 »
CHDKXREF-v101.7z (264 kB  .7z incl. source)

  • added:    More output files (for new builds only):
                  - all_cams.txt (sort of a replacement for old camera.h)
                  - a folder "__platform__" can be created in the same folder
                     as the original "platform", with unnecessary overrides
                     commented out in relevant platform_camera.h
                     [Created files successfully tested on trunk 1143]

  • changed: "Go" button: larger, and hidden until source + destination paths exist


  • changed: "..." selection dialogs now offer the full tree below 'My Computer'

  • Security: Clean according to Jotti. Checksums for the .7z (FileAlyzer) are:
                  CRC-32:  B8D11DB4
                  MD5:      412A25CDCB473970E0508DD99CE8CD3A
                  SHA1:     6BDD6F97147B097F3518C7BCDFE8357101C39FFA

Cheers,

wim
« Last Edit: 14 / April / 2011, 14:07:39 by whim »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Windows GUI for trunk building
« Reply #519 on: 14 / April / 2011, 19:25:55 »
  • added:    More output files (for new builds only):
                  - all_cams.txt (sort of a replacement for old camera.h)
                  - a folder "__platform__" can be created in the same folder
                     as the original "platform", with unnecessary overrides
                     commented out in relevant platform_camera.h
                     [Created files successfully tested on trunk 1143]

Very nice. I think this is an excellent way to see what's what, well done. The auto detection of things that can be cleaned up is cool.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal