EMODULES: Fix & Unify autofoo stuff everywhere, fix dist tarballs support, add ability to create dist tarball of all modules.

SVN revision: 41571
This commit is contained in:
Daniel Kolesa 2009-08-03 14:49:56 +00:00
parent 5e95a47f5e
commit db9ff53a90
23 changed files with 99 additions and 76 deletions

View File

@ -1,28 +0,0 @@
ABOUT-NLS
.deps
.libs
Makefile
Makefile.in
aclocal.m4
autom4te.cache
config.guess
config.h
config.h.in
config.log
config.rpath
config.status
config.sub
configure
depcomp
install-sh
libtool
m4
missing
mkinstalldirs
ltmain.sh
stamp-h1
*.lo
*.la
*.spec
*.tar.gz
module.desktop

View File

@ -1,29 +1,26 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = po themes
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
config.sub configure depcomp install-sh ltmain.sh \
missing module.desktop config.rpath mkinstalldirs
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 ABOUT-NLS config.h.in \
config.guess config.rpath config.sub configure depcomp ltmain.sh \
install-sh missing mkinstalldirs m4
SUBDIRS = src po themes
EDJE_FLAGS = -v \
-id $(top_srcdir)/images
# data files for the module
filesdir = $(datadir)
files_DATA = \
module.desktop \
e-module-penguins.edj
files_DATA = module.desktop e-module-penguins.edj
EXTRA_DIST = $(files_DATA) e_modules-penguins.spec
EXTRA_DIST = module.desktop.in \
e_modules-penguins.spec.in \
e-module-penguins.edc \
$(wildcard images/*.png)
# the module .so file
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(includedir) \
@E_CFLAGS@
pkgdir = $(datadir)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h \
e_mod_config.c \
e_mod_config.h
module_la_LIBADD = @E_LIBS@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
%.edj: %.edc
$(EDJE_CC) $(EDJE_FLAGS) $< $@
clean-local:
rm -rf e-module-penguins.edj module.desktop e_modules-penguins.spec *~
uninstall:
rm -rf $(DESTDIR)$(datadir)

View File

@ -54,7 +54,9 @@ AC_ARG_ENABLE(homedir-install,
AC_OUTPUT([
Makefile
src/Makefile
e_modules-penguins.spec
module.desktop
po/Makefile.in
themes/Makefile
themes/default/Makefile

57
e-module-penguins.edc Normal file
View File

@ -0,0 +1,57 @@
images {
image: "walker0.png" COMP;
image: "walker1.png" COMP;
image: "walker2.png" COMP;
image: "walker3.png" COMP;
image: "walker4.png" COMP;
image: "walker5.png" COMP;
image: "walker6.png" COMP;
image: "walker7.png" COMP;
}
collections {
group {
name: "icon";
max: 48 48;
parts {
part {
name: "image";
type: IMAGE;
mouse_events: 0;
description {
state: "default" 0.00;
visible: 1;
aspect: 1.00 1.00;
rel1 {
relative: 0.00 0.00;
offset: 0 0;
}
rel2 {
relative: 1.00 1.00;
offset: -1 -1;
}
image {
normal: "walker0.png";
tween: "walker1.png";
tween: "walker2.png";
tween: "walker3.png";
tween: "walker4.png";
tween: "walker5.png";
tween: "walker6.png";
tween: "walker7.png";
}
}
}
}
programs {
program {
name: "animate";
signal: "show";
source: "";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.8;
target: "image";
after: "animate";
}
}
}
}

Binary file not shown.

BIN
images/walker0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

BIN
images/walker1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

BIN
images/walker2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

BIN
images/walker3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

BIN
images/walker4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

BIN
images/walker5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

BIN
images/walker6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1015 B

BIN
images/walker7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,17 +0,0 @@
Makefile
Makefile.in
Makefile.in.in
Makevars.template
Rules-quot
boldquot.sed
en@boldquot.header
en@quot.header
insert-header.sin
POTFILES
penguins.pot
quot.sed
remove-potcdate.sin
remove-potcdate.sed
stamp-po
*.gmo
*.mo

20
src/Makefile.am Normal file
View File

@ -0,0 +1,20 @@
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(includedir) \
@E_CFLAGS@
pkgdir = $(datadir)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h \
e_mod_config.c \
e_mod_config.h
module_la_LIBADD = @E_LIBS@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
clean-local:
rm -rf *~

View File

@ -1,2 +0,0 @@
Makefile.in
Makefile

View File

@ -1,3 +0,0 @@
Makefile.in
Makefile
*.edj

View File

@ -1,3 +0,0 @@
Makefile.in
Makefile
*.edj