[gentoo-commits] repo/gentoo:master commit in: app-editors/pluma-plugins/

2024-06-05 Thread Sam James
commit: bda6a15fb89b0b04bfa72ee37b59583d47f57ce3
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Jun  5 03:39:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  6 00:44:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda6a15f

app-editors/pluma-plugins: remove support for all USE other than python

They control inert files installed to the plugins directory, and you
have to enable the plugins in the pluma settings.

Half these plugins require nothing other than python itself, and cannot
be disabled other than via --disable-python, which means offering to
refrain from installing them is a QA violation of PG-0301 (installation
of small files).

The remaining plugins have trivially satisfiable dependencies and still
violate the small files policy. The build system provides zero help
here, since the dependencies are automagically detected and there is no
option to disable them.

Having 5 different USE flags on top of the python one is pointless
complexity, so delete them.

...

Also while we are moving the USE-dependent plugin dependencies into the
python block? dbus-python was missing a USEDEP on the python impl, so
even enabling synctex would not actually help... add that in properly.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../pluma-plugins/pluma-plugins-1.26.0-r3.ebuild   | 72 ++
 1 file changed, 72 insertions(+)

diff --git a/app-editors/pluma-plugins/pluma-plugins-1.26.0-r3.ebuild 
b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r3.ebuild
new file mode 100644
index ..cf3247965042
--- /dev/null
+++ b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MATE_LA_PUNT="yes"
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit mate python-single-r1
+
+if [[ ${PV} !=  ]]; then
+   KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A set of plugins for Pluma, the MATE text editor."
+LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
+SLOT="0"
+
+IUSE="+python"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   >=dev-libs/libpeas-1.14.1:0[gtk]
+   >=app-editors/pluma-1.25.3
+
+   >=dev-libs/glib-2.32:2
+   >=x11-libs/gtk+-3.9:3
+   >=x11-libs/gtksourceview-4.0.2:4
+
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   app-editors/pluma[${PYTHON_SINGLE_USEDEP}]
+   dev-libs/libpeas:0[python,${PYTHON_SINGLE_USEDEP}]
+   >=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
+   dev-python/pycairo[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+   >=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
+   >=x11-libs/vte-0.52:2.91[introspection]
+   ')
+   >=x11-libs/gtk+-3.9:3[introspection]
+   >=x11-libs/gtksourceview-4.0.2:4[introspection]
+   x11-libs/pango[introspection]
+   x11-libs/gdk-pixbuf:2[introspection]
+
+   )"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-libs/libxml2
+   dev-util/itstool
+   >=sys-devel/gettext-0.19.8
+   virtual/pkgconfig
+"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local myeconfargs=(
+   $(use_enable python)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   mate_src_install
+   use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
+}



[gentoo-commits] repo/gentoo:master commit in: app-editors/pluma-plugins/

2024-06-05 Thread Sam James
commit: 9d938dc7549a99a9a266434a9f956d64a205778d
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Jun  5 03:33:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  6 00:44:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d938dc7

app-editors/pluma-plugins: fix configure failure to respect USE=python

There is a ./configure --enable-python but it was not passed. As a
result it automagically detected python (and always succeeded since core
distro tooling requires one).

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild | 8 
 1 file changed, 8 insertions(+)

diff --git a/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild 
b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
index bdfab472e753..0c6a11fbb5eb 100644
--- a/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
+++ b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
@@ -65,6 +65,14 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
 }
 
