diff --git a/licenses/CANON b/licenses/CANON new file mode 100644 index 000000000..05809f1d8 --- /dev/null +++ b/licenses/CANON @@ -0,0 +1,601 @@ +SOFTWARE LICENSE AGREEMENT +FOR CANON'S OR ITS LICENSORS' SOFTWARE PROGRAMS + +IMPORTANT + +This is a legal agreement ("Agreement") between you and Canon Inc. ("Canon") +governing your use of Canon's or its licensors' software programs incorporated +in this Canon's product "Canon CAPT Printer Driver for Linux v1.80" ("Product"), +and which software programs are listed in Schedules 1 of Exhibit attached hereto. +Such Canon's or its licensors' software programs shall be referred to hereinafter +as the "Software." + +READ CAREFULLY AND UNDERSTAND ALL OF THE RIGHTS AND RESTRICTIONS DESCRIBED IN +THIS AGREEMENT BEFORE USING THE SOFTWARE. + +BY USING THE SOFTWARE AS DESCRIBED IN SECION 1 BELOW, YOU AGREE TO BE BOUND BY +THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS +AND CONDITIONS OF THIS AGREEMENT, DO NOT USE THE SOFWARE AND PROMPTLY RETURN +THE SAME TO THE PLACE WHERE YOU OBTAINED IT. + + +1.GRANT OF LICENSE + +Canon grants you a personal, limited and non-exclusive license to use ("use" as +used herein shall mean storing, loading, installing, accessing, executing or +displaying), have used, copy, have copied, distribute and permit third parties +to use and copy the Software only on the Product. You may modify the Software +only for your own use and reverse engineer the same for debugging such +modifications. You shall distribute the Software to any third party under the +same terms and conditions as contained herein. + +2.RESTRICTIONS + +Except as expressly granted or permitted herein, you shall not use, assign, +sublicense, sell, rent, lease, loan, convey or transfer to any third party +the Software. + +3.COPYRIGHT NOTICE + +You shall not modify, remove or delete any copyright notice of Canon or +its licensors contained in the Software, including any copy thereof. + +4.OWNERSHIP + +Canon and its licensors retain in all respects the title, ownership and +intellectual property rights in and to the Software. Except as expressly +provided herein, no license or right, express or implied, is hereby conveyed +or granted by Canon to you for any intellectual property of Canon and +its licensors. + +5.EXPORT RESTRICTION + +You agree to comply with all export laws and restrictions and regulations +of the country involved, and not to export or re-export, directly or +indirectly, the Software in violation of any such laws, restrictions and +regulations, or without all necessary approvals. + +6.NO WARRANTY AND DISCLAIMER OF INDEMNITY + +THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO +THE QUALITY, FUNCTION AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD +THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY +SERVICING, REPAIR OR CORRECTION. + +IN NO EVENT SHALL EITHER CANON, CANON'S SUBSIDIARIES OR AFFILIATES, THEIR +DISTRIBUTORS, DEALERS OR CANON'S LICENSORS BE LIABLE FOR ANY DAMAGES WHATSOEVER +(INCLUDING WITHOUT LIMITATION, LOSS OF BUSINESS PROFITS, LOSS OF BUSINESS +INFORMATION, BUSINESS INTERRUPTION OR OTHER COMPENSATORY, INCIDENTAL OR +CONSEQUENTIAL DAMAGES) ARISING OUT OF THE SOFTWARE, USE THEREOF OR INABILITY +TO USE THE SOFTWARE EVEN IF EITHER CANON, CANON'S SUBSIDIARIES OR AFFILIATES, +THEIR DISTRIBUTORS, DEALERS OR CANON'S LICENSORS HAVE BEEN ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES. + +TO THE FULL EXTENT PERMITTED BY APPLICABLE LAW, YOU HEREBY RELEASE CANON, +CANON'S SUBSIDIARIES AND AFFILIATES, THEIR DISTRIBUTORS, DEALERS AND CANON'S +LICENSORS FROM ANY AND ALL LIABILITY ARISING FROM OR RELATED TO ALL CLAIMS +CONCERNING THE SOFTWARE OR ITS USE. + +7.TERM + +This Agreement is effective upon your acceptance hereof by using the Software +and remains in effect until terminated. You may terminate this Agreement by +destroying the Software. + +Ca +non may terminate this Agreement if you fail to comply with any terms hereof. +Upon such termination of this Agreement, in addition to Canon enforcing its +respective legal rights, you must then promptly destroy the Software. + +Notwithstanding the foregoing, Sections 4, and 6 through 10 shall survive +any termination of this Agreement. + +8.U.S. GOVERNMENT RESTRICTED RIGHTS NOTICE + +The Software is "commercial items," as that term is defined at 48 C.F.R. 2.101 +(October 1995), consisting of "commercial computer software" as such terms are +used in 48 C.F.R. 12.212 (September 1995). Consistent with 48 C.F.R. 12.212 +and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government +End Users shall acquire the Software with only those rights set forth herein. +Manufacturer is Canon Inc./30-2, Shimomaruko 3-chome, Ohta-ku, Tokyo 146-8501, +Japan. + +9.SEVERABILITY + +In the event that any section hereof is declared or found to be illegal by any +court or tribunal of competent jurisdiction, such section shall be null and +void with respect to the jurisdiction of that court or tribunal and all the +remaining provisions hereof shall remain in full force and effect. + +10.ACKNOWLEDGEMENT + +YOU AGREE THAT THIS AGREEMENT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF +AGREEMENT BETWEEN YOU AND CANON CONCERNING THE SUBJECT MATTER HEREOF AND +SUPERSEDES ALL PROPOSALS OR PRIOR AGREEMENTS, VERBAL OR WRITTEN, AND ANY OTHER +COMMUNICATIONS BETWEEN YOU AND CANON RELATING TO THE SUBJECT MATTER HEREOF. + + +013133 + +IMPORTANT NOTICE FOR THE USE OF FREE SOFTWARE COMPONENTS BEING LICENSED UNDER +GNU GENERAL PUBLIC LICENSE + +This product "Canon CAPT Printer Driver for Linux v1.80" ("Product") of +Canon Inc. ("Canon") contains the free software components as listed in +Schedule 2 of Exhibit attached hereto, and which are licensed under GNU General +Public License version 2 published by the Free Software Foundation ("GPL"). + +Such free software components are free software; you can redistribute them +and/or modify them under the terms of GPL. + +Such components are distributed in the hope that they will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. You can find full text of GPL later within +this notice and see it for more details. + + +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to +share and change it. By contrast, the GNU General Public License is intended +to guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it +to your programs, too. + +When we speak of free software, we are referring to freedom, not price. +Our General Public Licenses are designed to make sure that you have the +freedom to distribute copies of free software (and charge for this service +if you wish), that you receive source code or can get it if you want it, that +you can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the software, or if you modify it. + +For example, if you distribute copies + of such a program, whether gratis or + for a fee, you must give the recipients all the rights that you have. You must + make sure that they, too, receive or can get the source code. And you must + show them these terms so they know their rights. + + We protect your rights with two steps: (1) copyright the software, and (2) + offer you this license which gives you legal permission to copy, distribute + and/or modify the software. + + Also, for each author's protection and ours, we want to make certain that + everyone understands that there is no warranty for this free software. If the + software is modified by someone else and passed on, we want its recipients to + know that what they have is not the original, so that any problems introduced + by others will not reflect on the original authors' reputations. + + Finally, any free program is threatened constantly by software patents. We wish + to avoid the danger that redistributors of a free program will individually + obtain patent licenses, in effect making the program proprietary. To prevent + this, we have made it clear that any patent must be licensed for everyone's + free use or not licensed at all. + + The precise terms and conditions for copying, distribution and modification + follow. + + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains a notice + placed by the copyright holder saying it may be distributed under the terms + of this General Public License. The "Program", below, refers to any such + program or work, and a "work based on the Program" means either the Program + or any derivative work under copyright law: that is to say, a work containing + the Program or a portion of it, either verbatim or with modifications and/or + translated into another language. (Hereinafter, translation is included without + limitation in the term "modification".) Each licensee is addressed as "you". + + Activities other than copying, distribution and modification are not covered + by this License; they are outside its scope. The act of running the Program + is not restricted, and the output from the Program is covered only if its + contents constitute a work based on the Program (independent of having been + made by running the Program). Whether that is true depends on what the Program + does. + + 1. You may copy and distribute verbatim copies of the Program's source code as + you receive it, in any medium, provided that you conspicuously and appropriately + publish on each copy an appropriate copyright notice and disclaimer of warranty; + keep intact all the notices that refer to this License and to the absence of any + warranty; and give any other recipients of the Program a copy of this License + along with the Program. + + You may charge a fee for the physical act of transferring a copy, and you may + at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion of it, + thus forming a work based on the Program, and copy and distribute such + modifications or work under the terms of Section 1 above, provided that + you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices stating that + you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of this + License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the most + ordinary way, to print or display an announcement including an appropriate + copyright notice and a notice that there is no warranty (or else, saying that + you provide a warranty) and that users may redistribute the program under these + con + ditions, and telling the user how to view a copy of this License. + (Exception: if the Program itself is interactive but does not normally print + such an announcement, your work based on the Program is not required to print + an announcement.) + + These requirements apply to the modified work as a whole. If identifiable + sections of that work are not derived from the Program, and can be reasonably + considered independent and separate works in themselves, then this License, + and its terms, do not apply to those sections when you distribute them as + separate works. But when you distribute the same sections as part of a whole + which is a work based on the Program, the distribution of the whole must be + on the terms of this License, whose permissions for other licensees extend to + the entire whole, and thus to each and every part regardless of who wrote it. + + Thus, it is not the intent of this section to claim rights or contest your + rights to work written entirely by you; rather, the intent is to exercise + the right to control the distribution of derivative or collective works based + on the Program. + + In addition, mere aggregation of another work not based on the Program with + the Program (or with a work based on the Program) on a volume of a storage or + distribution medium does not bring the other work under the scope of this + License. + + 3. You may copy and distribute the Program (or a work based on it, under + Section 2) in object code or executable form under the terms of Sections 1 + and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source code, + which must be distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to give + any third party, for a charge no more than your cost of physically performing + source distribution, a complete machine-readable copy of the corresponding + source code, to be distributed under the terms of Sections 1 and 2 above on + a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only for + noncommercial distribution and only if you received the program in object code + or executable form with such an offer, in accord with Subsection b above.) + + The source code for a work means the preferred form of the work for making + modifications to it. For an executable work, complete source code means all + the source code for all modules it contains, plus any associated interface + definition files, plus the scripts used to control compilation and + installation of the executable. However, as a special exception, the source + code distributed need not include anything that is normally distributed (in + either source or binary form) with the major components (compiler, kernel, and + so on) of the operating system on which the executable runs, unless that + component itself accompanies the executable. + + If distribution of executable or object code is made by offering access to + copy from a designated place, then offering equivalent access to copy the + source code from the same place counts as distribution of the source code, + even though third parties are not compelled to copy the source along with + the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program except as + expressly provided under this License. Any attempt otherwise to copy, modify, + sublicense or distribute the Program is void, and will automatically terminate + your rights under this License. However, parties who have received copies, or + rights, from you under this License will not have their licenses terminated + so long as such parties remain in full compliance. + + 5. You are not required to accept this License, since you have not + signed it. + However, nothing else grants you permission to modify or distribute the + Program or its derivative works. These actions are prohibited by law if you + do not accept this License. Therefore, by modifying or distributing the Program + (or any work based on the Program), you indicate your acceptance of this + License to do so, and all its terms and conditions for copying, distributing + or modifying the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the Program), + the recipient automatically receives a license from the original licensor to + copy, distribute or modify the Program subject to these terms and conditions. + You may not impose any further restrictions on the recipients' exercise of the + rights granted herein. You are not responsible for enforcing compliance by + third parties to this License. + + 7. If, as a consequence of a court judgment or allegation of patent + infringement or for any other reason (not limited to patent issues), + conditions are imposed on you (whether by court order, agreement or otherwise) + that contradict the conditions of this License, they do not excuse you from + the conditions of this License. If you cannot distribute so as to satisfy + simultaneously your obligations under this License and any other pertinent + obligations, then as a consequence you may not distribute the Program at all. + For example, if a patent license would not permit royalty-free redistribution + of the Program by all those who receive copies directly or indirectly through + you, then the only way you could satisfy both it and this License would be to + refrain entirely from distribution of the Program. + + If any portion of this section is held invalid or unenforceable under any + particular circumstance, the balance of the section is intended to apply and + the section as a whole is intended to apply in other circumstances. + + It is not the purpose of this section to induce you to infringe any patents + or other property right claims or to contest validity of any such claims; this + section has the sole purpose of protecting the integrity of the free software + distribution system, which is implemented by public license practices. Many + people have made generous contributions to the wide range of software + distributed through that system in reliance on consistent application of that + system; it is up to the author/donor to decide if he or she is willing to + distribute software through any other system and a licensee cannot impose + that choice. + + This section is intended to make thoroughly clear what is believed to be a + consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in certain + countries either by patents or by copyrighted interfaces, the original + copyright holder who places the Program under this License may add an explicit + geographical distribution limitation excluding those countries, so that + distribution is permitted only in or among countries not thus excluded. + In such case, this License incorporates the limitation as if written in the + body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions of + the General Public License from time to time. Such new versions will be + similar in spirit to the present version, but may differ in detail to address + new problems or concerns. + + Each version is given a distinguishing version number. If the Program + specifies a version number of this License which applies to it and "any later + version", you have the option of following the terms and conditions either of + that version or of any later version published by the Free Software Foundation. + If the Program does not specify a version number of this License, you may + choose any version ever published by the Free Software Foundation. + + 10. If you wish to incorporate parts of the Program into other free programs + whose distribution + conditions are different, write to the author to ask for + permission. For software which is copyrighted by the Free Software Foundation, + write to the Free Software Foundation; we sometimes make exceptions for this. + Our decision will be guided by the two goals of preserving the free status of + all derivatives of our free software and of promoting the sharing and reuse + of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR + THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE + STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE + THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND + PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, + YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR + REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, + INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING + OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO + LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR + THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), + EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF + SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest possible + use to the public, the best way to achieve this is to make it free software + which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest to attach + them to the start of each source file to most effectively convey the exclusion + of warranty; and each file should have at least the "copyright" line and a + pointer to where the full notice is found. + + one line to give the program's name and an idea of what it does. + Copyright (C) yyyy name of author + + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., 59 Temple + Place - Suite 330, Boston, MA 02111-1307, USA. + + Also add information on how to contact you by electronic and paper mail. + + If the program is interactive, make it output a short notice like this when + it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it under certain + conditions; type `show c' for details. + + The hypothetical commands `show w' and `show c' should show the appropriate + parts of the General Public License. Of course, the commands you use may be + called something other than `show w' and `show c'; they could even be + mouse-clicks or menu items--whatever suits your program. + + You should also get your employer (if you work as a programmer) or your school, + if any, to sign a "copyright disclaimer" for the program, if necessary. + Here is a sample; alter the names: + + Yoyody + ne, Inc., hereby disclaims all copyright + interest in the program `Gnomovision' (which makes passes at compilers) + written by James Hacker. + + signature of Ty Coon, 1 April 1989 + Ty Coon, President of Vice + + This General Public License does not permit incorporating your program into + proprietary programs. If your program is a subroutine library, you may + consider it more useful to permit linking proprietary applications with the + library. If this is what you want to do, use the GNU Library General Public + License instead of this License. + + + + IMPORTANT NOTICE FOR THE USE OF OTHER FREE SOFTWARE COMPONENTS + + The software components contained in this product "Canon CAPT Printer Driver + for Linux v1.80" which software components are listed in Schedule 3 of + Exhibit attached hereto are free software. + + Such component shall be deemed as the "Software" defined in the permission + notice below, and you can deal in such component under the terms of such + permission notice. + + + + Copyright (c) 2007 Canon Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + + + Exhibit to + SOFWTARE LICENSE AGREEMENT FOR CANON'S OR ITS LICENSORS' SOFWTARE PROGRAMS + + + Schedule 1 + + c3pldrv + cnpkmodule + libc3pl.so.0.0.1 + libcaepcm.so.1.0 + libcaiousb.so.1.0.0 + libcaiowrap.so.1.0.0 + libcnaccm.so.1.0 + libcnlbcm.so.1.0 + CANSRGBA.ICC + CNZ005.ICC + CNZ006.ICC + CNZ007.ICC + CNZ008.ICC + CNZ055.ICC + ccpd.conf + ccpd(daemon) + captdrv + captfilter + captmon + captmon2 + captmonlbp3300 + captmonlbp5000 + captmoncnab6 + captmoncnab7 + captmoncnab8 + captmoncnab9 + captmoncnaba + captmoncnac5 + captmoncnac6 + libcaiocaptnet.so.1.0.0 + libcaptfilter.so.1.0.0 + libcncaptnpm.so.1.0.7 + CNL760A.ICC + CNL760B.ICC + CNL810A.ICC + CNL810B.ICC + CNL820A.ICC + CNL820B.ICC + CnAC0999.DAT + CnAC2849.DAT + CnAC29A9.DAT + CnACB81B.DAT + CnACB848.DAT + CnACE8E8.DAT + CnACF0F1.DAT + CnAC_04A.DAT + CnAC_09A.DAT + CnAC_14A.DAT + ccpd(startup script for the daemon) + ccpdadmin + msgtablelbp3300.xml + msgtablelbp5000.xml + msgtablecnab6.xml + msgtablecnab7.xml + msgtablecnab8.xml + msgtablecnab9.xml + msgtablecnaba.xml + msgtablecnac5.xml + msgtablecnac6.xml + msgtable.xml + msgtable2.xml + CNAB1CL.BIN + CNAB7CL.BIN + CNAC4CL.BIN + CNAC5CL.BIN + CNAC6CL.BIN + cnab6cl.bin + + + Schedule 2 + + cngplp + cnjatool + cngplp.mo + ccp + pstocapt + pstocapt2 + pstocapt3 + captstatusui + captstatusui.mo + *.ppd + + + Schedule 3 + + buflist.h + buftool.h + cnpklib.h + libbuftool.a + libcnpk.la + libcnpk.so.1.0.0 + libcanoncapt.la + libcanoncapt.so.1.0.0 + libcanonc3pl.so.1.0.0 + + \ No newline at end of file diff --git a/net-print/cndrvcups-capt/Manifest b/net-print/cndrvcups-capt/Manifest new file mode 100644 index 000000000..e04fb7293 --- /dev/null +++ b/net-print/cndrvcups-capt/Manifest @@ -0,0 +1,5 @@ +AUX ccpd.conf 787 RMD160 b5068641f344cff8a16c160b4dc48fc469ce935c SHA1 df3e11de8f84b2f52057a2ed552146802d521630 SHA256 71f4ac3797d64c64b6db0bff9a40fb8f548e7e956bc4979e17d26fc4ef019cd1 +AUX cndrvcups-capt-init.d 658 RMD160 ff3118b872a07252b68576008949deb601417201 SHA1 3708529d6dce7507c33b8049429716f81b326354 SHA256 d682e2a266e8b03b2eda7d22dc7ff522c58f69b2262bb7b01b91e441fac6b362 +AUX libpopt.so.0.0.0 26868 RMD160 5c7930be17fbb74b98658229920fa427e5b06907 SHA1 4e579b7cfec2b8abf6bb9dcb0f5025ef70f1cddf SHA256 21bfbc1cfb7efeaef2e4c356e76ca745eca0916f57b9b006faee658d49259533 +DIST CAPT_Printer_Driver_for_Linux_V200_uk_EN.tar.gz 24605162 RMD160 1808f62dea97ab2df629dbce83e05b52636fb5f6 SHA1 443b9d7f89a567a6859c46d283360fb26aa9979d SHA256 8504ae9a2fe1f8413d9e6aa15fa34d4b289b514a7a2de13da8efb4ace9d541bb +EBUILD cndrvcups-capt-2.00-r2.ebuild 5150 RMD160 95ec9fdbdabd9c67d970ffc22de9c314cea6a78a SHA1 d845efd0caa37c6a13b50974fa33e10119173c4d SHA256 c6c66fca136e07d1843d430a4e197efb02f43fcb4e41322f675d937739403890 diff --git a/net-print/cndrvcups-capt/cndrvcups-capt-2.00-r2.ebuild b/net-print/cndrvcups-capt/cndrvcups-capt-2.00-r2.ebuild new file mode 100644 index 000000000..bd1ac0e16 --- /dev/null +++ b/net-print/cndrvcups-capt/cndrvcups-capt-2.00-r2.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit multilib eutils versionator +MY_PF=${PF/-r/-} +S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) +DESCRIPTION="Canon CUPS Capt driver" +HOMEPAGE="http://www.canon.com/" +SRC_URI="http://files.canon-europe.com/files/soft39340/software/CAPT_Printer_Driver_for_Linux_V200_uk_EN.tar.gz" +LICENSE="CANON" +RESTRICT="mirror" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +EAPI="2" + +DEPEND="=net-print/cndrvcups-common-2.00-r2 + >=net-print/cups-1.1.17" + +dir=/usr/$(get_libdir) + +QA_TEXTRELS="${dir:1}/libcaiocaptnet.so.1.0.0" + +RDEPEND="${DEPEND} + >=sys-apps/portage-2.1.1_pre1 + app-text/ghostscript-gpl + amd64? ( + >=app-emulation/emul-linux-x86-gtklibs-2.0 + >=app-emulation/emul-linux-x86-baselibs-10.0-r1 + ) + !amd64? ( + dev-libs/popt + dev-libs/libxml2 + )" + +src_unpack() { + unpack ${A} + unpack ./CAPT_Printer_Driver_for_Linux_V200_uk_EN/Src/${MY_PF}.tar.gz + cd ${S} + # Fix the cups backend path + for i in backend pstocapt{,2,3}/filter; do + sed -i -e 's@libdir@libexecdir@' "${i}/Makefile.am" + done +} + +src_configure() { + cd driver + NOCONFIGURE=1 ./autogen.sh + econf --disable-static + cd .. + for i in statusui backend pstocapt pstocapt{,2,3} ppd; do + cd ${i} + NOCONFIGURE=1 ./autogen.sh + econf + cd .. + done +} + +src_compile() { + for i in statusui driver backend pstocapt{,2,3} ppd; do + cd ${i} + emake + cd .. + done +} + +src_install() { + for i in statusui driver backend pstocapt{,2,3} ppd; do + cd ${i} + make install DESTDIR=${D} + cd .. + done + + if use amd64; then + OABI=${ABI} + ABI="x86" + insinto /usr/lib32 + i="libpopt.so.0.0.0" + [ ! -e ${FILESDIR}/${i} ] && die "You have to download libpopt.so.0.0.0 from http://bugs.gentoo.org/attachment.cgi?id=132734 and put it to ${FILESDIR} manually!" + dolib.so ${FILESDIR}/${i} + dosym ${i} /usr/lib32/${i%.?} + dosym ${i} /usr/lib32/${i%.?.?} + dosym ${i} /usr/lib32/${i%.?.?.?} + ABI=${OABI} + fi + + # Install the libs + OABI=${ABI} + has_multilib_profile && ABI="x86" + for i in $(cd libs; ls *.so.?.?.?; cd ..); do + dolib.so libs/${i} + dosym ${i} /usr/$(get_libdir)/${i%.?} + dosym ${i} /usr/$(get_libdir)/${i%.?.?} + dosym ${i} /usr/$(get_libdir)/${i%.?.?.?} + done + + # Install bin + dobin libs/captdrv \ + libs/captfilter \ + libs/captemon/captmoncnab6 \ + libs/captemon/captmoncnab7 \ + libs/captemon/captmoncnab8 \ + libs/captemon/captmoncnab9 \ + libs/captemon/captmoncnaba \ + libs/captemon/captmoncnac5 \ + libs/captemon/captmoncnac6 \ + libs/captemon/captmoncnac8 \ + libs/captemon/captmoncnac9 \ + libs/captemon/captmonlbp3300 \ + libs/captemon/captmonlbp5000 \ + libs/captemon/captmonlbp3300 \ + libs/captmon/captmon \ + libs/captmon2/captmon2 + + # Install sbin + dosbin libs/ccpd libs/ccpdadmin + + ABI=${OABI} + + # Install the data + insinto /usr/share/ccpd + doins libs/ccpddata/* + + insinto /usr/share/captmon + doins libs/captmon/msgtable.xml + + insinto /usr/share/captmon2 + doins libs/captmon2/msgtable2.xml + + insinto /usr/share/captemon + doins libs/captemon/*.xml + + insinto /usr/share/caepcm + doins data/CnA* libs/CnA* data/CNL* + + # Install doc + dodoc LICENSE* README* COPYING + + for i in statusui driver backend pstocapt{,2,3} ppd; do + docinto ${i} + dodoc ${i}/NEWS ${i}/README ${i}/AUTHORS ${i}/ChangeLog ${i}/LICENSE* + done + + + # Fix the fifos + dodir /var/ccpd + mkfifo -m 600 ${D}/var/ccpd/fifo0 + fowners lp:lp /var/ccpd/fifo0 + + # fix captmon + dodir /var/captmon + fowners lp:lp /var/captmon + keepdir /var/captmon + + # Install startupscripts + newinitd ${FILESDIR}/${PN}-init.d ccpd + + insinto /etc + doins samples/ccpd.conf +} + +pkg_postinst() { + einfo "To get your printer working you need to restart cupsd" + einfo + einfo "/etc/init.d/cupsd restart" + einfo + einfo "Now you can add your printer with either the webinterface or lpadmin" + einfo + einfo "/usr/sbin/lpadmin -p LBP3010 -m CNCUPSLBP3050CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E" + einfo + einfo "Replace 3050 with either on of the following printers:" + einfo "1120 1210 2900 3000 3050 3200 3210 3300 5000" + einfo + einfo "Now you must register the printer in ccpd, if connected with usb" + einfo + einfo "/usr/sbin/ccpdadmin -p LBP3010 -o /dev/usb/lp0" + einfo + einfo "Notice that you can't use LPT port with this driver." + einfo "If you have a network connection to your printer use -o net:" + einfo "instead of -o /dev/usb/lp0" + einfo "See manual for more information, guide-capt-1.3xE.tar.gz at " + einfo "http://software.canon-europe.com/software/0023675.asp" + einfo + einfo "Now you can go ahead and start the ccpd daemon" + einfo + einfo "/etc/init.d/ccpd start" + einfo + einfo "If you have more then one printer just create more fifos in" + einfo "/var/ccpd/ , increase the fifo number for more printers" + einfo + einfo "mkfifo -m 600 /var/ccpd/fifo1; chown lp:lp /var/ccpd/fifo1" + einfo + einfo + ewarn "If you reinstall make sure the fifo is created in /var/ccpd, if not" + ewarn "just reinstall again. This is due to bug #136199" + if use amd64; then + ewarn + ewarn "The file /usr/lib32/libpopt.so.0.0.0 doesn't exist in any x86 package yet" + ewarn "The file comes from a Gentoo x86 machine" + fi +} diff --git a/net-print/cndrvcups-capt/files/ccpd.conf b/net-print/cndrvcups-capt/files/ccpd.conf new file mode 100644 index 000000000..dd1b0a3ff --- /dev/null +++ b/net-print/cndrvcups-capt/files/ccpd.conf @@ -0,0 +1,31 @@ +# Canon Printer Daemon for CUPS Configuration Data + + +# CUPS configuration file path. +# Default /etc/cups/ + +CUPS_ConfigPath /etc/cups/ + +# Log directory path. +# LogDirectoryPath /var/log/CCPD/ + + + +# Printer entries. +# Mapping each "Printer Name" to each "Printer Device Port". +# The "Printer Name" has to be identical to the CUPS printer queue name. +# +# For example, if you prepare a printer named "LBP3200" as a CUPS printer +# queue name, and the printer is connected to the USB port "/dev/usb/lp0", +# you can use the following three lines example just by removing the +# comment symbol "#" of each line. +# +#DevicePath /dev/usb/lp0 +# + + +# Status monitoring socket port. +# Default 59787 +UI_Port 59787 +PDATA_Port 59687 + diff --git a/net-print/cndrvcups-capt/files/cndrvcups-capt-init.d b/net-print/cndrvcups-capt/files/cndrvcups-capt-init.d new file mode 100755 index 000000000..16390a3d5 --- /dev/null +++ b/net-print/cndrvcups-capt/files/cndrvcups-capt-init.d @@ -0,0 +1,30 @@ +#!/sbin/runscript +# +# ccpd startup script for Canon Printer Daemon for CUPS +# +# Modified for Debian GNU/Linux +# by Raphael Doursenaud . +# Modified for Gentoo GNU/Linux +# by NStorm, daks +DAEMON=/usr/sbin/ccpd +LOCKFILE=/var/lock/subsys/ccpd +NAME=ccpd +DESC="Canon Printer Daemon for CUPS" +test -f $DAEMON || exit 0 + +depend() { + need net + after cupsd +} + +start() { + ebegin "Starting $DESC: $NAME" + start-stop-daemon --start --quiet --exec $DAEMON + eend $? +} + +stop() { + ebegin "Stopping $DESC: $NAME" + start-stop-daemon --stop --quiet --oknodo --exec $DAEMON + eend $? +} diff --git a/net-print/cndrvcups-capt/files/libpopt.so.0.0.0 b/net-print/cndrvcups-capt/files/libpopt.so.0.0.0 new file mode 100644 index 000000000..bbc486356 Binary files /dev/null and b/net-print/cndrvcups-capt/files/libpopt.so.0.0.0 differ diff --git a/net-print/cndrvcups-common/ChangeLog b/net-print/cndrvcups-common/ChangeLog deleted file mode 100644 index f6fbfc2cd..000000000 --- a/net-print/cndrvcups-common/ChangeLog +++ /dev/null @@ -1,10 +0,0 @@ -# ChangeLog for net-print/cndrvcups-common -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*cndrvcups-common-2.00 (21 Dec 2010) - - 21 Dec 2010; Трацевский Александр - +cndrvcups-common-2.00.ebuild: - New package - diff --git a/net-print/cndrvcups-common/Manifest b/net-print/cndrvcups-common/Manifest index 0517e5fd0..9d79cc1c2 100644 --- a/net-print/cndrvcups-common/Manifest +++ b/net-print/cndrvcups-common/Manifest @@ -1,3 +1,2 @@ -DIST cndrvcups-common-2.00-2.tar.gz 1596085 RMD160 357fa038469ba2f6b1ecfe477c770b7594acdcb8 SHA1 7477c7e58593179691b83e306df9ebc6c8e9da77 SHA256 3a91ac994fc66f41f7374285c606a61c2f4dd9f1ef8c48820076bc9b3d815333 -EBUILD cndrvcups-common-2.00.ebuild 2244 RMD160 f6d1297255dfc7ac65028856b3b54c79476f5ae5 SHA1 5084a862a8a061fce2dbc28b61b404e90542783f SHA256 9373abac0eea1c7a945f203d8940320a82737fb85ee1e0554dcb385c2026ada8 -MISC ChangeLog 286 RMD160 d3b6aa962ec58cbe0e16611502129f7e26c47886 SHA1 d315f8528e4a81bb0372708f2d6d7f40afe25120 SHA256 b2ff5232c6a5470e02f7d8805ff22466785fe9f622a0a4d3a9d528e1ca614054 +DIST CAPT_Printer_Driver_for_Linux_V200_uk_EN.tar.gz 24605162 RMD160 1808f62dea97ab2df629dbce83e05b52636fb5f6 SHA1 443b9d7f89a567a6859c46d283360fb26aa9979d SHA256 8504ae9a2fe1f8413d9e6aa15fa34d4b289b514a7a2de13da8efb4ace9d541bb +EBUILD cndrvcups-common-2.00-r2.ebuild 2407 RMD160 ab3b50e532a74dd9cba66c2c9726325fe85a9915 SHA1 f7660fdb6e8f6fdb0c19d1033346b3c4fcf70f38 SHA256 8eee9343255211dcb5878a4a3fbd6ae7d335aebe7a7226179b3453bf9ba492d4 diff --git a/net-print/cndrvcups-common/cndrvcups-common-2.00.ebuild b/net-print/cndrvcups-common/cndrvcups-common-2.00-r2.ebuild similarity index 87% rename from net-print/cndrvcups-common/cndrvcups-common-2.00.ebuild rename to net-print/cndrvcups-common/cndrvcups-common-2.00-r2.ebuild index d42b3d639..96565c042 100644 --- a/net-print/cndrvcups-common/cndrvcups-common-2.00.ebuild +++ b/net-print/cndrvcups-common/cndrvcups-common-2.00-r2.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit multilib eutils rpm versionator -MY_P=${P/_p/-} +MY_PF=${PF/-r/-} DESCRIPTION="Common files for the Canon CUPS Capt driver" HOMEPAGE="http://www.canon.com/" -SRC_URI="ftp://ftp.calculate-linux.org/pub/calculate/cndrvcups/${MY_P}-2.tar.gz" +SRC_URI="http://files.canon-europe.com/files/soft39340/software/CAPT_Printer_Driver_for_Linux_V200_uk_EN.tar.gz" LICENSE="CANON" +RESTRICT="mirror" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="-cngplp" # enable or disable cngplp compilation, may cause build break on ~amd64, don't really know if cngplp is ever needed @@ -24,6 +25,13 @@ QA_TEXTRELS="${dir:1}/libcaepcm.so.1.0 ${dir:1}/libc3pl.so.0.0.1 ${dir:1}/libcnlbcm.so.1.0 ${dir:1}/libcaiousb.so.1.0.0" + +src_unpack() { + unpack ${A} + unpack ./CAPT_Printer_Driver_for_Linux_V200_uk_EN/Src/${MY_PF}.tar.gz + cd ${S} +} + src_configure(){ if hasuse cngplp; then CNGPLP="cngplp"; fi for i in buftool ${CNGPLP}; do @@ -88,4 +96,4 @@ src_install() { done docinto buftool dodoc buftool/LICENSE.txt -} +} \ No newline at end of file diff --git a/profiles/license_groups b/profiles/license_groups new file mode 100644 index 000000000..8e5adbad5 --- /dev/null +++ b/profiles/license_groups @@ -0,0 +1,2 @@ +EULA CANON +