skeletons: rearrange template/skeleton directory structure

edi-0.8
Al Poole 5 years ago
parent f5a236bf7d
commit 4737aa611c
  1. 2
      COPYING
  2. 2
      configure.ac
  3. 2
      data/extra/Makefile.am
  4. 23
      data/extra/skeleton/Makefile.am
  5. 26
      data/extra/templates/Makefile.am
  6. 2
      data/extra/templates/eflproject.edc
  7. 2
      data/extra/templates/eflproject_python.edc
  8. 0
      data/extra/templates/images/c.png
  9. 0
      data/extra/templates/images/python.png
  10. 12
      data/extra/templates/meson.build
  11. 0
      data/extra/templates/skeletons/eflproject/.gitignore
  12. 0
      data/extra/templates/skeletons/eflproject/AUTHORS
  13. 0
      data/extra/templates/skeletons/eflproject/COPYING
  14. 0
      data/extra/templates/skeletons/eflproject/ChangeLog
  15. 0
      data/extra/templates/skeletons/eflproject/INSTALL
  16. 0
      data/extra/templates/skeletons/eflproject/Makefile.am
  17. 0
      data/extra/templates/skeletons/eflproject/Makefile_Edje_Helper.am
  18. 0
      data/extra/templates/skeletons/eflproject/NEWS
  19. 0
      data/extra/templates/skeletons/eflproject/README
  20. 0
      data/extra/templates/skeletons/eflproject/TODO
  21. 0
      data/extra/templates/skeletons/eflproject/autogen.sh
  22. 0
      data/extra/templates/skeletons/eflproject/configure.ac
  23. 0
      data/extra/templates/skeletons/eflproject/data/Makefile.am
  24. 0
      data/extra/templates/skeletons/eflproject/data/desktop/${edi_name}.desktop.in
  25. 0
      data/extra/templates/skeletons/eflproject/data/desktop/${edi_name}.png
  26. 0
      data/extra/templates/skeletons/eflproject/data/desktop/Makefile.am
  27. 0
      data/extra/templates/skeletons/eflproject/data/themes/Makefile.am
  28. 0
      data/extra/templates/skeletons/eflproject/data/themes/default/Makefile.am
  29. 0
      data/extra/templates/skeletons/eflproject/data/themes/default/default.edc
  30. 0
      data/extra/templates/skeletons/eflproject/data/themes/default/images/enlightenment.png
  31. 0
      data/extra/templates/skeletons/eflproject/data/themes/default/sounds/bell.wav
  32. 0
      data/extra/templates/skeletons/eflproject/description
  33. 0
      data/extra/templates/skeletons/eflproject/doc/${edi_name}.1.in
  34. 0
      data/extra/templates/skeletons/eflproject/doc/Makefile.am
  35. 0
      data/extra/templates/skeletons/eflproject/m4/efl.m4
  36. 0
      data/extra/templates/skeletons/eflproject/m4/efl_attribute.m4
  37. 0
      data/extra/templates/skeletons/eflproject/m4/efl_binary.m4
  38. 0
      data/extra/templates/skeletons/eflproject/m4/efl_compiler_flag.m4
  39. 0
      data/extra/templates/skeletons/eflproject/m4/efl_doxygen.m4
  40. 0
      data/extra/templates/skeletons/eflproject/m4/efl_path_max.m4
  41. 0
      data/extra/templates/skeletons/eflproject/m4/efl_tests.m4
  42. 0
      data/extra/templates/skeletons/eflproject/po/Makevars
  43. 0
      data/extra/templates/skeletons/eflproject/po/POTFILES.in
  44. 0
      data/extra/templates/skeletons/eflproject/src/Makefile.am
  45. 0
      data/extra/templates/skeletons/eflproject/src/bin/${edi_name}_main.c
  46. 0
      data/extra/templates/skeletons/eflproject/src/bin/${edi_name}_private.h
  47. 0
      data/extra/templates/skeletons/eflproject/src/bin/Makefile.am
  48. 0
      data/extra/templates/skeletons/eflproject/src/bin/gettext.h
  49. 0
      data/extra/templates/skeletons/eflproject/src/lib/${Edi_Name}.h
  50. 0
      data/extra/templates/skeletons/eflproject/src/lib/${edi_name}.c
  51. 0
      data/extra/templates/skeletons/eflproject/src/lib/${edi_name}_private.h
  52. 0
      data/extra/templates/skeletons/eflproject/src/lib/Makefile.am
  53. 0
      data/extra/templates/skeletons/eflproject/src/tests/Makefile.am
  54. 0
      data/extra/templates/skeletons/eflproject/src/tests/test_${edi_name}.c
  55. 0
      data/extra/templates/skeletons/eflproject_python/COPYING
  56. 0
      data/extra/templates/skeletons/eflproject_python/README
  57. 0
      data/extra/templates/skeletons/eflproject_python/bin/${Edi_Name}
  58. 0
      data/extra/templates/skeletons/eflproject_python/data/desktop/${edi_name}.desktop
  59. 0
      data/extra/templates/skeletons/eflproject_python/data/icons/48x48/apps/${edi_name}.png
  60. 0
      data/extra/templates/skeletons/eflproject_python/setup.py
  61. 0
      data/extra/templates/skeletons/eflproject_python/src/__init__.py
  62. 0
      data/extra/templates/skeletons/eflproject_python/src/main.py
  63. 2
      data/meson.build
  64. 4
      src/bin/screens/edi_welcome.c

