Skip to content

Commit

Permalink
for #270 - still more cleanup of builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Cecil committed May 9, 2019
1 parent 97fdf25 commit 8dd642a
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ notes
/xmsys2
/pi2
/qtifw
/mxe
/mxe32
/mxe64
/msw
/msw32
/msw64
*.app
req/binject
Expand Down
16 changes: 15 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,22 @@
Walkabout (3.3+) will be less compatible with the unmaintained 3.1 and with 4.0 (jRuby)
We have interesting ideas of we what we do with Shoes that may be difficult
to immplememt in Shoes 4.


-------------- Shoes 3.3.9 ------------------------------

=== New with 3.3.8
* Ruby 2.4.5(6) Gems 3.03
* Updated versions of Gems (byebug, nokogiri, etc)

=== Fixed with 3.3.8
* osx: improved building of gems if user has homebrew.

=== Developer Issues with 3.3.8
* Better cross building of gems (Windows from Linux)
* Ruby 2.4+ compatible. Tested with 2.5.5
* Support for 64 bit on Windows 10
* Can build Shoes for native windows api. Not working.

-------------- Shoes 3.3.7 ------------------------------

=== New with 3.3.7
Expand Down
4 changes: 2 additions & 2 deletions crontasks/nbuild-shoes-all
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# my crontab so user name may not be set up for chroot
#schroot -c debx86 -u ccoupe -- ~/Projects/shoes3/crontasks/nbuild-shoes-lin64
~/Projects/shoes3/crontasks/nbuild-shoes-xlin64
~/Projects/shoes3/crontasks/nbuild-shoes-xwin7
#~/Projects/shoes3/crontasks/nbuild-shoes-mxe
#~/Projects/shoes3/crontasks/nbuild-shoes-xwin7
~/Projects/shoes3/crontasks/nbuild-shoes-mxe
# ssh to Mac mini and build.
#~/Projects/shoes3/crontasks/nbuild-shoes-mavericks
~/Projects/shoes3/crontasks/nbuild-shoes-yosemite
Expand Down
4 changes: 2 additions & 2 deletions crontasks/nbuild-shoes-mxe
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ echo "Build Shoes GTK Widgets for MinGW32 Windows"
source ~/.rvm/scripts/rvm
cd /home/ccoupe/Projects/shoes3
rm -f build_target
rvm use 2.3.6
rake setup:mxe
rvm use 2.4.5
rake setup:mxe32
rake
rake package
rake clobber
Expand Down
2 changes: 1 addition & 1 deletion make/linux/mxe64/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
gtkdll = "#{GtkDeps}/bin"
APP['LIBPATHS'] = [bindll, "#{EXT_RUBY}/bin"]

WINVERSION = "#{APP['VERSION']}-gtk3-32"
WINVERSION = "#{APP['VERSION']}-gtk3-64"
WINFNAME = "#{APPNAME}-#{WINVERSION}"

RUBY_HTTP = true
Expand Down
2 changes: 1 addition & 1 deletion make/linux/xmsw32/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
WIN32_LIBS = []

if APP['GDB']
WIN32_CFLAGS << "-g3 -O0"
WIN32_CFLAGS << "-g3 -O0 -DDEBUG"
else
WIN32_CFLAGS << "-O -Wall"
end
Expand Down
4 changes: 2 additions & 2 deletions make/linux/xmsw64/env.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# xmsw cross build
# TODO: missing curl
# TODO: massage for mxe deps and locations. (basedll..)
cf =(ENV['ENV_CUSTOM'] || "#{APP['VAGRANT']}xmsw-custom.yaml")
cf =(ENV['ENV_CUSTOM'] || "#{APP['VAGRANT']}xmsw64-custom.yaml")
gtk_version = '3'
if File.exists? cf
custmz = YAML.load_file(cf)
Expand Down Expand Up @@ -63,7 +63,7 @@
WIN32_LIBS = []

if APP['GDB']
WIN32_CFLAGS << "-g3 -O0"
WIN32_CFLAGS << "-g3 -O0 -DDEBUG"
else
WIN32_CFLAGS << "-O -Wall"
end
Expand Down
2 changes: 1 addition & 1 deletion shoes/native/native.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ int shoes_native_console(); // Yes it's different from terminal
void shoes_native_terminal(char *, int, int, int, int, char *, char *, char *);
void shoes_native_app_console();
void shoes_native_browser_open(char *); // TODO: unused?
void shoes__native_slot_init(VALUE, SHOES_SLOT_OS *, int, int, int, int, int, int);
void shoes_native_slot_init(VALUE, SHOES_SLOT_OS *, int, int, int, int, int, int);
void shoes_slot_init_menu(VALUE, SHOES_SLOT_OS *, int, int, int, int, int, int);
cairo_t *shoes_native_cairo_create(shoes_canvas *);
void shoes_native_slot_destroy(shoes_canvas *, shoes_canvas *);
Expand Down
6 changes: 6 additions & 0 deletions shoes/native/windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ void shoes_native_get_time(SHOES_TIME *ts) {
*ts = GetTickCount();
}

unsigned long shoes_diff_time(SHOES_TIME *start, SHOES_TIME *end)
{
return *end - *start;
}


// calls from ruby.c - stubbed out until written for windows - see subsys.rb
void shoes_svg_init() {
}
Expand Down

0 comments on commit 8dd642a

Please sign in to comment.