diff options
author | Crispin Flowerday <gnome@flowerday.cx> | 2005-09-24 02:56:46 +0800 |
---|---|---|
committer | Crispin Flowerday <crispin@src.gnome.org> | 2005-09-24 02:56:46 +0800 |
commit | 93a3de0e7917e0536b215d525fc8174b3e27c1c4 (patch) | |
tree | 4aecc51090193bbe044ea12f9141491bcf86d7e2 | |
parent | 01cd0058fa70e2180f459eb80fb97e3427a119ab (diff) | |
download | gsoc2013-epiphany-93a3de0e7917e0536b215d525fc8174b3e27c1c4.tar gsoc2013-epiphany-93a3de0e7917e0536b215d525fc8174b3e27c1c4.tar.gz gsoc2013-epiphany-93a3de0e7917e0536b215d525fc8174b3e27c1c4.tar.bz2 gsoc2013-epiphany-93a3de0e7917e0536b215d525fc8174b3e27c1c4.tar.lz gsoc2013-epiphany-93a3de0e7917e0536b215d525fc8174b3e27c1c4.tar.xz gsoc2013-epiphany-93a3de0e7917e0536b215d525fc8174b3e27c1c4.tar.zst gsoc2013-epiphany-93a3de0e7917e0536b215d525fc8174b3e27c1c4.zip |
Add support for extension description files in the keyfile format, using
2005-09-23 Crispin Flowerday <gnome@flowerday.cx>
* data/Makefile.am:
* data/epiphany.m4:
* src/ephy-extensions-manager.c: (free_extension_info),
(ephy_extensions_manager_load_xml_string),
(ephy_extensions_manager_load_ini_string), (path_to_identifier),
(ephy_extensions_manager_load_file), (load_extension),
(load_file_from_monitor), (dir_changed_cb),
(ephy_extensions_manager_load_dir):
Add support for extension description files in the keyfile
format, using the extension .ephy-extension. Also included
is a m4 macro to help do the translation of these files.
-rw-r--r-- | data/epiphany.m4 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/data/epiphany.m4 b/data/epiphany.m4 new file mode 100644 index 000000000..e880c22b6 --- /dev/null +++ b/data/epiphany.m4 @@ -0,0 +1,30 @@ +## epiphany.m4 - Macros for building epiphany extensions. -*-Shell-script-*- +## Copyright (C) Crispin Flowerday <crispin@gnome.org> +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## +## As a special exception to the GNU General Public License, if you +## distribute this file as part of a program that contains a +## configuration script generated by Autoconf, you may include it under +## the same distribution terms that you use for the rest of that program. + +AC_DEFUN([AC_EPIPHANY_EXTENSION], +[ + +EPIPHANY_EXTENSION_RULE='%.ephy-extension: %.ephy-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + +AC_SUBST(EPIPHANY_EXTENSION_RULE) + +]) |