@ -6,6 +6,6 @@ With the exception of "edi" which constitutes all remaining work
in this code base the licenses apply to projects within their
own top level directory. The project licenses are as follows:
data/extra/skeleton No license - public domain
data/extra/templates/ No license - public domain
edi: COPYING.GPLv2

@ -180,7 +180,7 @@ data/desktop/edi.desktop
data/themes/Makefile
data/themes/default/Makefile
data/extra/Makefile
data/extra/skeleton/Makefile
data/extra/templates/Makefile
doc/Makefile
packaging/Makefile
packaging/pkgbuild/Makefile

@ -1,4 +1,4 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = skeleton
SUBDIRS = templates

@ -1,23 +0,0 @@
MAINTAINERCLEANFILES = Makefile.in
skeletondir = $(datadir)/$(PACKAGE)/skeleton
skeleton_DATA = \
eflproject.tar.gz \
eflproject.edj \
eflproject_python.tar.gz \
eflproject_python.edj
eflproject.tar.gz:
tar zcvf eflproject.tar.gz -C $(srcdir) eflproject
eflproject_python.tar.gz:
tar zcvf eflproject_python.tar.gz -C $(srcdir) eflproject_python
eflproject.edj:
edje_cc -id images/ eflproject.edc
eflproject_python.edj:
edje_cc -id images/ eflproject_python.edc
EXTRA_DIST = $(skeleton_DATA)

@ -0,0 +1,26 @@
MAINTAINERCLEANFILES = Makefile.in
templatesdir = $(datadir)/$(PACKAGE)/templates
skeletonsdir = $(datadir)/$(PACKAGE)/templates/skeletons
templates_DATA = \
eflproject.edj \
eflproject_python.edj
skeletons_DATA = \
eflproject.tar.gz \
eflproject_python.tar.gz
eflproject.tar.gz:
tar zcvf eflproject.tar.gz -C skeletons eflproject
eflproject_python.tar.gz:
tar zcvf eflproject_python.tar.gz -C skeletons eflproject_python
eflproject.edj:
edje_cc -id images/ eflproject.edc
eflproject_python.edj:
edje_cc -id images/ eflproject_python.edc
EXTRA_DIST = $(templates_DATA) $(skeletons_DATA)

@ -1,6 +1,6 @@
data {
item: "title" "C EFL Project";
item: "file" "eflproject.tar.gz";
item: "file" "skeletons/eflproject.tar.gz";
item: "description"
"C EFL Project.<br><br>Begin your C programming EFL project. All content is freely modifiable and distributable and licensed in the public-domain.<br><br>Happy hacking!";

@ -1,6 +1,6 @@
data {
item: "title" "Python EFL Project";
item: "file" "eflproject_python.tar.gz";
item: "file" "skeletons/eflproject_python.tar.gz";
item: "description"
"Python EFL Project.<br><br>Start your new EFL Python programming project. All code is in the public-domain, you are free to modify and distribute as you wish.";

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

@ -6,17 +6,17 @@ skeleton_names = ['eflproject', 'eflproject_python']
foreach skeleton_name : skeleton_names
custom_target('skeleton ' + skeleton_name,
command : [tar, 'zcf', '@OUTPUT@', '-C', '../data/extra/skeleton', skeleton_name],
input : skeleton_name,
command : [tar, 'zcf', '@OUTPUT@', '-C', '../data/extra/templates/skeletons', skeleton_name],
input : 'skeletons' + '/' + skeleton_name,
output : skeleton_name + '.tar.gz',
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'skeleton'),
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'templates', 'skeletons'),
install : true,
)
endforeach
cmd = [ edje_cc,
'-id', join_paths(meson.source_root(), 'data' , 'extra', 'skeleton', 'images'),
'-id', join_paths(meson.source_root(), 'data' , 'extra', 'templates', 'images'),
'@INPUT@', '@OUTPUT@'
]
@ -27,10 +27,10 @@ foreach meta : skeleton_meta
input : meta + '.edc',
output : meta + '.edj',
command : cmd,
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'skeleton'),
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'templates'),
install: true,
)
out = join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'skeleton') + '/' + meta + '.edj'
out = join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'templates') + '/' + meta + '.edj'
meson.add_install_script('chmod', 'a+r', out)
endforeach

@ -1,3 +1,3 @@
subdir('desktop')
subdir('images')
subdir('extra/skeleton')
subdir('extra/templates')

@ -487,9 +487,9 @@ _edi_welcome_project_new_cb(void *data, Evas_Object *obj EINA_UNUSED, void *even
EINA_LIST_FREE(_available_templates, template)
_edi_template_free(template);
snprintf(path, sizeof(path), "%s/skeleton", _edi_config_dir_get());
snprintf(path, sizeof(path), "%s/templates", _edi_config_dir_get());
_edi_templates_discover(PACKAGE_DATA_DIR "/skeleton");
_edi_templates_discover(PACKAGE_DATA_DIR "/templates");
_edi_templates_discover(path);
content = elm_box_add(naviframe);

Loading…
Cancel
Save