From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libfm/
Date: Sun, 17 Nov 2024 14:05:57 +0000 (UTC) [thread overview]
Message-ID: <1731852313.2f6329713a2a86644b9f6cd2d04d687c0ce53dad.sam@gentoo> (raw)
commit: 2f6329713a2a86644b9f6cd2d04d687c0ce53dad
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 14:05:13 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 14:05:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f632971
x11-libs/libfm: drop 1.3.2
Closes: https://bugs.gentoo.org/943669
Signed-off-by: Sam James <sam <AT> gentoo.org>
x11-libs/libfm/libfm-1.3.2.ebuild | 124 --------------------------------------
1 file changed, 124 deletions(-)
diff --git a/x11-libs/libfm/libfm-1.3.2.ebuild b/x11-libs/libfm/libfm-1.3.2.ebuild
deleted file mode 100644
index 881c58f06135..000000000000
--- a/x11-libs/libfm/libfm-1.3.2.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P="${PN}-${PV/_/}"
-inherit autotools vala xdg
-
-DESCRIPTION="Library for file management"
-HOMEPAGE="https://wiki.lxde.org/en/PCManFM"
-SRC_URI="https://github.com/lxde/libfm/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="GPL-2"
-SLOT="0/5.3.1" # copy ABI_VERSION because it seems upstream change it randomly
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
-IUSE="+automount debug doc examples exif gtk udisks vala"
-
-REQUIRED_USE="udisks? ( automount ) doc? ( gtk )"
-
-DEPEND="
- >=dev-libs/glib-2.18:2
- >=lxde-base/menu-cache-1.1.0-r1:=
- ~x11-libs/libfm-extra-${PV}
- gtk? ( x11-libs/gtk+:3 )
- udisks? ( dev-libs/dbus-glib )
-"
-RDEPEND="${DEPEND}
- !lxde-base/lxshortcut
- x11-misc/shared-mime-info
- automount? (
- udisks? ( gnome-base/gvfs[udev,udisks] )
- !udisks? ( gnome-base/gvfs[udev] )
- )
- exif? ( media-libs/libexif )
-"
-BDEPEND="
- app-arch/xz-utils
- dev-util/glib-utils
- >=dev-util/intltool-0.40
- sys-devel/gettext
- virtual/pkgconfig
- doc? ( dev-util/gtk-doc )
- vala? ( $(vala_depend) )
-"
-
-PATCHES=( "${FILESDIR}/${P}-buildsystem.patch" )
-
-src_prepare() {
- xdg_src_prepare
-
- if ! use doc; then
- sed -ie '/^SUBDIR.*=/s#docs##' Makefile.am || die
- sed -ie '/^[[:space:]]*docs/d' configure.ac || die
- fi
-
- # disable unused translations. Bug #356029
- cat <<-EOF >> po/POTFILES.in || die
-data/ui/app-chooser.ui
-data/ui/ask-rename.ui
-data/ui/exec-file.ui
-data/ui/file-prop.ui
-data/ui/preferred-apps.ui
-data/ui/progress.ui
-EOF
-
- # subslot sanity check
- local sub_slot=${SLOT#*/}
- local libfm_major_abi=$(sed -rne '/ABI_VERSION/s:.*=::p' src/Makefile.am | tr ':' '.')
-
- if [[ ${sub_slot} != ${libfm_major_abi} ]]; then
- eerror "Ebuild sub-slot (${sub_slot}) does not match ABI_VERSION(${libfm_major_abi})"
- eerror "Please update SLOT variable as follows:"
- eerror " SLOT=\"${SLOT%%/*}/${libfm_major_abi}\""
- eerror
- die "sub-slot sanity check failed"
- fi
-
- eautoreconf
- rm -r autom4te.cache || die
- use vala && export VALAC="$(type -p valac-$(vala_best_api_version))"
-}
-
-src_configure() {
- local myeconfargs=(
- --disable-static
- --with-html-dir=/usr/share/doc/${PF}/html
- $(use_enable debug)
- $(use_enable doc gtk-doc)
- $(use_enable examples demo)
- $(use_enable exif)
- $(use_with gtk gtk 3)
- $(use_enable udisks)
- $(use_enable vala old-actions)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
- # Sometimes a directory is created instead of a symlink. No idea why...
- # It is wrong anyway. We expect a libfm-1.0 directory and then a libfm
- # symlink to it.
- if [[ -h ${D}/usr/include/${PN} || -d ${D}/usr/include/${PN} ]]; then
- rm -r "${D}"/usr/include/${PN} || die
- fi
- # Remove files installed by split-off libfm-extra package
- rm "${D}"/usr/include/libfm-1.0/fm-{extra,version,xml-file}.h || die
- rm "${D}"/usr/$(get_libdir)/libfm-extra* || die
- rm "${D}"/usr/$(get_libdir)/pkgconfig/libfm-extra.pc || die
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- # Resolve the symlink mess. Bug #439570
- if [[ -d "${ROOT}"/usr/include/${PN} ]]; then
- rm -rf "${ROOT}"/usr/include/${PN} || die
- fi
- if [[ -d "${D}"/usr/include/${PN}-1.0 ]]; then
- cd "${D}"/usr/include || die
- ln -s --force ${PN}-1.0 ${PN} || die
- fi
-}
next reply other threads:[~2024-11-17 14:06 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-17 14:05 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-24 21:03 [gentoo-commits] repo/gentoo:master commit in: x11-libs/libfm/ Sam James
2022-05-26 4:45 WANG Xuerui
2021-07-21 14:49 Yixun Lan
2021-03-14 0:25 Andreas Sturmlechner
2021-03-05 22:20 Sam James
2020-08-13 5:48 Joonas Niilola
2020-05-11 6:55 Joonas Niilola
2019-11-01 23:44 Sergei Trofimovich
2019-11-01 10:03 Mikle Kolyada
2019-10-28 11:27 Agostino Sarubbo
2019-10-28 9:43 Agostino Sarubbo
2019-06-27 7:29 Sergei Trofimovich
2019-05-24 18:04 Hanno Boeck
2019-05-17 8:26 Hanno Boeck
2019-05-15 15:03 Hanno Boeck
2018-10-17 14:41 Andreas Sturmlechner
2018-04-20 19:45 David Seifert
2018-02-28 22:28 Sergei Trofimovich
2017-12-18 18:59 Markus Meier
2017-12-16 8:20 Tobias Klausmann
2016-12-29 10:45 Agostino Sarubbo
2016-12-29 10:05 Agostino Sarubbo
2016-12-11 11:20 Markos Chandras
2016-11-01 21:33 Markus Meier
2016-03-09 11:45 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1731852313.2f6329713a2a86644b9f6cd2d04d687c0ce53dad.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox