summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-10-27 15:24:15 +0100
committerStefano Karapetsas <[email protected]>2014-10-27 15:24:15 +0100
commit8ffa7e78d9bb1e7a364a1c2f5d23a26d0c802498 (patch)
treea2d13b186e01ea661d286a91a1a9825e8c45cd4e
parentb5950f0eef1fcda2ed59e5d6ccfd560b10a5f6a3 (diff)
downloadcaja-extensions-8ffa7e78d9bb1e7a364a1c2f5d23a26d0c802498.tar.bz2
caja-extensions-8ffa7e78d9bb1e7a364a1c2f5d23a26d0c802498.tar.xz
Add ini files for extension management
-rw-r--r--gksu/Makefile.am5
-rw-r--r--gksu/libcaja-gksu.caja-extension.in4
-rw-r--r--image-converter/Makefile.am7
-rw-r--r--image-converter/libcaja-image-converter.caja-extension.in4
-rw-r--r--open-terminal/Makefile.am7
-rw-r--r--open-terminal/libcaja-open-terminal.caja-extension.in4
-rw-r--r--sendto/Makefile.am5
-rw-r--r--sendto/libcaja-sendto.caja-extension.in4
-rw-r--r--share/Makefile.am5
-rw-r--r--share/libcaja-share.caja-extension.in4
10 files changed, 47 insertions, 2 deletions
diff --git a/gksu/Makefile.am b/gksu/Makefile.am
index be1bb7d..57f62c5 100644
--- a/gksu/Makefile.am
+++ b/gksu/Makefile.am
@@ -6,3 +6,8 @@ caja_extension_LTLIBRARIES = libcaja-gksu.la
libcaja_gksu_la_SOURCES = libcaja-gksu.c
libcaja_gksu_la_LDFLAGS = LDFLAGS = -module -avoid-version -no-undefined
libcaja_gksu_la_LIBADD = $(CAJA_LIBS)
+
+extensiondir = $(datadir)/caja/extensions
+extension_in_files = libcaja-gksu.caja-extension.in
+extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
+%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
diff --git a/gksu/libcaja-gksu.caja-extension.in b/gksu/libcaja-gksu.caja-extension.in
new file mode 100644
index 0000000..6063a5e
--- /dev/null
+++ b/gksu/libcaja-gksu.caja-extension.in
@@ -0,0 +1,4 @@
+[Caja Extension]
+Icon=system
+_Name=Gksu
+_Description=Privilege granting extension
diff --git a/image-converter/Makefile.am b/image-converter/Makefile.am
index 1a02871..5209912 100644
--- a/image-converter/Makefile.am
+++ b/image-converter/Makefile.am
@@ -26,5 +26,10 @@ builderdir = $(datadir)/caja-extensions
builder_DATA = \
caja-image-resize.ui \
caja-image-rotate.ui
-
+
+extensiondir = $(datadir)/caja/extensions
+extension_in_files = libcaja-image-converter.caja-extension.in
+extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
+%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
+
EXTRA_DIST = $(builder_DATA)
diff --git a/image-converter/libcaja-image-converter.caja-extension.in b/image-converter/libcaja-image-converter.caja-extension.in
new file mode 100644
index 0000000..1ff5d1e
--- /dev/null
+++ b/image-converter/libcaja-image-converter.caja-extension.in
@@ -0,0 +1,4 @@
+[Caja Extension]
+Icon=image
+_Name=Image Converter
+_Description=Rotate and resize images
diff --git a/open-terminal/Makefile.am b/open-terminal/Makefile.am
index d5aabe8..ac45c5d 100644
--- a/open-terminal/Makefile.am
+++ b/open-terminal/Makefile.am
@@ -31,9 +31,14 @@ gsettings_SCHEMAS = $(gsettings_schemas_in_files:.gschema.xml.in=.gschema.xml)
convertdir = $(datadir)/MateConf/gsettings
convert_DATA = caja-open-terminal.convert
+extensiondir = $(datadir)/caja/extensions
+extension_in_files = libcaja-open-terminal.caja-extension.in
+extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
+%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
+
DISTCLEANFILES = \
org.mate.caja-open-terminal.gschema.xml
EXTRA_DIST = \
$(convert_DATA) \
- $(gsettings_schemas_in_files) \ No newline at end of file
+ $(gsettings_schemas_in_files)
diff --git a/open-terminal/libcaja-open-terminal.caja-extension.in b/open-terminal/libcaja-open-terminal.caja-extension.in
new file mode 100644
index 0000000..8188a32
--- /dev/null
+++ b/open-terminal/libcaja-open-terminal.caja-extension.in
@@ -0,0 +1,4 @@
+[Caja Extension]
+Icon=terminal
+_Name=Open terminal
+_Description=Open terminals from folders
diff --git a/sendto/Makefile.am b/sendto/Makefile.am
index f808949..c7a241a 100644
--- a/sendto/Makefile.am
+++ b/sendto/Makefile.am
@@ -78,5 +78,10 @@ gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
man_MANS = caja-sendto.1
+extensiondir = $(datadir)/caja/extensions
+extension_in_files = libcaja-sendto.caja-extension.in
+extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
+%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
+
EXTRA_DIST = $(ui_DATA) $(man_MANS) caja-sendto.pc.in $(convert_DATA) $(gsettingsschema_in_files)
CLEANFILES = $(nst_built_headers) $(nst_built_cfiles) $(gsettings_SCHEMAS)
diff --git a/sendto/libcaja-sendto.caja-extension.in b/sendto/libcaja-sendto.caja-extension.in
new file mode 100644
index 0000000..98195ff
--- /dev/null
+++ b/sendto/libcaja-sendto.caja-extension.in
@@ -0,0 +1,4 @@
+[Caja Extension]
+Icon=mail-send
+_Name=Send To
+_Description=Integrates email clients and Pidgin
diff --git a/share/Makefile.am b/share/Makefile.am
index 67c38ae..d4ddc96 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -26,3 +26,8 @@ libcaja_share_la_SOURCES = \
libcaja_share_la_LDFLAGS = -module -avoid-version
libcaja_share_la_LIBADD = $(SHARE_LIBS) $(CAJA_LIBS)
+
+extensiondir = $(datadir)/caja/extensions
+extension_in_files = libcaja-share.caja-extension.in
+extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
+%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
diff --git a/share/libcaja-share.caja-extension.in b/share/libcaja-share.caja-extension.in
new file mode 100644
index 0000000..85472ae
--- /dev/null
+++ b/share/libcaja-share.caja-extension.in
@@ -0,0 +1,4 @@
+[Caja Extension]
+Icon=folder-remote
+_Name=Share
+_Description=Allows to quickly share a folder