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 D5F2F138334 for ; Sun, 20 Oct 2019 10:14:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0081FE0934; Sun, 20 Oct 2019 10:14:46 +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 CA095E0932 for ; Sun, 20 Oct 2019 10:14:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6920F34C0B2 for ; Sun, 20 Oct 2019 10:14:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12A75898 for ; Sun, 20 Oct 2019 10:14:41 +0000 (UTC) From: "Pacho Ramos" 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" Message-ID: <1571566474.e9171210d66a7c39df665563efd9988e3430dbcc.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cndrvcups-lb/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-print/cndrvcups-lb/Manifest net-print/cndrvcups-lb/cndrvcups-lb-3.70.ebuild X-VCS-Directories: net-print/cndrvcups-lb/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: e9171210d66a7c39df665563efd9988e3430dbcc X-VCS-Branch: master Date: Sun, 20 Oct 2019 10:14:41 +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: 320adacd-4a72-4acb-8c80-0c24068c9aab X-Archives-Hash: 4a5eb469b9db44d306ef523fcf5c6a42 commit: e9171210d66a7c39df665563efd9988e3430dbcc Author: Pacho Ramos gentoo org> AuthorDate: Sun Oct 20 10:13:09 2019 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Oct 20 10:14:34 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9171210 net-print/cndrvcups-lb: Version bump Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Pacho Ramos gentoo.org> net-print/cndrvcups-lb/Manifest | 1 + net-print/cndrvcups-lb/cndrvcups-lb-3.70.ebuild | 114 ++++++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/net-print/cndrvcups-lb/Manifest b/net-print/cndrvcups-lb/Manifest index a25da6d6333..225fe9561f2 100644 --- a/net-print/cndrvcups-lb/Manifest +++ b/net-print/cndrvcups-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-lb/cndrvcups-lb-3.70.ebuild b/net-print/cndrvcups-lb/cndrvcups-lb-3.70.ebuild new file mode 100644 index 00000000000..b7afeb8bf4c --- /dev/null +++ b/net-print/cndrvcups-lb/cndrvcups-lb-3.70.ebuild @@ -0,0 +1,114 @@ +# 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="Canon UFR II / LIPSLX Printer Driver for Linux" +HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/imagerunner-1730i.aspx" +SRC_URI="http://gdlp01.c-wss.com/gds/8/0100007658/08/${SOURCES_NAME}-05.tar.gz" + +LICENSE="Canon-UFR-II" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)] + >=gnome-base/libglade-2.4:2.0 + >=net-print/cups-1.1.17 + ~net-print/cndrvcups-common-lb-${PV} + >=x11-libs/gtk+-2.4:2 +" +DEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${SOURCES_NAME}/Sources/${P}" + +MAKEOPTS+=" -j1" + +pkg_setup() { + # Don't raise a fuss over pre-built binaries + QA_PREBUILT=" + /usr/bin/cnpkbidi + /usr/bin/cnpkmoduleufr2 + /usr/$(get_abi_LIBDIR x86)/libEnoJPEG.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libEnoJBIG.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libufr2filter.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libcnlbcm.so.1.0 + /usr/$(get_abi_LIBDIR x86)/libcaiocnpkbidi.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libcanonufr2.so.1.0.0 + " + QA_SONAME="/usr/$(get_abi_LIBDIR x86)/libcaiocnpkbidi.so.1.0.0" +} + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die + unpack ./${P}-1.tar.gz +} + +change_dir() { + for i in buftool pstoufr2cpca cngplp cngplp/files cpca ; do + cd "${i}" || die + "${@}" || die + cd "${S}" || die + done +} + +src_prepare() { + default + sed -i -e \ + "s:filterdir = \$(libdir)/cups/filter:filterdir = `cups-config --serverbin`/filter:" \ + pstoufr2cpca/filter/Makefile.am || die + + export "LIBS=-lgmodule-2.0" + change_dir mv configure.in configure.ac + change_dir sed -i -e 's/configure.in/configure.ac/' configure.ac + change_dir eautoreconf +} + +src_configure() { + change_dir econf +} + +src_install() { + default + einstalldocs + + find "${D}" -name '*.la' -type f -delete || die + + insinto /usr/share/cups/model + doins ppd/*.ppd + + cd "${S}/data" || die + insinto /usr/share/caepcm + doins * + + cd "${S}/libs" || die + insinto /usr/share/cnpkbidi + doins cnpkbidi_info* + + insinto /usr/share/ufr2filter + doins ThLB* + + ABI=x86 + dobin cnpkbidi cnpkmoduleufr2 + dolib.so libcnlbcm.so.1.0 + dosym libcnlbcm.so.1.0 "/usr/$(get_libdir)/libcnlbcm.so.1" + dosym libcnlbcm.so.1.0 "/usr/$(get_libdir)/libcnlbcm.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/libcnlbcm.so :(, bug #???? + # Only needed with SYMLINK_LIB=yes #642138 + if [[ "$(get_libdir)" != lib ]] && [[ ${SYMLINK_LIB} = yes ]]; then + dosym "../$(get_libdir)/libcnlbcm.so" /usr/lib/libcnlbcm.so + fi +}