#--
-# $Id: app.rb 43 2005-06-08 17:31:47Z tilman $
-#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
# Permission is hereby granted, free of charge, to any person obtaining
exit
end
- OPTIONS.output ||= @options.input.sub(/.[^.]+$/, ".edj")
+ OPTIONS.output ||= OPTIONS.input.sub(/.[^.]+$/, ".edj")
end
def run
tf_in.flush
Tempfile.open("redact_col#{col.id}.amx") do |tf_out|
- incl = `edje-config --datadir`.strip
+ incl = `pkg-config edje --variable=datadir`.strip
c = "embryo_cc " +
"-i #{incl}/include " +
def dump_fonts(ef)
EDJE.font_dir.each do |entry|
- ef.write("fonts/#{entry.filename}",
+ ef.write("fonts/#{entry.alias}",
File.read(entry.filename))
end
end