* [gentoo-commits] repo/gentoo:master commit in: media-libs/libmtp/, media-libs/libmtp/files/
@ 2024-12-22 7:07 Miroslav Šulc
0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Šulc @ 2024-12-22 7:07 UTC (permalink / raw
To: gentoo-commits
commit: 01668002a48ad9ac2c0466040a657184be4e51cf
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 07:07:19 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 07:07:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01668002
media-libs/libmtp: dropped obsolete 1.1.21
Bug: https://bugs.gentoo.org/946736
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-libs/libmtp/Manifest | 1 -
.../libmtp/files/libmtp-1.1.19-fix-docdir.patch | 13 ----
media-libs/libmtp/libmtp-1.1.21.ebuild | 91 ----------------------
3 files changed, 105 deletions(-)
diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest
index 7c66ca04809a..2806e63c70a4 100644
--- a/media-libs/libmtp/Manifest
+++ b/media-libs/libmtp/Manifest
@@ -1,2 +1 @@
-DIST libmtp-1.1.21.tar.gz 862703 BLAKE2B c6067d0e9c7e2410b950715d1f02243c835afacfb3eef2f250361d4075d378b2754dceadf5120c9a646413ea826f42291c530590861420f56140458558dccc8e SHA512 510f01f75de37a07c8ce54957a8fb74724538a7cfbdf1a86c201fda68573ef23fa578ff7baf2d9df938703b5776ded4ab1057c617125f3539e594bb5a1f3146f
DIST libmtp-1.1.22.tar.gz 900914 BLAKE2B 5032cbe430bc0ff870f1a88e5b484e6fbe59fd4d7fabd842a1e982b47cd5207e799d2dc1b410b232fc58e2b0c7ba5ca99af71eaaef3beb8849e34a51cf6c3003 SHA512 97094b29073681da0c714b6c4aea2e5f35253a8d06229e60c0af46727413470e9da6be422d873449fc4dec6f9b8efce6d3edc657b9251182cc0a709859e99baa
diff --git a/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch b/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
deleted file mode 100644
index 25450079d203..000000000000
--- a/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/doc/Makefile.in b/doc/Makefile.in
-index fede3e0..d801a47 100644
---- a/doc/Makefile.in
-+++ b/doc/Makefile.in
-@@ -256,7 +256,7 @@ top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- EXTRA_DIST = Doxyfile.in examples.h mainpage.h
--@HAVE_DOXYGEN_TRUE@pkgdocdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
-+@HAVE_DOXYGEN_TRUE@pkgdocdir = $(docdir)
- @HAVE_DOXYGEN_TRUE@htmldocdir = $(pkgdocdir)/html
- all: all-am
-
diff --git a/media-libs/libmtp/libmtp-1.1.21.ebuild b/media-libs/libmtp/libmtp-1.1.21.ebuild
deleted file mode 100644
index 974dea670ef6..000000000000
--- a/media-libs/libmtp/libmtp-1.1.21.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit udev
-
-if [[ ${PV} == 9999* ]]; then
- EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code"
- inherit autotools git-r3
-else
- inherit libtool
- SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
-fi
-
-DESCRIPTION="Implementation of Microsoft's Media Transfer Protocol (MTP)"
-HOMEPAGE="https://libmtp.sourceforge.net/"
-
-LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ?
-SLOT="0/9" # Based on SONAME of libmtp shared library
-IUSE="+crypt doc examples static-libs"
-
-RDEPEND="
- acct-group/plugdev
- virtual/libiconv
- virtual/libusb:1
- crypt? ( dev-libs/libgcrypt:0= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-devel/gettext
- virtual/pkgconfig
- doc? ( app-text/doxygen )"
-
-DOCS=( AUTHORS README TODO )
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.19-fix-docdir.patch"
-)
-
-src_prepare() {
- default
-
- # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011)
- rm ChangeLog || die
-
- if [[ ${PV} == 9999* ]]; then
- if [[ -e /usr/share/gettext/config.rpath ]]; then
- cp /usr/share/gettext/config.rpath . || die
- else
- touch config.rpath || die # This is from upstream autogen.sh
- fi
- eautoreconf
- else
- # Needed to fix -fuse-ld=* filtering (e.g. lld)
- # Can drop this once copyright year in libtool file included
- # says >= 2021 (was 2014 at time of writing).
- elibtoolize
- fi
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_enable crypt mtpz)
- $(use_enable doc doxygen)
- $(use_enable static-libs static)
- --with-udev="${EPREFIX}$(get_udevdir)"
- --with-udev-group=plugdev
- --with-udev-mode=0660
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- find "${ED}" -name "*.la" -delete || die
-
- if use examples; then
- docinto examples
- dodoc examples/*.{c,h,sh}
- fi
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libmtp/, media-libs/libmtp/files/
@ 2024-12-22 7:30 Miroslav Šulc
0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Šulc @ 2024-12-22 7:30 UTC (permalink / raw
To: gentoo-commits
commit: d3e2747ea88df9669416aa0672ce1a51eb9b693b
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 07:29:32 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 07:30:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3e2747e
Revert "media-libs/libmtp: dropped obsolete 1.1.21"
This reverts commit 01668002a48ad9ac2c0466040a657184be4e51cf.
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-libs/libmtp/Manifest | 1 +
.../libmtp/files/libmtp-1.1.19-fix-docdir.patch | 13 ++++
media-libs/libmtp/libmtp-1.1.21.ebuild | 91 ++++++++++++++++++++++
3 files changed, 105 insertions(+)
diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest
index 2806e63c70a4..7c66ca04809a 100644
--- a/media-libs/libmtp/Manifest
+++ b/media-libs/libmtp/Manifest
@@ -1 +1,2 @@
+DIST libmtp-1.1.21.tar.gz 862703 BLAKE2B c6067d0e9c7e2410b950715d1f02243c835afacfb3eef2f250361d4075d378b2754dceadf5120c9a646413ea826f42291c530590861420f56140458558dccc8e SHA512 510f01f75de37a07c8ce54957a8fb74724538a7cfbdf1a86c201fda68573ef23fa578ff7baf2d9df938703b5776ded4ab1057c617125f3539e594bb5a1f3146f
DIST libmtp-1.1.22.tar.gz 900914 BLAKE2B 5032cbe430bc0ff870f1a88e5b484e6fbe59fd4d7fabd842a1e982b47cd5207e799d2dc1b410b232fc58e2b0c7ba5ca99af71eaaef3beb8849e34a51cf6c3003 SHA512 97094b29073681da0c714b6c4aea2e5f35253a8d06229e60c0af46727413470e9da6be422d873449fc4dec6f9b8efce6d3edc657b9251182cc0a709859e99baa
diff --git a/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch b/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
new file mode 100644
index 000000000000..25450079d203
--- /dev/null
+++ b/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
@@ -0,0 +1,13 @@
+diff --git a/doc/Makefile.in b/doc/Makefile.in
+index fede3e0..d801a47 100644
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -256,7 +256,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ EXTRA_DIST = Doxyfile.in examples.h mainpage.h
+-@HAVE_DOXYGEN_TRUE@pkgdocdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++@HAVE_DOXYGEN_TRUE@pkgdocdir = $(docdir)
+ @HAVE_DOXYGEN_TRUE@htmldocdir = $(pkgdocdir)/html
+ all: all-am
+
diff --git a/media-libs/libmtp/libmtp-1.1.21.ebuild b/media-libs/libmtp/libmtp-1.1.21.ebuild
new file mode 100644
index 000000000000..974dea670ef6
--- /dev/null
+++ b/media-libs/libmtp/libmtp-1.1.21.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit udev
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code"
+ inherit autotools git-r3
+else
+ inherit libtool
+ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+ KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
+fi
+
+DESCRIPTION="Implementation of Microsoft's Media Transfer Protocol (MTP)"
+HOMEPAGE="https://libmtp.sourceforge.net/"
+
+LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ?
+SLOT="0/9" # Based on SONAME of libmtp shared library
+IUSE="+crypt doc examples static-libs"
+
+RDEPEND="
+ acct-group/plugdev
+ virtual/libiconv
+ virtual/libusb:1
+ crypt? ( dev-libs/libgcrypt:0= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-text/doxygen )"
+
+DOCS=( AUTHORS README TODO )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.1.19-fix-docdir.patch"
+)
+
+src_prepare() {
+ default
+
+ # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011)
+ rm ChangeLog || die
+
+ if [[ ${PV} == 9999* ]]; then
+ if [[ -e /usr/share/gettext/config.rpath ]]; then
+ cp /usr/share/gettext/config.rpath . || die
+ else
+ touch config.rpath || die # This is from upstream autogen.sh
+ fi
+ eautoreconf
+ else
+ # Needed to fix -fuse-ld=* filtering (e.g. lld)
+ # Can drop this once copyright year in libtool file included
+ # says >= 2021 (was 2014 at time of writing).
+ elibtoolize
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable crypt mtpz)
+ $(use_enable doc doxygen)
+ $(use_enable static-libs static)
+ --with-udev="${EPREFIX}$(get_udevdir)"
+ --with-udev-group=plugdev
+ --with-udev-mode=0660
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name "*.la" -delete || die
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.{c,h,sh}
+ fi
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libmtp/, media-libs/libmtp/files/
@ 2024-12-22 7:37 Miroslav Šulc
0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Šulc @ 2024-12-22 7:37 UTC (permalink / raw
To: gentoo-commits
commit: 1270071ff2e3f0578ce32ffd176a90bb6944af29
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 07:37:22 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 07:37:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1270071f
media-libs/libmtp: dropped obsolete 1.1.21
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-libs/libmtp/Manifest | 1 -
.../libmtp/files/libmtp-1.1.19-fix-docdir.patch | 13 ----
media-libs/libmtp/libmtp-1.1.21.ebuild | 91 ----------------------
3 files changed, 105 deletions(-)
diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest
index 7c66ca04809a..2806e63c70a4 100644
--- a/media-libs/libmtp/Manifest
+++ b/media-libs/libmtp/Manifest
@@ -1,2 +1 @@
-DIST libmtp-1.1.21.tar.gz 862703 BLAKE2B c6067d0e9c7e2410b950715d1f02243c835afacfb3eef2f250361d4075d378b2754dceadf5120c9a646413ea826f42291c530590861420f56140458558dccc8e SHA512 510f01f75de37a07c8ce54957a8fb74724538a7cfbdf1a86c201fda68573ef23fa578ff7baf2d9df938703b5776ded4ab1057c617125f3539e594bb5a1f3146f
DIST libmtp-1.1.22.tar.gz 900914 BLAKE2B 5032cbe430bc0ff870f1a88e5b484e6fbe59fd4d7fabd842a1e982b47cd5207e799d2dc1b410b232fc58e2b0c7ba5ca99af71eaaef3beb8849e34a51cf6c3003 SHA512 97094b29073681da0c714b6c4aea2e5f35253a8d06229e60c0af46727413470e9da6be422d873449fc4dec6f9b8efce6d3edc657b9251182cc0a709859e99baa
diff --git a/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch b/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
deleted file mode 100644
index 25450079d203..000000000000
--- a/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/doc/Makefile.in b/doc/Makefile.in
-index fede3e0..d801a47 100644
---- a/doc/Makefile.in
-+++ b/doc/Makefile.in
-@@ -256,7 +256,7 @@ top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- EXTRA_DIST = Doxyfile.in examples.h mainpage.h
--@HAVE_DOXYGEN_TRUE@pkgdocdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
-+@HAVE_DOXYGEN_TRUE@pkgdocdir = $(docdir)
- @HAVE_DOXYGEN_TRUE@htmldocdir = $(pkgdocdir)/html
- all: all-am
-
diff --git a/media-libs/libmtp/libmtp-1.1.21.ebuild b/media-libs/libmtp/libmtp-1.1.21.ebuild
deleted file mode 100644
index 974dea670ef6..000000000000
--- a/media-libs/libmtp/libmtp-1.1.21.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit udev
-
-if [[ ${PV} == 9999* ]]; then
- EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code"
- inherit autotools git-r3
-else
- inherit libtool
- SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
-fi
-
-DESCRIPTION="Implementation of Microsoft's Media Transfer Protocol (MTP)"
-HOMEPAGE="https://libmtp.sourceforge.net/"
-
-LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ?
-SLOT="0/9" # Based on SONAME of libmtp shared library
-IUSE="+crypt doc examples static-libs"
-
-RDEPEND="
- acct-group/plugdev
- virtual/libiconv
- virtual/libusb:1
- crypt? ( dev-libs/libgcrypt:0= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-devel/gettext
- virtual/pkgconfig
- doc? ( app-text/doxygen )"
-
-DOCS=( AUTHORS README TODO )
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.19-fix-docdir.patch"
-)
-
-src_prepare() {
- default
-
- # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011)
- rm ChangeLog || die
-
- if [[ ${PV} == 9999* ]]; then
- if [[ -e /usr/share/gettext/config.rpath ]]; then
- cp /usr/share/gettext/config.rpath . || die
- else
- touch config.rpath || die # This is from upstream autogen.sh
- fi
- eautoreconf
- else
- # Needed to fix -fuse-ld=* filtering (e.g. lld)
- # Can drop this once copyright year in libtool file included
- # says >= 2021 (was 2014 at time of writing).
- elibtoolize
- fi
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_enable crypt mtpz)
- $(use_enable doc doxygen)
- $(use_enable static-libs static)
- --with-udev="${EPREFIX}$(get_udevdir)"
- --with-udev-group=plugdev
- --with-udev-mode=0660
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- find "${ED}" -name "*.la" -delete || die
-
- if use examples; then
- docinto examples
- dodoc examples/*.{c,h,sh}
- fi
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-12-22 7:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-22 7:07 [gentoo-commits] repo/gentoo:master commit in: media-libs/libmtp/, media-libs/libmtp/files/ Miroslav Šulc
-- strict thread matches above, loose matches on Subject: below --
2024-12-22 7:30 Miroslav Šulc
2024-12-22 7:37 Miroslav Šulc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox