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

Windows GUI for trunk building

  • 771 Replies
  • 176896 Views
*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #410 on: 27 / November / 2010, 19:46:46 »
Advertisements
Hi awesome71717 !

Your source must be from some beta svn, because it isn't present in either the english or german
'official' recent trunk releases (985 and 479, respectively.
It should not be impossible to 'implant' your source, but you must use the exact same trunk build
number that your beta code was built on - if your source contains a non-modied version.inc it might tell you it's version. Once you know that, you will need to get this build's zip file, unless your source pack
contains the whole infrastructure (/core, /lib, /inc, etc + the Makefile etc.)   
If you needed the zip, unpack and import your code into the tree: you will need your cam's files for both the /platform and the /loader directories, and your cam's additions to /include/camera.h,
and you will need to edit the root Makefile to make the cam show up  in the cam panel.
Note that this is only a general 'outline' - the provider(s) of your beta source should be your first port
of call to get hints and tips on how to compile it

feel free to post if you think I can provide any more help (won't be tonight though...),

wim

PS Wow i'm a slow typer, 2 new releases popped up while typing this  :D

Re: Windows GUI for trunk building
« Reply #411 on: 27 / November / 2010, 21:01:24 »
Hmm the version.inc says BUILD_NUMBER := 0.9.9 the newest one I have is BUILD_NUMBER := 0.9.9-985

It compiled once, but I've been doing it in windows and it caused the gui to be displayed on half the screen (left side). I like using the command line methods in linux as I know exactly what I'm doing and I'll follow this http://chdk.wikia.com/wiki/Compiling_CHDK_under_Linux

Is there anything I'd need to do being that I'm making a beta build from here? http://a1100ischdk.googlecode.com/svn/trunk/%20a1100ischdk/

P.S. Could you explain how to add this beta build to your program, because when I add the trunk after svn checkout it doesn't come up on the list. I've been renaming the directory to a2000. And version 2.83 doesn't display properly on 120dpi font. :P. My screen is too small for my native resolution to sit at a normal distance from. (1680x1050 on a 20.1 inch Widescreen). Great Job though on the program, keep up the good work.
« Last Edit: 27 / November / 2010, 21:08:37 by awesome71717 »

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #412 on: 28 / November / 2010, 10:06:41 »
@awesome71717

I'll take a look at the links (edit: tomorrow) and see what I come up with ...
About the fonts in CHDK-Shell not showing properly: I tested this (also have 1680x1050)
It's perfectly possible , but you must manually correct the font setting in CHDK-Shell, for instance,
set "Scale Window size" to 100 and "Scale Font size" to 85. Settings will be saved to ini file
(settings are in the "GUI.." dialog)

@Bernd R
CHDK-Shell-v285 (update version)

  • added:     Possibility to force the program to accept GCC 3 for Vista & later
                  Can only be activated by manually adding 'override_oscheck=1' to
                  the [Program] section of the .ini file
  • Security: Clean according to VirusTotal. Checksums (FileAlyzer) are:
                  CHDK-Shell-v285-sfx.exe
                  CRC-32:  6A8B7C28                                  
                  MD5:      A1F0EE42B0D8C8354B736FEB0C11C0DC          
                  SHA1:     3DDEADFDEDA0DC8886149FA6CC7F4C82F7132A97
                  CHDK-Shell_Updater.7z
                  CRC-32: BF39355C
                  MD5:      291915E40BE7F82800EB48B9E48BFDB4
                  SHA1:     DC7F31638E7872199230495E7EF189CAC604A721

cheers,

wim

edit: Wiki updated
« Last Edit: 28 / November / 2010, 10:55:07 by whim »

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #413 on: 04 / December / 2010, 09:43:13 »
@Bernd R
Since you're obviously an avid user of Incremental compilation, I'm particularly
interested in your feedback about this ...

CHDK-Shell-v286 (update version)

[ Have 7z & a recent version ? Use CHDK-Shell-updater.7z  ]

  • added:     (In 'Compile Options..') Incremental compilation using 'gmake fir';
                   provides compile log, dump file(if selected) and GUI access to
                   extra gmake options, while 'locking down' most program functions to
                   try and make this a bit 'safer' ... let me know what you think.

  • fixed:       in CmdLine mode, 'gmake fir' would fail on a fresh build due to
                   the absence of a /bin directory

  • added:     miniGUI logo now also drawn in GDI+ for improved quality

  • fixed:       with 'Make newly downloaded builds current' unchecked, build name
                   would sometimes be incorrectly displayed after a site switch.

  • changed:  status no longer shows HTML page download progress by default;
                   check 'Show page download progress' in 'SVN Options ..' if you
                   want it back (changed in 2.84, forgot to document it ;) )

  • Security: Clean according to VirusTotal. Checksums (FileAlyzer) are:
                  CHDK-Shell-v286-sfx.exe
                  CRC-32:  6A8B7C28                                  
                  MD5:      A1F0EE42B0D8C8354B736FEB0C11C0DC          
                  SHA1:     3DDEADFDEDA0DC8886149FA6CC7F4C82F7132A97
                  CHDK-Shell_Updater.7z
                  CRC-32: BF39355C
                  MD5:      291915E40BE7F82800EB48B9E48BFDB4
                  SHA1:     DC7F31638E7872199230495E7EF189CAC604A721

cheers,

wim

PS Although I've tried my best to make the program "CHDK-millenium-proof" (as in trunk1000)
     I'm still slightly nervous about it  :D  Guess we'll soon find out ... 
« Last Edit: 04 / December / 2010, 11:05:39 by whim »


Re: Windows GUI for trunk building
« Reply #414 on: 04 / December / 2010, 12:58:40 »
thanks, i do today lots compile to find out program flow, and the incremental compile option do the job always ok as far i can see.compile time is 5.5 sec.

i see that the diskboot.bin and ps.fi2 files in a incremental build are not update in zip file.but they are new create in bin folder.

I think it should always work the same.
maybe files can on full build too create in trunkxxx/bin ?

so there need not the zip file ?

create a zip for incremental build is also possible and cost not too much time.
Ixus 1000 HS

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #415 on: 04 / December / 2010, 13:35:47 »
@Bernd R

Current behaviour is just the standard as defined in Makefile; zipping should be possible, will look into it.
Keeping 'normal' build output outside of zip's seems a bad idea to me: what about builds with more than 1 cam/firm involved ?

thanks,

wim
« Last Edit: 04 / December / 2010, 14:27:46 by whim »

Re: Windows GUI for trunk building
« Reply #416 on: 05 / December / 2010, 07:20:34 »
>Keeping 'normal' build output outside of zip's seems a bad idea to me: what about builds with more than 1 >cam/firm involved ?

when build more than 1 file, this create can deactivate and both files can clear
but its ok for me, when incremental mode create too the zip file and overwrite the full build zip files, or if not possible delelte this zip
Ixus 1000 HS

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #417 on: 05 / December / 2010, 08:06:01 »
It now works like this (example for ixus870_sd880 - 101a)

'full' compile UNchecked -> CHDK-ixus870_sd880-101a-0.9.9-999.zip

'full' compile    checked -> ixus870_sd880-101a-0.9.9-999.zip AND ixus870_sd880-101a-0.9.9-999-full.zip

(above is standard output under control of Makefile, for 'firzipsub' and 'firzipsubcomplete')

incremental via cmdline 'gmake fir' -> DISKBOOT.BIN (and PS.FIR or PS.FI2 if selected)

my experimental 2.87 now zips *.BIN and *.FI? as follows:

incremental  -> CHDK-ixus870_sd880-101a-0.9.9-999-inc.zip

and then deletes *.BIN & *.FI?

wim


*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #418 on: 08 / December / 2010, 10:19:00 »
CHDK-Shell-v287 (update version)

[ Have 7z & a recent version ? Use CHDK-Shell-updater.7z  ]

  • changed: changed: Incremental compile output now saved as '{name}-inc.zip'

  • changed: HTML pages now also recovered with wget; the program itself now
                  does not use M$ internet code anymore (unless your default browser
                  calls it, and you use the browse buttons or program update options)

  • Security: Clean according to VirusTotal. Checksums (FileAlyzer) are:
                  CHDK-Shell-v287-sfx.exe
                  CRC-32:  482730A4
                  MD5:      07436D8FB3A60E45F8222DDA13099D9C
                  SHA1:     2BC6A09B8A2AA729F5EB490026C94F4F287F85A6
                  CHDK-Shell_Updater.7z
                  CRC-32:  B529C117
                  MD5:      2F3377C9F7CA1812B02FD7FA47E2C824
                  SHA1:     6B0C0EADC906128AC83B55083ED64FD6134D19DF

cheers,

wim

Re: Windows GUI for trunk building
« Reply #419 on: 12 / December / 2010, 17:09:33 »
whim :  I recently move my beta port to work with the current build  (1001).  Everything works fine with v2.84 of your shell program when I click on "Compile Selected".  However,  when I try to compile using the command prompt button (which used to work fine) by typing "gmake fir" it gets hung up trying to compile for cameras that are not selected in the GUI.

Any idea what I'm doing wrong ?

(edit : seems I need to edit the .ini file ?  Change maxbuild0 & maxbuild1 from 1000 to 2000 ? now that the trunk # is greater than 999)
« Last Edit: 12 / December / 2010, 18:03:01 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics