summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-26 03:04:34 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-26 03:04:34 -0500
commit704373259ee68c274d8ce04949a32d64de4b6014 (patch)
tree7a0e8486e2a8a023587be7210e8ee21355d86ee9 /app-editors
parentf1b8e4e12c5e5f7dc09790bb9915ce4855b5d9ea (diff)
downloadbaldeagleos-repo-704373259ee68c274d8ce04949a32d64de4b6014.tar.gz
baldeagleos-repo-704373259ee68c274d8ce04949a32d64de4b6014.tar.xz
baldeagleos-repo-704373259ee68c274d8ce04949a32d64de4b6014.zip
Adding metadata
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/enter-tex/Manifest1
-rw-r--r--app-editors/enter-tex/enter-tex-3.49.0.ebuild79
-rw-r--r--app-editors/enter-tex/metadata.xml (renamed from app-editors/gnome-latex/metadata.xml)1
-rw-r--r--app-editors/gedit/gedit-49.0-r1.ebuild (renamed from app-editors/gedit/gedit-49.0.ebuild)2
-rw-r--r--app-editors/gnome-latex/Manifest1
-rw-r--r--app-editors/gnome-latex/gnome-latex-3.46.0-r1.ebuild53
-rw-r--r--app-editors/nedit/Manifest1
-rw-r--r--app-editors/nedit/files/nedit-5.7-doc.patch13
-rw-r--r--app-editors/nedit/files/nedit-5.7-security.patch61
-rw-r--r--app-editors/nedit/files/nedit-5.8-ldflags.patch17
-rw-r--r--app-editors/nedit/nedit-5.8.ebuild83
11 files changed, 256 insertions, 56 deletions
diff --git a/app-editors/enter-tex/Manifest b/app-editors/enter-tex/Manifest
new file mode 100644
index 000000000000..57d46117c9c2
--- /dev/null
+++ b/app-editors/enter-tex/Manifest
@@ -0,0 +1 @@
+DIST enter-tex-3.49.0.tar.bz2 668833 BLAKE2B e7f7d2023680f074bbaf48357fbd0dcee01c973c417804d8c40168d089ac571ed77a3994195e8c6516f0da48c824a798d62d311874ddff1486e8c3876f1927b5 SHA512 9bb9e71aa312ccd37430ed3435ea633e59ca53bc893fba79b3340459977a9e6fc5bac9cf56b1e7736c0735d04bf3ef5186229e8a4ff50ea7b0997ff9ef7f6fe9
diff --git a/app-editors/enter-tex/enter-tex-3.49.0.ebuild b/app-editors/enter-tex/enter-tex-3.49.0.ebuild
new file mode 100644
index 000000000000..69b51b038492
--- /dev/null
+++ b/app-editors/enter-tex/enter-tex-3.49.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson vala xdg
+
+DESCRIPTION="TeX/LaTeX text editor"
+HOMEPAGE="https://gitlab.gnome.org/World/gedit/enter-tex"
+SRC_URI="https://gitlab.gnome.org/World/gedit/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+IUSE="gtk-doc +latexmk test"
+RESTRICT="!test? ( test )"
+
+# https://gitlab.gnome.org/World/gedit/enter-tex/-/blob/main/docs/more-information.md#dependencies
+DEPEND="
+ >=dev-libs/glib-2.80:2[introspection]
+ >=app-text/gspell-1.8:=[introspection]
+ >=dev-libs/libgee-0.10:0.8=[introspection]
+ gnome-base/dconf
+ gnome-base/gsettings-desktop-schemas
+ gui-libs/libgedit-amtk:5
+ gui-libs/libgedit-gtksourceview:300
+ >=gui-libs/libgedit-tepl-6.14.0:6=
+ >=x11-libs/gtk+-3.22:3[introspection]
+
+"
+RDEPEND="${DEPEND}
+ virtual/latex-base
+ x11-themes/hicolor-icon-theme
+ latexmk? ( >=dev-tex/latexmk-4.31 )
+"
+BDEPEND="
+ $(vala_depend)
+ >=dev-util/gdbus-codegen-2.80
+ dev-util/glib-utils
+ dev-util/itstool
+ dev-libs/gobject-introspection
+ sys-devel/gettext
+ virtual/pkgconfig
+ gtk-doc? ( dev-util/gtk-doc )
+"
+
+src_configure() {
+ vala_setup
+
+ local emesonargs=(
+ -Ddconf_migration=true
+ $(meson_use gtk-doc gtk_doc)
+ $(meson_use test tests)
+ )
+
+ meson_src_configure
+}
+
+src_compile() {
+ # https://gitlab.gnome.org/World/gedit/enter-tex/-/blob/main/docs/more-information.md#install-procedure
+ meson_src_compile src/gtex/Gtex-1.gir
+ meson_src_compile
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
diff --git a/app-editors/gnome-latex/metadata.xml b/app-editors/enter-tex/metadata.xml
index 36daae19c7a2..d43fd702fb9d 100644
--- a/app-editors/gnome-latex/metadata.xml
+++ b/app-editors/enter-tex/metadata.xml
@@ -7,7 +7,6 @@
</maintainer>
<use>
<flag name="latexmk">Install <pkg>dev-tex/latexmk</pkg> (used by default for the build tools)</flag>
- <flag name="rubber">Install <pkg>dev-tex/rubber</pkg> (can be used for the build tools)</flag>
</use>
<origin>baldeagleos-repo</origin>
</pkgmetadata>
diff --git a/app-editors/gedit/gedit-49.0.ebuild b/app-editors/gedit/gedit-49.0-r1.ebuild
index 75c881f46378..9e8559b80f15 100644
--- a/app-editors/gedit/gedit-49.0.ebuild
+++ b/app-editors/gedit/gedit-49.0-r1.ebuild
@@ -40,7 +40,7 @@ DEPEND="
gui-libs/libgedit-gtksourceview:300
"
RDEPEND="${DEPEND}
- !<app-editors/gedit-plugins-48
+ !<app-editors/gedit-plugins-49
x11-themes/adwaita-icon-theme
gnome-base/gsettings-desktop-schemas
gnome-base/gvfs
diff --git a/app-editors/gnome-latex/Manifest b/app-editors/gnome-latex/Manifest
deleted file mode 100644
index 0c4f5046e124..000000000000
--- a/app-editors/gnome-latex/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST gnome-latex-3.46.0.tar.xz 1216344 BLAKE2B 09255b263a886f3e7c50c44765e2399ddd148a807997531cdebb19c2cd4e320d970aba61dcad25413c50cfaa2cfc5c46a7bce3c768ff0ecf77d77921094bdcaa SHA512 a2c85f240bdb90633f7e0b8710095ee6db5f6f4b67ac831376bc3741e34d53ab37b76ca33dd26f8080f03eaab436040a33db30c07965cd5998b929f37c43929b
diff --git a/app-editors/gnome-latex/gnome-latex-3.46.0-r1.ebuild b/app-editors/gnome-latex/gnome-latex-3.46.0-r1.ebuild
deleted file mode 100644
index e415e7e23c7b..000000000000
--- a/app-editors/gnome-latex/gnome-latex-3.46.0-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome2 vala
-
-DESCRIPTION="Integrated LaTeX environment for GNOME"
-HOMEPAGE="https://gitlab.gnome.org/swilmet/gnome-latex"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-IUSE="+introspection +latexmk rubber"
-
-DEPEND="
- >=dev-libs/glib-2.70:2
- >=x11-libs/gtk+-3.22:3
- >=app-text/gspell-1.8:0=
- >=gui-libs/libgedit-amtk-5:=
- >=gui-libs/tepl-6.8:=
- >=dev-libs/libgee-0.10:0.8=
- gnome-base/gsettings-desktop-schemas
- x11-libs/gdk-pixbuf:2
- x11-libs/pango
- introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
- gnome-base/dconf
-"
-RDEPEND="${DEPEND}
- virtual/latex-base
- x11-themes/hicolor-icon-theme
- latexmk? ( dev-tex/latexmk )
- rubber? ( dev-tex/rubber )
-"
-BDEPEND="
- $(vala_depend)
- >=dev-util/gdbus-codegen-2.80.5-r1
- dev-util/glib-utils
- >=dev-build/gtk-doc-am-1.14
- dev-util/itstool
- >=sys-devel/gettext-0.19.6:0
- virtual/pkgconfig
-"
-
-pkg_setup() {
- vala_setup
-}
-
-src_configure() {
- gnome2_src_configure \
- $(use_enable introspection) \
- --enable-dconf_migration
-}
diff --git a/app-editors/nedit/Manifest b/app-editors/nedit/Manifest
index 9b1a7d64d318..41c511eced80 100644
--- a/app-editors/nedit/Manifest
+++ b/app-editors/nedit/Manifest
@@ -1,3 +1,4 @@
DIST nedit-5.7-patches.tar.xz 5752 BLAKE2B dd647cbb18f953dab2723ae26212b758a49f1e182620b803d69a78586a6be9f5b3841f71b98175a3b5fa0be11e3cb4bbaf82f2b0e999ae75cefc6dc7a1d4bb14 SHA512 3d180668fd4a89fee7527dc475dbe84954f68d08e857c5cb84f0ccd38882ceb5891ccda7584380abb569bde23b069cbff707dbb2fff40985302dade7074471ba
DIST nedit-5.7-src.tar.gz 1344754 BLAKE2B 595b652050569cc480e29931088d8780a1d815b3e5d79529bf60a83142f9ce5e11cd5b59bead42baf032b8530388081f10f054230b0bd181ba59d9179b59c49a SHA512 cf242d2f8eea4c78649dbeb741f545a3dc8ffaf5bb36239794a4b2635420e5445fa1c77472add79c05ec081d71a0b9df4431f48db365a71692e43869fd4e7932
+DIST nedit-5.8-src.tar.gz 1351856 BLAKE2B ad735937e4b3b5e9862a8435f2efa49864ce7eaa3743799086a7a1487b2170cd4e45dd433da77c4f0f03847ab00fc1d1e958d9b85868e14cb46920219d0791c3 SHA512 89806dbcce0abdb8bde823d1a140fcfad3aff2012c00f6aad24f6c2ec27db9aabe5fdf87c8508f3596b7df99bf25e5e3cfbbba9290506eca6fabc73c44580144
DIST nedit.png.xz 14000 BLAKE2B dd50757a52fe3a2c57490cd0783f323877dc23733acc28b2c303d73724b6b66ed73dc819827ea52b96410fd7264a991040f00d609070bd87945d406328567ca0 SHA512 69d5dbea98a5b4065e73cc5c846125c5059e3a50ee1fa3ec4ef99f8f868cf3729ffe73510729534289a91d1a54683b84b6a37bc640c60205be709732dfcb01e3
diff --git a/app-editors/nedit/files/nedit-5.7-doc.patch b/app-editors/nedit/files/nedit-5.7-doc.patch
new file mode 100644
index 000000000000..0e4649891822
--- /dev/null
+++ b/app-editors/nedit/files/nedit-5.7-doc.patch
@@ -0,0 +1,13 @@
+--- a/doc/Makefile
++++ b/doc/Makefile
+@@ -48,8 +48,8 @@
+ ../source/help_topic.h ../source/help_data.h: .version help.etx setext
+ @ echo "Creating NEdit help code `cat .version`"
+ @ ./setext -m -v version="`cat .version`" help.etx
+- @ mv -f help_topic.h ../source
+- @ mv -f help_data.h ../source
++ @ cp -f help_topic.h ../source
++ @ cp -f help_data.h ../source
+
+ nedit.html: .version help.etx setext
+ @ echo "Creating NEdit HTML documentation..."
diff --git a/app-editors/nedit/files/nedit-5.7-security.patch b/app-editors/nedit/files/nedit-5.7-security.patch
new file mode 100644
index 000000000000..53d575dbb5e2
--- /dev/null
+++ b/app-editors/nedit/files/nedit-5.7-security.patch
@@ -0,0 +1,61 @@
+--- a/source/file.c
++++ b/source/file.c
+@@ -1314,7 +1314,7 @@
+ */
+ void PrintString(const char *string, int length, Widget parent, const char *jobName)
+ {
+- char tmpFileName[L_tmpnam]; /* L_tmpnam defined in stdio.h */
++ char *tmpFileName=strdup("/tmp/neditXXXXXX");
+ FILE *fp;
+ int fd;
+
+@@ -1325,14 +1325,10 @@
+ 1. Create a filename
+ 2. Open the file with the O_CREAT|O_EXCL flags
+ So all an attacker can do is a DoS on the print function. */
+- tmpnam(tmpFileName);
++ fd = mkstemp(tmpFileName);
+
+ /* open the temporary file */
+-#ifdef VMS
+- if ((fp = fopen(tmpFileName, "w", "rfm = stmlf")) == NULL)
+-#else
+- if ((fd = open(tmpFileName, O_CREAT|O_EXCL|O_WRONLY, S_IRUSR | S_IWUSR)) < 0 || (fp = fdopen(fd, "w")) == NULL)
+-#endif /* VMS */
++ if ((fp = fdopen(fd, "w")) == NULL)
+ {
+ DialogF(DF_WARN, parent, 1, "Error while Printing",
+ "Unable to write file for printing:\n%s", "OK",
+@@ -1346,7 +1342,7 @@
+
+ /* write to the file */
+ #ifdef IBM_FWRITE_BUG
+- write(fileno(fp), string, length);
++ write(fd, string, length);
+ #else
+ fwrite(string, sizeof(char), length, fp);
+ #endif
+@@ -1356,6 +1352,7 @@
+ "%s not printed:\n%s", "OK", jobName, errorString());
+ fclose(fp); /* should call close(fd) in turn! */
+ remove(tmpFileName);
++ free(tmpFileName);
+ return;
+ }
+
+@@ -1366,6 +1363,7 @@
+ "Error closing temp. print file:\n%s", "OK",
+ errorString());
+ remove(tmpFileName);
++ free(tmpFileName);
+ return;
+ }
+
+@@ -1377,6 +1375,7 @@
+ PrintFile(parent, tmpFileName, jobName);
+ remove(tmpFileName);
+ #endif /*VMS*/
++ free(tmpFileName);
+ return;
+ }
+
diff --git a/app-editors/nedit/files/nedit-5.8-ldflags.patch b/app-editors/nedit/files/nedit-5.8-ldflags.patch
new file mode 100644
index 000000000000..4f4a33aefd94
--- /dev/null
+++ b/app-editors/nedit/files/nedit-5.8-ldflags.patch
@@ -0,0 +1,17 @@
+--- a/source/Makefile.common
++++ b/source/Makefile.common
+@@ -18,12 +18,12 @@ XMLLIB = ../Microline/XmL/libXmL.a
+ all: nedit nc
+
+ nedit: $(OBJS) ../util/libNUtil.a $(XMLLIB) $(XLTLIB)
+- $(CC) $(CFLAGS) $(OBJS) $(XMLLIB) \
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(XMLLIB) \
+ $(XLTLIB) ../util/libNUtil.a $(LIBS) -o $@
+
+ # Note LIBS isn't quite right here; it links unnecessarily against Motif
+ nc: nc.o server_common.o ../util/libNUtil.a
+- $(CC) $(CFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@
+
+ help.o: help.c
+ $(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@
diff --git a/app-editors/nedit/nedit-5.8.ebuild b/app-editors/nedit/nedit-5.8.ebuild
new file mode 100644
index 000000000000..e972164299f0
--- /dev/null
+++ b/app-editors/nedit/nedit-5.8.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="Multi-purpose text editor for the X Window System"
+HOMEPAGE="https://sourceforge.net/projects/nedit"
+SRC_URI="
+ https://downloads.sourceforge.net/project/${PN}/${PN}-source/${P}-src.tar.gz
+ https://dev.gentoo.org/~jlec/distfiles/${PN}.png.xz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~riscv ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND="
+ >=x11-libs/motif-2.3:0
+ x11-libs/libXt
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ || ( dev-util/yacc app-alternatives/yacc )
+ dev-lang/perl
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.7-doc.patch
+ "${FILESDIR}"/${PN}-5.7-security.patch
+ # Respect LDFLAGS, bug #208189
+ "${FILESDIR}"/${PN}-5.8-ldflags.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s|bin/|${EPREFIX}/bin/|g" \
+ Makefile source/preferences.c source/help_data.h source/nedit.c \
+ Xlt/Makefile || die
+ sed -i -e "s|CFLAGS=-O|CFLAGS=${CFLAGS}|" \
+ makefiles/Makefile.linux || die
+ sed -i \
+ -e "s|CFLAGS=-O|CFLAGS=${CFLAGS}|" \
+ -e "s|-lX11|-lX11 -lXmu -liconv|" \
+ makefiles/Makefile.macosx || die
+ sed -i -e "s|nc|neditc|g" doc/nc.pod || die
+}
+
+src_compile() {
+ case "${CHOST}" in
+ *-darwin*)
+ emake CC="$(tc-getCC)" AR="$(tc-getAR)" macosx
+ ;;
+ *-linux*)
+ emake CC="$(tc-getCC)" AR="$(tc-getAR)" linux
+ ;;
+ esac
+
+ if use doc; then
+ emake VERSION="NEdit ${PV}" -C doc all
+ fi
+}
+
+src_install() {
+ dobin source/nedit
+ newbin source/nc neditc
+
+ make_desktop_entry "${PN}"
+ doicon "${WORKDIR}/${PN}.png"
+
+ if use doc; then
+ newman doc/nedit.man nedit.1
+ newman doc/nc.man neditc.1
+
+ dodoc README ReleaseNotes ChangeLog
+ dodoc doc/nedit.doc doc/NEdit.ad doc/faq.txt doc/nedit.html
+ fi
+}