public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-print/libinklevel/files/, net-print/libinklevel/
@ 2018-03-16 20:45 Pacho Ramos
  0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos @ 2018-03-16 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     72bca1a2731f9b485b1d4dbd8d04ebc2657aadba
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 16 20:36:49 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Mar 16 20:42:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72bca1a2

net-print/libinklevel: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-print/libinklevel/Manifest                     |  3 --
 .../files/libinklevel-0.8.0-automagicdebug.patch   | 20 ------------
 net-print/libinklevel/libinklevel-0.8.0-r1.ebuild  | 38 ----------------------
 net-print/libinklevel/libinklevel-0.9.0.ebuild     | 38 ----------------------
 net-print/libinklevel/libinklevel-0.9.1.ebuild     | 38 ----------------------
 5 files changed, 137 deletions(-)

diff --git a/net-print/libinklevel/Manifest b/net-print/libinklevel/Manifest
index 8b706eb54cd..e57b5a8b883 100644
--- a/net-print/libinklevel/Manifest
+++ b/net-print/libinklevel/Manifest
@@ -1,4 +1 @@
-DIST libinklevel-0.8.0.tar.gz 326397 BLAKE2B 470b8f12f14c453865f9b4cb6a642f65b5fcb8dcfec28b2208c961d5f456061137f92af1073b8c2544fedb81096c0de8ce0085ccce813a16819f802f622a3608 SHA512 bc521a97eafe0b0b73a907e522ef3af6ce404c5b8f44ddb3765ee7c388a67f93392a623c7987053e31411d7d9e247065463c2eeaa77e5fcd70c13b915c36d30e
-DIST libinklevel-0.9.0.tar.gz 367521 BLAKE2B 4e1ac21e5773fa1df5d9524ef322c34133d80f02170f70bd09c91a03ce767a123cb24e69ef0c73b19bb3754bdaf29da9564ef3129ce279b47208d9ad7d49c765 SHA512 23ff9a0f959aff953006a51d1bced235be57dee7bf4046147cdec85525b8d8003d3d3d22bd116b7a3adf3620b10002f736e0156968c78224bccab63505bc5b49
-DIST libinklevel-0.9.1.tar.gz 367651 BLAKE2B 5e82641391535e810a75c8837be5488170b16566d1e9ad09f68689697ef9ef738a94d665e8a4ad72d1c6aeffecf90ae55dc0198969377297e42bb498699fc6ee SHA512 c21ac2ed2949777dcca0f2258de8e0bf565b429b579d6b2c6c7bdb218935b9b7c88e891b240996c4c5274bb7bc8f5796bd9bb1f90b89d9b09580ab8fb9dd067a
 DIST libinklevel-0.9.2.tar.gz 367928 BLAKE2B f74af31529246668a0bc00c17b2ec1432532eb484b7efb230873e251c26b349ff26f4eb51f7f610198416964c090f60232f10e40f5170783cbe806cbcf849155 SHA512 127acaef2d2c09981b4da80e4d86a869c66f0f2f9733e139800bc944c159ddca42829499a97ecbb712b74c950bb28a4e22382c9c2a42d374bc5593f8802b6c59

diff --git a/net-print/libinklevel/files/libinklevel-0.8.0-automagicdebug.patch b/net-print/libinklevel/files/libinklevel-0.8.0-automagicdebug.patch
deleted file mode 100644
index 68af9e102f9..00000000000
--- a/net-print/libinklevel/files/libinklevel-0.8.0-automagicdebug.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.in	2010-03-28 22:11:26.000000000 +0300
-+++ configure.in.fixed	2010-03-28 22:18:14.000000000 +0300
-@@ -16,9 +16,14 @@
- 
- ## Determine hostname & OS
- ## AC_CANONICAL_HOST
--
--AC_ARG_ENABLE([debug], [  --enable-debug	  enable debugging output], 
--	      AC_DEFINE(DEBUG, 1, [enable debugging output]))
-+AC_ARG_ENABLE(debug,
-+              [  --enable-debug         Enable debugging output if available (default=no)],
-+              [ case "${enableval}" in
-+             yes|"") enabled=yes; AC_DEFINE(DEBUG, 1, [enable debugging output]) ;;
-+             no) ;;
-+             *) ;;
-+    esac],
-+)
- 
- ## Check for programs
- ## we want libtool to build our libs

