Skip to content

Commit

Permalink
Add liblouis to third_party.
Browse files Browse the repository at this point in the history
liblouis is a braille translation library that is used inside the
ChromeVox extension, where it is included as a native client binary.

This adjust the lincense check scripts for the headers used in this library.

BUG=303795,316353

Review URL: https://codereview.chromium.org/35683004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234051 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
plundblad@chromium.org committed Nov 9, 2013
1 parent 0c5aa5a commit 2ea858d
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ v8.log
/third_party/libjingle/source
/third_party/libjingle/source_internal
/third_party/libjpeg_turbo
/third_party/liblouis/src
/third_party/libmtp/
/third_party/libphonenumber/libphonenumber.xml
/third_party/libphonenumber/libphonenumber_without_metadata.xml
Expand Down
5 changes: 5 additions & 0 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,11 @@ deps_os = {

"src/third_party/undoview":
"/trunk/deps/third_party/undoview@119694",

"src/third_party/liblouis/src":
Var("chromium_git") +
"/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",

},
"android": {
"src/third_party/android_tools":
Expand Down
4 changes: 2 additions & 2 deletions third_party/devscripts/licensecheck.pl
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ ($)
}

if ($licensetext =~ /version ([^, ]+?)[.,]? (?:or later|or any later version) (?:of the GNU (?:Lesser |Library )General Public License )(as )?published by the Free Software Foundation/i or
$licensetext =~ /GNU (?:Lesser |Library )General Public License (?:(?:as )?published by the Free Software Foundation;)?,? (?:either )?[Vv]ersion ([^, ]+?)(?: of the license)?[.,]? (?:or later|or (?:\(at your option\) )?any later version)/i or
$licensetext =~ /(?:GNU (?:Lesser |Library )|(?:Lesser|Library) GNU )General Public License (?:(?:as )?published by the Free Software Foundation;)?,? (?:either )?[Vv]ersion ([^, ]+?)(?: of the license)?[.,]? (?:or later|or (?:\(at your option\) )?any later version)/i or
$licensetext =~ /GNU (?:Lesser |Library )General Public License(?: \(LGPL\))?,? [Vv]ersion (\d+(?:\.\d+)?)[ \.]/) {
$lgplver = " (v$1 or later)";
}
Expand All @@ -458,7 +458,7 @@ ($)
}

if ($licensetext =~ /is (free software.? you can redistribute it and\/or modify it|licensed) under the terms of (version [^ ]+ of )?the (GNU (Library |Lesser )General Public License|LGPL)/i or
$licensetext =~ /(is distributed|may be used).*terms.*LGPL/) {
$licensetext =~ /(is distributed|may be used|can redistribute).*terms.*(LGPL|(Lesser|Library) GNU General Public License)/) {
if ($lgplver) {
$license = "LGPL$lgplver$extrainfo $license";
} else {
Expand Down
27 changes: 27 additions & 0 deletions third_party/liblouis/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
(Copied from liblouis/liblouis.h)

/* liblouis Braille Translation and Back-Translation Library

Based on the Linux screenreader BRLTTY, copyright (C) 1999-2006 by
The BRLTTY Team

Copyright (C) 2004, 2005, 2006, 2009 ViewPlus Technologies, Inc.
www.viewplus.com and JJB Software, Inc. www.jjb-software.com

liblouis 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 3 of the
License, or (at your option) any later version.

liblouis 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.

You should have received a copy of the GNU Lesser General Public
License along with this program. If not, see
<http://www.gnu.org/licenses/>.

Maintained by John J. Boyer john.boyer@abilitiessoft.com
*/

4 changes: 4 additions & 0 deletions third_party/liblouis/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
aboxhall@chromium.org
dmazzoni@chromium.org
dtseng@chromium.org
plundblad@chromium.org
18 changes: 18 additions & 0 deletions third_party/liblouis/README.chromium
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Name: Braille Translation Library
Short Name: liblouis
URL: http://liblouis.googlecode.com/svn/tags/liblouis_2_5_1
Version: 2.5.1
License: LGPL3
License File: LICENSE
Security Critical: yes

Description:
Liblouis is an open-source braille translator and back-translator. It
features support for computer and literary braille, and supports
contracted and uncontracted translation for many languages.

libloius is used in a native client binary in ChromeVox and not linked into
Chrome itself.

Local Modifications:
...

0 comments on commit 2ea858d

Please sign in to comment.