From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1005983-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 82E051382C5 for <garchives@archives.gentoo.org>; Tue, 27 Feb 2018 19:31:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9ABECE0952; Tue, 27 Feb 2018 19:31:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6529FE0951 for <gentoo-commits@lists.gentoo.org>; Tue, 27 Feb 2018 19:31:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC2E4335C2C for <gentoo-commits@lists.gentoo.org>; Tue, 27 Feb 2018 19:31:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E2FB1EA for <gentoo-commits@lists.gentoo.org>; Tue, 27 Feb 2018 19:31:19 +0000 (UTC) From: "Pacho Ramos" <pacho@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" <pacho@gentoo.org> Message-ID: <1519759743.21b57d458d61f4c2f591f8b0988b8b69a6f91941.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cndrvcups-common-lb/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-print/cndrvcups-common-lb/Manifest net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.50.ebuild X-VCS-Directories: net-print/cndrvcups-common-lb/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 21b57d458d61f4c2f591f8b0988b8b69a6f91941 X-VCS-Branch: master Date: Tue, 27 Feb 2018 19:31:19 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 00f68aaa-b03e-47f5-b7b5-fa051db578f6 X-Archives-Hash: 8093e395ab7deea4a99b7dae4b7134cd commit: 21b57d458d61f4c2f591f8b0988b8b69a6f91941 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Tue Feb 27 19:25:26 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Tue Feb 27 19:29:03 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b57d45 net-print/cndrvcups-common-lb: Version bump, fixing compat with glibc-2.26 (#637682) Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-print/cndrvcups-common-lb/Manifest | 1 + .../cndrvcups-common-lb-3.50.ebuild | 114 +++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/net-print/cndrvcups-common-lb/Manifest b/net-print/cndrvcups-common-lb/Manifest index 897a01b4ad8..e1a0ef78f7b 100644 --- a/net-print/cndrvcups-common-lb/Manifest +++ b/net-print/cndrvcups-common-lb/Manifest @@ -1 +1,2 @@ DIST linux-UFRII-drv-v340-uken.tar.gz 117746329 BLAKE2B fafdddedd1b09f33742ae55dfb41994ad3ac6ef5a8c9dc7e7b2a87ec8f5596f1079aead966a89f366c7548cc730328dc594b04747e7946560f83d6df2716d73f SHA512 05f12d2cac5ae9987fe389be1a15b11d280734f6d47b86f04fa2fcb61bf94175b7afdba4cc1cf5ecf2c1ef5a8e2c14eda5d72f7671618d7c94581c620fea4494 +DIST linux-UFRII-drv-v350-uken.tar.gz 116120579 BLAKE2B fa5f521f4eec375fa0d9efb7b47ff6dd88f47c36fa5750818f7e367058b8ccafce99b9f8f9d9195e1e5e0e2f1b77a7c0cc1524786f111b065204d0472601202b SHA512 2eeb1448cb76ac156e1e5f6df46141ee5605b0bed1c25f31b0f039fb9f579fe3d5732b132cae391e78276c550febc19366f958d1fb53c93f955303f1f5c37ab3 diff --git a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.50.ebuild b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.50.ebuild new file mode 100644 index 00000000000..3aac9be9708 --- /dev/null +++ b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.50.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools versionator + +MY_PV="$(delete_all_version_separators)" +SOURCES_NAME="linux-UFRII-drv-v${MY_PV}-uken" + +DESCRIPTION="Common files for Canon drivers" +HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/imagerunner-1133.aspx?type=drivers&language=EN&os=LINUX" +SRC_URI="http://gdlp01.c-wss.com/gds/0/0100009240/01/${SOURCES_NAME}.tar.gz" + +# GPL-2 License inside LICENSE-EN.txt files +LICENSE="Canon-UFR-II GPL-2 MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/libxml2-2.6:2 + >=gnome-base/libglade-2.4:2.0 + >=net-print/cups-1.1.17 + >=x11-libs/gtk+-2.4:2 +" +DEPEND="${DEPEND}" + +S="${WORKDIR}/${SOURCES_NAME}/Sources/${P/-lb-${PV}/-3.90}" + +pkg_setup() { + # Don't raise a fuss over pre-built binaries + QA_PREBUILT=" + /usr/libexec/cups/filter/c3pldrv + /usr/$(get_abi_LIBDIR x86)/libColorGear.so.0.0.0 + /usr/$(get_abi_LIBDIR x86)/libColorGearC.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libc3pl.so.0.0.1 + /usr/$(get_abi_LIBDIR x86)/libcaepcm.so.1.0 + /usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libcaiowrap.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libcanon_slim.so.1.0.0 + /usr/$(get_libdir)/libcanonc3pl.so.1.0.0 + " + QA_SONAME=" + /usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0 + " +} + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die + unpack ./${P/-lb-${PV}/-3.90}-1.tar.gz +} + +change_dir() { + for i in cngplp buftool backend; do + cd "${i}" || die + "${@}" + cd "${S}" || die + done +} + +src_prepare() { + default + sed -i -e \ + "s:backenddir = \$(libdir)/cups/backend:backenddir = `cups-config --serverbin`/backend:" \ + backend/Makefile.am || die + + export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0" + change_dir eautoreconf +} + +src_configure() { + change_dir econf +} + +src_compile() { + change_dir emake + + # Cannot be moved to 'change_dir' as it doesn't need eautoreconf + ( cd "${S}/c3plmod_ipc" && emake ) || die +} + +src_install() { + MAKEOPTS+=" -j1" default + + einstalldocs + + cd "${S}/c3plmod_ipc" || die + dolib.so libcanonc3pl.so.1.0.0 + dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so.1" + dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so" + + cd "${S}/data" || die + insinto /usr/share/caepcm + doins * + + ABI=x86 + cd "${S}/libs" || die + exeinto $(cups-config --serverbin)/filter + doexe c3pldrv + dolib.so libcaepcm.so.1.0 + dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so.1" + dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so" + for lib in *.so.?.?.?; do + dolib.so "${lib}" + dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}" + dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}" + done + + # c3pldrv dlopens the absolute path /usr/lib/libc3pl.so :( + if [[ "$(get_libdir)" != lib ]]; then + dosym "../$(get_libdir)/libc3pl.so" /usr/lib/libc3pl.so + fi +}