public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cnijfilter2/
Date: Sun, 08 Jun 2025 08:16:27 +0000 (UTC)	[thread overview]
Message-ID: <1749370569.09d77d274231db2f45aadb140779447c23e623bf.tupone@gentoo> (raw)

commit:     09d77d274231db2f45aadb140779447c23e623bf
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  8 08:15:47 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jun  8 08:16:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d77d27

net-print/cnijfilter2: add 6.80

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 net-print/cnijfilter2/Manifest                |  1 +
 net-print/cnijfilter2/cnijfilter2-6.80.ebuild | 80 +++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/net-print/cnijfilter2/Manifest b/net-print/cnijfilter2/Manifest
index e39410e68137..b6e39862d5a6 100644
--- a/net-print/cnijfilter2/Manifest
+++ b/net-print/cnijfilter2/Manifest
@@ -1,2 +1,3 @@
 DIST cnijfilter2-source-6.60-1.tar.gz 2775344 BLAKE2B 0207784251e70c5850da74eb76a4de16d4dc5760e91ce17fc86ee9c61cfac27c041ea3f434ecad846ee3cc93649ac627d41eaaa55d3baf2e148ad36d8e142b87 SHA512 4a0560bcd4028dfbaed0c01a34c17eef492865bae97ebe0ec092442f49401295a160a4ac39ff3869f40d01f7cd085a97d114b9c5bf511a66664c2b74fbf41864
 DIST cnijfilter2-source-6.70-1.tar.gz 3014630 BLAKE2B f1a36c1e24406c5e67bf5a024997dec1788aec77eceaa237dc678a0d55de1434c7a5ad23cda7f44b978cf01f214435afb8588d1b04dc0ab60c37d4c2f56e5fac SHA512 a6e345082eb0c6d9f80011e8e9c6edc5db63ad719c2b4953bce7d0de05493dcb8443a8a4bb88925349a2ceab64645eec91a73fee796cc363947ebe40534af5e4
+DIST cnijfilter2-source-6.80-1.tar.gz 3157197 BLAKE2B e4ba98ce63f20bff324a5f2bfee1aaf9c25183406fabe8c544b7aa8a14375c420778f5d1c438d818927948af97f9ba0c85b227c0631269447b3fd64ec41cf0ff SHA512 72a622f863f93d7e63f5aeca23c4a96b8b860af7b11b3b362df73cf58904c90c3f1049ee93e50bf4be983ee431f2cf347301a0bdd5479756a804b1073a0f5912

diff --git a/net-print/cnijfilter2/cnijfilter2-6.80.ebuild b/net-print/cnijfilter2/cnijfilter2-6.80.ebuild
new file mode 100644
index 000000000000..8a520bc91522
--- /dev/null
+++ b/net-print/cnijfilter2/cnijfilter2-6.80.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P="${PN}-source-${PV}-1"
+
+DESCRIPTION="IJ Printer Driver"
+HOMEPAGE="https://www.usa.canon.com/support/p/pixma-g4270#idReference%3Dsoftware-drivers"
+SRC_URI="https://gdlp01.c-wss.com/gds/2/0100012302/02/${MY_P}.tar.gz"
+
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="Canon-IJ"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/libusb:1
+	dev-libs/libxml2:=
+	net-print/cups"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-6.50-gentoo.patch
+	"${FILESDIR}"/${PN}-5.80-cflags.patch
+	"${FILESDIR}"/${PN}-5.80-fno-common.patch
+	"${FILESDIR}"/${PN}-6.60-c99.patch
+	"${FILESDIR}"/${PN}-6.70-c23.patch
+)
+
+pkg_setup()  {
+	QA_PREBUILT="
+		/usr/$(get_libdir)/libcnbpnet30.so.1.0.0
+		/usr/$(get_libdir)/libcnbpcnclapicom2.so.5.0.0
+		/usr/$(get_libdir)/libcnnet2.so.1.2.5
+		/usr/$(get_libdir)/libcnbpnet20.so.1.0.0
+		/usr/bin/cnijlgmon3
+	"
+}
+
+src_prepare() {
+	default
+	DIRS="cmdtocanonij2 cmdtocanonij3 cnijbe2 lgmon3 rastertocanonij tocanonij tocnpwg"
+	LIBDIR=com/libs_bin$(usex amd64 _x86_64 _i686)
+	for d in ${DIRS}; do
+		mv "${d}"/configure.{in,ac} || die
+	done
+	echo "AC_INIT([${PN}], [${PV}])" >> configure.ac
+	echo "AM_INIT_AUTOMAKE" >> configure.ac
+	echo "AC_CONFIG_SUBDIRS([${DIRS}])" >> configure.ac
+	echo "AC_CONFIG_FILES([Makefile])" >> configure.ac
+	echo "AC_OUTPUT()" >> configure.ac
+	echo "SUBDIRS= ${DIRS}" >> Makefile.am
+	sed -i \
+		-e "/^CFLAGS/d" \
+		*/configure.ac \
+		cnijbe2/src/Makefile.am || die
+	eautoreconf
+	cd ${LIBDIR}
+	rm libcn*.so || die
+	ln -sf libcnbpcnclapicom2.so.5.0.0 libcnbpcnclapicom2.so || die
+	ln -sf libcnbpnet20.so.1.0.0 libcnbpnet20.so || die
+	ln -sf libcnbpnet30.so.1.0.0 libcnbpnet30.so || die
+	ln -sf libcnnet2.so.1.2.5 libcnnet2.so || die
+
+	cd -
+}
+
+src_configure() {
+	econf --enable-progpath="${EPREFIX}/usr/bin" LDFLAGS="-L${S}/${LIBDIR} ${LDFLAGS}"
+}
+
+src_install() {
+	default
+	insinto /usr/share/ppd/cupsfilters
+	doins ppd/*ppd
+	dolib.so ${LIBDIR}/*
+}


             reply	other threads:[~2025-06-08  8:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-08  8:16 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-07 12:29 [gentoo-commits] repo/gentoo:master commit in: net-print/cnijfilter2/ Arthur Zamarin
2025-06-05 10:33 Sam James
2025-05-05  7:45 Alfredo Tupone
2024-11-28 18:49 Alfredo Tupone
2024-02-20  7:13 Alfredo Tupone
2024-01-13  8:44 Alfredo Tupone
2023-10-29 19:31 Alfredo Tupone
2023-09-02 20:49 Alfredo Tupone
2023-03-11  8:18 Alfredo Tupone
2023-02-20 20:01 Alfredo Tupone
2022-06-16 16:30 Sam James
2021-01-18  1:41 Sam James
2021-01-18  1:40 Sam James
2021-01-02 10:52 Alfredo Tupone
2020-09-11  6:59 Alfredo Tupone
2020-02-02 20:44 Alfredo Tupone
2018-12-05  7:21 Alfredo Tupone
2018-09-21  9:06 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1749370569.09d77d274231db2f45aadb140779447c23e623bf.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox