diff --git a/debian/bd_info.1 b/debian/bd_info.1 new file mode 100644 index 0000000..6e15528 --- /dev/null +++ b/debian/bd_info.1 @@ -0,0 +1,13 @@ +.TH BD_INFO 1 "February 2014" "libbluray 0.5.0" "User commands" +.SH NAME +bd_info \- show BD disc info +. +.SH SYNOPOSIS +.nf +bd_info \fIBD base dir\fR [\fIkey file\fR] +.fi +.SH DESCRIPTION +.sp +bd_info displays information about a Blu-ray disc. +.SH AUTHOR +This manpage was written by Sebastian Ramacher. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c4c7606 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libbluray (1:1.2.0-ok1) yangtze; urgency=medium + + * Build for openKylin. + + -- openKylinBot Mon, 25 Apr 2022 22:03:04 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a958ee3 --- /dev/null +++ b/debian/control @@ -0,0 +1,116 @@ +Source: libbluray +Section: libs +Priority: optional +Maintainer: Debian Multimedia Maintainers +Uploaders: + Rico Tzschichholz , + Reinhard Tartler , + Sebastian Ramacher +Build-Depends: debhelper-compat (= 12), + pkg-config, + default-jdk, + libfreetype-dev, + libfontconfig-dev, + libxml2-dev +Build-Depends-Indep: ant, + doxygen, + graphviz, + javahelper, + libasm-java +Standards-Version: 4.5.0 +Homepage: http://www.videolan.org/developers/libbluray.html +Vcs-Git: https://salsa.debian.org/multimedia-team/libbluray.git +Vcs-Browser: https://salsa.debian.org/multimedia-team/libbluray + +Package: libbluray-dev +Multi-Arch: same +Architecture: any +Section: libdevel +Depends: libbluray2 (= ${binary:Version}), + libfreetype-dev, + libfontconfig-dev, + libxml2-dev, + ${misc:Depends} +Description: Blu-ray disc playback support library (development files) + libbluray is an open-source library designed for Blu-Ray Discs playback for + media players, like VLC or MPlayer. This research project is developed by an + international team of developers from Doom9. libbluray integrates navigation, + playlist parsing, menus, and BD-J. + . + NB: Most commercial Blu-Ray are restricted by AACS or BD+ technologies and this + library is not enough to playback those discs. + . + This package provides the necessary files needed for development. + +Package: libbluray2 +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: libaacs0 +Suggests: libbluray-bdj +Description: Blu-ray disc playback support library (shared library) + libbluray is an open-source library designed for Blu-Ray Discs playback for + media players, like VLC or MPlayer. This research project is developed by an + international team of developers from Doom9. libbluray integrates navigation, + playlist parsing, menus, and BD-J. + . + NB: Most commercial Blu-Ray are restricted by AACS or BD+ technologies and this + library is not enough to playback those discs. + . + This package provides the shared library. + +Package: libbluray-bdj +Multi-Arch: foreign +Architecture: all +Depends: libbluray2 (>= ${source:Version}), + libbluray2 (<< ${source:Version}.1~), + default-jre-headless | java2-runtime-headless, + ${java:Depends}, + ${misc:Depends} +Description: Blu-ray Disc Java support library (BD-J library) + libbluray is an open-source library designed for Blu-Ray Discs playback for + media players, like VLC or MPlayer. This research project is developed by an + international team of developers from Doom9. libbluray integrates navigation, + playlist parsing, menus, and BD-J. + . + NB: Most commercial Blu-Ray are restricted by AACS or BD+ technologies and this + library is not enough to playback those discs. + . + BD-J support is important because many of the advanced features and extra + content in Blu-ray movies uses BD-J. Programs designed to provide support for + those features must depend on this. + . + This package provides the BD-J library. + +Package: libbluray-bin +Architecture: any +Section: utils +Depends: libbluray2 (= ${binary:Version}), + ${shlibs:Depends}, + ${misc:Depends} +Description: Blu-ray disc playback support library (tools) + libbluray is an open-source library designed for Blu-Ray Discs playback for + media players, like VLC or MPlayer. This research project is developed by an + international team of developers from Doom9. libbluray integrates navigation, + playlist parsing, menus, and BD-J. + . + NB: Most commercial Blu-Ray are restricted by AACS or BD+ technologies and this + library is not enough to playback those discs. + . + This package provides a simple tool to retrieve information about a Blu-ray. + +Package: libbluray-doc +Section: doc +Multi-Arch: foreign +Architecture: all +Depends: ${misc:Depends} +Description: Blu-ray disc playback support library (documentation) + libbluray is an open-source library designed for Blu-Ray Discs playback for + media players, like VLC or MPlayer. This research project is developed by an + international team of developers from Doom9. libbluray integrates navigation, + playlist parsing, menus, and BD-J. + . + NB: Most commercial Blu-Ray are restricted by AACS or BD+ technologies and this + library is not enough to playback those discs. + . + This package provides the libbluray documentation. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3e15896 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,437 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libbluray +Source: http://git.videolan.org/?p=libbluray.git + +Files: * +Copyright: 2009-2010, hpi1 + 2010, fraxinas + 2009-2010, John Stebbins + 2010, Joakim + 2009-2010, Obliter0n + 2010, William Hahne + 2003,2011-2014, the VideoLAN team + 2010-2017, Petri Hintukainen + 2012, Konstantin Pavlov +License: LGPL-2.1+ + +Files: contrib/libudfread/src/* +Copyright: 2014-2017, VLC authors and VideoLAN +License: LGPL-2.1+ + +Files: doxygen-include.am + m4/ax_prog_doxygen.m4 +Copyright: 2009, Oren Ben-Kiki +License: custom + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice + and this notice are preserved. + +Files: m4/attributes.m4 + m4/pkg.m4 + player_wrappers/* +Copyright: 2006-2007, Diego Pettenò + 2000-2007, xine project + 2009-2013, Petri Hintukainen + 2004, Scott James Remnant +License: GPL-2+ + +Files: contrib/asm/* +Copyright: 2000-2011 INRIA, France Telecom +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + THE POSSIBILITY OF SUCH DAMAGE. + +Files: jni/* +Copyright: 1993-1996 Netscape Communications Corporation and Sun Microsystems, Inc. +License: MPL-1.0 or GPL-2+ or LGPL-2.1+ + +Files: src/devtools/bdj_test.c +Copyright: 2010, William Hahne +License: GPL-2+ + +Files: debian/* +Copyright: 2010-2011, Andres Mejia + 2011, Rico Tzschichholz + 2013, Alessio Treglia + 2014-2017, Sebastian Ramacher +License: LGPL-2.1+ + +License: LGPL-2.1+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 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 Lesser General Public License for more details. + . + On Debian systems, the full text of the GNU Lesser General Public License + version 2.1 can be found in the file '/usr/share/common-licenses/LGPL-2.1'. + +License: GPL-2+ + 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. +Comment: You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + In addition, as a special exception, the copyright holders of libbluray + gives permission to link the code of its release of libbluray with the + OpenSSL project's "OpenSSL" library (or with modified versions of it + that use the same license as the "OpenSSL" library), and distribute + the linked executables. You must obey the GNU General Public License + in all respects for all of the code used other than "OpenSSL". If you + modify this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. + . + On Debian systems, the full text of the GNU General Public License + version 2 can be found in the file '/usr/share/common-licenses/GPL-2'. + +License: MPL-1.0 + Mozilla Public License Version 1.0 + . + 1. Definitions. + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the + Modifications made by that particular Contributor. + 1.3. "Covered Code" means the Original Code or Modifications or + the combination of the Original Code and Modifications, in each + case including portions thereof. + 1.4. "Electronic Distribution Mechanism" means a mechanism + generally accepted in the software development community for the + electronic transfer of data. + 1.5. "Executable" means Covered Code in any form other than Source + Code. + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by + Exhibit A. + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this + License. + 1.8. "License" means this document. + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, + a Modification is: + . + A. Any addition to or deletion from the contents of a file containing + Original Code or previous Modifications. + B. Any new file that contains any part of the Original Code or + previous Modifications. + . + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + . + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or a list of source + code differential comparisons against either the Original Code or + another well known, available Covered Code of the Contributor's + choice. The Source Code can be in a compressed or archival form, + provided the appropriate decompression or de-archiving software is + widely available for no charge. + . + 1.12. "You" means an individual or a legal entity exercising rights + under, and complying with all of the terms of, this License or a + future version of this License issued under Section 6.1. For legal + entities, "You" includes any entity which controls, is controlled by, + or is under common control with You. For purposes of this definition, + "control" means (a) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (b) ownership of fifty percent (50%) or more of the + outstanding shares or beneficial ownership of such entity. + 2. Source Code License. + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, + royalty-free, non-exclusive license, subject to third party + intellectual property claims: + . + (a) to use, reproduce, modify, display, perform, sublicense and + distribute the Original Code (or portions thereof) with or without + Modifications, or as part of a Larger Work; and + (b) under patents now or hereafter owned or controlled by Initial + Developer, to make, have made, use and sell ("Utilize") the + Original Code (or portions thereof), but solely to the extent that + any such patent is reasonably necessary to enable You to Utilize + the Original Code (or portions thereof) and not to any greater + extent that may be necessary to Utilize further Modifications or + combinations. + . + 2.2. Contributor Grant. + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) to use, reproduce, modify, display, perform, sublicense and + distribute the Modifications created by such Contributor (or + portions thereof) either on an unmodified basis, with other + Modifications, as Covered Code or as part of a Larger Work; and + (b) under patents now or hereafter owned or controlled by + Contributor, to Utilize the Contributor Version (or portions + thereof), but solely to the extent that any such patent is + reasonably necessary to enable You to Utilize the Contributor + Version (or portions thereof), and not to any greater extent that + may be necessary to Utilize further Modifications or combinations. + . + 3. Distribution Obligations. + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without + limitation Section 2.2. The Source Code version of Covered Code + may be distributed only under the terms of this License or a + future version of this License released under Section 6.1, and You + must include a copy of this License with every copy of the Source + Code You distribute. You may not offer or impose any terms on any + Source Code version that alters or restricts the applicable + version of this License or the recipients' rights hereunder. + However, You may include an additional document offering the + additional rights described in Section 3.5. + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must + be made available in Source Code form under the terms of this + License either on the same media as an Executable version or via + an accepted Electronic Distribution Mechanism to anyone to whom + you made an Executable version available; and if made available + via Electronic Distribution Mechanism, must remain available for + at least twelve (12) months after the date it initially became + available, or at least six (6) months after a subsequent version + of that particular Modification has been made available to such + recipients. You are responsible for ensuring that the Source Code + version remains available even if the Electronic Distribution + Mechanism is maintained by a third party. + 3.3. Description of Modifications. + You must cause all Covered Code to which you contribute to contain + a file documenting the changes You made to create that Covered + Code and the date of any change. You must include a prominent + statement that the Modification is derived, directly or + indirectly, from Original Code provided by the Initial Developer + and including the name of the Initial Developer in (a) the Source + Code, and (b) in any notice in an Executable version or related + documentation in which You describe the origin or ownership of the + Covered Code. + 3.4. Intellectual Property Matters + . + (a) Third Party Claims. + If You have knowledge that a party claims an intellectual property + right in particular functionality or code (or its utilization + under this License), you must include a text file with the source + code distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If you obtain such knowledge after You make + Your Modification available as described in Section 3.2, You shall + promptly modify the LEGAL file in all copies You make available + thereafter and shall take other steps (such as notifying + appropriate mailing lists or newsgroups) reasonably calculated to + inform those who received the Covered Code that new knowledge has + been obtained. + (b) Contributor APIs. + If Your Modification is an application programming interface and + You own or control patents which are reasonably necessary to + implement that API, you must also include this information in the + LEGAL file. + . + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code, and this License in any documentation for the Source Code, where + You describe recipients' rights relating to Covered Code. If You + created one or more Modification(s), You may add your name as a + Contributor to the notice described in Exhibit A. If it is not + possible to put such notice in a particular Source Code file due to + its structure, then you must include such notice in a location (such + as a relevant directory file) where a user would be likely to look for + such a notice. You may choose to offer, and to charge a fee for, + warranty, support, indemnity or liability obligations to one or more + recipients of Covered Code. However, You may do so only on Your own + behalf, and not on behalf of the Initial Developer or any Contributor. + You must make it absolutely clear than any such warranty, support, + indemnity or liability obligation is offered by You alone, and You + hereby agree to indemnify the Initial Developer and every Contributor + for any liability incurred by the Initial Developer or such + Contributor as a result of warranty, support, indemnity or liability + terms You offer. + . + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code under a license of Your choice, which may contain terms different + from this License, provided that You are in compliance with the terms + of this License and that the license for the Executable version does + not attempt to limit or alter the recipient's rights in the Source + Code version from the rights set forth in this License. If You + distribute the Executable version under a different license You must + make it absolutely clear that any terms which differ from this License + are offered by You alone, not by the Initial Developer or any + Contributor. You hereby agree to indemnify the Initial Developer and + every Contributor for any liability incurred by the Initial Developer + or such Contributor as a result of any such terms You offer. + . + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + 4. Inability to Comply Due to Statute or Regulation. + If it is impossible for You to comply with any of the terms of + this License with respect to some or all of the Covered Code due + to statute or regulation then You must: (a) comply with the terms + of this License to the maximum extent possible; and (b) describe + the limitations and the code they affect. Such description must be + included in the LEGAL file described in Section 3.4 and must be + included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must + be sufficiently detailed for a recipient of ordinary skill to be + able to understand it. + . + 5. Application of this License. + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A, and to related Covered Code. + . + 6. Versions of the License. + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish + revised and/or new versions of the License from time to time. Each + version will be given a distinguishing version number. + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of + the License, You may always continue to use it under the terms of + that version. You may also choose to use such Covered Code under + the terms of any subsequent version of the License published by + Netscape. No one other than Netscape has the right to modify the + terms applicable to Covered Code created under this License. + 6.3. Derivative Works. + If you create or use a modified version of this License (which you + may only do in order to apply it to code which is not already + Covered Code governed by this License), you must (a) rename Your + license so that the phrases "Mozilla", "MOZILLAPL", "MOZPL", + "Netscape", "NPL" or any confusingly similar phrase do not appear + anywhere in your license and (b) otherwise make it clear that your + version of the license contains terms which differ from the + Mozilla Public License and Netscape Public License. (Filling in + the name of the Initial Developer, Original Code or Contributor in + the notice described in Exhibit A shall not of themselves be + deemed to be modifications of this License.) + . + 7. DISCLAIMER OF WARRANTY. + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, + INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS + FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR + NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE + OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE + DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY + OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, + REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN + ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS + AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + . + 8. TERMINATION. + This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to + cure such breach within 30 days of becoming aware of the breach. + All sublicenses to the Covered Code which are properly granted + shall survive any termination of this License. Provisions which, + by their nature, must remain in effect beyond the termination of + this License shall survive. + . + 9. LIMITATION OF LIABILITY. + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED + CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR + ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR + CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT + LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER + FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR + LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE + POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL + NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM + SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS + SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR + LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT + EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + . + 10. U.S. GOVERNMENT END USERS. + The Covered Code is a "commercial item," as that term is defined in 48 + C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as + such terms are used in 48 C.F.R. 12.212 (Sept. 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 acquire Covered Code + with only those rights set forth herein. + . + 11. MISCELLANEOUS. + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed + by California law provisions (except to the extent applicable law, + if any, provides otherwise), excluding its conflict-of-law + provisions. With respect to disputes in which at least one party + is a citizen of, or an entity chartered or registered to do + business in, the United States of America: (a) unless otherwise + agreed in writing, all disputes relating to this License + (excepting any dispute relating to intellectual property rights) + shall be subject to final and binding arbitration, with the losing + party paying all costs of arbitration; (b) any arbitration + relating to this Agreement shall be held in Santa Clara County, + California, under the auspices of JAMS/EndDispute; and (c) any + litigation relating to this Agreement shall be subject to the + jurisdiction of the Federal Courts of the Northern District of + California, with venue lying in Santa Clara County, California, + with the losing party responsible for costs, including without + limitation, court costs and reasonable attorneys fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly + excluded. Any law or regulation which provides that the language + of a contract shall be construed against the drafter shall not + apply to this License. + . + 12. RESPONSIBILITY FOR CLAIMS. + Except in cases where another Contributor has failed to comply with + Section 3.4, You are responsible for damages arising, directly or + indirectly, out of Your utilization of rights under this License, + based on the number of copies of Covered Code you made available, + the revenues you received from utilizing such rights, and other + relevant factors. You agree to work with affected parties to + distribute responsibility on an equitable basis. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..4f24002 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +compression = bzip2 diff --git a/debian/libbluray-bdj.install b/debian/libbluray-bdj.install new file mode 100644 index 0000000..f1d0eef --- /dev/null +++ b/debian/libbluray-bdj.install @@ -0,0 +1 @@ +.libs/libbluray-*.jar usr/share/java diff --git a/debian/libbluray-bin.install b/debian/libbluray-bin.install new file mode 100644 index 0000000..a8f9146 --- /dev/null +++ b/debian/libbluray-bin.install @@ -0,0 +1 @@ +usr/bin/bd_info diff --git a/debian/libbluray-bin.manpages b/debian/libbluray-bin.manpages new file mode 100644 index 0000000..5f97a45 --- /dev/null +++ b/debian/libbluray-bin.manpages @@ -0,0 +1 @@ +debian/bd_info.1 diff --git a/debian/libbluray-dev.install b/debian/libbluray-dev.install new file mode 100644 index 0000000..3fda051 --- /dev/null +++ b/debian/libbluray-dev.install @@ -0,0 +1,4 @@ +usr/include +usr/lib/*/libbluray.so +usr/lib/*/libbluray.a +usr/lib/*/pkgconfig diff --git a/debian/libbluray-doc.doc-base b/debian/libbluray-doc.doc-base new file mode 100644 index 0000000..d137967 --- /dev/null +++ b/debian/libbluray-doc.doc-base @@ -0,0 +1,7 @@ +Document: libbluray-doc +Title: libbluray Documentation +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libbluray-dev/html/index.html +Files: /usr/share/doc/libbluray-dev/html/*.html diff --git a/debian/libbluray-doc.docs b/debian/libbluray-doc.docs new file mode 100644 index 0000000..da67876 --- /dev/null +++ b/debian/libbluray-doc.docs @@ -0,0 +1 @@ +doc/doxygen/html diff --git a/debian/libbluray-doc.examples b/debian/libbluray-doc.examples new file mode 100644 index 0000000..64bcc66 --- /dev/null +++ b/debian/libbluray-doc.examples @@ -0,0 +1 @@ +src/examples/*.c diff --git a/debian/libbluray2.install b/debian/libbluray2.install new file mode 100644 index 0000000..5b84f82 --- /dev/null +++ b/debian/libbluray2.install @@ -0,0 +1 @@ +usr/lib/*/libbluray.so.* diff --git a/debian/libbluray2.symbols b/debian/libbluray2.symbols new file mode 100644 index 0000000..ca10eec --- /dev/null +++ b/debian/libbluray2.symbols @@ -0,0 +1,77 @@ +libbluray.so.2 libbluray2 #MINVER# +* Build-Depends-Package: libbluray-dev + bd_chapter_pos@Base 1:0.2.2 + bd_close@Base 1:0.2.2 + bd_free_bdjo@Base 1:0.7.0 + bd_free_clpi@Base 1:0.2.2 + bd_free_mobj@Base 1:0.7.0 + bd_free_mpls@Base 1:0.6.0 + bd_free_title_info@Base 1:0.2.2 + bd_get_clpi@Base 1:0.2.2 + bd_get_current_angle@Base 1:0.2.2 + bd_get_current_chapter@Base 1:0.2.2 + bd_get_current_title@Base 1:0.2.2 + bd_get_debug_mask@Base 1:0.2.2 + bd_get_disc_info@Base 1:0.2.2 + bd_get_event@Base 1:0.2.2 + bd_get_main_title@Base 1:0.5.0 + bd_get_meta@Base 1:0.2.2 + bd_get_meta_file@Base 1:0.9.0 + bd_get_playlist_info@Base 1:0.2.2 + bd_get_sound_effect@Base 1:0.2.2 + bd_get_title_info@Base 1:0.2.2 + bd_get_title_size@Base 1:0.2.2 + bd_get_titles@Base 1:0.2.2 + bd_get_version@Base 1:0.2.2 + bd_gpr_read@Base 1:0.2.2 + bd_gpr_write@Base 1:0.2.2 + bd_init@Base 1:0.8.0 + bd_menu_call@Base 1:0.2.2 + bd_mouse_select@Base 1:0.2.2 + bd_open@Base 1:0.2.2 + bd_open_dir@Base 1:1.2.0 + bd_open_disc@Base 1:0.8.0 + bd_open_file_dec@Base 1:1.2.0 + bd_open_files@Base 1:0.9.3 + bd_open_stream@Base 1:0.8.0 + bd_play@Base 1:0.2.2 + bd_play_title@Base 1:0.2.2 + bd_psr_read@Base 1:0.2.2 + bd_psr_register_cb@Base 1:0.2.2 + bd_psr_unregister_cb@Base 1:0.2.2 + bd_psr_write@Base 1:0.2.2 + bd_read@Base 1:0.2.2 + bd_read_bdjo@Base 1:0.7.0 + bd_read_clpi@Base 1:0.4.0 + bd_read_ext@Base 1:0.2.2 + bd_read_file@Base 1:0.9.0 + bd_read_mobj@Base 1:0.7.0 + bd_read_mpls@Base 1:0.6.0 + bd_read_skip_still@Base 1:0.2.2 + bd_refcnt_dec@Base 1:0.4.0 + bd_refcnt_inc@Base 1:0.4.0 + bd_register_argb_overlay_proc@Base 1:0.3.0 + bd_register_dir@Base 1:0.2.2 + bd_register_file@Base 1:0.2.2 + bd_register_overlay_proc@Base 1:0.2.2 + bd_seamless_angle_change@Base 1:0.2.2 + bd_seek@Base 1:0.2.2 + bd_seek_chapter@Base 1:0.2.2 + bd_seek_mark@Base 1:0.2.2 + bd_seek_playitem@Base 1:0.3.0 + bd_seek_time@Base 1:0.2.2 + bd_select_angle@Base 1:0.2.2 + bd_select_playlist@Base 1:0.2.2 + bd_select_stream@Base 1:0.4.0 + bd_select_title@Base 1:0.2.2 + bd_set_debug_handler@Base 1:0.2.2 + bd_set_debug_mask@Base 1:0.2.2 + bd_set_player_setting@Base 1:0.2.2 + bd_set_player_setting_str@Base 1:0.2.2 + bd_set_rate@Base 1:1.0.0 + bd_set_scr@Base 1:0.3.0 + bd_start_bdj@Base 1:0.2.2 + bd_stop_bdj@Base 1:0.2.2 + bd_tell@Base 1:0.2.2 + bd_tell_time@Base 1:0.2.2 + bd_user_input@Base 1:0.4.0 diff --git a/debian/patches/0001-Do-not-download-image-from-the-web.patch b/debian/patches/0001-Do-not-download-image-from-the-web.patch new file mode 100644 index 0000000..2714e39 --- /dev/null +++ b/debian/patches/0001-Do-not-download-image-from-the-web.patch @@ -0,0 +1,20 @@ +From: Sebastian Ramacher +Date: Wed, 14 Jun 2017 19:32:24 +0200 +Subject: Do not download image from the web. + +--- + doc/doxygen-footer.html | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/doxygen-footer.html b/doc/doxygen-footer.html +index b45f295..11cbc77 100644 +--- a/doc/doxygen-footer.html ++++ b/doc/doxygen-footer.html +@@ -5,7 +5,6 @@ + + doxygen 1.7.1
+ Copyright © 2010 John Stebbins et al.
+- Creative Commons License
+ This documentation is licensed and distributed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
+ + diff --git a/debian/patches/0002-Use-system-asm-instead-of-embedded-copy.patch b/debian/patches/0002-Use-system-asm-instead-of-embedded-copy.patch new file mode 100644 index 0000000..54ad932 --- /dev/null +++ b/debian/patches/0002-Use-system-asm-instead-of-embedded-copy.patch @@ -0,0 +1,45 @@ +From: Sebastian Ramacher +Date: Wed, 14 Jun 2017 20:22:27 +0200 +Subject: Use system asm instead of embedded copy + +--- + src/libbluray/bdj/build.xml | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +diff --git a/src/libbluray/bdj/build.xml b/src/libbluray/bdj/build.xml +index 1753779..19163d1 100644 +--- a/src/libbluray/bdj/build.xml ++++ b/src/libbluray/bdj/build.xml +@@ -21,17 +21,15 @@ + + +- +- +- +- + + + ++ ++ ++ ++ + + + + + ++ ++ ++ ++ + + + diff --git a/debian/patches/0003-Disable-PDF-documentation.patch b/debian/patches/0003-Disable-PDF-documentation.patch new file mode 100644 index 0000000..3cc8218 --- /dev/null +++ b/debian/patches/0003-Disable-PDF-documentation.patch @@ -0,0 +1,38 @@ +From: Sebastian Ramacher +Date: Tue, 12 Feb 2019 15:28:59 +0100 +Subject: Disable PDF documentation + +Current doxygen and texlive fail with: + +| ! Missing } inserted. +| +| } +| l.495 \end{DoxyParams} +| +| ? +| ! Emergency stop. +| +| } +| l.495 \end{DoxyParams} +| +| ! ==> Fatal error occurred, no output PDF file produced! + +Until this is fixed in doxygen or texlive, disable generation of the PDF +documentation. +--- + doc/doxygen-config | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/doxygen-config b/doc/doxygen-config +index 98083a7..1d19da1 100644 +--- a/doc/doxygen-config ++++ b/doc/doxygen-config +@@ -1613,7 +1613,7 @@ EXTRA_SEARCH_MAPPINGS = + # If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output. + # The default value is: YES. + +-GENERATE_LATEX = YES ++GENERATE_LATEX = NO + + # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a + # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8681c76 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +0001-Do-not-download-image-from-the-web.patch +0002-Use-system-asm-instead-of-embedded-copy.patch +0003-Disable-PDF-documentation.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..923cda6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f + +confflags = --with-libxml2 +confflags += --with-freetype +confflags += --with-bdj-type=j2se + +confflags_java = --enable-bdjava-jar +confflags_nojava = --disable-bdjava-jar + +# Use default java implementation +export JDK_HOME=/usr/lib/jvm/default-java +ifeq (,$(wildcard $(JDK_HOME))) + $(info "warning: No suitable jni.h was found. Package will most probably FTBFS!") +endif + +ifneq (,$(wildcard /usr/share/javahelper/java-vars.mk)) +DH_ADDONS = --with javahelper +endif + +%: + dh $@ $(DH_ADDONS) + +override_dh_auto_configure: +ifneq (,$(findstring libbluray-bdj,$(shell dh_listpackages))) + dh_auto_configure -- $(confflags) $(confflags_java) +else + dh_auto_configure -- $(confflags) $(confflags_nojava) +endif + +override_dh_auto_build-indep: + # all-local builds the JAR + $(MAKE) doxygen-doc all-local + +# no test/install for indep +override_dh_auto_test-indep override_dh_auto_install-indep: + +override_dh_clean: + dh_clean + rm -rf src/libbluray/bdj/build diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..419c289 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://download.videolan.org/pub/videolan/libbluray/([\d][\d\.]+[a-z]?)/libbluray-([\d][\d\.]+[a-z]?)\.tar\.bz2