You are not logged in.

#1 2008-04-05 15:18:02

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Packaging E17 themes?

I want to modify an E17 theme, any E17 theme, and remake it into an .edj file. Unpacking them works flawlessly, but repackaging them doesn't produce a useful file.

For example, if I unpack japan2007.edj:

edje_decc japan2007.edj

Everything goes into a folder called japan2007 as expected. Without making any modifications to the file, I run the ./build.sh script in the top level directory and get a new japan2007.edj file. E17 does not recognize this file. First the icon doesn't show up when going to import theme, then when I try, Enlightenment throws this error:

Enlightenment was unable to import the theme.

Are you sure this is really a valid theme?

What silly thing am I missing (beside useful documentation)?


-----EDIT------

I guess I'm missing usable data. I found that darkness will decompile and recompile just fine. So I guess my question is, are there any good links to modern documentation of theming E17?

Last edited by skottish (2008-04-05 16:47:25)

Offline

#2 2008-04-05 18:04:11

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Packaging E17 themes?

This gave me some help awhile ago http://homepages.pathfinder.gr/kazanaki/contrib/ but pressh seems to have the answers when I needed something specific.  You're right, finding E17 documentation is like finding hen's teeth.

Also I've done alot of trial and error.  Sometimes that teaches me more than being told what I should do.

Last edited by bgc1954 (2008-04-05 18:05:14)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#3 2008-04-05 18:46:48

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Packaging E17 themes?

Thanks. I've run into this page before, but I needed to stop being retarded long enough to figure out that japan isn't rebuilding properly because of its age. It looks like if I'm going to port this theme to something gray, I'm going to need to do a lot of refactoring. It'll be worth it though; It's very beautiful, but a little hard on the eyes after a while.

Offline

#4 2008-04-06 05:59:42

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Packaging E17 themes?

I don't know of any useful documentation besides the default.edj theme, and perhaps looking in other themes if you like something they do in there. That is at least how I learn it. For real documentation maybe you could ask on the enlightenment-devel mailing list.

About the japan2007 theme, I think the only problem with the theme is that one of the files (button_macro.edc) which is supposed to be in ./edc is not there (you tell e17 which files should be there with an #include line).
After moving it to the correct place I have no problems with it (mv -f ./button_macro.edc ./edc/button_macro.edc from the themes root directory). Hope that helps.

Offline

#5 2008-04-06 07:02:17

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Packaging E17 themes?

pressh, thank you. Indeed it worked.

Now to match with springofdark's GTK theme. Seems like a pretty cool mix. springofdark, have you published your GTK theme yet?

Offline

Board footer

Powered by FluxBB