diff --git a/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild b/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild
deleted file mode 100644
index d220441aa0e..00000000000
--- a/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit autotools eutils
-
-MY_P="${P/_/}"
-DESCRIPTION="A library to get the ink level of your printer"
-HOMEPAGE="http://libinklevel.sourceforge.net/"
-SRC_URI="mirror://sourceforge/libinklevel/${MY_P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-LICENSE="GPL-2"
-IUSE="debug"
-
-DEPEND=">=sys-libs/libieee1284-0.2.11"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-automagicdebug.patch
-	sed -i -e "/^dist_doc_DATA/d" Makefile.am \
-		|| die "Failed to disable installation of docs"
-	eautoreconf
-}
-
-src_configure() {
-	econf $(use_enable debug)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install || die "emake install failed"
-	dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
-	rm "${D}"/usr/lib/libinklevel.la
-}

diff --git a/net-print/libinklevel/libinklevel-0.9.0.ebuild b/net-print/libinklevel/libinklevel-0.9.0.ebuild
deleted file mode 100644
index 4d84a588e9c..00000000000
--- a/net-print/libinklevel/libinklevel-0.9.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils multilib
-
-MY_P="${P/_/}"
-DESCRIPTION="A library to get the ink level of your printer"
-HOMEPAGE="http://libinklevel.sourceforge.net/"
-SRC_URI="mirror://sourceforge/libinklevel/${MY_P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-LICENSE="GPL-2"
-IUSE="debug static-libs"
-
-DEPEND=">=sys-libs/libieee1284-0.2.11
-	virtual/libusb:1"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-	sed -i -e "/^dist_doc_DATA/d" Makefile.am \
-		|| die "Failed to disable installation of docs"
-	eautoreconf
-}
-
-src_configure() {
-	econf $(use_enable debug)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install
-	dodoc AUTHORS ChangeLog NEWS README
-	use static-libs || rm "${D}"/usr/$(get_libdir)/libinklevel.{a,la}
-}

