From 3b32ae7547d742f6e65770361188670710bec186 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 Feb 2023 02:22:31 +0000 Subject: gentoo auto-resync : 21:02:2023 - 02:22:31 --- net-print/Manifest.gz | Bin 5748 -> 5748 bytes net-print/cnijfilter2/Manifest | 3 + net-print/cnijfilter2/cnijfilter2-6.50.ebuild | 77 +++++++++++++++++++++ .../files/cnijfilter2-6.50-gentoo.patch | 58 ++++++++++++++++ 4 files changed, 138 insertions(+) create mode 100644 net-print/cnijfilter2/cnijfilter2-6.50.ebuild create mode 100644 net-print/cnijfilter2/files/cnijfilter2-6.50-gentoo.patch (limited to 'net-print') diff --git a/net-print/Manifest.gz b/net-print/Manifest.gz index 577d30bdc8b7..e60205b0d7ca 100644 Binary files a/net-print/Manifest.gz and b/net-print/Manifest.gz differ diff --git a/net-print/cnijfilter2/Manifest b/net-print/cnijfilter2/Manifest index cd4b9605ac02..3a43f979877b 100644 --- a/net-print/cnijfilter2/Manifest +++ b/net-print/cnijfilter2/Manifest @@ -1,6 +1,9 @@ AUX cnijfilter2-5.70-gentoo.patch 1786 BLAKE2B 96c0f8b919dbc896c7b749ef52cc1c6f331921fe55b196782b613389372c5ba382b8a7f1e5f6e326bcfae4652cf4d1c40fcd052f435c721301cf4cdf7433faaa SHA512 9cc2b0a069a8ec045bdedb41e9f6246f6245ae5fb4567a23f03516bbc0d6661d54faa291a976d8a89ee216df31db4515ee04123f9ba7e1cfd629f3191c6ff657 AUX cnijfilter2-5.80-cflags.patch 475 BLAKE2B 18cee126ff7bc58cce31e22bccbc220b3f3a149dce1d3e68a070739a08715d6093cb41e6db12bc8a3ade0d9e73ea18d9ed1b666c84f8364d263bf585a666c60f SHA512 ca36f72b0a4f5a1e9fa7c57722a55b3eb5f907fd86cdb92ec27cd1f8cd6bdba6f27b50612eb03c774d823a17598fcb475b1ea9fdba10b6de5d0acd575ddee07e AUX cnijfilter2-5.80-fno-common.patch 486 BLAKE2B 688d66202fddd0afeb757e7933fbf38af6cb65ee3a805e8af75a0c8c6bbf9e6951d2b5376c0204830c457a77d06d3f942a420496b98aafafe6df42f651b1da41 SHA512 fd5a21de395e93975b2118c06a6957de85157e4cac8b3c473f48f00cbd56e7178b59c03396ece47f21f49414eb7acdff53952469dca5498b875e0c488af80b53 +AUX cnijfilter2-6.50-gentoo.patch 1787 BLAKE2B cb7f12a37b46dfcbdfa54fcba8a7d7260b0427cf2af005e2a8ca979609936e0d07ba66ea963ddbbd670eda362316f19bd1513de18b9d4e024b63313cdb5a5b87 SHA512 2fc38bd1e67d9fd424d47290bac5cde6e342ff091bb2583c5ccdaddd7d15ab85d37fae16e7bd08fded33d7167cbc89950bf08aafb503383b35d7143f2c19e8a2 DIST cnijfilter2-source-5.90-1.tar.gz 1707084 BLAKE2B 3df5786785b12c410f4ae72e1d20fcd7686e0b8de60e7a713392076c2cd9edc1bd3d7f7494712ec6a4f50197fdb79e4cb708fcbe5f3b9e38cb3353e74cc8291a SHA512 d31f5133b6f81114d46cb067779260d5d74b5616e6e1b3924ef9db0db233fbb2b16132f7a003342e2ed14742c3123c644619dc1d5c93bca5d16425a77d45c632 +DIST cnijfilter2-source-6.50-1.tar.gz 2671420 BLAKE2B 2329388686b14430b84d928fb5197cbc58c2a44c25f0edc4c95d8be8d72d313a4c9a7daf09dba1f2bdc73d424a96a7aa3934d83235440bbe1e6edaf95bc5cf31 SHA512 98536a1f0677b1ead6d364b737d9873abf2140cf9646194937075c391929457d23bc792f9314badc27d1649cca6376bee20506e1922d6e16e857037bf7ce3508 EBUILD cnijfilter2-5.90.ebuild 1823 BLAKE2B 75dd8111a2cd69e59819e82bdd8d1b597ce39a951fc11ccbff51bb9ff18cdcd29540f83d3611bb3a638e5d5e81d3ed7f626f4d77da15cfbeae5a123f5a439459 SHA512 4a33e1354daf5e7b1d4ac0a9c3e19ae7c26d6cef8a97436b29e2cbb5d54fa548776c945728c25498c884042084de03b09cd0d10d7c72ae975397692ee59f3f45 +EBUILD cnijfilter2-6.50.ebuild 1922 BLAKE2B 5810452b18b905455409f2480917cfeb32da6944a69d1fbd68a6ea5b33954cfd6cd625e00233caac8432940f5873298cbae45eb9595d46b85a3c7bf35f5c1b35 SHA512 4568011b312e7d34bb6734981d8697404b16d27433490289cbdf4bf77ffc32ecbe0f9081c29454197cc85777d0e13b96f9bae71cf250b30c79dcf7e57899fa14 MISC metadata.xml 248 BLAKE2B a52f1b42e34917354d5d99824d47adca0f36afbe44b9f3398cc819976181e5b067ffc621d3d02f337cc080dbb8676864fd6ae0e5b48736a124687eeea01e11ba SHA512 7524a042ca62db175429683f3aee96e272e324d3e26f9d8c28d1737c5784b72962338d49dfeb28e172d171d55e46b9b889ac471eb3a26a0b58a0b3b20fb1d0b9 diff --git a/net-print/cnijfilter2/cnijfilter2-6.50.ebuild b/net-print/cnijfilter2/cnijfilter2-6.50.ebuild new file mode 100644 index 000000000000..aad729f7bce4 --- /dev/null +++ b/net-print/cnijfilter2/cnijfilter2-6.50.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +MY_P="${PN}-source-${PV}-1" + +DESCRIPTION="IJ Printer Driver" +HOMEPAGE="https://asia.canon/en/support/0101163901?model=5777C" +SRC_URI="https://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAxMTYzOTAx& -> cnijfilter2-source-${PV}-1.tar.gz" + +LICENSE="Canon-IJ" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/libusb:1 + dev-libs/libxml2 + net-print/cups" +RDEPEND="${DEPEND}" + +QA_FLAGS_IGNORED=( + /usr/lib64/libcnbpnet30.so.1.0.0 + /usr/lib64/libcnbpcnclapicom2.so.5.0.0 + /usr/lib64/libcnnet2.so.1.2.5 + /usr/lib64/libcnbpnet20.so.1.0.0 + /usr/bin/cnijlgmon3 +) + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${PN}-6.50-gentoo.patch + "${FILESDIR}"/${PN}-5.80-cflags.patch + "${FILESDIR}"/${PN}-5.80-fno-common.patch +) + +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}/* +} diff --git a/net-print/cnijfilter2/files/cnijfilter2-6.50-gentoo.patch b/net-print/cnijfilter2/files/cnijfilter2-6.50-gentoo.patch new file mode 100644 index 000000000000..cdc5f936824e --- /dev/null +++ b/net-print/cnijfilter2/files/cnijfilter2-6.50-gentoo.patch @@ -0,0 +1,58 @@ +--- a/cmdtocanonij2/filter/Makefile.am 2018-01-14 18:14:20.645473030 +0100 ++++ b/cmdtocanonij2/filter/Makefile.am 2018-01-14 18:14:36.078219959 +0100 +@@ -1,4 +1,4 @@ +-filterdir=$(libdir)/cups/filter ++filterdir=$(libexecdir)/cups/filter + + filter_PROGRAMS= cmdtocanonij2 + +--- a/cmdtocanonij3/filter/Makefile.am 2018-01-14 18:14:20.645473030 +0100 ++++ b/cmdtocanonij3/filter/Makefile.am 2018-01-14 18:14:36.078219959 +0100 +@@ -1,4 +1,4 @@ +-filterdir=$(libdir)/cups/filter ++filterdir=$(libexecdir)/cups/filter + + filter_PROGRAMS= cmdtocanonij3 + +--- a/cnijbe2/src/Makefile.am 2023-02-15 19:25:48.823470121 +0100 ++++ b/cnijbe2/src/Makefile.am 2023-02-15 19:25:59.316275741 +0100 +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in + +-backend_bindir = $(libdir)/cups/backend ++backend_bindir = $(libexecdir)/cups/backend + backend_bin_PROGRAMS = cnijbe2 + transform = + +--- a/rastertocanonij/src/Makefile.am 2018-01-14 21:31:33.053307218 +0100 ++++ b/rastertocanonij/src/Makefile.am 2018-01-14 21:31:41.106166479 +0100 +@@ -1,4 +1,4 @@ +-filterdir=$(libdir)/cups/filter ++filterdir=$(libexecdir)/cups/filter + + filter_PROGRAMS= rastertocanonij + +--- a/tocanonij/src/Makefile.am 2018-01-15 22:38:14.236460663 +0100 ++++ b/tocanonij/src/Makefile.am 2018-01-15 22:38:39.184018933 +0100 +@@ -1,7 +1,8 @@ + INCLUDES = \ + -I$(top_srcdir)/include/cncl + +-bin_PROGRAMS= tocanonij ++filterdir=$(libexecdir)/cups/filter ++filter_PROGRAMS= tocanonij + + tocanonij_SOURCES= \ + main.c +--- a/tocnpwg/src/Makefile.am 2018-01-15 22:42:43.759703863 +0100 ++++ b/tocnpwg/src/Makefile.am 2018-01-15 22:43:10.442232986 +0100 +@@ -2,7 +2,8 @@ + INCLUDES = \ + @XML_2_CFLAGS@ + +-bin_PROGRAMS= tocnpwg ++filterdir=$(libexecdir)/cups/filter ++filter_PROGRAMS= tocnpwg + + tocnpwg_SOURCES= \ + main.c mkpset.c -- cgit v1.2.3