Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, media-libs/libptp2/files/, media-libs/libptp2/
Date: Tue, 11 Dec 2018 13:55:53
Message-Id: 1544536465.b5e76695300596e33492a24a7401455f8c946494.mgorny@gentoo
1 commit: b5e76695300596e33492a24a7401455f8c946494
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 11 13:54:25 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 11 13:54:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e76695
7
8 media-libs/libptp2: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/622722
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 media-libs/libptp2/Manifest | 1 -
14 .../libptp2/files/libptp2-1.1.10-configure.patch | 46 ----------------------
15 .../libptp2/files/libptp2-1.1.10-makefile.patch | 11 ------
16 media-libs/libptp2/libptp2-1.1.10.ebuild | 31 ---------------
17 media-libs/libptp2/metadata.xml | 8 ----
18 profiles/package.mask | 5 ---
19 6 files changed, 102 deletions(-)
20
21 diff --git a/media-libs/libptp2/Manifest b/media-libs/libptp2/Manifest
22 deleted file mode 100644
23 index 7c0463a2227..00000000000
24 --- a/media-libs/libptp2/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST libptp2-1.1.10.tar.gz 380767 BLAKE2B 479739abc45d8feff4dd0f70fbee1ac7ad24f78aec99ad176858e8b835cef73135ae3537ffe000cf8321a91e4437cc2606ddaf4f24c8725bc4e2540baddfc4d8 SHA512 9c6140c389f995d08cf49e5215e407131f51b17fc901e47c5ee675d9fff9d49075554ebc21549b239013fd7d2bd5ab8fb8ad9645ded149901479f6b85c808d44
28
29 diff --git a/media-libs/libptp2/files/libptp2-1.1.10-configure.patch b/media-libs/libptp2/files/libptp2-1.1.10-configure.patch
30 deleted file mode 100644
31 index 5036ff683cb..00000000000
32 --- a/media-libs/libptp2/files/libptp2-1.1.10-configure.patch
33 +++ /dev/null
34 @@ -1,46 +0,0 @@
35 ---- a/configure.in 2007-12-28 10:28:36.000000000 +1100
36 -+++ b/configure.in 2007-12-28 10:36:14.000000000 +1100
37 -@@ -25,6 +25,10 @@
38 -
39 - # Checks for programs.
40 - AC_PROG_CC
41 -+AC_PROG_INSTALL
42 -+AC_PROG_LN_S
43 -+AC_PROG_MAKE_SET
44 -+AC_PROG_RANLIB
45 -
46 - # turn on warnings for gcc
47 - if test "$ac_cv_prog_gcc" = "yes"; then
48 -@@ -36,19 +40,29 @@
49 -
50 - # Checks for header files.
51 - AC_HEADER_STDC
52 --AC_CHECK_HEADERS([libintl.h stdlib.h string.h])
53 -+AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h stdint.h stdlib.h string.h sys/ioctl.h unistd.h utime.h])
54 -
55 - # Checks for typedefs, structures, and compiler characteristics.
56 - AC_C_CONST
57 - AC_C_INLINE
58 -+AC_TYPE_INT16_T
59 -+AC_TYPE_INT32_T
60 -+AC_TYPE_INT8_T
61 - AC_STRUCT_TM
62 -+AC_TYPE_UINT16_T
63 -+AC_TYPE_UINT32_T
64 -+AC_TYPE_UINT64_T
65 -+AC_TYPE_UINT8_T
66 -
67 - # Checks for library functions.
68 --AC_FUNC_ERROR_AT_LINE
69 -+AC_PROG_GCC_TRADITIONAL
70 - AC_FUNC_MALLOC
71 - AC_FUNC_MKTIME
72 -+AC_FUNC_MMAP
73 -+AC_TYPE_SIGNAL
74 -+AC_FUNC_UTIME_NULL
75 - AC_FUNC_VPRINTF
76 --AC_CHECK_FUNCS([memset strchr strdup strtol getopt_long])
77 -+AC_CHECK_FUNCS([memset munmap strdup strncasecmp strtol utime])
78 -
79 - hostos=any
80 - case $host in
81
82 diff --git a/media-libs/libptp2/files/libptp2-1.1.10-makefile.patch b/media-libs/libptp2/files/libptp2-1.1.10-makefile.patch
83 deleted file mode 100644
84 index 19fd2590ee2..00000000000
85 --- a/media-libs/libptp2/files/libptp2-1.1.10-makefile.patch
86 +++ /dev/null
87 @@ -1,11 +0,0 @@
88 ---- a/src/Makefile.am 2005-11-01 02:39:40.000000000 +1100
89 -+++ b/src/Makefile.am 2007-12-28 09:51:01.000000000 +1100
90 -@@ -17,7 +17,7 @@
91 - else
92 - ptpcam_SOURCES = ptpcam.c ptpcam.h
93 - endif
94 --ptpcam_LDADD = -lptp2 @PTPCAM_LDFLAGS@
95 -+ptpcam_LDADD = libptp2.la @PTPCAM_LDFLAGS@
96 - ptpcam_DEPENDANCIES = libptp2.la
97 - ptpcam_CFLAGS = @PTPCAM_CFLAGS@
98 - endif
99
100 diff --git a/media-libs/libptp2/libptp2-1.1.10.ebuild b/media-libs/libptp2/libptp2-1.1.10.ebuild
101 deleted file mode 100644
102 index 53c5e01c709..00000000000
103 --- a/media-libs/libptp2/libptp2-1.1.10.ebuild
104 +++ /dev/null
105 @@ -1,31 +0,0 @@
106 -# Copyright 1999-2018 Gentoo Foundation
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=6
110 -inherit autotools
111 -
112 -DESCRIPTION="Library and client to communicate with cameras via PTP"
113 -HOMEPAGE="https://sourceforge.net/projects/libptp/"
114 -SRC_URI="mirror://sourceforge/libptp/${P}.tar.gz"
115 -
116 -LICENSE="GPL-2"
117 -SLOT="0"
118 -KEYWORDS="amd64 ppc ppc64 x86"
119 -IUSE=""
120 -
121 -RDEPEND="virtual/libusb:0"
122 -DEPEND="${RDEPEND}"
123 -
124 -PATCHES=(
125 - "${FILESDIR}/${P}-makefile.patch"
126 - "${FILESDIR}/${P}-configure.patch"
127 -)
128 -
129 -src_prepare() {
130 - default
131 - AT_M4DIR="m4" eautoreconf
132 -}
133 -
134 -src_test() {
135 - env LD_LIBRARY_PATH=./src/.libs/ ./src/ptpcam -l || die
136 -}
137
138 diff --git a/media-libs/libptp2/metadata.xml b/media-libs/libptp2/metadata.xml
139 deleted file mode 100644
140 index feb5e592cfe..00000000000
141 --- a/media-libs/libptp2/metadata.xml
142 +++ /dev/null
143 @@ -1,8 +0,0 @@
144 -<?xml version="1.0" encoding="UTF-8"?>
145 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
146 -<pkgmetadata>
147 - <!-- maintainer-needed -->
148 - <upstream>
149 - <remote-id type="sourceforge">libptp</remote-id>
150 - </upstream>
151 -</pkgmetadata>
152
153 diff --git a/profiles/package.mask b/profiles/package.mask
154 index c36b4cf2bad..1645582903e 100644
155 --- a/profiles/package.mask
156 +++ b/profiles/package.mask
157 @@ -166,11 +166,6 @@ app-admin/localepurge
158 # bumped (#622572). Removal in a month.
159 net-p2p/ppcoind
160
161 -# Pacho Ramos <pacho@g.o> (11 Nov 2018)
162 -# Our current version is broken for ages (#622722), no maintained, needs to
163 -# be bumped, no reverse deps in the tree. Removal in a month.
164 -media-libs/libptp2
165 -
166 # Pacho Ramos <pacho@g.o> (11 Nov 2018)
167 # Fails to build (#662000), not compatible with kernel-4, use kernel driver rtsx_pci
168 # instead. Removal in a month.