From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 755741382C5 for ; Thu, 7 Jan 2021 12:24:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFEF0E0821; Thu, 7 Jan 2021 12:24:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8A80BE0821 for ; Thu, 7 Jan 2021 12:24:32 +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 855FB340E63 for ; Thu, 7 Jan 2021 12:24:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33BFA4C for ; Thu, 7 Jan 2021 12:24:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1610022268.96f07e63541e9d2e4fcb48fc055a1501f3b0a11f.sam@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.60-r1.ebuild X-VCS-Directories: net-print/cndrvcups-common-lb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 96f07e63541e9d2e4fcb48fc055a1501f3b0a11f X-VCS-Branch: master Date: Thu, 7 Jan 2021 12:24:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 630c63fe-1b93-41b2-8913-904cf008defa X-Archives-Hash: fb06693656b6658a3bbe13f688cf4cf8 commit: 96f07e63541e9d2e4fcb48fc055a1501f3b0a11f Author: Sam James gentoo org> AuthorDate: Thu Jan 7 12:23:56 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jan 7 12:24:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96f07e63 net-print/cndrvcups-common-lb: Revert "cleanup old" This reverts commit eb47eaebf7b3e9e51540f204839d6ad231c24ae6. Need net-print/cndrvcups-lb in sync. Signed-off-by: Sam James gentoo.org> net-print/cndrvcups-common-lb/Manifest | 1 + .../cndrvcups-common-lb-3.60-r1.ebuild | 116 +++++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/net-print/cndrvcups-common-lb/Manifest b/net-print/cndrvcups-common-lb/Manifest index b8b441732ad..225fe9561f2 100644 --- a/net-print/cndrvcups-common-lb/Manifest +++ b/net-print/cndrvcups-common-lb/Manifest @@ -1 +1,2 @@ +DIST linux-UFRII-drv-v360-uken.tar.gz 116695930 BLAKE2B 75b0ed7a957fbc1677a834e67b92b7752cfa74536cb238b553f1c2c98b86399c29209240d093492ea212618c0092ad59a22f03f992462b8ef488f8ed58b51d21 SHA512 c8b2abb2d0e9ccf972241dda5154c0ddd1ba9cfe6c721c242c40c90cf29e8d0b2c6a559907318cd191232f699a42425cc4148aebcaab6aa111f1cb5439777ce7 DIST linux-UFRII-drv-v370-uken-05.tar.gz 117334511 BLAKE2B 295c7a710b0f1ee29e642b29c7b0576f68317dba93758825aa85d431129cebea174d5c2dfa67f7506fa3b18fe48d373f0dc9331ed9caabc2e3bc733946aefd97 SHA512 d83254b7f7f87c56caeaaf151d898de36f746c03ad88d427959bdeec905b9cd92a14a8ac534073473a6cefbb5e2b0be9e9faa79b500e252ecd0a0564d2312bbc diff --git a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.60-r1.ebuild b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.60-r1.ebuild new file mode 100644 index 00000000000..cbdab7f9b8c --- /dev/null +++ b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.60-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +MY_PV="$(ver_rs 1- '')" +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-1730i.aspx" +SRC_URI="http://gdlp01.c-wss.com/gds/0/0100009240/02/${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}/-4.00}" + +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}/-4.00}-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" || die + emake +} + +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 :(, bug #???? + # Only needed with SYMLINK_LIB=yes #642138 + if [[ "$(get_libdir)" != lib ]] && [[ ${SYMLINK_LIB} = yes ]]; then + dosym "../$(get_libdir)/libc3pl.so" /usr/lib/libc3pl.so + fi +}