Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 847988 Details for
Bug 890250
net-print/cnijfilter2-6.30 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ebuild for version 6.30
0001-net-print-cnijfilter2-version-bump-to-6.30.patch (text/plain), 5.28 KB, created by
Jan Kobler
on 2023-01-08 18:11:18 UTC
(
hide
)
Description:
Ebuild for version 6.30
Filename:
MIME Type:
Creator:
Jan Kobler
Created:
2023-01-08 18:11:18 UTC
Size:
5.28 KB
patch
obsolete
>From 319b9f338ba598a66ef874c5c02ff6e850b75a50 Mon Sep 17 00:00:00 2001 >From: Jan Kobler <eng1@koblersystems.de> >Date: Sun, 8 Jan 2023 18:06:02 +0100 >Subject: [PATCH] net-print/cnijfilter2: version bump to 6.30 > >Tested only on amd64 > >This ebuild supports only amd64 and x86. > >Find the supported printers in cnijfilter2-source-6.30-1/ppd/NEWS > >The source code of the driver contains support for i686, x64_64, aarch64, mips64 >in the folder cnijfilter2-source-6.30-1/com > >Signed-off-by: Jan Kobler <eng1@koblersystems.de> >--- > net-print/cnijfilter2/Manifest | 1 + > net-print/cnijfilter2/cnijfilter2-6.30.ebuild | 78 +++++++++++++++++++ > .../files/cnijfilter2-6.30-gentoo.patch | 34 ++++++++ > 3 files changed, 113 insertions(+) > create mode 100644 net-print/cnijfilter2/cnijfilter2-6.30.ebuild > create mode 100644 net-print/cnijfilter2/files/cnijfilter2-6.30-gentoo.patch > >diff --git a/net-print/cnijfilter2/Manifest b/net-print/cnijfilter2/Manifest >index 83806d362510..6f8d4ffd12eb 100644 >--- a/net-print/cnijfilter2/Manifest >+++ b/net-print/cnijfilter2/Manifest >@@ -1 +1,2 @@ > DIST cnijfilter2-source-5.90-1.tar.gz 1707084 BLAKE2B 3df5786785b12c410f4ae72e1d20fcd7686e0b8de60e7a713392076c2cd9edc1bd3d7f7494712ec6a4f50197fdb79e4cb708fcbe5f3b9e38cb3353e74cc8291a SHA512 d31f5133b6f81114d46cb067779260d5d74b5616e6e1b3924ef9db0db233fbb2b16132f7a003342e2ed14742c3123c644619dc1d5c93bca5d16425a77d45c632 >+DIST cnijfilter2-source-6.30-1.tar.gz 2552657 BLAKE2B 8e63b827ccdd34806c27f45e9faf4970936e20fb8961a64f236f7df0fc8ef5d14f7b2c30e3806e14c8e5931d23922a94c67edbe13513f42b8adfc92179f07faf SHA512 1a3bb7a769961e1e3b6a8f1d01b5f1f4b6f982439ebb1be3fd5bcf8763cdd1afdfb3692daafd84a6c5a0c0e5a320e98a518d6f19d2567ba4b06f5e0b215d7f4e >diff --git a/net-print/cnijfilter2/cnijfilter2-6.30.ebuild b/net-print/cnijfilter2/cnijfilter2-6.30.ebuild >new file mode 100644 >index 000000000000..4d96b16fb271 >--- /dev/null >+++ b/net-print/cnijfilter2/cnijfilter2-6.30.ebuild >@@ -0,0 +1,78 @@ >+# 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://www.canon.co.uk/printers" >+SRC_URI="https://gdlp01.c-wss.com/gds/9/0100011319/01/${MY_P}.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.30-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 '')$(usex x86 _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.30-gentoo.patch b/net-print/cnijfilter2/files/cnijfilter2-6.30-gentoo.patch >new file mode 100644 >index 000000000000..29dfe4dc0793 >--- /dev/null >+++ b/net-print/cnijfilter2/files/cnijfilter2-6.30-gentoo.patch >@@ -0,0 +1,34 @@ >+--- 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 2018-01-14 19:25:48.823470121 +0100 >++++ b/cnijbe2/src/Makefile.am 2018-01-14 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 >+ >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 890250
: 847988