[cairo-commit] rcairo/samples pac.rb, 1.5, 1.6 pac2.rb, 1.5, 1.6 png.rb, 1.11, 1.12 text-on-path.rb, 1.2, 1.3 text2.rb, 1.5, 1.6

Kouhei Sutou commit at pdx.freedesktop.org
Tue Mar 6 04:17:40 PST 2007


Committed by: kou

Update of /cvs/cairo/rcairo/samples
In directory kemper:/tmp/cvs-serv14983/samples

Modified Files:
	pac.rb pac2.rb png.rb text-on-path.rb text2.rb 
Log Message:
* setup.rb: removed dependency on setup.rb. used Ruby-GNOME2 style.
* extconf.rb: moved from packages/cairo/ext/.

* packages/cairo/ext: move to ...
* src/: ... here.

* packages/cairo/lib: move to ...
* src/lib: ... here.

* README, samples/: followed the changes.


Index: pac.rb
===================================================================
RCS file: /cvs/cairo/rcairo/samples/pac.rb,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pac.rb	4 Feb 2007 09:53:00 -0000	1.5
+++ pac.rb	6 Mar 2007 12:17:34 -0000	1.6
@@ -5,9 +5,9 @@
 =end
 
 top = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-base = File.join(top, "packages", "cairo")
-$LOAD_PATH.unshift File.join(base, "ext")
-$LOAD_PATH.unshift File.join(base, "lib")
+src = File.join(top, "src")
+$LOAD_PATH.unshift src
+$LOAD_PATH.unshift File.join(src, "lib")
 
 require "cairo"
 

Index: pac2.rb
===================================================================
RCS file: /cvs/cairo/rcairo/samples/pac2.rb,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pac2.rb	4 Feb 2007 09:53:00 -0000	1.5
+++ pac2.rb	6 Mar 2007 12:17:34 -0000	1.6
@@ -5,9 +5,9 @@
 =end
 
 top = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-base = File.join(top, "packages", "cairo")
-$LOAD_PATH.unshift File.join(base, "ext")
-$LOAD_PATH.unshift File.join(base, "lib")
+src = File.join(top, "src")
+$LOAD_PATH.unshift src
+$LOAD_PATH.unshift File.join(src, "lib")
 
 require "cairo"
 

Index: png.rb
===================================================================
RCS file: /cvs/cairo/rcairo/samples/png.rb,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- png.rb	4 Feb 2007 09:53:00 -0000	1.11
+++ png.rb	6 Mar 2007 12:17:34 -0000	1.12
@@ -1,9 +1,9 @@
 #!/usr/bin/env ruby
 
 top = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-base = File.join(top, "packages", "cairo")
-$LOAD_PATH.unshift File.join(base, "ext")
-$LOAD_PATH.unshift File.join(base, "lib")
+src = File.join(top, "src")
+$LOAD_PATH.unshift src
+$LOAD_PATH.unshift File.join(src, "lib")
 
 require 'cairo'
 

Index: text-on-path.rb
===================================================================
RCS file: /cvs/cairo/rcairo/samples/text-on-path.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- text-on-path.rb	4 Feb 2007 09:53:00 -0000	1.2
+++ text-on-path.rb	6 Mar 2007 12:17:34 -0000	1.3
@@ -1,9 +1,9 @@
 #!/usr/bin/env ruby
 
 top = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-base = File.join(top, "packages", "cairo")
-$LOAD_PATH.unshift File.join(base, "ext")
-$LOAD_PATH.unshift File.join(base, "lib")
+src = File.join(top, "src")
+$LOAD_PATH.unshift src
+$LOAD_PATH.unshift File.join(src, "lib")
 
 require 'cairo'
 require 'pango'

Index: text2.rb
===================================================================
RCS file: /cvs/cairo/rcairo/samples/text2.rb,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- text2.rb	4 Feb 2007 09:53:00 -0000	1.5
+++ text2.rb	6 Mar 2007 12:17:34 -0000	1.6
@@ -1,9 +1,9 @@
 #!/usr/bin/env ruby
 
 top = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-base = File.join(top, "packages", "cairo")
-$LOAD_PATH.unshift File.join(base, "ext")
-$LOAD_PATH.unshift File.join(base, "lib")
+src = File.join(top, "src")
+$LOAD_PATH.unshift src
+$LOAD_PATH.unshift File.join(src, "lib")
 
 require 'optparse'
 require 'ostruct'



More information about the cairo-commit mailing list