+src_configure() {
+   local myeconfargs=(
+   $(use_enable python)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
 src_install() {
mate_src_install
use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"



[gentoo-commits] repo/gentoo:master commit in: app-editors/pluma-plugins/

2024-06-05 Thread Sam James
commit: 3cfe6ee37f9b60bdf39d895c961dd7243de2b17d
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Jun  5 02:52:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  6 00:44:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cfe6ee3

app-editors/pluma-plugins: add github upstream metadata

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-editors/pluma-plugins/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-editors/pluma-plugins/metadata.xml 
b/app-editors/pluma-plugins/metadata.xml
index 694df975ee24..724f7d707ba9 100644
--- a/app-editors/pluma-plugins/metadata.xml
+++ b/app-editors/pluma-plugins/metadata.xml
@@ -9,4 +9,7 @@
Enable synctex support for pdflatex
Embed a terminal in the bottom pane
 
+
+   mate-desktop/pluma-plugins
+
 



[gentoo-commits] repo/gentoo:master commit in: app-editors/pluma-plugins/

2024-06-05 Thread Sam James
commit: d0a1a621733dcbecb51b75c9418afda80583611c
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Jun  5 03:04:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  6 00:44:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a1a621

app-editors/pluma-plugins: fix impossible dependency on gedit instead of pluma

Most likely this was copy-pasted from app-editors/gedit-plugins. In its
current state, there isn't even a good explanation for how this ever
built on anyone's machine, or passed stabilization checks, except that
stabilization of pluma-plugins plainly occurred in a batch alongside,
but after, pluma itself, leading to silently available undeclared
dependencies.

And yes, not only does this package check in configure for an installed
pluma -- it builds C code that includes headers named "pluma".

Most likely, anyone using the package doesn't suffer this confusion,
because they already have pluma installed; still, this metadata problem
is rather bad. Revbump via `mv`, drop old + immediate to stable, because
we want to get the metadata fix out ASAP.

Bug: https://github.com/gentoo/gentoo/pull/28508
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...luma-plugins-1.26.0-r1.ebuild => pluma-plugins-1.26.0-r2.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-editors/pluma-plugins/pluma-plugins-1.26.0-r1.ebuild 
b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
similarity index 92%
rename from app-editors/pluma-plugins/pluma-plugins-1.26.0-r1.ebuild
rename to app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
index 1969a87f5e98..bdfab472e753 100644
--- a/app-editors/pluma-plugins/pluma-plugins-1.26.0-r1.ebuild
+++ b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,7 +29,7 @@ REQUIRED_USE="
 
 RDEPEND="
>=dev-libs/libpeas-1.14.1:0[gtk]
-   >=app-editors/gedit-40.0
+   >=app-editors/pluma-1.25.3
 
>=dev-libs/glib-2.32:2
>=x11-libs/gtk+-3.9:3
@@ -38,7 +38,7 @@ RDEPEND="
python? (
${PYTHON_DEPS}
$(python_gen_cond_dep '
-   app-editors/gedit[python,${PYTHON_SINGLE_USEDEP}]
+   app-editors/pluma[${PYTHON_SINGLE_USEDEP}]
dev-libs/libpeas:0[python,${PYTHON_SINGLE_USEDEP}]
>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: app-editors/pluma-plugins/

2023-10-29 Thread Mart Raudsepp
commit: 3b62455fa2523aaa1ad6b98069a3d3140e008236
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sun Oct 29 22:00:42 2023 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sun Oct 29 22:00:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b62455f

app-editors/pluma-plugins: Explicitly depend on libpeas SLOT=0

Another libpeas SLOT is coming.

Signed-off-by: Mart Raudsepp  gentoo.org>

 .../{pluma-plugins-1.26.0.ebuild => pluma-plugins-1.26.0-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-editors/pluma-plugins/pluma-plugins-1.26.0.ebuild 
b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r1.ebuild
similarity index 94%
rename from app-editors/pluma-plugins/pluma-plugins-1.26.0.ebuild
rename to app-editors/pluma-plugins/pluma-plugins-1.26.0-r1.ebuild
index 58a230691c8f..1969a87f5e98 100644
--- a/app-editors/pluma-plugins/pluma-plugins-1.26.0.ebuild
+++ b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r1.ebuild
@@ -28,7 +28,7 @@ REQUIRED_USE="
"
 
 RDEPEND="
-   >=dev-libs/libpeas-1.14.1[gtk]
+   >=dev-libs/libpeas-1.14.1:0[gtk]
>=app-editors/gedit-40.0
 
>=dev-libs/glib-2.32:2
@@ -39,7 +39,7 @@ RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
app-editors/gedit[python,${PYTHON_SINGLE_USEDEP}]
-   dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
+   dev-libs/libpeas:0[python,${PYTHON_SINGLE_USEDEP}]
>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: app-editors/pluma-plugins/

2022-12-02 Thread Sam James
commit: ab3ea1e9c26d012d363a92d9d3ee33e30956865a
Author: Oz Tiram  gmail  com>
AuthorDate: Thu Dec  1 09:25:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  3 01:04:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3ea1e9

app-editors/pluma-plugins: new package, add 1.26.0

Signed-off-by: Oz Tiram  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-editors/pluma-plugins/Manifest |  1 +
 app-editors/pluma-plugins/metadata.xml | 15 +
 .../pluma-plugins/pluma-plugins-1.26.0.ebuild  | 71 ++
 3 files changed, 87 insertions(+)

diff --git a/app-editors/pluma-plugins/Manifest 
b/app-editors/pluma-plugins/Manifest
new file mode 100644
index ..9eeb0b88a346
--- /dev/null
+++ b/app-editors/pluma-plugins/Manifest
@@ -0,0 +1 @@
+DIST pluma-plugins-1.26.0.tar.xz 505652 BLAKE2B 
09d34a3205796aab0b94b6e4d1c44b9902091b46511735b74a9cc1d1bee8a28352bf673ea7788eb4522e1dd0614a0399471aa8a076fd50f70bf1cf66e80326ad
 SHA512 
ee59d52e0f879a5adf745c4be4a274f5c5b5403d7a9485236879e6e6db1c8f743de74be379fe84d2da73efe3eeb63bfa089a28f73762a6f0ceee0dbbbc464fa4

diff --git a/app-editors/pluma-plugins/metadata.xml 
b/app-editors/pluma-plugins/metadata.xml
new file mode 100644
index ..62ccd0b85014
--- /dev/null
+++ b/app-editors/pluma-plugins/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+   m...@gentoo.org
+   Gentoo MATE Desktop
+
+
+   Auto complete bracket pairs
+   Comment code blocks
+   Insert smart spaces
+   Enable synctex support for pdflatex
+   Embed a terminal in the bottom pane
+
+

diff --git a/app-editors/pluma-plugins/pluma-plugins-1.26.0.ebuild 
b/app-editors/pluma-plugins/pluma-plugins-1.26.0.ebuild
new file mode 100644
index ..ea5d9255a604
--- /dev/null
+++ b/app-editors/pluma-plugins/pluma-plugins-1.26.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MATE_LA_PUNT="yes"
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit mate python-single-r1
+
+if [[ ${PV} !=  ]]; then
+   KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A set of plugins for Pluma, the MATE text editor."
+LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
+SLOT="0"
+
+IUSE="+python bracketcompletion codecomment smartspaces synctex terminal"
+REQUIRED_USE="
+   "${PYTHON_REQUIRED_USE}"
+   bracketcompletion? ( python )
+   codecomment? ( python )
+   smartspaces? ( python )
+   synctex? ( python )
+   terminal? ( python )
+   "
+
+RDEPEND="
+   >=dev-libs/libpeas-1.14.1[gtk]
+   >=app-editors/gedit-40.0
+
+   >=dev-libs/glib-2.32:2
+   >=x11-libs/gtk+-3.9:3
+   >=x11-libs/gtksourceview-4.0.2:4
+
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   app-editors/gedit[python,${PYTHON_SINGLE_USEDEP}]
+   dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
+   >=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
+   dev-python/pycairo[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+   ')
+   >=x11-libs/gtk+-3.9:3[introspection]
+   >=x11-libs/gtksourceview-4.0.2:4[introspection]
+   x11-libs/pango[introspection]
+   x11-libs/gdk-pixbuf:2[introspection]
+   synctex? ( >=dev-python/dbus-python-0.82 )
+   terminal? ( >=x11-libs/vte-0.52:2.91[introspection] )
+
+   )"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-libs/libxml2
+   dev-util/itstool
+   >=sys-devel/gettext-0.19.8
+   virtual/pkgconfig
+"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_install() {
+   mate_src_install
+   use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
+}