* gadconized * the default images are the fugly ones from the e16 E-MoonClock * configuration "works", but isn't persisted properly yet * i18n is ready to go (Haga-san - feel free to update the ja.po :)) SVN revision: 22601master
commit
85b7b837ab
93 changed files with 3072 additions and 0 deletions
@ -0,0 +1,218 @@ |
||||
Notes on the Free Translation Project |
||||
************************************* |
||||
|
||||
Free software is going international! The Free Translation Project |
||||
is a way to get maintainers of free software, translators, and users all |
||||
together, so that will gradually become able to speak many languages. |
||||
A few packages already provide translations for their messages. |
||||
|
||||
If you found this `ABOUT-NLS' file inside a distribution, you may |
||||
assume that the distributed package does use GNU `gettext' internally, |
||||
itself available at your nearest GNU archive site. But you do _not_ |
||||
need to install GNU `gettext' prior to configuring, installing or using |
||||
this package with messages translated. |
||||
|
||||
Installers will find here some useful hints. These notes also |
||||
explain how users should proceed for getting the programs to use the |
||||
available translations. They tell how people wanting to contribute and |
||||
work at translations should contact the appropriate team. |
||||
|
||||
When reporting bugs in the `intl/' directory or bugs which may be |
||||
related to internationalization, you should tell about the version of |
||||
`gettext' which is used. The information can be found in the |
||||
`intl/VERSION' file, in internationalized packages. |
||||
|
||||
Quick configuration advice |
||||
========================== |
||||
|
||||
If you want to exploit the full power of internationalization, you |
||||
should configure it using |
||||
|
||||
./configure --with-included-gettext |
||||
|
||||
to force usage of internationalizing routines provided within this |
||||
package, despite the existence of internationalizing capabilities in the |
||||
operating system where this package is being installed. So far, only |
||||
the `gettext' implementation in the GNU C library version 2 provides as |
||||
many features (such as locale alias, message inheritance, automatic |
||||
charset conversion or plural form handling) as the implementation here. |
||||
It is also not possible to offer this additional functionality on top |
||||
of a `catgets' implementation. Future versions of GNU `gettext' will |
||||
very likely convey even more functionality. So it might be a good idea |
||||
to change to GNU `gettext' as soon as possible. |
||||
|
||||
So you need _not_ provide this option if you are using GNU libc 2 or |
||||
you have installed a recent copy of the GNU gettext package with the |
||||
included `libintl'. |
||||
|
||||
INSTALL Matters |
||||
=============== |
||||
|
||||
Some packages are "localizable" when properly installed; the |
||||
programs they contain can be made to speak your own native language. |
||||
Most such packages use GNU `gettext'. Other packages have their own |
||||
ways to internationalization, predating GNU `gettext'. |
||||
|
||||
By default, this package will be installed to allow translation of |
||||
messages. It will automatically detect whether the system already |
||||
provides the GNU `gettext' functions. If not, the GNU `gettext' own |
||||
library will be used. This library is wholly contained within this |
||||
package, usually in the `intl/' subdirectory, so prior installation of |
||||
the GNU `gettext' package is _not_ required. Installers may use |
||||
special options at configuration time for changing the default |
||||
behaviour. The commands: |
||||
|
||||
./configure --with-included-gettext |
||||
./configure --disable-nls |
||||
|
||||
will respectively bypass any pre-existing `gettext' to use the |
||||
internationalizing routines provided within this package, or else, |
||||
_totally_ disable translation of messages. |
||||
|
||||
When you already have GNU `gettext' installed on your system and run |
||||
configure without an option for your new package, `configure' will |
||||
probably detect the previously built and installed `libintl.a' file and |
||||
will decide to use this. This might be not what is desirable. You |
||||
should use the more recent version of the GNU `gettext' library. I.e. |
||||
if the file `intl/VERSION' shows that the library which comes with this |
||||
package is more recent, you should use |
||||
|
||||
./configure --with-included-gettext |
||||
|
||||
to prevent auto-detection. |
||||
|
||||
The configuration process will not test for the `catgets' function |
||||
and therefore it will not be used. The reason is that even an |
||||
emulation of `gettext' on top of `catgets' could not provide all the |
||||
extensions of the GNU `gettext' library. |
||||
|
||||
Internationalized packages have usually many `po/LL.po' files, where |
||||
LL gives an ISO 639 two-letter code identifying the language. Unless |
||||
translations have been forbidden at `configure' time by using the |
||||
`--disable-nls' switch, all available translations are installed |
||||
together with the package. However, the environment variable `LINGUAS' |
||||
may be set, prior to configuration, to limit the installed set. |
||||
`LINGUAS' should then contain a space separated list of two-letter |
||||
codes, stating which languages are allowed. |
||||
|
||||
Using This Package |
||||
================== |
||||
|
||||
As a user, if your language has been installed for this package, you |
||||
only have to set the `LANG' environment variable to the appropriate |
||||
`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, |
||||
and `CC' is an ISO 3166 two-letter country code. For example, let's |
||||
suppose that you speak German and live in Germany. At the shell |
||||
prompt, merely execute `setenv LANG de_DE' (in `csh'), |
||||
`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). |
||||
This can be done from your `.login' or `.profile' file, once and for |
||||
all. |
||||
|
||||
You might think that the country code specification is redundant. |
||||
But in fact, some languages have dialects in different countries. For |
||||
example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The |
||||
country code serves to distinguish the dialects. |
||||
|
||||
The locale naming convention of `LL_CC', with `LL' denoting the |
||||
language and `CC' denoting the country, is the one use on systems based |
||||
on GNU libc. On other systems, some variations of this scheme are |
||||
used, such as `LL' or `LL_CC.ENCODING'. You can get the list of |
||||
locales supported by your system for your country by running the command |
||||
`locale -a | grep '^LL''. |
||||
|
||||
Not all programs have translations for all languages. By default, an |
||||
English message is shown in place of a nonexistent translation. If you |
||||
understand other languages, you can set up a priority list of languages. |
||||
This is done through a different environment variable, called |
||||
`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' |
||||
for the purpose of message handling, but you still need to have `LANG' |
||||
set to the primary language; this is required by other parts of the |
||||
system libraries. For example, some Swedish users who would rather |
||||
read translations in German than English for when Swedish is not |
||||
available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. |
||||
|
||||
In the `LANGUAGE' environment variable, but not in the `LANG' |
||||
environment variable, `LL_CC' combinations can be abbreviated as `LL' |
||||
to denote the language's main dialect. For example, `de' is equivalent |
||||
to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' |
||||
(Portuguese as spoken in Portugal) in this context. |
||||
|
||||
Translating Teams |
||||
================= |
||||
|
||||
For the Free Translation Project to be a success, we need interested |
||||
people who like their own language and write it well, and who are also |
||||
able to synergize with other translators speaking the same language. |
||||
Each translation team has its own mailing list. The up-to-date list of |
||||
teams can be found at the Free Translation Project's homepage, |
||||
`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" |
||||
area. |
||||
|
||||
If you'd like to volunteer to _work_ at translating messages, you |
||||
should become a member of the translating team for your own language. |
||||
The subscribing address is _not_ the same as the list itself, it has |
||||
`-request' appended. For example, speakers of Swedish can send a |
||||
message to `sv-request@li.org', having this message body: |
||||
|
||||
subscribe |
||||
|
||||
Keep in mind that team members are expected to participate |
||||
_actively_ in translations, or at solving translational difficulties, |
||||
rather than merely lurking around. If your team does not exist yet and |
||||
you want to start one, or if you are unsure about what to do or how to |
||||
get started, please write to `translation@iro.umontreal.ca' to reach the |
||||
coordinator for all translator teams. |
||||
|
||||
The English team is special. It works at improving and uniformizing |
||||
the terminology in use. Proven linguistic skill are praised more than |
||||
programming skill, here. |
||||
|
||||
Available Packages |
||||
================== |
||||
|
||||
Languages are not equally supported in all packages. The following |
||||
matrix shows the current state of internationalization, as of April |
||||
2005. The matrix shows, in regard of each package, for which languages |
||||
PO files have been submitted to translation coordination, with a |
||||
translation percentage of at least 50%. |
||||
|
||||
Ready PO files en fr ja de bg es fi pl pt ru |
||||
+-------------------------------+ |
||||
enlightenment | [] [] [] [] [] [] [] [] [] [] | |
||||
|
||||
|
||||
Some counters in the preceding matrix are higher than the number of |
||||
visible blocks let us expect. This is because a few extra PO files are |
||||
used for implementing regional variants of languages, or language |
||||
dialects. |
||||
|
||||
For a PO file in the matrix above to be effective, the package to |
||||
which it applies should also have been internationalized and |
||||
distributed as such by its maintainer. There might be an observable |
||||
lag between the mere existence a PO file and its wide availability in a |
||||
distribution. |
||||
|
||||
If August 2002 seems to be old, you may fetch a more recent copy of |
||||
this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date |
||||
matrix with full percentage details can be found at |
||||
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. |
||||
|
||||
Using `gettext' in new packages |
||||
=============================== |
||||
|
||||
If you are writing a freely available program and want to |
||||
internationalize it you are welcome to use GNU `gettext' in your |
||||
package. Of course you have to respect the GNU Library General Public |
||||
License which covers the use of the GNU `gettext' library. This means |
||||
in particular that even non-free programs can use `libintl' as a shared |
||||
library, whereas only free software can use `libintl' as a static |
||||
library or use modified versions of `libintl'. |
||||
|
||||
Once the sources are changed appropriately and the setup can handle |
||||
to use of `gettext' the only thing missing are the translations. The |
||||
Free Translation Project is also available for packages which are not |
||||
developed inside the GNU project. Therefore the information given above |
||||
applies also for every other Free Software Project. Contact |
||||
`translation@iro.umontreal.ca' to make the `.pot' files available to |
||||
the translation teams. |
||||
|
@ -0,0 +1,28 @@ |
||||
Copyright (C) 2005-2006 David Stevenson |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||
of this software and associated documentation files (the "Software"), to |
||||
deal in the Software without restriction, including without limitation the |
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
||||
sell copies of the Software, and to permit persons to whom the Software is |
||||
furnished to do so, subject to the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be included in |
||||
all copies of the Software and its Copyright notices. In addition publicly |
||||
documented acknowledgment must be given that this software has been used if no |
||||
source code of this software is made available publicly. This includes |
||||
acknowledgments in either Copyright notices, Manuals, Publicity and Marketing |
||||
documents or any documentation provided with any product containing this |
||||
software. This License does not apply to any software that links to the |
||||
libraries provided by this software (statically or dynamically), but only to |
||||
the software provided. |
||||
|
||||
Please see the COPYING-PLAIN for a plain-english explanation of this notice |
||||
and it's intent. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
||||
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@ -0,0 +1,33 @@ |
||||
Plain English Copyright Notice |
||||
|
||||
This file is not intended to be the actual License. The reason this file |
||||
exists is that we here are programmers and engineers. We aren't lawyers. We |
||||
provide licenses that we THINK say the right things, but we have our own |
||||
intentions at heart. This is a plain-english explanation of what those |
||||
intentions are, and if you follow them you will be within the "spirit" of |
||||
the license. |
||||
|
||||
The intent is for us to enjoy writing software that is useful to us (the |
||||
AUTHORS) and allow others to use it freely and also benefit from the work we |
||||
put into making it. We don't want to restrict others using it. They should |
||||
not *HAVE* to make the source code of the applications they write that |
||||
simply link to these libraries (be that statically or dynamically), or for |
||||
them to be limited as to what license they choose to use (be it open, closed |
||||
or anything else). But we would like to know you are using these libraries. |
||||
We simply would like to know that it has been useful to someone. This is why |
||||
we ask for acknowledgement of some sort. |
||||
|
||||
You can do what you want with the source of this software - it doesn't |
||||
matter. We still have it here for ourselves and it is open and free to use |
||||
and download and play with. It can't be taken away. We don't really mind what |
||||
you do with the source to your software. We would simply like to know that |
||||
you are using it - especially if it makes it to a commerical product. If you |
||||
simply e-mail all the AUTHORS (see COPYING and AUTHORS files) telling us, and |
||||
then make sure you include a paragraph or page in the manual for the product |
||||
with the copyright notice and state that you used this software, we will be |
||||
very happy. If you want to contribute back modifications and fixes you may have |
||||
made we will welcome those too with open arms (generally). If you want help |
||||
with changes needed, ports needed or features to be added, arrangements can |
||||
be easily made with some dialogue. |
||||
|
||||
David Stevenson (david.35472@gmail.com) |
@ -0,0 +1,26 @@ |
||||
0.2.0 * Gadman -> Gadcon port |
||||
|
||||
0.1.0 * Added configurability |
||||
|
||||
0.0.6 |
||||
* Fix to work with gcc 4.0. Tested with the following version |
||||
gcc (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5) |
||||
gcc 3.3 users shouldn't be effectted. |
||||
|
||||
0.0.5 |
||||
* more moon.edc tidy up |
||||
|
||||
0.0.4 |
||||
* moon.edc uses states instead of embryo script calculations |
||||
|
||||
0.0.3 |
||||
* Add support for internationalization |
||||
(not actually required yet, but it's ready for it) |
||||
|
||||
0.0.2 |
||||
* Tidy up build setup |
||||
* Use license safe e16 images |
||||
|
||||
0.0.1 |
||||
* Initial e16 MoonClock port |
||||
|
@ -0,0 +1,21 @@ |
||||
COMPILING and INSTALLING: |
||||
|
||||
1) Installing to ~/.e/e/modules (default) |
||||
|
||||
Users wishing to install the module to their home directory should do the following: |
||||
|
||||
$ ./configure |
||||
$ make |
||||
$ make install |
||||
|
||||
2) Installing to a system directory |
||||
|
||||
System admins can install to a system directory by specifying the appropriate prefix to the configure script. Note that the prefix specified should be the same as that used to install Enlightenment. For example, to install to /usr/local: |
||||
|
||||
$ ./configure --prefix=/usr/local |
||||
$ make |
||||
|
||||
Then finally as root: |
||||
|
||||
$ make install |
||||
|
@ -0,0 +1,9 @@ |
||||
SUBDIRS = src data po
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
|
||||
config.h.in config.h.in~ config.sub \
|
||||
configure install-sh ltconfig ltmain.sh \
|
||||
missing mkinstalldirs stamp-h.in depcomp
|
||||
|
||||
EXTRA_DIST = autogen.sh
|
||||
|
@ -0,0 +1,15 @@ |
||||
Moon Clock module for Enlightenment 0.17.0 |
||||
|
||||
See INSTALL for installation instructions. |
||||
|
||||
This module is a port of the e16 E-MoonClock epplet. |
||||
The module supplies a gadget that displays information about the current phase of the moon. |
||||
|
||||
The default theme re-uses moon phase images from the e16 E-MoonClock. |
||||
The sky image is from the e17 "bling bling" theme. |
||||
Moon phase calculation routines are also re-used. |
||||
The rest was mainly written by the AUTHORS. |
||||
|
||||
Feel free to send suggestions or problem reports to the AUTHORS |
||||
And have fun :) |
||||
|
@ -0,0 +1,2 @@ |
||||
TODO items |
||||
- southern hemisphere image flip support once / if evas / edje get rotation support |
@ -0,0 +1,27 @@ |
||||
#!/bin/sh |
||||
|
||||
rm -rf autom4te.cache |
||||
rm -f aclocal.m4 ltmain.sh |
||||
|
||||
touch README |
||||
|
||||
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 |
||||
echo "Running autoheader..." ; autoheader || exit 1 |
||||
echo "Running autoconf..." ; autoconf || exit 1 |
||||
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1 |
||||
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1 |
||||
echo "Generating gettext moon.pot template"; \ |
||||
xgettext \ |
||||
--output moon.pot \ |
||||
--output-dir=po \ |
||||
--language=C \ |
||||
--add-location \ |
||||
--keyword=D_ \ |
||||
--sort-by-file \ |
||||
--copyright-holder="David Stevenson" \ |
||||
--foreign-user \ |
||||
`find . -name "*.[ch]" -print` || exit 1 |
||||
|
||||
if [ -z "$NOCONFIGURE" ]; then |
||||
./configure "$@" |
||||
fi |
@ -0,0 +1,129 @@ |
||||
# -*- Autoconf -*- |
||||
# Process this file with autoconf to produce a configure script. |
||||
|
||||
rm -f config.cache |
||||
|
||||
AC_PREREQ(2.59) |
||||
AC_INIT(moon, 0.1.0) |
||||
AC_CONFIG_SRCDIR([src/e_mod_main.c]) |
||||
AC_CONFIG_HEADER([config.h]) |
||||
AC_CANONICAL_HOST |
||||
|
||||
AM_INIT_AUTOMAKE |
||||
|
||||
# Checks for programs. |
||||
AC_PROG_CC |
||||
if test "$GCC" = "yes"; then |
||||
CFLAGS="$CFLAGS -Wall" |
||||
fi |
||||
AC_PROG_LIBTOOL |
||||
|
||||
ALL_LINGUAS="ja it sv" |
||||
AC_SUBST(ALL_LINGUAS) |
||||
|
||||
AM_GNU_GETTEXT([external]) |
||||
AM_GNU_GETTEXT_VERSION(0.14) |
||||
|
||||
# Checks for libraries. |
||||
AC_PATH_GENERIC(eet, 0.9.10, [ |
||||
AC_SUBST(eet_libs) |
||||
AC_SUBST(eet_cflags) ], |
||||
AC_MSG_ERROR(Cannot find eet: Is eet-config in path?)) |
||||
eet_libs=`eet-config --libs` |
||||
eet_cflags=`eet-config --cflags` |
||||
AC_SUBST(eet_flags) |
||||
AC_SUBST(eet_cflags) |
||||
|
||||
AC_PATH_GENERIC(evas, 0.9.9, [ |
||||
AC_SUBST(evas_libs) |
||||
AC_SUBST(evas_cflags) ], |
||||
AC_MSG_ERROR(Cannot find evas: Is evas-config in path?)) |
||||
evas_libs=`evas-config --libs` |
||||
evas_cflags=`evas-config --cflags` |
||||
AC_SUBST(evas_libs) |
||||
AC_SUBST(evas_cflags) |
||||
|
||||
AC_PATH_GENERIC(ecore, 0.9.9, [ |
||||
AC_SUBST(ecore_libs) |
||||
AC_SUBST(ecore_cflags) ], |
||||
AC_MSG_ERROR(Cannot find ecore: Is ecore-config in path?)) |
||||
ecore_libs=`ecore-config --libs` |
||||
ecore_cflags=`ecore-config --cflags` |
||||
AC_SUBST(ecore_libs) |
||||
AC_SUBST(ecore_cflags) |
||||
|
||||
AC_PATH_GENERIC(embryo, 0.5.0, [ |
||||
AC_SUBST(embryo_libs) |
||||
AC_SUBST(embryo_cflags) ], |
||||
AC_MSG_ERROR(Cannot find embryo: Is embryo-config in path?)) |
||||
embryo_libs=`embryo-config --libs` |
||||
embryo_cflags=`embryo-config --cflags` |
||||
AC_SUBST(embryo_libs) |
||||
AC_SUBST(embryo_cflags) |
||||
|
||||
AC_PATH_GENERIC(edje, 0.5.0, [ |
||||
AC_SUBST(edje_libs) |
||||
AC_SUBST(edje_cflags) ], |
||||
AC_MSG_ERROR(Cannot find edje: Is edje-config in path?)) |
||||
edje_libs=`edje-config --libs` |
||||
edje_cflags=`edje-config --cflags` |
||||
AC_SUBST(edje_libs) |
||||
AC_SUBST(edje_cflags) |
||||
|
||||
edje_cc="`$EDJE_CONFIG --prefix`/bin/edje_cc" |
||||
AC_ARG_WITH(edje-cc, |
||||
[ --with-edje-cc=PATH specify a specific path to edje_cc], |
||||
[ |
||||
v=$withval; |
||||
edje_cc=$v |
||||
echo " Enlightenment edje_cc explicitly set to "$edje_cc; |
||||
],[ |
||||
edje_cc="`$EDJE_CONFIG --prefix`/bin/edje_cc" |
||||
]) |
||||
AC_SUBST(edje_cc) |
||||
|
||||
AC_PATH_GENERIC(enlightenment, 0.16.999, [ |
||||
AC_SUBST(e_libs) |
||||
AC_SUBST(e_cflags) ], |
||||
AC_MSG_ERROR(Cannot find enlightenment: Is enlightenment-config in path?)) |
||||
e_libs=`enlightenment-config --libs` |
||||
e_cflags=`enlightenment-config --cflags` |
||||
AC_SUBST(e_libs) |
||||
AC_SUBST(e_cflags) |
||||
|
||||
MODULE_ARCH="$host_os-$host_cpu" |
||||
AC_SUBST(MODULE_ARCH) |
||||
|
||||
AC_PREFIX_DEFAULT(${HOME}/.e/e) |
||||
if test "x$prefix" = "xNONE"; then |
||||
prefix=${ac_default_prefix} |
||||
datarootdir=${prefix} |
||||
moduledir=${prefix}/modules |
||||
else |
||||
datarootdir=${prefix}/share |
||||
moduledir=${prefix}/lib/enlightenment/modules |
||||
fi |
||||
AC_SUBST(MODULEDIR, "${moduledir}") |
||||
|
||||
localedir=${datarootdir}/locale |
||||
AC_SUBST(LOCALEDIR, "${localedir}") |
||||
AC_DEFINE_UNQUOTED(LOCALEDIR, "${localedir}", [Module Locale Directory]) |
||||
|
||||
# Checks for header files. |
||||
AC_HEADER_STDC |
||||
AC_CHECK_HEADERS([limits.h string.h]) |
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics. |
||||
AC_C_CONST |
||||
AC_STRUCT_TM |
||||
|
||||
# Checks for library functions. |
||||
AC_CHECK_FUNCS([sqrt strdup]) |
||||
|
||||
AC_CONFIG_FILES([Makefile |
||||
data/Makefile |
||||
data/themes/Makefile |
||||
data/themes/images/Makefile |
||||
po/Makefile |
||||
src/Makefile]) |
||||
AC_OUTPUT |
@ -0,0 +1,2 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
SUBDIRS = themes
|
@ -0,0 +1,34 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
SUBDIRS = images
|
||||
|
||||
moduledir = @MODULEDIR@
|
||||
|
||||
EDJE_CC = @edje_cc@
|
||||
EDJE_FLAGS = \
|
||||
-v \ |
||||
-id $(top_srcdir)/data/themes/images |
||||
|
||||
|
||||
# data files for the module
|
||||
filesdir = $(moduledir)/$(PACKAGE)
|
||||
files_DATA = \
|
||||
moon.eap \ |
||||
moon.edj |
||||
|
||||
EXTRA_DIST = \
|
||||
moon.edc \ |
||||
icon.edc |
||||
|
||||
moon.edj: Makefile $(EXTRA_DIST) |
||||
$(EDJE_CC) $(EDJE_FLAGS) \
|
||||
$(top_srcdir)/data/themes/moon.edc \
|
||||
moon.edj
|
||||
|
||||
moon.eap: Makefile $(EXTRA_DIST) |
||||
$(EDJE_CC) $(EDJE_FLAGS) \
|
||||
$(top_srcdir)/data/themes/icon.edc \
|
||||
moon.eap
|
||||
|
||||
clean-local: |
||||
rm -rf *.edj; rm -rf *.eap
|
||||
|
@ -0,0 +1,19 @@ |
||||
images { |
||||
image: "moon.png" COMP; |
||||
} |
||||
collections { |
||||
group { |
||||
name: "icon"; |
||||
parts { |
||||
part { |
||||
name: "image"; |
||||
mouse_events: 0; |
||||
description { |
||||
state: "default" 0.0; |
||||
aspect: 1.0 1.0; |
||||
image.normal: "moon.png"; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,67 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EXTRA_DIST = \
|
||||
moon.png \ |
||||
e17_ibar_bg_h.png \ |
||||
e17_ibar_over_h.png \ |
||||
e17_about_sky3.png \ |
||||
E-MoonClock-00.png \ |
||||
E-MoonClock-01.png \ |
||||
E-MoonClock-02.png \ |
||||
E-MoonClock-03.png \ |
||||
E-MoonClock-04.png \ |
||||
E-MoonClock-05.png \ |
||||
E-MoonClock-06.png \ |
||||
E-MoonClock-07.png \ |
||||
E-MoonClock-08.png \ |
||||
E-MoonClock-09.png \ |
||||
E-MoonClock-10.png \ |
||||
E-MoonClock-11.png \ |
||||
E-MoonClock-12.png \ |
||||
E-MoonClock-13.png \ |
||||
E-MoonClock-14.png \ |
||||
E-MoonClock-15.png \ |
||||
E-MoonClock-16.png \ |
||||
E-MoonClock-17.png \ |
||||
E-MoonClock-18.png \ |
||||
E-MoonClock-19.png \ |
||||
E-MoonClock-20.png \ |
||||
E-MoonClock-21.png \ |
||||
E-MoonClock-22.png \ |
||||
E-MoonClock-23.png \ |
||||
E-MoonClock-24.png \ |
||||
E-MoonClock-25.png \ |
||||
E-MoonClock-26.png \ |
||||
E-MoonClock-27.png \ |
||||
E-MoonClock-28.png \ |
||||
E-MoonClock-29.png \ |
||||
E-MoonClock-30.png \ |
||||
E-MoonClock-31.png \ |
||||
E-MoonClock-32.png \ |
||||
E-MoonClock-33.png \ |
||||
E-MoonClock-34.png \ |
||||
E-MoonClock-35.png \ |
||||
E-MoonClock-36.png \ |
||||
E-MoonClock-37.png \ |
||||
E-MoonClock-38.png \ |
||||
E-MoonClock-39.png \ |
||||
E-MoonClock-40.png \ |
||||
E-MoonClock-41.png \ |
||||
E-MoonClock-42.png \ |
||||
E-MoonClock-43.png \ |
||||
E-MoonClock-44.png \ |
||||
E-MoonClock-45.png \ |
||||
E-MoonClock-46.png \ |
||||
E-MoonClock-47.png \ |
||||
E-MoonClock-48.png \ |
||||
E-MoonClock-49.png \ |
||||
E-MoonClock-50.png \ |
||||
E-MoonClock-51.png \ |
||||
E-MoonClock-52.png \ |
||||
E-MoonClock-53.png \ |
||||
E-MoonClock-54.png \ |
||||
E-MoonClock-55.png \ |
||||
E-MoonClock-56.png \ |
||||
E-MoonClock-57.png \ |
||||
E-MoonClock-58.png \ |
||||
E-MoonClock-59.png
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,363 @@ |
||||
#define POLICY_NEVER 0 |
||||
#define POLICY_ALWAYS 1 |
||||
#define POLICY_ON_MOUSE_OVER 2 |
||||
|
||||
images { |
||||
image: "e17_about_sky3.png" LOSSY 70; |
||||
image: "E-MoonClock-00.png" COMP; |
||||
image: "E-MoonClock-01.png" COMP; |
||||
image: "E-MoonClock-02.png" COMP; |
||||
image: "E-MoonClock-03.png" COMP; |
||||
image: "E-MoonClock-04.png" COMP; |
||||
image: "E-MoonClock-05.png" COMP; |
||||
image: "E-MoonClock-06.png" COMP; |
||||
image: "E-MoonClock-07.png" COMP; |
||||
image: "E-MoonClock-08.png" COMP; |
||||
image: "E-MoonClock-09.png" COMP; |
||||
image: "E-MoonClock-10.png" COMP; |
||||
image: "E-MoonClock-11.png" COMP; |
||||
image: "E-MoonClock-12.png" COMP; |
||||
image: "E-MoonClock-13.png" COMP; |
||||
image: "E-MoonClock-14.png" COMP; |
||||
image: "E-MoonClock-15.png" COMP; |
||||
image: "E-MoonClock-16.png" COMP; |
||||
image: "E-MoonClock-17.png" COMP; |
||||
image: "E-MoonClock-18.png" COMP; |
||||
image: "E-MoonClock-19.png" COMP; |
||||
image: "E-MoonClock-20.png" COMP; |
||||
image: "E-MoonClock-21.png" COMP; |
||||
image: "E-MoonClock-22.png" COMP; |
||||
image: "E-MoonClock-23.png" COMP; |
||||
image: "E-MoonClock-24.png" COMP; |
||||
image: "E-MoonClock-25.png" COMP; |
||||
image: "E-MoonClock-26.png" COMP; |
||||
image: "E-MoonClock-27.png" COMP; |
||||
image: "E-MoonClock-28.png" COMP; |
||||
image: "E-MoonClock-29.png" COMP; |
||||
image: "E-MoonClock-30.png" COMP; |
||||
image: "E-MoonClock-31.png" COMP; |
||||
image: "E-MoonClock-32.png" COMP; |
||||
image: "E-MoonClock-33.png" COMP; |
||||
image: "E-MoonClock-34.png" COMP; |
||||
image: "E-MoonClock-35.png" COMP; |
||||
image: "E-MoonClock-36.png" COMP; |
||||
image: "E-MoonClock-37.png" COMP; |
||||
image: "E-MoonClock-38.png" COMP; |
||||
image: "E-MoonClock-39.png" COMP; |
||||
image: "E-MoonClock-40.png" COMP; |
||||
image: "E-MoonClock-41.png" COMP; |
||||
image: "E-MoonClock-42.png" COMP; |
||||
image: "E-MoonClock-43.png" COMP; |
||||
image: "E-MoonClock-44.png" COMP; |
||||
image: "E-MoonClock-45.png" COMP; |
||||
image: "E-MoonClock-46.png" COMP; |
||||
image: "E-MoonClock-47.png" COMP; |
||||
image: "E-MoonClock-48.png" COMP; |
||||
image: "E-MoonClock-38.png" COMP; |
||||
image: "E-MoonClock-49.png" COMP; |
||||
image: "E-MoonClock-50.png" COMP; |
||||
image: "E-MoonClock-51.png" COMP; |
||||
image: "E-MoonClock-52.png" COMP; |
||||
image: "E-MoonClock-53.png" COMP; |
||||
image: "E-MoonClock-54.png" COMP; |
||||
image: "E-MoonClock-55.png" COMP; |
||||
image: "E-MoonClock-56.png" COMP; |
||||
image: "E-MoonClock-57.png" COMP; |
||||
image: "E-MoonClock-58.png" COMP; |
||||
image: "E-MoonClock-59.png" COMP; |
||||
} |
||||
collections { |
||||
group { |
||||
name: "module/moon/main"; |
||||
min: 10 10; |
||||
max: 256 256; |
||||
script { |
||||
|
||||
/* Display phase value policy - ALWAYS, NEVER, ON MOUSE OVER */ |
||||
public global_show_phase_val; |
||||
|
||||
/* Display cloud animations - ALWAYS, NEVER */ |
||||
public global_show_cloud_anim; |
||||
|
||||
apply_config(a1, a2, a3) |
||||
{ |
||||
set_int(global_show_phase_val, a1); |
||||
if ((a1 == POLICY_NEVER) || (a1 == POLICY_ON_MOUSE_OVER)) |
||||
run_program(PROGRAM:"phasevalue_out"); |
||||
else if (a1 == POLICY_ALWAYS) |
||||
run_program(PROGRAM:"phasevalue_in"); |
||||
// a2 is now obselete |
||||
a2 = a2 + 1 |
||||
if (a3 != get_int(global_show_cloud_anim)) |
||||
{ |
||||
if (a3 == POLICY_ALWAYS) |
||||
{ |
||||
set_state(PART:"sky", "displayed", 0.0); |
||||
run_program(PROGRAM:"anim_sky"); |
||||
} |
||||
else if (a3 == POLICY_NEVER) |
||||
{ |
||||
stop_program(PROGRAM:"anim_sky"); |
||||
set_state(PART:"sky", "default", 0.0); |
||||
} |
||||
set_int(global_show_cloud_anim, a3); |
||||
} |
||||
} |
||||
|
||||
public message(Msg_Type:type, id, ...) |
||||
{ |
||||
if (type == MSG_STRING_FLOAT_SET) |
||||
{ |
||||
/* received moon phase information */ |
||||
new str[100]; |
||||
|
||||
getsarg(2, str, 100); |
||||
set_text(PART:"phasevalue", str); |
||||
set_state(PART:"moonphase", "default", getfarg(3)); |
||||
} |
||||
else if (type == MSG_INT_SET) |
||||
{ |
||||
/* received configuration settings */ |
||||
if (numargs() != 5) |
||||
return; |
||||
|
||||
apply_config(getarg(2), getarg(3), getarg(4)); |
||||
} |
||||
} |
||||
} |
||||
|
||||
parts { |
||||
part { |
||||
name: "moonphase"; |
||||
mouse_events: 1; // for POLICY_ON_MOUSE_OVER |
||||
description { |
||||
state: "default" 0.0; |
||||
aspect: 1.0 1.0; |
||||
rel1 { |
||||
relative: 0.05 0.05; |
||||
} |
||||
rel2 { |
||||
relative: 0.95 0.95; |
||||
} |
||||
image { |
||||
normal: "E-MoonClock-00.png"; |
||||
} |
||||
} |
||||
# ifdef PHASE |
||||
# undef PHASE |
||||
# endif |
||||
# define PHASE(NAME) \ |
||||
description { \ |
||||
state: "default" (NAME.0 / 60.0); \ |
||||
inherit: "default" 0.0; \ |
||||
image { \ |
||||
normal: "E-MoonClock-"NAME".png"; \ |
||||
} \ |
||||
} |
||||
PHASE(01) |
||||
PHASE(02) |
||||
PHASE(03) |
||||
PHASE(04) |
||||
PHASE(05) |
||||
PHASE(06) |
||||
PHASE(07) |
||||
PHASE(08) |
||||
PHASE(09) |
||||
PHASE(10) |
||||
PHASE(11) |
||||
PHASE(12) |
||||
PHASE(13) |
||||
PHASE(14) |
||||
PHASE(15) |
||||
PHASE(16) |
||||
PHASE(17) |
||||
PHASE(18) |
||||
PHASE(19) |
||||
PHASE(20) |
||||
PHASE(21) |
||||
PHASE(22) |
||||
PHASE(23) |
||||
PHASE(24) |
||||
PHASE(25) |
||||
PHASE(26) |
||||
PHASE(27) |
||||
PHASE(28) |
||||
PHASE(29) |
||||
PHASE(30) |
||||
PHASE(31) |
||||
PHASE(32) |
||||
PHASE(33) |
||||
PHASE(34) |
||||
PHASE(35) |
||||
PHASE(36) |
||||
PHASE(37) |
||||
PHASE(38) |
||||
PHASE(39) |
||||
PHASE(40) |
||||
PHASE(41) |
||||
PHASE(42) |
||||
PHASE(43) |
||||
PHASE(44) |
||||
PHASE(45) |
||||
PHASE(46) |
||||
PHASE(47) |
||||
PHASE(48) |
||||
PHASE(49) |
||||
PHASE(50) |
||||
PHASE(51) |
||||
PHASE(52) |
||||
PHASE(53) |
||||
PHASE(54) |
||||
PHASE(55) |
||||
PHASE(56) |
||||
PHASE(57) |
||||
PHASE(58) |
||||
PHASE(59) |
||||
} |
||||
part { |
||||
name: "sky"; |
||||
mouse_events: 0; |
||||
description { |
||||
state: "default" 0.0; |
||||
visible: 0; |
||||
rel1 { |
||||
to: "moonphase"; |
||||
} |
||||
rel2 { |
||||
to: "moonphase"; |
||||
} |
||||
image { |
||||
normal: "e17_about_sky3.png"; |
||||
} |
||||
fill { |
||||
smooth: 0; |
||||
size { |
||||
relative: 8.53 1.0; |
||||
} |
||||
} |
||||
} |
||||
description { |
||||
state: "displayed" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
} |
||||
description { |
||||
state: "drift" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
fill { |
||||
origin { |
||||
relative: -8.53 0.0; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
part { |
||||
name: "phasevalue"; |
||||
type: TEXT; |
||||
mouse_events: 0; |
||||
effect: SHADOW; |
||||
|
||||
description { |
||||
state: "default" 0.0; |
||||
visible: 1; |
||||
min: 12 12; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 0 1; |
||||
to: "moonphase"; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 0.20; |
||||
to: "moonphase"; |
||||
} |
||||
color: 0 0 0 0; |
||||
color3: 0 0 0 0; |
||||
text { |
||||
text: "Moon Phase"; |
||||
size: 11; |
||||
// min: 1 1; |
||||
fit: 1 1; |
||||
align: 0.5 0.5; |
||||
} |
||||
} |
||||
description { |
||||
state: "displayed" 0.0; |
||||
inherit: "default" 0.0; |
||||
color: 255 255 255 167; |
||||
color3: 0 0 0 32; |
||||
} |
||||
} |
||||
} |
||||
programs { |
||||
program { |
||||
name: "edje_mousein"; |
||||
signal: "mouse,in"; |
||||
source: "moonphase"; |
||||
script |
||||
{ |
||||
new val = get_int(global_show_phase_val); |
||||
if (val == POLICY_ON_MOUSE_OVER) |
||||
run_program(PROGRAM:"phasevalue_in"); |
||||
} |
||||
} |
||||
program { |
||||
name: "edje_mouseout"; |
||||
signal: "mouse,out"; |
||||
source: "moonphase"; |
||||
script |
||||
{ |
||||
new val = get_int(global_show_phase_val); |
||||
if (val == POLICY_ON_MOUSE_OVER) |
||||
run_program(PROGRAM:"phasevalue_out"); |
||||
} |
||||
} |
||||
program { |
||||
name: "phasevalue_out"; |
||||
action: STATE_SET "default" 0.0; |
||||
transition: LINEAR 0.4; |
||||
target: "phasevalue"; |
||||
} |
||||
program { |
||||
name: "phasevalue_in"; |
||||
action: STATE_SET "displayed" 0.0; |
||||
transition: SINUSOIDAL 0.4; |
||||
target: "phasevalue"; |
||||
} |
||||
program { |
||||
name: "anim_sky"; |
||||
action: STATE_SET "drift" 0.0; |
||||
transition: LINEAR 100.0; |
||||
target: "sky"; |
||||
after: "anim_sky_control"; |
||||
} |
||||
program { |
||||
name: "anim_sky_control"; |
||||
action: STATE_SET "displayed" 0.0; |
||||
target: "sky"; |
||||
after: "anim_sky"; |
||||
/* |
||||
signal: ""; |
||||
source: ""; |
||||
script |
||||
{ |
||||
new val; |
||||
|
||||
val = get_int(global_show_cloud_anim); |
||||
if (val == POLICY_NEVER) |
||||
{ |
||||
stop_program(PROGRAM:"anim_sky"); |
||||
// uncomment this, and it's segv time |
||||
set_state(PART:"sky", "default", 0.0); |
||||
} |
||||
if (val == POLICY_ALWAYS) |
||||
{ |
||||
set_state(PART:"sky", "displayed", 0.0); |
||||
run_program(PROGRAM:"anim_sky"); |
||||
} |
||||
} |
||||
*/ |
||||
} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,136 @@ |
||||
dnl @synopsis AC_PATH_GENERIC(LIBRARY [, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) |
||||
dnl |
||||
dnl Runs a LIBRARY-config script and defines LIBRARY_CFLAGS and LIBRARY_LIBS |
||||
dnl |
||||
dnl The script must support `--cflags' and `--libs' args. |
||||
dnl If MINIMUM-VERSION is specified, the script must also support the |
||||
dnl `--version' arg. |
||||
dnl If the `--with-library-[exec-]prefix' arguments to ./configure are given, |
||||
dnl it must also support `--prefix' and `--exec-prefix'. |
||||
dnl (In other words, it must be like gtk-config.) |
||||
dnl |
||||
dnl For example: |
||||
dnl |
||||
dnl AC_PATH_GENERIC(Foo, 1.0.0) |
||||
dnl |
||||
dnl would run `foo-config --version' and check that it is at least 1.0.0 |
||||
dnl |
||||
dnl If so, the following would then be defined: |
||||
dnl |
||||
dnl FOO_CFLAGS to `foo-config --cflags` |
||||
dnl FOO_LIBS to `foo-config --libs` |
||||
dnl |
||||
dnl At present there is no support for additional "MODULES" (see AM_PATH_GTK) |
||||
dnl (shamelessly stolen from gtk.m4 and then hacked around a fair amount) |
||||
dnl |
||||
dnl @author Angus Lees <gusl@cse.unsw.edu.au> |
||||
|
||||
AC_DEFUN([AC_PATH_GENERIC], |
||||
[dnl |
||||
dnl we're going to need uppercase, lowercase and user-friendly versions of the |
||||
dnl string `LIBRARY' |
||||
pushdef([UP], translit([$1], [a-z], [A-Z]))dnl |
||||
pushdef([DOWN], translit([$1], [A-Z], [a-z]))dnl |
||||
|
||||
dnl |
||||
dnl Get the cflags and libraries from the LIBRARY-config script |
||||
dnl |
||||
AC_ARG_WITH(DOWN-prefix,[ --with-]DOWN[-prefix=PFX Prefix where $1 is installed (optional)], |
||||
DOWN[]_config_prefix="$withval", DOWN[]_config_prefix="") |
||||
AC_ARG_WITH(DOWN-exec-prefix,[ --with-]DOWN[-exec-prefix=PFX Exec prefix where $1 is installed (optional)], |
||||
DOWN[]_config_exec_prefix="$withval", DOWN[]_config_exec_prefix="") |
||||
|
||||
if test x$DOWN[]_config_exec_prefix != x ; then |
||||
DOWN[]_config_args="$DOWN[]_config_args --exec-prefix=$DOWN[]_config_exec_prefix" |
||||
if test x${UP[]_CONFIG+set} != xset ; then |
||||
UP[]_CONFIG=$DOWN[]_config_exec_prefix/bin/DOWN-config |
||||
fi |
||||
fi |
||||
if test x$DOWN[]_config_prefix != x ; then |
||||
DOWN[]_config_args="$DOWN[]_config_args --prefix=$DOWN[]_config_prefix" |
||||
if test x${UP[]_CONFIG+set} != xset ; then |
||||
UP[]_CONFIG=$DOWN[]_config_prefix/bin/DOWN-config |
||||
fi |
||||
fi |
||||
|
||||
AC_PATH_PROG(UP[]_CONFIG, DOWN-config, no) |
||||
ifelse([$2], , |
||||
AC_MSG_CHECKING(for $1), |
||||
AC_MSG_CHECKING(for $1 - version >= $2) |
||||
) |
||||
no_[]DOWN="" |
||||
if test "$UP[]_CONFIG" = "no" ; then |
||||
no_[]DOWN=yes |
||||
else |
||||
UP[]_CFLAGS="`$UP[]_CONFIG $DOWN[]_config_args --cflags`" |
||||
UP[]_LIBS="`$UP[]_CONFIG $DOWN[]_config_args --libs`" |
||||
ifelse([$2], , ,[ |
||||
DOWN[]_config_major_version=`$UP[]_CONFIG $DOWN[]_config_args \ |
||||
--version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\1/'` |
||||
DOWN[]_config_minor_version=`$UP[]_CONFIG $DOWN[]_config_args \ |
||||
--version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\2/'` |
||||
DOWN[]_config_micro_version=`$UP[]_CONFIG $DOWN[]_config_args \ |
||||
--version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\3/'` |
||||
DOWN[]_wanted_major_version="regexp($2, [\<\([0-9]*\)], [\1])" |
||||
DOWN[]_wanted_minor_version="regexp($2, [\<\([0-9]*\)\.\([0-9]*\)], [\2])" |
||||
DOWN[]_wanted_micro_version="regexp($2, [\<\([0-9]*\).\([0-9]*\).\([0-9]*\)], [\3])" |
||||
|
||||
# Compare wanted version to what config script returned. |
||||
# If I knew what library was being run, i'd probably also compile |
||||
# a test program at this point (which also extracted and tested |
||||
# the version in some library-specific way) |
||||
if test "$DOWN[]_config_major_version" -lt \ |
||||
"$DOWN[]_wanted_major_version" \ |
||||
-o \( "$DOWN[]_config_major_version" -eq \ |
||||
"$DOWN[]_wanted_major_version" \ |
||||
-a "$DOWN[]_config_minor_version" -lt \ |
||||
"$DOWN[]_wanted_minor_version" \) \ |
||||
-o \( "$DOWN[]_config_major_version" -eq \ |
||||
"$DOWN[]_wanted_major_version" \ |
||||
-a "$DOWN[]_config_minor_version" -eq \ |
||||
"$DOWN[]_wanted_minor_version" \ |
||||
-a "$DOWN[]_config_micro_version" -lt \ |
||||
"$DOWN[]_wanted_micro_version" \) ; then |
||||
# older version found |
||||
no_[]DOWN=yes |
||||
echo -n "*** An old version of $1 " |
||||
echo -n "($DOWN[]_config_major_version" |
||||
echo -n ".$DOWN[]_config_minor_version" |
||||
echo ".$DOWN[]_config_micro_version) was found." |
||||
echo -n "*** You need a version of $1 newer than " |
||||
echo -n "$DOWN[]_wanted_major_version" |
||||
echo -n ".$DOWN[]_wanted_minor_version" |
||||
echo ".$DOWN[]_wanted_micro_version." |
||||
echo "***" |
||||
echo "*** If you have already installed a sufficiently new version, this error" |
||||
echo "*** probably means that the wrong copy of the DOWN-config shell script is" |
||||
echo "*** being found. The easiest way to fix this is to remove the old version" |
||||
echo "*** of $1, but you can also set the UP[]_CONFIG environment to point to the" |
||||
echo "*** correct copy of DOWN-config. (In this case, you will have to" |
||||
echo "*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf" |
||||
echo "*** so that the correct libraries are found at run-time)" |
||||
fi |
||||
]) |
||||
fi |
||||
if test "x$no_[]DOWN" = x ; then |
||||
AC_MSG_RESULT(yes) |
||||
ifelse([$3], , :, [$3]) |
||||
else |
||||
AC_MSG_RESULT(no) |
||||
if test "$UP[]_CONFIG" = "no" ; then |
||||
echo "*** The DOWN-config script installed by $1 could not be found" |
||||
echo "*** If $1 was installed in PREFIX, make sure PREFIX/bin is in" |
||||
echo "*** your path, or set the UP[]_CONFIG environment variable to the" |
||||
echo "*** full path to DOWN-config." |
||||
fi |
||||
UP[]_CFLAGS="" |
||||
UP[]_LIBS="" |
||||
ifelse([$4], , :, [$4]) |
||||
fi |
||||
AC_SUBST(UP[]_CFLAGS) |
||||
AC_SUBST(UP[]_LIBS) |
||||
|
||||
popdef([UP]) |
||||
popdef([DOWN]) |
||||
]) |
||||
|
@ -0,0 +1,28 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in $(PACKAGE).pot
|
||||
|
||||
MSGFMT = msgfmt
|
||||
|
||||
localedir = @LOCALEDIR@
|
||||
locale_DATA = $(addsuffix .mo,$(ALL_LINGUAS))
|
||||
|
||||
EXTRA_DIST = moon.pot $(addsuffix .po,$(ALL_LINGUAS))
|
||||
|
||||
%.mo : %.po |
||||
$(MSGFMT) -f -o $@ $<
|
||||
|
||||
install-localeDATA: |
||||
uninstall-localeDATA: |
||||
install-data-local: |
||||
for L in $(ALL_LINGUAS); do \
|
||||
$(mkinstalldirs) $(DESTDIR)$(localedir)/$$L/LC_MESSAGES; \
|
||||
$(INSTALL_DATA) \
|
||||
$$L.mo $(DESTDIR)$(localedir)/$$L/LC_MESSAGES/$(PACKAGE).mo; \
|
||||
done
|
||||
|
||||
uninstall: |
||||
for L in $(ALL_LINGUAS); do \
|
||||
rm -f $(DESTDIR)$(localedir)/$$L/LC_MESSAGES/$(PACKAGE).mo; \
|
||||
done
|
||||
|
||||
clean-local: |
||||
rm -f *.mo
|
@ -0,0 +1,54 @@ |
||||
# Italian translation for E17 Moon module. |
||||
# This file is put in the public domain. |
||||
# Massimo Maiurana <maiurana@inwind.it>, 2006. |
||||
# |
||||
msgid "" |
||||
msgstr "" |
||||
"Project-Id-Version: Moon\n" |
||||
"PO-Revision-Date: 2006-01-26 20:50+0100\n" |
||||
"Last-Translator: Massimo Maiurana <maiurana@inwind.it>\n" |
||||
"Language-Team: none\n" |
||||
"MIME-Version: 1.0\n" |
||||
"Content-Type: text/plain; charset=UTF-8\n" |
||||
"Content-Transfer-Encoding: 8bit\n" |
||||
|
||||
#: src/e_mod_config.c:146 |
||||
msgid "Moon Configuration" |
||||
msgstr "Configurazione modulo Moon" |
||||
|
||||
#: src/e_mod_config.c:203 |
||||
msgid "Display Settings" |
||||
msgstr "Impostazioni di visualizzazione" |
||||
|
||||
#: src/e_mod_config.c:204 |
||||
msgid "Show Border" |
||||
msgstr "Mostra bordo" |
||||
|
||||
#: src/e_mod_config.c:206 |
||||
msgid "Animated Clouds" |
||||
msgstr "Nuvole animate" |
||||
|
||||
#: src/e_mod_config.c:210 |
||||
msgid "Moon Phase Value" |
||||
msgstr "Valore della fase lunare" |
||||
|
||||
#: src/e_mod_config.c:212 |
||||
msgid "Show always" |
||||
msgstr "Mostra sempre" |
||||
|
||||
#: src/e_mod_config.c:214 |
||||
msgid "Show on mouse over" |
||||
msgstr "Mostra al passaggio del mouse" |
||||
|
||||
#: src/e_mod_config.c:216 |
||||
msgid "Never show" |
||||
msgstr "Non mostrare mai" |
||||
|
||||
#: src/e_mod_main.c:86 |
||||
msgid "Moon Clock Module" |
||||
msgstr "Modulo orologio lunare" |
||||
|
||||
#: src/e_mod_main.c:87 |
||||
msgid "Display current phase of the moon ala e16 E-MoonClock" |
||||
msgstr "Mostra l'attuale fase lunare in stile E-MoonClock di e16" |
||||
|
@ -0,0 +1,94 @@ |
||||
# Japanese translation for E17 Moon module. |
||||
# This file is put in the public domain. |
||||
# David Steveson <david35472@gmail.com>, 2006. |
||||
# |
||||
#, fuzzy |
||||
msgid "" |
||||
msgstr "" |
||||
"Project-Id-Version: PACKAGE VERSION\n" |
||||
"Report-Msgid-Bugs-To: \n" |
||||
"POT-Creation-Date: 2006-02-21 01:05+0900\n" |
||||
"PO-Revision-Date: 2006-01-29 22:45+0900\n" |
||||
"Last-Translator: David <david35472@gmail.com>\n" |
||||
"Language-Team: none\n" |
||||
"MIME-Version: 1.0\n" |
||||
"Content-Type: text/plain; charset=UTF-8\n" |
||||
"Content-Transfer-Encoding: 8bit\n" |
||||
|
||||
#: moon-0.1.0/src/e_mod_config.c:146 src/e_mod_config.c:146 |
||||
msgid "Moon Configuration" |
||||
msgstr "月モジュールの設定" |
||||
|
||||
#: moon-0.1.0/src/e_mod_config.c:203 src/e_mod_config.c:203 |
||||
msgid "Display Settings" |
||||
msgstr "表示設定" |
||||
|
||||
#: moon-0.1.0/src/e_mod_config.c:204 src/e_mod_config.c:204 |
||||
msgid "Show Border" |
||||
msgstr "ボーダーを表示する" |
||||
|
||||
#: moon-0.1.0/src/e_mod_config.c:206 src/e_mod_config.c:206 |
||||
msgid "Animated Clouds" |
||||
msgstr "雲を表示する" |
||||
|
||||
#: moon-0.1.0/src/e_mod_config.c:210 src/e_mod_config.c:210 |
||||
msgid "Moon Phase Value" |
||||
msgstr "月の満ち欠け状態値" |
||||
|
||||
#: moon-0.1.0/src/e_mod_config.c:212 src/e_mod_config.c:212 |
||||
msgid "Show always" |
||||
msgstr "常に表示する" |
||||
|
||||
#: moon-0.1.0/src/e_mod_config.c:214 src/e_mod_config.c:214 |
||||
msgid "Show on mouse over" |
||||
msgstr "マウスがあると表示する" |
||||
|
||||
#: moon-0.1.0/src/e_mod_config.c:216 src/e_mod_config.c:216 |
||||
msgid "Never show" |
||||
msgstr "表示しない" |
||||
|
||||
#: moon-0.1.0/src/e_mod_main.c:86 src/e_mod_main.c:85 |
||||
msgid "Moon Clock Module" |
||||
msgstr "月の相モジュール" |
||||
|
||||
#: moon-0.1.0/src/e_mod_main.c:87 src/e_mod_main.c:88 |
||||
msgid "Display current phase of the moon ala e16 E-MoonClock" |
||||
msgstr "月の満ち欠け状態を表示するモジュール" |
||||
|
||||
#: src/e_mod_main.c:478 |
||||
msgid "New Moon" |
||||
msgstr "新月" |
||||
|
||||
#: src/e_mod_main.c:479 |
||||
msgid "Waxing Crescent" |
||||
msgstr "三日月" |
||||
|
||||
#: src/e_mod_main.c:480 |
||||
msgid "First Quarter" |
||||
msgstr "上弦" |
||||
|
||||
#: src/e_mod_main.c:481 |
||||
msgid "Waxing Gibbous" |
||||
msgstr "凸月" |
||||
|
||||
#: src/e_mod_main.c:482 |
||||
msgid "Full Moon" |
||||
msgstr "満月" |
||||
|
||||
#: src/e_mod_main.c:483 |
||||
msgid "Waning Gibbous" |
||||
msgstr "欠月" |
||||
|
||||
#: src/e_mod_main.c:484 |
||||
msgid "Last Quarter" |
||||
msgstr "下弦" |
||||
|
||||
#: src/e_mod_main.c:485 |
||||
msgid "Waning Crescent" |
||||
msgstr "衰月" |
||||
|
||||
#~ msgid "Moon Phase Calculation Interval" |
||||
#~ msgstr "月の満ち欠け状態の計算間隔" |
||||
|
||||
#~ msgid "%1.2f seconds" |
||||
#~ msgstr "%1.2f秒" |
@ -0,0 +1,57 @@ |
||||
# Swedish translation for E17 Moon module. |
||||
# This file is put in the public domain. |
||||
# Anders Troback <enlightenment@troback.com>, 2006. |
||||
# |
||||
# |
||||
msgid "" |
||||
msgstr "" |
||||
"Project-Id-Version: Moon\n" |
||||
"Report-Msgid-Bugs-To: \n" |
||||
"POT-Creation-Date: 2006-01-25 22:05+0900\n" |
||||
"PO-Revision-Date: 2006-01-28 00:43+0100\n" |
||||
"Last-Translator: Anders Troback <enlightenment@troback.com>\n" |
||||
"Language-Team: none\n" |
||||
"MIME-Version: 1.0\n" |
||||
"Content-Type: text/plain; charset=UTF-8\n" |
||||
"Content-Transfer-Encoding: 8bit\n" |
||||
|
||||
#: src/e_mod_config.c:146 |
||||