Page MenuHomePhabricator

split legacy examples into examples repo as submodule
Open, TODOPublic

Description

This would move efl.git/src/examples -> examples.git/legacy with a meson build system. The benefits would be:

  • much faster compile time for the main tree
  • easier to maintain/modify module builds
  • help with the efl meson transition (T7175)

Details

zmike created this task.Jul 23 2018, 8:58 AM
zmike triaged this task as TODO priority.
zmike added a subscriber: bu5hm4n.

A few random considerations:

  • Added benefit of having all the examples in the same place. Right now, it is a bit confusing.
  • Examples in doxygen comments still would need to be managed.
  • Having to clone a second repo is more inconvenient than just make examples in the efl tree, plus, efl would need to be built and installed before building the examples.
  • Having to clone a second repo is more inconvenient than just make examples in the efl tree, plus, efl would need to be built and installed before building the examples.

A git submodule could solve this, or just adding an efl-uninstalled pkgconfig. EFL already needs to, at a minimum, be built prior to building the in-tree examples.

Note: src/bin/ethumb/* is just a example.

zmike added a comment.Aug 13 2018, 6:49 AM

I already have this working at present in my citest branch; running make examples in the efl tree automatically updates the submodule and builds all the examples using the (provided) raw makefiles. The examples build is roughly 30x faster on my local machine now.

zmike edited projects, added Active Work Proposal; removed Voting.Aug 20 2018, 4:55 AM