repo/gentoo:master commit in: x11-wm/fvwm3/files/, x11-wm/fvwm3/
"Matt Jolly" <[email protected]> Wed, 05 Aug 2026 08:06:07 +0000 (UTC)
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1785916631.c6c290a4b3034622328077f81ad2267e9ba2864d.kangie@gentoo> |
commit: c6c290a4b3034622328077f81ad2267e9ba2864d Author: Matt Jolly <kangie <AT> gentoo <DOT> org> AuthorDate: Tue Aug 4 05:37:04 2026 +0000 Commit: Matt Jolly <kangie <AT> gentoo <DOT> org> CommitDate: Wed Aug 5 07:57:11 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c290a4 x11-wm/fvwm3: drop 1.1.1-r1, 1.1.2, 1.1.3 Signed-off-by: Matt Jolly <kangie <AT> gentoo.org> x11-wm/fvwm3/Manifest | 6 - x11-wm/fvwm3/files/fvwm3-1.1.1-desk-init.patch | 32 ---- .../files/fvwm3-1.1.3-reproducible-docs.patch | 26 --- x11-wm/fvwm3/fvwm3-1.1.1-r1.ebuild | 174 --------------------- x11-wm/fvwm3/fvwm3-1.1.2.ebuild | 170 -------------------- x11-wm/fvwm3/fvwm3-1.1.3.ebuild | 174 --------------------- 6 files changed, 582 deletions(-) diff --git a/x11-wm/fvwm3/Manifest b/x11-wm/fvwm3/Manifest index 1df21c41390c..254e05e8853e 100644 --- a/x11-wm/fvwm3/Manifest +++ b/x11-wm/fvwm3/Manifest @@ -1,8 +1,2 @@ -DIST fvwm3-1.1.1-docs.tar.xz 241608 BLAKE2B fbdc789dce9e36a94a4b6c2541b4474548bd961e333d14507788a70e1e4103f0ae5df8223259670cd2aeaec43d3088f1b600b371d03543c2bbb4bce47c37815c SHA512 92385ff188269f85dfda0f079135d651973b1556ac13112cff087a2294256edd7dc2b99aa2c220f9f361df6a3a4d820c56e061dd5d818e58755b1f94df9b4e03 -DIST fvwm3-1.1.1.tar.gz 4016926 BLAKE2B 5654554d8bd6593f30cb5bdd05e424abd7fd3f298d12073d419d18967f17d2df58de797392af0b15a0bcf05d09c8fe7b3c273734d17cb97b617dcb9a5e7f4091 SHA512 66b044a2c463d56573c68f4cdd222a39a667a4acf3425d448c7e1c105e67a9d00abafff1e94c066f0781b4546d1b2b84bc9c20798a0b9ef4b0f673e743a2d4d0 -DIST fvwm3-1.1.2-docs.tar.xz 248024 BLAKE2B fbc182f3a5ea38135f487f75c9b4e399855faf46807da1cce9b3a7ccc163268a3e60349ac22e34615c9bc804a1e44b6fdbf39e1c73542103da94c8deabf9c788 SHA512 5a62cc11fa04dec958dc0b8ea899f20e4db5af2d69e8da311d7b9c9bf2286980396ed94ab7d9bd0b9158b3b7d7de4a74d59be3f11651f0c85fb4c683887d7565 -DIST fvwm3-1.1.2.tar.gz 4019330 BLAKE2B 1bf8b82c060e6724375758838dd4b91b189cb1263c510b323a673ea3eb83c8b5e3eb358965a89c3c205ed04c8a90e50a07e4690d9746d54abcafd4cf15a879bd SHA512 1b9473ebde6e9a6399fd185f83c0fc403e84f6e7d3648d141f6418e4b6489d0955d384bb2249b85b8372b8731ab205a99dcd64b0aeb697129b1164fb33090f56 -DIST fvwm3-1.1.3-docs.tar.xz 249336 BLAKE2B 5279c29960dfc335af11f70f3c4af70bd106121116bafd501f7b5c53cc6fc390e9f41444a2062a8189cd1465f4c25aad2e016c5a0450b8d4faadaba5b7afe14f SHA512 7a781b639b735d0cc83f536221143a1cb0a33f2ca0782c10eaace96012cc820b8dc7bf2fa886399e712fc9c31bc039517c5e9c8c21070bea096a989f4e55ef51 -DIST fvwm3-1.1.3.tar.gz 3981597 BLAKE2B 6faa6d332660858b25e3da7ecbf712a5c69e00ccaa0bb22a2e10a5dad1ef26cd42b86a9eb96a5a29b9d7f39c0199fed42142a7aae8eb40c012666eaf130bad38 SHA512 0f774e282ea86d93f20fedd9ca91e9d7c3e94d01160631ff87e331f8a48923949b965624546557c1d9fdbe3b3dd81d51bd90137a21b60c7b0960ae137476b48d DIST fvwm3-1.1.4-docs.tar.xz 249644 BLAKE2B 9b87b6a2f76c628d44e0e4a518955610345b69363299e84277b0b7f1706e7cdc2b4628c3e4419c81d79bd0e0f02d3b63c7ed966029abdef6ab6c9f3a6fc3569a SHA512 dabccc8d3f7fdd9e8e70deeff6ee67f75e2efaa255ee5489e7201ebc329e1eb03522d0ad8744ce7911adf1ff1acfeed22fc448bfd3aaa2ee87df1b3f58de80e6 DIST fvwm3-1.1.4.tar.gz 3994027 BLAKE2B 3a98ee267110acb05495b59231bb0b1b5b50c5392c468efd6a30eb5ddcce6bcc31488b2cc2047e863a6607c2604a371fbc857476983f6b8ce30197e25296e50e SHA512 82f0ecc4844cbc45ca53cd884ac1cff9776b881566595993978d0d4e91a74efdf39000a536309f4acd6131c248534ff7b562fd0acd82ae98dbeb3328bed7e712 diff --git a/x11-wm/fvwm3/files/fvwm3-1.1.1-desk-init.patch b/x11-wm/fvwm3/files/fvwm3-1.1.1-desk-init.patch deleted file mode 100644 index 34b824f79dd2..000000000000 --- a/x11-wm/fvwm3/files/fvwm3-1.1.1-desk-init.patch +++ /dev/null @@ -1,32 +0,0 @@ -From efef84cf5fcd2c4747ef75dd522605450efd278a Mon Sep 17 00:00:00 2001 -From: Jaimos Skriletz <[email protected]> -Date: Sat, 30 Nov 2024 16:40:21 -0700 -Subject: [PATCH] FvwmPager: Update current desk correctly during init. - -When FvwmPager is tracking the current desk and is run on any desk -except desk 0, the current desk isn't updated during initialization -because the monitor update is sent before the desk update, so the -pager didn't realize the desk has changed. - -This ensures that the pager updates the current desk if either -the desk changes or the new desk is not the same as the current -desk to also catch updates during pager initialization. - -Fixes #1122 ---- - modules/FvwmPager/messages.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/modules/FvwmPager/messages.c b/modules/FvwmPager/messages.c -index c93ed3056..86cd32e70 100644 ---- a/modules/FvwmPager/messages.c -+++ b/modules/FvwmPager/messages.c -@@ -454,7 +454,7 @@ void process_new_desk(unsigned long *body) - monitor_assign_virtual(fp->m); - - /* If always tracking current desk. Update Desks[0]. */ -- if (fAlwaysCurrentDesk && oldDesk != newDesk) -+ if (fAlwaysCurrentDesk && (oldDesk != newDesk || desk1 != newDesk)) - { - PagerWindow *t; - diff --git a/x11-wm/fvwm3/files/fvwm3-1.1.3-reproducible-docs.patch b/x11-wm/fvwm3/files/fvwm3-1.1.3-reproducible-docs.patch deleted file mode 100644 index 1d55bca3efa0..000000000000 --- a/x11-wm/fvwm3/files/fvwm3-1.1.3-reproducible-docs.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 75b9d0d7578a713643954efe4337c2fa4a92a3d5 Mon Sep 17 00:00:00 2001 -From: Matt Jolly <[email protected]> -Date: Wed, 4 Jun 2025 19:24:18 +1000 -Subject: [PATCH] asciidoc: add reproducible attribute - -This attribute suppresses the `Last updated` text in the footer, -enabling reproducible documentation generation output. - -Signed-off-by: Matt Jolly <[email protected]> ---- - doc/index.adoc.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/doc/index.adoc.in b/doc/index.adoc.in -index e0396260e..7e5976c96 100644 ---- a/doc/index.adoc.in -+++ b/doc/index.adoc.in -@@ -1,4 +1,5 @@ - = Fvwm3 Manual Pages -+:reproducible: - - == Fvwm3 - --- -2.49.0 - diff --git a/x11-wm/fvwm3/fvwm3-1.1.1-r1.ebuild b/x11-wm/fvwm3/fvwm3-1.1.1-r1.ebuild deleted file mode 100644 index de7412e9042b..000000000000 --- a/x11-wm/fvwm3/fvwm3-1.1.1-r1.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Doc generation pulls in asciidoc/ruby; we'll prebuild docs for release ebuilds. -# Scripting for this is in sam-gentoo-scripts. -: ${FVWM3_DOCS_PREBUILT:=1} - -PYTHON_COMPAT=( python3_{11..13} ) -GO_OPTIONAL=1 -inherit go-module meson optfeature python-single-r1 - -DESCRIPTION="A multiple large virtual desktop window manager derived from fvwm" -HOMEPAGE="https://www.fvwm.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fvwmorg/fvwm3.git" - EGIT_BRANCH="main" - FVWM3_DOCS_PREBUILT=0 -else - SRC_URI="https://github.com/fvwmorg/fvwm3/releases/download/${PV}/${P}.tar.gz" - if [[ ${FVWM3_DOCS_PREBUILT} == 1 ]]; then - SRC_URI+=" https://deps.gentoo.zip/x11-wm/fvwm3/${P}-docs.tar.xz" - fi - KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~riscv ~x86" -fi - -LICENSE="GPL-2+ FVWM - go? ( Apache-2.0 BSD MIT )" -SLOT="0" -IUSE="bidi +go nls readline svg" -# Strictly speaking readline is not required for go, -# but as most systems already have it installed we don't users to stub their toe on REQUIRED_USE -REQUIRED_USE="${PYTHON_REQUIRED_USE} !go? ( readline )" - -DOCS=( NEWS ) - -if [[ ${PV} == 9999 ]]; then - DOCS+=( - dev-docs/COMMANDS - dev-docs/DEVELOPERS.md - dev-docs/INSTALL.md - dev-docs/PARSING.md - dev-docs/TODO.md - dev-docs/NEW-COMMANDS.md - ) -fi - -BDEPEND=" - virtual/pkgconfig - app-arch/unzip - go? ( >=dev-lang/go-1.20 ) -" - -if [[ ${FVWM3_DOCS_PREBUILT} -ne 1 ]]; then - BDEPEND+=" - dev-libs/libxslt - dev-ruby/asciidoctor - " -fi - -COMMON_DEPEND=" - dev-lang/perl - dev-libs/glib:2 - dev-libs/libevent:= - media-libs/fontconfig - media-libs/libpng:= - x11-base/xorg-proto - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXft - x11-libs/libxkbcommon - x11-libs/libXpm - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/xtrans - bidi? ( dev-libs/fribidi ) - readline? ( - sys-libs/readline:= - ) - svg? ( - gnome-base/librsvg:2 - x11-libs/cairo - ) -" - -RDEPEND=" - ${COMMON_DEPEND} - ${PYTHON_DEPS} - !x11-wm/fvwm -" - -DEPEND="${COMMON_DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-desk-init.patch -) - -src_configure() { - local emesonargs=( - "-Dpng=enabled" - "-Dsm=enabled" - "-Dxcursor=enabled" - "-Dxfixes=enabled" - "-Dxpm=enabled" - "-Dxrender=enabled" - $(meson_feature bidi) - $(meson_feature go golang) - $(meson_feature nls iconv) - $(meson_feature nls) - $(meson_feature readline) # not required for go but it won't hurt to enable it - $(meson_feature svg cairo) # Pick 1 of 'cairo', 'cairo-svg', or 'libsvg-cairo'; add the appropriate dependency - $(meson_feature svg) - "-Dcairo-svg=disabled" - "-Dlibsvg-cairo=disabled" - "-Ddocdir=${EPREFIX}/usr/share/doc/${PF}" - ) - - if [[ ${FVWM3_DOCS_PREBUILT} -ne 1 ]]; then - emesonargs+=( - "-Dhtmldoc=true" - "-Dmandoc=true" - ) - else - # Probably not required, but let's be safe - emesonargs+=( - "-Dhtmldoc=false" - "-Dmandoc=false" - ) - fi - - meson_src_configure -} - -src_install() { - # Since we're manually handling docs installation, let's do that first - # and then install the rest of the files "normally". - local HTML_DOCS - if [[ ${FVWM3_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${P}-docs/man/**/*.[0-8] - HTML_DOCS="${WORKDIR}"/${P}-docs/html/* - fi - einstalldocs - - meson_src_install - - python_scriptinto "/usr/bin" - python_doscript "${ED}/usr/bin/FvwmCommand" "${ED}/usr/bin/fvwm-menu-desktop" -} - -pkg_postinst() { - - einfo "For compatibility with existing fvwm2 configurations, the ebuild will install a FvwmCommand wrapper." - - if use go; then - einfo "FvwmPrompt has been installed, it provides the functionality of both FvwmCommand and FvwmConsole." - einfo "If you need FvwmConsole, install ${PN} with USE=\"-go\"; however FvwmPrompt will not be installed." - else - einfo "FvwmConsole has been installed, hovever it is a legacy tool." - einfo "Consider installing with USE=\"go\" which will have FvwmPrompt replace FvwmConsole to" - einfo "provide the same functionality in a more flexible way." - fi - - optfeature_header "Useful optional features:" - optfeature "Screen locking" x11-misc/xlockmore - optfeature "NetPBM support (used by FvwmScript-ScreenDump)" media-libs/netpbm -} diff --git a/x11-wm/fvwm3/fvwm3-1.1.2.ebuild b/x11-wm/fvwm3/fvwm3-1.1.2.ebuild deleted file mode 100644 index 26a223c2d566..000000000000 --- a/x11-wm/fvwm3/fvwm3-1.1.2.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Doc generation pulls in asciidoc/ruby; we'll prebuild docs for release ebuilds. -# Scripting for this is in sam-gentoo-scripts. -: ${FVWM3_DOCS_PREBUILT:=1} - -PYTHON_COMPAT=( python3_{11..13} ) -GO_OPTIONAL=1 -inherit go-module meson optfeature python-single-r1 - -DESCRIPTION="A multiple large virtual desktop window manager derived from fvwm" -HOMEPAGE="https://www.fvwm.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fvwmorg/fvwm3.git" - EGIT_BRANCH="main" - FVWM3_DOCS_PREBUILT=0 -else - SRC_URI="https://github.com/fvwmorg/fvwm3/releases/download/${PV}/${P}.tar.gz" - if [[ ${FVWM3_DOCS_PREBUILT} == 1 ]]; then - SRC_URI+=" https://deps.gentoo.zip/x11-wm/fvwm3/${P}-docs.tar.xz" - fi - KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" -fi - -LICENSE="GPL-2+ FVWM - go? ( Apache-2.0 BSD MIT )" -SLOT="0" -IUSE="bidi +go nls readline svg" -# Strictly speaking readline is not required for go, -# but as most systems already have it installed we don't users to stub their toe on REQUIRED_USE -REQUIRED_USE="${PYTHON_REQUIRED_USE} !go? ( readline )" - -DOCS=( NEWS ) - -if [[ ${PV} == 9999 ]]; then - DOCS+=( - dev-docs/COMMANDS - dev-docs/DEVELOPERS.md - dev-docs/INSTALL.md - dev-docs/PARSING.md - dev-docs/TODO.md - dev-docs/NEW-COMMANDS.md - ) -fi - -BDEPEND=" - virtual/pkgconfig - app-arch/unzip - go? ( >=dev-lang/go-1.20 ) -" - -if [[ ${FVWM3_DOCS_PREBUILT} -ne 1 ]]; then - BDEPEND+=" - dev-libs/libxslt - dev-ruby/asciidoctor - " -fi - -COMMON_DEPEND=" - dev-lang/perl - dev-libs/glib:2 - dev-libs/libevent:= - media-libs/fontconfig - media-libs/libpng:= - x11-base/xorg-proto - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXft - x11-libs/libxkbcommon - x11-libs/libXpm - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/xtrans - bidi? ( dev-libs/fribidi ) - readline? ( - sys-libs/readline:= - ) - svg? ( - gnome-base/librsvg:2 - x11-libs/cairo - ) -" - -RDEPEND=" - ${COMMON_DEPEND} - ${PYTHON_DEPS} - !x11-wm/fvwm -" - -DEPEND="${COMMON_DEPEND}" - -src_configure() { - local emesonargs=( - "-Dpng=enabled" - "-Dsm=enabled" - "-Dxcursor=enabled" - "-Dxfixes=enabled" - "-Dxpm=enabled" - "-Dxrender=enabled" - $(meson_feature bidi) - $(meson_feature go golang) - $(meson_feature nls iconv) - $(meson_feature nls) - $(meson_feature readline) # not required for go but it won't hurt to enable it - $(meson_feature svg cairo) # Pick 1 of 'cairo', 'cairo-svg', or 'libsvg-cairo'; add the appropriate dependency - $(meson_feature svg) - "-Dcairo-svg=disabled" - "-Dlibsvg-cairo=disabled" - "-Ddocdir=${EPREFIX}/usr/share/doc/${PF}" - ) - - if [[ ${FVWM3_DOCS_PREBUILT} -ne 1 ]]; then - emesonargs+=( - "-Dhtmldoc=true" - "-Dmandoc=true" - ) - else - # Probably not required, but let's be safe - emesonargs+=( - "-Dhtmldoc=false" - "-Dmandoc=false" - ) - fi - - meson_src_configure -} - -src_install() { - # Since we're manually handling docs installation, let's do that first - # and then install the rest of the files "normally". - local HTML_DOCS - if [[ ${FVWM3_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${P}-docs/man/**/*.[0-8] - HTML_DOCS="${WORKDIR}"/${P}-docs/html/* - fi - einstalldocs - - meson_src_install - - python_scriptinto "/usr/bin" - python_doscript "${ED}/usr/bin/FvwmCommand" "${ED}/usr/bin/fvwm-menu-desktop" -} - -pkg_postinst() { - - einfo "For compatibility with existing fvwm2 configurations, the ebuild will install a FvwmCommand wrapper." - - if use go; then - einfo "FvwmPrompt has been installed, it provides the functionality of both FvwmCommand and FvwmConsole." - einfo "If you need FvwmConsole, install ${PN} with USE=\"-go\"; however FvwmPrompt will not be installed." - else - einfo "FvwmConsole has been installed, hovever it is a legacy tool." - einfo "Consider installing with USE=\"go\" which will have FvwmPrompt replace FvwmConsole to" - einfo "provide the same functionality in a more flexible way." - fi - - optfeature_header "Useful optional features:" - optfeature "Screen locking" x11-misc/xlockmore - optfeature "NetPBM support (used by FvwmScript-ScreenDump)" media-libs/netpbm -} diff --git a/x11-wm/fvwm3/fvwm3-1.1.3.ebuild b/x11-wm/fvwm3/fvwm3-1.1.3.ebuild deleted file mode 100644 index eeaa05a18860..000000000000 --- a/x11-wm/fvwm3/fvwm3-1.1.3.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Doc generation pulls in asciidoc/ruby; we'll prebuild docs for release ebuilds. -# Scripting for this is in sam-gentoo-scripts. -: ${FVWM3_DOCS_PREBUILT:=1} - -PYTHON_COMPAT=( python3_{11..13} ) -GO_OPTIONAL=1 -inherit go-module meson optfeature python-single-r1 - -DESCRIPTION="A multiple large virtual desktop window manager derived from fvwm" -HOMEPAGE="https://www.fvwm.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fvwmorg/fvwm3.git" - EGIT_BRANCH="main" - FVWM3_DOCS_PREBUILT=0 -else - SRC_URI="https://github.com/fvwmorg/fvwm3/releases/download/${PV}/${P}.tar.gz" - if [[ ${FVWM3_DOCS_PREBUILT} == 1 ]]; then - SRC_URI+=" https://deps.gentoo.zip/x11-wm/fvwm3/${P}-docs.tar.xz" - fi - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -fi - -LICENSE="GPL-2+ FVWM - go? ( Apache-2.0 BSD MIT )" -SLOT="0" -IUSE="bidi +go nls readline svg" -# Strictly speaking readline is not required for go, -# but as most systems already have it installed we don't users to stub their toe on REQUIRED_USE -REQUIRED_USE="${PYTHON_REQUIRED_USE} !go? ( readline )" - -DOCS=( NEWS ) - -if [[ ${PV} == 9999 ]]; then - DOCS+=( - dev-docs/COMMANDS - dev-docs/DEVELOPERS.md - dev-docs/INSTALL.md - dev-docs/PARSING.md - dev-docs/TODO.md - dev-docs/NEW-COMMANDS.md - ) -fi - -BDEPEND=" - virtual/pkgconfig - app-arch/unzip - go? ( >=dev-lang/go-1.20 ) -" - -if [[ ${FVWM3_DOCS_PREBUILT} -ne 1 ]]; then - BDEPEND+=" - dev-libs/libxslt - dev-ruby/asciidoctor - " -fi - -COMMON_DEPEND=" - dev-lang/perl - dev-libs/glib:2 - dev-libs/libevent:= - media-libs/fontconfig - media-libs/libpng:= - x11-base/xorg-proto - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXft - x11-libs/libxkbcommon - x11-libs/libXpm - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/xtrans - bidi? ( dev-libs/fribidi ) - readline? ( - sys-libs/readline:= - ) - svg? ( - gnome-base/librsvg:2 - x11-libs/cairo - ) -" - -RDEPEND=" - ${COMMON_DEPEND} - ${PYTHON_DEPS} - !x11-wm/fvwm -" - -DEPEND="${COMMON_DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-1.1.3-reproducible-docs.patch" -) - -src_configure() { - local emesonargs=( - "-Dpng=enabled" - "-Dsm=enabled" - "-Dxcursor=enabled" - "-Dxfixes=enabled" - "-Dxpm=enabled" - "-Dxrender=enabled" - $(meson_feature bidi) - $(meson_feature go golang) - $(meson_feature nls iconv) - $(meson_feature nls) - $(meson_feature readline) # not required for go but it won't hurt to enable it - $(meson_feature svg cairo) # Pick 1 of 'cairo', 'cairo-svg', or 'libsvg-cairo'; add the appropriate dependency - $(meson_feature svg) - "-Dcairo-svg=disabled" - "-Dlibsvg-cairo=disabled" - "-Ddocdir=${EPREFIX}/usr/share/doc/${PF}" - ) - - if [[ ${FVWM3_DOCS_PREBUILT} -ne 1 ]]; then - emesonargs+=( - "-Dhtmldoc=true" - "-Dmandoc=true" - ) - else - # Probably not required, but let's be safe - emesonargs+=( - "-Dhtmldoc=false" - "-Dmandoc=false" - ) - fi - - meson_src_configure -} - -src_install() { - # Since we're manually handling docs installation, let's do that first - # and then install the rest of the files "normally". - local HTML_DOCS - if [[ ${FVWM3_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${P}-docs/man/**/*.[0-8] - HTML_DOCS="${WORKDIR}"/${P}-docs/html/* - fi - einstalldocs - - meson_src_install - - python_scriptinto "/usr/bin" - python_doscript "${ED}/usr/bin/FvwmCommand" "${ED}/usr/bin/fvwm-menu-desktop" -} - -pkg_postinst() { - - einfo "For compatibility with existing fvwm2 configurations, the ebuild will install a FvwmCommand wrapper." - - if use go; then - einfo "FvwmPrompt has been installed, it provides the functionality of both FvwmCommand and FvwmConsole." - einfo "If you need FvwmConsole, install ${PN} with USE=\"-go\"; however FvwmPrompt will not be installed." - else - einfo "FvwmConsole has been installed, hovever it is a legacy tool." - einfo "Consider installing with USE=\"go\" which will have FvwmPrompt replace FvwmConsole to" - einfo "provide the same functionality in a more flexible way." - fi - - optfeature_header "Useful optional features:" - optfeature "Screen locking" x11-misc/xlockmore - optfeature "NetPBM support (used by FvwmScript-ScreenDump)" media-libs/netpbm -}