diff --git a/net-print/libinklevel/libinklevel-0.9.1.ebuild b/net-print/libinklevel/libinklevel-0.9.1.ebuild
deleted file mode 100644
index 4d84a588e9c..00000000000
--- a/net-print/libinklevel/libinklevel-0.9.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils multilib
-
-MY_P="${P/_/}"
-DESCRIPTION="A library to get the ink level of your printer"
-HOMEPAGE="http://libinklevel.sourceforge.net/"
-SRC_URI="mirror://sourceforge/libinklevel/${MY_P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-LICENSE="GPL-2"
-IUSE="debug static-libs"
-
-DEPEND=">=sys-libs/libieee1284-0.2.11
-	virtual/libusb:1"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-	sed -i -e "/^dist_doc_DATA/d" Makefile.am \
-		|| die "Failed to disable installation of docs"
-	eautoreconf
-}
-
-src_configure() {
-	econf $(use_enable debug)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install
-	dodoc AUTHORS ChangeLog NEWS README
-	use static-libs || rm "${D}"/usr/$(get_libdir)/libinklevel.{a,la}
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-print/libinklevel/files/, net-print/libinklevel/
@ 2021-10-31  5:08 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-10-31  5:08 UTC (permalink / raw
  To: gentoo-commits

commit:     44c7a0fe5dc521f4d7e9fb1525d51639f1f563c2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 31 05:07:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 05:07:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c7a0fe

net-print/libinklevel: fix autoconf 2.70+ compatibility

Closes: https://bugs.gentoo.org/750173
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/libinklevel-0.9.2-autoconf-2.70.patch    | 51 ++++++++++++++++++++++
 net-print/libinklevel/libinklevel-0.9.2.ebuild     |  4 ++
 2 files changed, 55 insertions(+)

diff --git a/net-print/libinklevel/files/libinklevel-0.9.2-autoconf-2.70.patch b/net-print/libinklevel/files/libinklevel-0.9.2-autoconf-2.70.patch
new file mode 100644
index 00000000000..462f23eb73b
--- /dev/null
+++ b/net-print/libinklevel/files/libinklevel-0.9.2-autoconf-2.70.patch
@@ -0,0 +1,51 @@
+https://sources.debian.org/patches/libinklevel/0.9.3-3/0001-configure.ac-fix-ftbfs-with-autoconf2.70.patch/
+https://bugs.gentoo.org/750173
+
+From: Boyuan Yang <byang@debian.org>
+Date: Sat, 16 Jan 2021 11:03:56 -0500
+Subject: configure.ac: fix ftbfs with autoconf2.70
+
+Applied-Upstream: email, yes
+--- a/configure.ac
++++ b/configure.ac
+@@ -12,7 +12,7 @@ ABI_VERSION=5:0:0
+ 
+ dnl no more configuration after this line
+ 
+-AC_CONFIG_SRCDIR(libinklevel.c)
++AC_CONFIG_SRCDIR([libinklevel.c])
+ 
+ ## Determine hostname & OS
+ ## AC_CANONICAL_HOST
+@@ -77,9 +77,9 @@ AC_CHECK_HEADERS([ifaddrs.h])
+ 
+ ## Check for mandatory header files
+ 
+-AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h \ 
++AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h \
+                  sys/ioctl.h sys/socket.h sys/time.h sys/timeb.h wchar.h ]
+-                 ,,AC_MSG_ERROR( required header file missing ))
++                 ,,AC_MSG_ERROR([required header file missing]))
+ 
+ ## determine libraries that need to get linked
+ 
+@@ -96,7 +96,7 @@ AC_CHECK_FUNCS([getifaddrs])
+ AC_CHECK_FUNCS([alarm ftime gethostbyaddr gethostbyname gettimeofday inet_ntoa \
+                memset select socket strchr strdup strerror strncasecmp strstr \
+                gethostname]
+-               ,,AC_MSG_ERROR( required library function missing ))
++               ,,AC_MSG_ERROR([required library function missing]))
+ AC_FUNC_MALLOC
+ AC_FUNC_REALLOC
+ AC_HEADER_RESOLV
+@@ -117,8 +117,8 @@ case $host in
+ 	      PKG_CHECK_MODULES([LIBUSB1], [libusb-1.0]);;
+ 
+   *-freebsd*) AC_DEFINE_UNQUOTED(HOST_OS,FREEBSD,[Host OS])
+-              AC_CHECK_LIB([usb], libusb_init,, AC_MSG_ERROR(Library not found),);;
+-  *-*-*) AC_MSG_ERROR( Host OS not (yet) supported) ;;
++              AC_CHECK_LIB([usb], libusb_init,, AC_MSG_ERROR([Library not found]),);;
++  *-*-*) AC_MSG_ERROR([Host OS not (yet) supported]) ;;
+ esac
+ 
+ ## Variables to be exported

diff --git a/net-print/libinklevel/libinklevel-0.9.2.ebuild b/net-print/libinklevel/libinklevel-0.9.2.ebuild
index b6fb5ca58d7..59afe1969cd 100644
--- a/net-print/libinklevel/libinklevel-0.9.2.ebuild
+++ b/net-print/libinklevel/libinklevel-0.9.2.ebuild
@@ -21,6 +21,10 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.9.2-autoconf-2.70.patch
+)
+
 src_prepare() {
 	sed -i -e "/^dist_doc_DATA/d" Makefile.am \
 		|| die "Failed to disable installation of docs"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-31  5:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-31  5:08 [gentoo-commits] repo/gentoo:master commit in: net-print/libinklevel/files/, net-print/libinklevel/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2018-03-16 20:45 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox