Displaying 3 results from an estimated 3 matches for "force_mkdir".
2007 Dec 10
0
rake/rakewx.rb error
...le wxGTK and
wxRuby2 from SVN. I''ve commited the patch to the file, which changes the
following:
Index: rake/rakewx.rb
===================================================================
--- rake/rakewx.rb (revision 1451)
+++ rake/rakewx.rb (working copy)
@@ -143,7 +143,7 @@
force_mkdir File.join(dest_dir, ''wx'')
force_mkdir File.join(dest_dir, ''wx'', ''classes'')
cp TARGET_LIB, Config::CONFIG[''sitearchdir'']
- all_ruby_lib_files.each do | lib_file |
+ ALL_RUBY_LIB_FILES.each do | lib_file |
dest = lib...
2006 Oct 24
0
[713] trunk/wxruby2: Patch for rake install, added rake uninstall
..._lib("wx.rb")
-         install_lib($dl_lib)
- end
</del><ins>+ task :install => [ :default, *all_ruby_lib_files ] do | t |
+ dest_dir = Config::CONFIG[''sitelibdir'']
+ force_mkdir File.join(dest_dir, ''wx'')
+ force_mkdir File.join(dest_dir, ''wx'', ''classes'')
+ cp $target_lib, Config::CONFIG[''sitearchdir'']
+ all_ruby_lib_files.each do | lib_file |
+ dest = lib_file.sub(/^lib/...
2005 Aug 03
24
patch for Icon
I just checked out a fresh copy and had to tweak wxIcon.h to get it to
compile on Mac OS X and windows. The problem is with:
wxIcon(const wxString& filename,
wxBitmapType type = wxBITMAP_TYPE_XPM,
int desiredWidth=-1, int desiredHeight=-1);
that signature is only used on GTK on other systems it is:
wxIcon(const wxString& name,
long