diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
commit | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch) | |
tree | 83fc5facb6b12be510a37bc3d241cc63e965b13a /gnome-extra/filemanager-actions | |
parent | feb0daf81d888e9160f9f94502de09b66f2a63fd (diff) |
gentoo resync : 29.06.2020
Diffstat (limited to 'gnome-extra/filemanager-actions')
6 files changed, 202 insertions, 0 deletions
diff --git a/gnome-extra/filemanager-actions/Manifest b/gnome-extra/filemanager-actions/Manifest new file mode 100644 index 000000000000..099ae0b31c53 --- /dev/null +++ b/gnome-extra/filemanager-actions/Manifest @@ -0,0 +1,7 @@ +AUX fix-desktop-file.patch 1052 BLAKE2B 99e0c5c7a710e71fccaf315af57d3c1717cad9944f5a12d753674dbe0b7c63e45c4cd305a59aa8e303dcdc593e4fa2dfe61a20872a6dc3102341f52063972855 SHA512 8b3bd596ad13c54f6d7f5ee0a6de613df44c560d9db6b3a3a6fe25fce9fed782adfb120a650d8a3b2c4bd2084ace29b6aac5b6e6c7331cc2276fba2c4e48b449 +AUX fix-help-file.patch 1076 BLAKE2B 8689ef4b36cf5a2226b8a8c559d1cbb7e65e21e5a290d137fa6af9ab26427172a1fd8c88f76d79c7fc23f03cb043b531ec50184c75a71ec9f2fb22a73713739a SHA512 ed62712133ac7a25f9524a679d76652dd52c49a213a2fae9e5387848dce366fcb8e257f20267e4f1c8d8002665150dcfc78a0f2d51357fdba909ae98b903ccf0 +DIST filemanager-actions-3.4.tar.xz 3280320 BLAKE2B 140da4441c4408b57ee0e5de04a792b7376eb89e77ea6132b679058af117149f69c1dca0b614f1dd1153f5663b867859d98036bfc3d9b9d313453f1b4ee1510e SHA512 05e47832e5d97a664be617c7ad998ac94022f272369b7d23704f3f809e72f21b5087653ecccda663cca2c61553ebc3d009742004b2c59d3c99af92fa39af2010 +DIST nautilus-actions-3.2.4.tar.xz 5148812 BLAKE2B e81edf846219b89f3585743d8a3601f21483dff86d601415a968d7f50f9fb4b889038593796d1b442f0395f0c649e7c5c3639b2fc0a42dc05bb7ba6588247709 SHA512 1f8e90fe040b76b0ce9a26f99725e717e6c60a1a838339ec1e26acb5db46b1382e6468e6cabc542e51438b63da2501728cd117e9f77a1710a296e9bd59e402f0 +EBUILD filemanager-actions-3.2.4.ebuild 1253 BLAKE2B 74f2918cc126ec18beb6c6aa8f3cb9e8b990df12ff55054d4be9b22b4d0f7b6650662627c52c43b3033400ac57d5e5a66610a06d268a06959186d6c0b54a85ce SHA512 91ee195089c4534315900754362d75b9ebe9bca7e68d713a68e63a233a48749d65dbcc9691bd85e2f397b9c3c97e6adfbeaf4b16928d2dd302f41901514113f1 +EBUILD filemanager-actions-3.4.ebuild 1951 BLAKE2B 807fad9411638aa66315dd73e23016a1a3aaa65c6d86bc2c13149b24904da980b26e9ce06dced806e37ede3c4363d891c648a530b03ec74bc4f87bff195cb026 SHA512 5e208258e124739c032e22d3777b0f6ff56dcd7bc4f8d258a622949277d8c29d477e2c5781bf90afde801ad0138f8d16d15f0bc60c6c380c22c12ec2368fd0a0 +MISC metadata.xml 495 BLAKE2B c4215a3c06445cfc6d281058d6d4a18a6d6e58ce10f1b3cac8dd95c6fda7c937b02b9766cdfb5bd874eacbac466c488011b1b19acb0c33eca8bc588e2b3a46f2 SHA512 849883913086efb500105e737f8e12d32911012e687dff4398c6e3beaef0f36b91331b707ebee2b21176d2eb3a4e5039243068d0db666331c6cfbd3e9928dbfb diff --git a/gnome-extra/filemanager-actions/filemanager-actions-3.2.4.ebuild b/gnome-extra/filemanager-actions/filemanager-actions-3.2.4.ebuild new file mode 100644 index 000000000000..424cea5de1c1 --- /dev/null +++ b/gnome-extra/filemanager-actions/filemanager-actions-3.2.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +GNOME_ORG_MODULE="nautilus-actions" + +inherit gnome2 + +DESCRIPTION="Configures programs to be launched when files are selected in Nautilus" +HOMEPAGE="http://www.nautilus-actions.org/ https://git.gnome.org/browse/nautilus-actions/" + +LICENSE="GPL-2 FDL-1.3" +SLOT="3" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.30:2 + >=dev-libs/libxml2-2.6:2 + dev-libs/libunique:3 + >=gnome-base/libgtop-2.23.1:2 + >=gnome-base/nautilus-3 + sys-apps/util-linux + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libICE + >=x11-libs/libSM-1 + + !gnome-extra/nautilus-actions:2 +" +DEPEND="${RDEPEND} + dev-util/gdbus-codegen + >=dev-util/intltool-0.35.5 + virtual/pkgconfig +" + +src_prepare() { + # install docs in /usr/share/doc/${PF}, not ${P} + sed -i -e "s:/doc/@PACKAGE@-@VERSION@:/doc/${PF}:g" \ + Makefile.{am,in} \ + docs/Makefile.{am,in} \ + docs/nact/Makefile.{am,in} || die + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --enable-deprecated \ + --disable-gconf \ + --with-gtk=3 +} + +src_install() { + gnome2_src_install + # Do not install COPYING + rm -v "${ED}usr/share/doc/${PF}"/COPYING* || die +} diff --git a/gnome-extra/filemanager-actions/filemanager-actions-3.4.ebuild b/gnome-extra/filemanager-actions/filemanager-actions-3.4.ebuild new file mode 100644 index 000000000000..da8e35ae11e9 --- /dev/null +++ b/gnome-extra/filemanager-actions/filemanager-actions-3.4.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" + +inherit gnome2 + +DESCRIPTION="File manager extension which offers user configurable context menu actions" +HOMEPAGE="https://gitlab.gnome.org/GNOME/filemanager-actions" + +LICENSE="GPL-2+ FDL-1.3" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="caja +nautilus nemo" +REQUIRED_USE="|| ( caja nautilus nemo )" + +RDEPEND=" + >=x11-libs/gtk+-3.4.1:3 + >=dev-libs/glib-2.32.1:2 + >=gnome-base/libgtop-2.28.4:2 + >=dev-libs/libxml2-2.7.8:2 + sys-apps/util-linux + nautilus? ( >=gnome-base/nautilus-3.4.1 ) + nemo? ( >=gnome-extra/nemo-1.8 ) + caja? ( >=mate-base/caja-1.16.0 ) + x11-libs/gdk-pixbuf:2 +" +DEPEND="${RDEPEND} + dev-util/gdbus-codegen + >=dev-util/intltool-0.50.2 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/fix-desktop-file.patch + "${FILESDIR}"/fix-help-file.patch +) + +src_prepare() { + # install docs in /usr/share/doc/${PF}, not ${P} + sed -i -e "s:/doc/@PACKAGE@-@VERSION@:/doc/${PF}:g" \ + Makefile.{am,in} \ + docs/Makefile.{am,in} \ + docs/manual/Makefile.{am,in} || die + # Don't install HTML manual, there's already ghelp manual in /usr/share/gnome/help, opened in yelp via F1 + sed -i -e "s|install-data-local: install-manuals|install-data-local:|g" docs/manual/Makefile.{am,in} || die + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-docs \ + --enable-deprecated \ + --disable-gconf \ + $(use_with caja) \ + $(use_with nautilus) \ + $(use_with nemo) +} + +src_install() { + gnome2_src_install + # Do not install files we don't really want in docdir + rm -v "${ED}usr/share/doc/${PF}"/COPYING* || die + rm -v "${ED}usr/share/doc/${PF}"/INSTALL* || die + rm -v "${ED}usr/share/doc/${PF}"/objects-hierarchy.odg* || die + # Currently empty AUTHORS (but newline including, so it doesn't get automatically deleted) - this is not the case in next release after 3.4 + rm -v "${ED}usr/share/doc/${PF}"/AUTHORS* || die +} diff --git a/gnome-extra/filemanager-actions/files/fix-desktop-file.patch b/gnome-extra/filemanager-actions/files/fix-desktop-file.patch new file mode 100644 index 000000000000..73b0bf4b4694 --- /dev/null +++ b/gnome-extra/filemanager-actions/files/fix-desktop-file.patch @@ -0,0 +1,27 @@ +From: Carlos Maddela <e7appew@gmail.com> +Date: Sat, 1 Dec 2018 03:25:18 +1100 +Subject: Fix desktop file to use correct icon and keywords. + +Description: Fix desktop file to use correct icon and keywords. +Author: Carlos Maddela <e7appew@gmail.com> +Forwarded: https://gitlab.gnome.org/GNOME/filemanager-actions/merge_requests/2 +Last-Update: 2018-12-04 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- + src/ui/fma-config-tool.desktop.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/ui/fma-config-tool.desktop.in b/src/ui/fma-config-tool.desktop.in +index ee0b7c3..b66713d 100644 +--- a/src/ui/fma-config-tool.desktop.in ++++ b/src/ui/fma-config-tool.desktop.in +@@ -4,6 +4,7 @@ Type=Application + _Name=FileManager-Actions Configuration Tool + _Comment=Configure items to be added to the File-Manager context menus + Exec=fma-config-tool +-Icon=fma-config-tool ++Icon=filemanager-actions + Categories=System;FileTools;FileManager; ++Keywords=file tools;file manager;custom menu;custom action; + StartupNotify=true diff --git a/gnome-extra/filemanager-actions/files/fix-help-file.patch b/gnome-extra/filemanager-actions/files/fix-help-file.patch new file mode 100644 index 000000000000..419fbda91c3b --- /dev/null +++ b/gnome-extra/filemanager-actions/files/fix-help-file.patch @@ -0,0 +1,27 @@ +From: Carlos Maddela <e7appew@gmail.com> +Date: Sat, 1 Dec 2018 03:33:29 +1100 +Subject: Launch the correct Gnome help file for spa-config-tool. + +Description: Launch the correct Gnome help file for spa-config-tool. +Author: Carlos Maddela <e7appew@gmail.com> +Forwarded: https://gitlab.gnome.org/GNOME/filemanager-actions/merge_requests/3 +Last-Update: 2018-12-04 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- + src/ui/fma-menu.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ui/fma-menu.c b/src/ui/fma-menu.c +index f31037a..deb2d73 100644 +--- a/src/ui/fma-menu.c ++++ b/src/ui/fma-menu.c +@@ -281,7 +281,7 @@ on_app_help( GSimpleAction *action, GVariant *parameter, gpointer user_data ) + g_return_if_fail( user_data && FMA_IS_APPLICATION( user_data )); + + error = NULL; +- gtk_show_uri( NULL, "ghelp:filemanager-actions-config-tool", GDK_CURRENT_TIME, &error ); ++ gtk_show_uri( NULL, "ghelp:fma-config-tool", GDK_CURRENT_TIME, &error ); + if( error ){ + g_warning( "%s: %s", thisfn, error->message ); + g_error_free( error ); diff --git a/gnome-extra/filemanager-actions/metadata.xml b/gnome-extra/filemanager-actions/metadata.xml new file mode 100644 index 000000000000..b7c4c750db60 --- /dev/null +++ b/gnome-extra/filemanager-actions/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +<use> + <flag name="caja">Install the <pkg>mate-base/caja</pkg> extension</flag> + <flag name="nautilus">Install the <pkg>gnome-base/nautilus</pkg> extension</flag> + <flag name="nemo">Install the <pkg>gnome-extra/nemo</pkg> extension</flag> +</use> +</pkgmetadata> |