public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/
Date: Sun, 25 Mar 2018 19:10:16 +0000 (UTC)	[thread overview]
Message-ID: <1522005011.edcb856801e88470339d0954fd87bade95a1a73b.mgorny@gentoo> (raw)

commit:     edcb856801e88470339d0954fd87bade95a1a73b
Author:     Michael Vetter <jubalh <AT> iodoru <DOT> org>
AuthorDate: Fri Mar 16 10:21:37 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 25 19:10:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edcb8568

app-backup/snapper: remove ext4, force btrfs

Snapper's ext4 code does not work anymore.
So we need to compile with --disable-ext4 by default.

Also snapper does not seem to work without btrfs enabled, so we need to
enable it by default.

Closes: https://github.com/gentoo/gentoo/pull/7473
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-backup/snapper/snapper-0.5.4.ebuild | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/app-backup/snapper/snapper-0.5.4.ebuild b/app-backup/snapper/snapper-0.5.4.ebuild
index 08667a65c08..0615011a39c 100644
--- a/app-backup/snapper/snapper-0.5.4.ebuild
+++ b/app-backup/snapper/snapper-0.5.4.ebuild
@@ -1,18 +1,18 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 inherit systemd
 
-DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
 HOMEPAGE="http://snapper.io/"
 SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+btrfs ext4 lvm pam xattr"
+IUSE="lvm pam xattr"
 
 RDEPEND="dev-libs/boost:=[threads]
 	dev-libs/libxml2
@@ -20,10 +20,9 @@ RDEPEND="dev-libs/boost:=[threads]
 	sys-apps/acl
 	sys-apps/dbus
 	sys-apps/util-linux
+	>=sys-fs/btrfs-progs-3.17.1
 	sys-libs/zlib
 	virtual/libintl
-	btrfs? ( >=sys-fs/btrfs-progs-3.17.1 )
-	ext4? ( sys-fs/e2fsprogs )
 	lvm? ( sys-fs/lvm2 )
 	pam? ( sys-libs/pam )
 	xattr? ( sys-apps/attr )"
@@ -32,8 +31,6 @@ DEPEND="${RDEPEND}
 	sys-devel/gettext
 	virtual/pkgconfig"
 
-REQUIRED_USE="|| ( btrfs ext4 lvm )"
-
 PATCHES=(
 	"${FILESDIR}"/cron-confd.patch
 )
@@ -47,13 +44,15 @@ src_prepare() {
 }
 
 src_configure() {
+	# ext4 code does not work anymore
+	# snapper does not build without btrfs
 	local myeconfargs=(
 		--with-conf="/etc/conf.d"
 		--docdir="/usr/share/doc/${PF}"
 		--disable-zypp
 		--enable-rollback
-		$(use_enable btrfs)
-		$(use_enable ext4)
+		--disable-ext4
+		--enable-btrfs
 		$(use_enable lvm)
 		$(use_enable pam)
 		$(use_enable xattr xattrs)


             reply	other threads:[~2018-03-25 19:10 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-25 19:10 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-02  1:08 [gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/ Yixun Lan
2024-07-11  6:22 Arthur Zamarin
2024-07-11  6:22 Arthur Zamarin
2024-07-11  2:30 Yixun Lan
2023-12-04 12:27 Michał Górny
2023-12-04  1:54 Sam James
2023-12-04  0:52 Yixun Lan
2023-09-15  8:27 Sam James
2023-08-09 11:47 Yixun Lan
2023-08-09 11:47 Yixun Lan
2023-06-17 21:11 Yixun Lan
2022-12-19  1:41 Yixun Lan
2022-11-29  5:49 Joonas Niilola
2022-11-29  5:49 Joonas Niilola
2022-11-28 16:29 Joonas Niilola
2022-09-23 13:22 Yixun Lan
2022-08-12 13:21 Yixun Lan
2022-08-12 13:21 Yixun Lan
2022-05-15  0:06 Yixun Lan
2022-01-31  2:39 Yixun Lan
2021-12-07  6:26 Agostino Sarubbo
2021-12-06 11:27 Agostino Sarubbo
2021-10-12  7:14 Agostino Sarubbo
2021-10-12  7:10 Agostino Sarubbo
2021-07-21  2:22 Yixun Lan
2021-06-06  6:35 Yixun Lan
2021-06-06  6:35 Yixun Lan
2021-06-05 20:35 Sam James
2021-01-15 21:28 Yixun Lan
2021-01-14  8:20 Yixun Lan
2020-06-04  2:48 Yixun Lan
2020-06-01  6:57 Yixun Lan
2020-04-17 15:17 Yixun Lan
2020-04-17 15:17 Yixun Lan
2020-02-16 14:27 Yixun Lan
2019-12-20  2:09 Yixun Lan
2019-12-20  2:09 Yixun Lan
2019-10-16  3:42 Yixun Lan
2019-04-16  6:44 Yixun Lan
2019-02-12  2:16 Yixun Lan
2019-02-12  2:16 Yixun Lan
2019-01-17 21:21 Mikle Kolyada
2019-01-02 19:01 Thomas Deutschmann
2018-12-17  7:38 Yixun Lan
2018-12-17  7:38 Yixun Lan
2018-10-12 17:14 Mikle Kolyada
2018-10-10  3:01 Thomas Deutschmann
2018-08-13  3:52 Yixun Lan
2018-08-13  3:52 Yixun Lan
2018-03-13 22:36 Andreas Sturmlechner
2018-03-13 21:35 Patrice Clement
2018-02-11 10:01 Michał Górny
2017-05-23  9:06 Yixun Lan
2016-12-28  9:14 Yixun Lan
2016-12-20  7:36 Yixun Lan
2016-09-29  5:40 Lars Wendler
2016-08-25  5:28 Yixun Lan
2016-08-25  5:28 Yixun Lan
2016-04-06  4:39 Ian Delaney
2016-03-08  9:13 Patrice Clement
2015-12-21  7:47 Yixun Lan
2015-08-31  8:12 Yixun Lan

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=1522005011.edcb856801e88470339d0954fd87bade95a1a73b.mgorny@gentoo \
    --to=mgorny@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