Ticket #1716 (in_testing task)

Opened 5 years ago

Last modified 5 years ago

[Package] add .edj decompiler/compiler as a package

Reported by: will Owned by: julian
Priority: high Milestone: Om2008.10
Component: Distro Version:
Severity: critical Keywords: edje package
Cc: testing@…, marek@…, julian_chu@…, zecke@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

please add .edj compiler / decompiler package to om-repository.
thumbnail for installer is also attached.

Attachments

edje_compiler.png (94.5 KB) - added by will 5 years ago.
edje_cimpiler.png

Change History

Changed 5 years ago by will

edje_cimpiler.png

comment:1 Changed 5 years ago by zecke

Julian you want to add this to the edje-utils package.

@will: edje_cc and edje_decc are command line applications. What do we gain with providing graphical installation?

comment:2 Changed 5 years ago by marek

Openmoko wants to enable designers to change the edje files on the phone itself. We start with Will. He does not have edje installed on his computer and simply wants to use the phone as development environment. Later we will come up with UI appilcations to do that.

comment:3 Changed 5 years ago by zecke

  • Status changed from new to closed
  • Cc julian_chu@… added
  • Resolution set to fixed

@Julian: Then please add the PKG_TAG to the edje-utils package.

comment:4 Changed 5 years ago by marek

  • Status changed from closed to reopened
  • Cc zecke@… added
  • Resolution fixed deleted

The edje package needs more dependencies to:

  • cpp
  • cpp-symlinks

Also, it needs the embryo_cc. It wont work otherwise.

comment:5 Changed 5 years ago by julian_chu

could you describe more details?
both of edje and edje-native are buildable and usable, why and what's the dependency do they need?

comment:6 Changed 5 years ago by julian_chu

  • Status changed from reopened to in_testing

Add RDEPENDS in git commit 0e2af651570e12cec8995c5774049a0e761ff9ed

comment:7 Changed 5 years ago by marek

I checked it today on the testing image and it works! Thanks

Also, I tried to decompile the exposure.edj but it fails:

edje_decc exposure.edj
Output Image: exposure/back_arrow.png
ERROR: cannot write file exposure/back_arrow.png. Perhaps missing JPEG or PNG saver modules for Evas.

Can you have a look into that ?

comment:8 Changed 5 years ago by marek

  • Status changed from in_testing to assigned

comment:9 Changed 5 years ago by will

  • Milestone set to Om2008.10

comment:10 Changed 5 years ago by will

Please look into this, I can not do any work until this is fixed.

comment:11 Changed 5 years ago by julian_chu

  • Status changed from assigned to in_testing

the problem came from missing some modules.
you can install them by this command
$opkg install libevas-saver-jpeg libevas-saver-png

I had did a test on my own neo phone, it works.

root@om-gta02:/var/volatile/tmp/test# edje_decc illume.edj
Output Image: illume/bd_button_close_shadow.png
Output Image: illume/bd_button_close_focused.png
Output Image: illume/bd_button_close_unfocused.png
 ( blah blah...)
Output Build Script: illume/build.sh

*** CAUTION ***
Please check the build script for anything malicious before running it!

I add those modules as recommends into edje-util packages in this commit: 25a1910a6e4b0101c4502fff5fd77d1abebcb8f9

comment:12 Changed 5 years ago by regina_kim

  • Cc testing@… added
  • HasPatchForReview unset

will,
please verify weather it fixed or not

Note: See TracTickets for help on using tickets.