diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-08 03:14:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-08 03:14:47 +0000 |
commit | 15478b615783e9a29c10a1d488af5498e5b3c3d6 (patch) | |
tree | 340463e487b9676fe1d6569f8601a8991019d9e5 /app-editors | |
parent | 6d44cd74809cea5f81bf52ff9cd0aa902d6b6866 (diff) |
gentoo auto-resync : 08:12:2022 - 03:14:47
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/Manifest.gz | bin | 14237 -> 14241 bytes | |||
-rw-r--r-- | app-editors/bluefish/Manifest | 2 | ||||
-rw-r--r-- | app-editors/bluefish/bluefish-2.2.12-r2.ebuild | 98 | ||||
-rw-r--r-- | app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch | 20 |
4 files changed, 120 insertions, 0 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz Binary files differindex 33a23a0ee5e6..ea997130c979 100644 --- a/app-editors/Manifest.gz +++ b/app-editors/Manifest.gz diff --git a/app-editors/bluefish/Manifest b/app-editors/bluefish/Manifest index 6f2b3adf4f1f..a1c996b0fff8 100644 --- a/app-editors/bluefish/Manifest +++ b/app-editors/bluefish/Manifest @@ -1,5 +1,7 @@ AUX bluefish-2.2.9-charmap_configure.patch 728 BLAKE2B fc7231ab28c0d0c4480e48f965d26ee18ae5819e412488ab8a5e30e3cee6925b73daa72fa178cdf204e00d1074121ddc57fd4c5795ccc6335460409a245bca5c SHA512 46482a73b6d374cdd5881e9ed7a79199c85cb436cc700950c09541a94d61fc4f200613a34575e74d013409f0e42a7c1df4ed25ed65880f25cbebd926d47c6889 +AUX bluefish-2.2.9-fix-incompatible-pointer.patch 871 BLAKE2B 4c13a20687994474ae45f0704722f06446f778ee11dc99ae3b29379aca550f6fb1cd9499e1cf24b445363f9f7d8d8a35e91b673d04dd0ebb5481dd6de9241034 SHA512 3c89c37f8f747bcc82b513570bd3a99b916f8f02e95f57fd6dd9a7453cf673d94d116f550982261c25eac781d3ee1fdc63177397048d0dbe7dc8a33a211c4e69 DIST bluefish-2.2.12.tar.bz2 4180228 BLAKE2B 9e05a4618c37951da6a669e9bd4e0dd7e9993ea764dd467f875039b28cdc6d71ae70d1a87df7f0c63f850ebbff6ceeb8550d1d036bab32b7435f362d5b137147 SHA512 f0eb6496d371db8a9b4aee33ddf67e5e87bcc86ff283704cac115be7f00609b1ccbd47ff2d8f8b0bc30f234a339069cc1f7cb1f8809d97f94f0b0e09e4f16754 EBUILD bluefish-2.2.12-r1.ebuild 2457 BLAKE2B 2ae5560c14d9a291bfc337a428a9f11fe99acd6dbcbb0bb70ce9d34969f4a3fc4886d3bf513a42a971e9826164cb0ee03faf5cf30eb80dc4bd385694bc1d782b SHA512 ce3b178728425693cfb0f4fbd89459443a68bdc2a89724c65154412e9865299e4cfb5d7ea96700234300ae6c746092dd7872a5932d055ea0cf0fd295f2ff90ab +EBUILD bluefish-2.2.12-r2.ebuild 2518 BLAKE2B c9a76786249ed0eb99936e5815be605c590955c313e1cf5f60404983ece30a82a9009d515f8422ee01eae181c8a596e331f80b32c816d3093ebaab95ee04fff9 SHA512 c8bdec4982dd2c38785e4a1a5a22715e797b25ec80b151ee44bb43c586c1d0ed0d44326c1594b4f810f4e69565c85bc806cabe2335fa63ea14aea22f92224633 EBUILD bluefish-2.2.12.ebuild 2463 BLAKE2B 96e7b71add78bf5ac5e6888d6f27e9fe18502bfc6819653402119fe3adfd684654fd7d042cf6d25e8ed4fefa15a01dca26f14c085edc4ab539b0a64a81752a38 SHA512 6a8ad043ef2c2d1db89cea9f8ac3535678d4425207729c0facf67604d5f2fab9aae8a955f83a017d502ca7a92b0426ad577b7784013d2e44631ff12aea1ba1dc MISC metadata.xml 333 BLAKE2B 5a5f339d26d78d99050d8324891a3d6ef97af31e3e6a397e763cc2e7561f892e43856e38fefe72be28db1962a4da153b0ebde42db6a53074bdf6b9c13eb74d87 SHA512 144b48f78b13ad3f07868b3171db5935431befd92821a6b70b6e626943996bcc4219ff27808b9062b2da4b5ff1c86dcb1c3778757b0b2a905c5bea3e90dcf152 diff --git a/app-editors/bluefish/bluefish-2.2.12-r2.ebuild b/app-editors/bluefish/bluefish-2.2.12-r2.ebuild new file mode 100644 index 000000000000..d7f7edc7d301 --- /dev/null +++ b/app-editors/bluefish/bluefish-2.2.12-r2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +MY_P=${P/_/-} +inherit autotools python-single-r1 xdg + +DESCRIPTION="GTK HTML editor for the experienced web designer or programmer" +HOMEPAGE="https://bluefish.openoffice.nl/" +SRC_URI="https://www.bennewitz.com/bluefish/stable/source/${MY_P}.tar.bz2" + +LICENSE="GPL-3+" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="0" +IUSE="gucharmap nls python spell" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="sys-libs/zlib + x11-libs/gtk+:3 + gucharmap? ( gnome-extra/gucharmap:2.90 ) + python? ( ${PYTHON_DEPS} ) + spell? ( app-text/enchant:2 )" +DEPEND="${RDEPEND} + x11-libs/pango" +BDEPEND=">=dev-libs/glib-2.24:2 + dev-libs/libxml2:2 + virtual/pkgconfig + nls? ( + dev-util/intltool + sys-devel/gettext + )" + +S="${WORKDIR}/${MY_P}" + +# there actually is just some broken manpage checkup -> not bother +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${PN}-2.2.9-charmap_configure.patch" + "${FILESDIR}/${PN}-2.2.9-fix-incompatible-pointer.patch" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + # eautoreconf seems to no longer kill translation files. + eautoreconf + sed -i 's:gzip -n $< -c:gzip -n -c $<:' data/bflib/Makefile.* || die "Cannot fix makefile" +} + +src_configure() { + CONFIG_SHELL="${BROOT}/bin/bash" econf \ + --disable-update-databases \ + --disable-xml-catalog-update \ + --with-freedesktop_org-appdata="${EPREFIX}"/usr/share/metainfo \ + --without-gtk2 \ + $(use_with gucharmap charmap) \ + $(use_enable nls) \ + $(use_enable spell spell-check) \ + $(use_enable python) +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_pkg_postinst + + einfo "Adding XML catalog entries..." + "${EPREFIX}"/usr/bin/xmlcatalog --noout \ + --add 'public' 'Bluefish/DTD/Bflang' 'bflang.dtd' \ + --add 'system' 'http://bluefish.openoffice.nl/DTD/bflang.dtd' 'bflang.dtd' \ + --add 'rewriteURI' 'http://bluefish.openoffice.nl/DTD' '/usr/share/xml/bluefish-unstable' \ + "${EROOT}"/etc/xml/catalog \ + || ewarn "Failed to add XML catalog entries." +} + +pkg_postrm() { + xdg_pkg_postrm + + einfo "Removing XML catalog entries..." + "${EPREFIX}"/usr/bin/xmlcatalog --noout \ + --del 'Bluefish/DTD/Bflang' \ + --del 'http://bluefish.openoffice.nl/DTD/bflang.dtd' \ + --del 'http://bluefish.openoffice.nl/DTD' \ + "${EROOT}"/etc/xml/catalog \ + || ewarn "Failed to remove XML catalog entries." +} diff --git a/app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch b/app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch new file mode 100644 index 000000000000..7cf8900d4f9f --- /dev/null +++ b/app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch @@ -0,0 +1,20 @@ +Clang16 will not allow to assign incompatible pointer types by default. +Therefore we need to and const to the third parameter of this function +to match the pointer XmlHashScanner this function is later assigned to. + +Bug: https://bugs.gentoo.org/882207 +Patch has been sent to upstream here: https://sourceforge.net/p/bluefish/tickets/66/ + +Pascal Jäger <pascal.jaeger@leimstift.de> (2022-12-07) + +--- a/src/plugin_infbrowser/infb_dtd.c ++++ b/src/plugin_infbrowser/infb_dtd.c +@@ -80,7 +80,7 @@ static gchar *infb_dtd_str_content(xmlElementContentPtr ct,gchar *sofar) { + return ret; + } + +-static void infb_dtd_element_to_group(void *payload, void *data, xmlChar *name) { ++static void infb_dtd_element_to_group(void *payload, void *data,const xmlChar *name) { + xmlElementPtr el = (xmlElementPtr)payload; + switch(name[0]) { + case 'a':case 'b':case 'c':case 'd':case 'e': |