summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-12 21:23:29 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-12 21:23:29 +0200
commit3a2eecb5bcf35120fcf3a9dcf1637459c99a6abe (patch)
tree591d46a4a6f0bcfbc200e9c4a92508ee26974eb8
parent131839bfb26fadebc32ce86c10784e2ca2647bbc (diff)
downloadffi-efl-3a2eecb5bcf35120fcf3a9dcf1637459c99a6abe.zip
ffi-efl-3a2eecb5bcf35120fcf3a9dcf1637459c99a6abe.tar.gz
rename to ffi-e17
-rw-r--r--README.rdoc15
-rw-r--r--Rakefile7
-rw-r--r--lib/e17.rb14
-rw-r--r--lib/e17/ecore.rb (renamed from lib/efl/ecore.rb)2
-rw-r--r--lib/e17/ecore/event.rb (renamed from lib/efl/ecore/event.rb)2
-rw-r--r--lib/e17/edje.rb (renamed from lib/efl/edje.rb)2
-rw-r--r--lib/e17/eet.rb (renamed from lib/efl/eet.rb)2
-rw-r--r--lib/e17/eina.rb (renamed from lib/efl/eina.rb)2
-rw-r--r--lib/e17/evas.rb (renamed from lib/efl/evas.rb)2
-rw-r--r--lib/efl.rb13
-rw-r--r--spec/ecore_event_spec.rb8
-rw-r--r--spec/ecore_spec.rb6
-rw-r--r--spec/edje_spec.rb6
-rw-r--r--spec/eet_spec.rb6
-rw-r--r--spec/eina_spec.rb6
-rw-r--r--spec/evas_spec.rb6
16 files changed, 51 insertions, 48 deletions
diff --git a/README.rdoc b/README.rdoc
index 29ecf46..05bd9f1 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -1,10 +1,11 @@
-ruby-efl
+ffi-e17
by Jérémy Zurcher
http://cgit.asynk.ch
== DESCRIPTION:
-ruby-efl is a FFI[https://github.com/ffi/ffi/wiki] binding to Enlightenment Foundation Libraries (EFL[http://www.enlightenment.org/p.php?p=docs&l=en])
+ffi-e17 is a FFI[https://github.com/ffi/ffi/wiki] binding to Enlightenment Foundation Libraries (eina,eet,evas,ecore,edje)
+and Elementary, part of the Enlightenment project. (E17 API[http://www.enlightenment.org/p.php?p=docs&l=en])
== FEATURES/PROBLEMS:
@@ -12,8 +13,8 @@ ruby-efl is a FFI[https://github.com/ffi/ffi/wiki] binding to Enlightenment Foun
== SYNOPSIS:
- require './lib/efl'
- include EFL
+ require './lib/e17'
+ include E17
EET.init
EET.open('/tmp/_eet.cfg', EET::FILE_MODE_WRITE) do |f|
f.write 'config2', 'test--key'
@@ -36,12 +37,12 @@ For less minimalistic and more sane examples you may look at:
From rubyforge:
- [sudo] gem install ruby-efl
+ [sudo] gem install ffi-e17
or from the git repository on github:
- git clone git://github.com/jeremyz/ruby-efl.git
- cd ruby-efl
+ git clone git://github.com/jeremyz/ffi-e17.git
+ cd ffi-e17
rake gem:install
== CREDITS:
diff --git a/Rakefile b/Rakefile
index 0980801..4abf5e6 100644
--- a/Rakefile
+++ b/Rakefile
@@ -3,12 +3,13 @@
load './tasks/setup.rb'
#
# Project general information
-PROJ.name = 'ruby-efl'
+PROJ.name = 'ffi-e17'
PROJ.authors = 'Jérémy Zurcher'
PROJ.email = 'jeremy@asynk.ch'
-PROJ.url = 'http://cgit.asynk.ch'
+#PROJ.url = 'http://cgit.asynk.ch/cgi-bin/cgit/ffi-e17'
+PROJ.url = 'https://github.com/jeremyz/ffi-e17'
PROJ.version = '0.0.0'
-PROJ.rubyforge.name = 'ruby-efl'
+PROJ.rubyforge.name = 'ffi-e17'
PROJ.readme_file = 'README.rdoc'
#
# Annoucement
diff --git a/lib/e17.rb b/lib/e17.rb
new file mode 100644
index 0000000..a1e19cc
--- /dev/null
+++ b/lib/e17.rb
@@ -0,0 +1,14 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+#
+module E17
+ autoload :EINA, './lib/e17/eina.rb'
+ autoload :EET, './lib/e17/eet.rb'
+ autoload :EVAS, './lib/e17/evas.rb'
+ autoload :ECORE, './lib/e17/ecore.rb'
+ autoload :EDJE, './lib/e17/edje.rb'
+ autoload :ELM, './lib/e17/elementary.rb'
+end
+#
+# EOF
diff --git a/lib/efl/ecore.rb b/lib/e17/ecore.rb
index c1599aa..12c505c 100644
--- a/lib/efl/ecore.rb
+++ b/lib/e17/ecore.rb
@@ -3,7 +3,7 @@
#
require 'ffi'
#
-module EFL
+module E17
module ECORE
#
extend FFI::Library
diff --git a/lib/efl/ecore/event.rb b/lib/e17/ecore/event.rb
index ed85a28..e536875 100644
--- a/lib/efl/ecore/event.rb
+++ b/lib/e17/ecore/event.rb
@@ -3,7 +3,7 @@
#
require 'ffi'
#
-module EFL
+module E17
module ECORE
#
extend FFI::Library
diff --git a/lib/efl/edje.rb b/lib/e17/edje.rb
index 8977b09..4abeb0b 100644
--- a/lib/efl/edje.rb
+++ b/lib/e17/edje.rb
@@ -3,7 +3,7 @@
#
require 'ffi'
#
-module EFL
+module E17
module EDJE
#
extend FFI::Library
diff --git a/lib/efl/eet.rb b/lib/e17/eet.rb
index 1cfba91..929a0f8 100644
--- a/lib/efl/eet.rb
+++ b/lib/e17/eet.rb
@@ -3,7 +3,7 @@
#
require 'ffi'
#
-module EFL
+module E17
module EET
#
extend FFI::Library
diff --git a/lib/efl/eina.rb b/lib/e17/eina.rb
index 849a0a0..bdb3522 100644
--- a/lib/efl/eina.rb
+++ b/lib/e17/eina.rb
@@ -3,7 +3,7 @@
#
require 'ffi'
#
-module EFL
+module E17
module EINA
#
extend FFI::Library
diff --git a/lib/efl/evas.rb b/lib/e17/evas.rb
index 7f386b9..7a8d488 100644
--- a/lib/efl/evas.rb
+++ b/lib/e17/evas.rb
@@ -3,7 +3,7 @@
#
require 'ffi'
#
-module EFL
+module E17
module EVAS
#
extend FFI::Library
diff --git a/lib/efl.rb b/lib/efl.rb
deleted file mode 100644
index f3ef222..0000000
--- a/lib/efl.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /usr/bin/env ruby
-# -*- coding: UTF-8 -*-
-#
-#
-module EFL
- autoload :EINA, './lib/efl/eina.rb'
- autoload :EET, './lib/efl/eet.rb'
- autoload :EVAS, './lib/efl/evas.rb'
- autoload :ECORE, './lib/efl/ecore.rb'
- autoload :EDJE, './lib/efl/edje.rb'
-end
-#
-# EOF
diff --git a/spec/ecore_event_spec.rb b/spec/ecore_event_spec.rb
index a61e4c8..0dba5b9 100644
--- a/spec/ecore_event_spec.rb
+++ b/spec/ecore_event_spec.rb
@@ -1,12 +1,12 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/ecore'
-require 'efl/ecore/event'
+require 'e17/ecore'
+require 'e17/ecore/event'
#
-describe EFL::ECORE do
+describe E17::ECORE do
#
- include EFL
+ include E17
#
before(:all) do
USER_SIGNAL_CB = Proc.new do |data, type, event|
diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb
index 8d7f4bf..d027ab6 100644
--- a/spec/ecore_spec.rb
+++ b/spec/ecore_spec.rb
@@ -1,11 +1,11 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/ecore'
+require 'e17/ecore'
#
-describe EFL::ECORE do
+describe E17::ECORE do
#
- include EFL
+ include E17
#
it "should init" do
ECORE.init.should eql 1
diff --git a/spec/edje_spec.rb b/spec/edje_spec.rb
index 89fbc62..79bab21 100644
--- a/spec/edje_spec.rb
+++ b/spec/edje_spec.rb
@@ -1,11 +1,11 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/edje'
+require 'e17/edje'
#
-describe EFL::EDJE do
+describe E17::EDJE do
#
- include EFL
+ include E17
#
it "should init" do
EDJE.init.should eql 1
diff --git a/spec/eet_spec.rb b/spec/eet_spec.rb
index 848dc78..429f548 100644
--- a/spec/eet_spec.rb
+++ b/spec/eet_spec.rb
@@ -1,11 +1,11 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/eet'
+require 'e17/eet'
#
-describe EFL::EET do
+describe E17::EET do
#
- include EFL
+ include E17
#
FP = '/tmp/_eet.cfg'
#
diff --git a/spec/eina_spec.rb b/spec/eina_spec.rb
index 694e2b2..c110d67 100644
--- a/spec/eina_spec.rb
+++ b/spec/eina_spec.rb
@@ -1,11 +1,11 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/eina'
+require 'e17/eina'
#
-describe EFL::EINA do
+describe E17::EINA do
#
- include EFL
+ include E17
#
it "should init" do
EINA.init.should eql 1
diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb
index c04cd9f..a708833 100644
--- a/spec/evas_spec.rb
+++ b/spec/evas_spec.rb
@@ -1,11 +1,11 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/evas'
+require 'e17/evas'
#
-describe EFL::EVAS do
+describe E17::EVAS do
#
- include EFL
+ include E17
#
it "should init" do
EVAS.init.should eql 1