diff options
author | Johannes Schauer <josch@debian.org> | 2017-11-30 00:04:18 +0100 |
---|---|---|
committer | Johannes Schauer <josch@debian.org> | 2017-11-30 00:47:13 +0100 |
commit | ee78cbb84fcf3e4176a1cdc88d3a9b1a136a5fcf (patch) | |
tree | c20828e358e5a6fd41360188aac8c041afc1a6d9 | |
parent | 9cec41ca97b2ab51bedcc6f3c626be74d2fedb41 (diff) |
Add ionicons font to build ion.woff from source using fontforge for the "simple" theme
50 files changed, 787 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog index 84473f4..1a10390 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +searx (0.13.1+dfsg1-3) UNRELEASED; urgency=medium + + * Add ionicons font to build ion.woff from source using fontforge for the + "simple" theme (closes: #882847) + + -- Johannes Schauer <josch@debian.org> Wed, 29 Nov 2017 23:54:49 +0100 + searx (0.13.1+dfsg1-2) unstable; urgency=medium * Remove python3-ndg-httpsclient and python3-pyasn1 from Depends of diff --git a/debian/control b/debian/control index bf7c3f1..6253f86 100644 --- a/debian/control +++ b/debian/control @@ -12,6 +12,8 @@ Build-depends: python3-all, python3-babel, python3-setuptools, + python, + python-fontforge, X-Python3-Version: >= 3.2 Standards-Version: 4.1.1 Homepage: https://github.com/asciimoo/searx/ diff --git a/debian/copyright b/debian/copyright index 68dc628..5adff01 100644 --- a/debian/copyright +++ b/debian/copyright @@ -31,7 +31,6 @@ Files-Excluded: searx/static/themes/simple/js/searx.min.js.map searx/static/themes/simple/leaflet searx/static/themes/simple/less/ion.less - searx/static/themes/simple/magnet.svg searx/translations/*/LC_MESSAGES/messages.mo Files: * @@ -92,6 +91,12 @@ Copyright: License: AGPL-3+ Files: + searx/static/themes/simple/magnet.svg +Comment: https://thenounproject.com/term/magnet/5022/ +Copyright: Dmitry Baranovskiy from thenounproject.com +License: CC-BY-3.0 + +Files: searx/static/themes/simple/less/autocomplete.less searx/static/themes/simple/js/searx_src/autocomplete.js Copyright: 2017 Baptiste Donaux @@ -105,17 +110,6 @@ Files: searx/static/themes/simple/js/searx_src/searx_imageresult.js Copyright: Anh Trinh License: MIT -License: MIT - 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. - Files: debian/* Copyright: 2017 Johannes Schauer <josch@debian.org> License: Expat @@ -130,6 +124,30 @@ License: Expat The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +Files: debian/ionicons/svg-orig/* +Copyright: Benjamin J Sperry +Comment: https://github.com/ionic-team/ionicons/tree/master/src +License: MIT + +Files: debian/ionicons/generate.py +Copyright: + kaizau + Joshua Gross <josh@planetary.io> + Yifei Zhang + Artem Sapegin +License: MIT + +License: MIT + 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. + License: AGPL-3+ searx is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -805,3 +823,324 @@ License: AGPL-3+ school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>. + +License: CC-BY-3.0 + Creative Commons Legal Code + . + Attribution 3.0 Unported + . + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR + DAMAGES RESULTING FROM ITS USE. + . + License + . + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE + COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY + COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS + AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + . + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE + TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY + BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS + CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND + CONDITIONS. + . + 1. Definitions + . + a. "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and includes + cinematographic adaptations or any other form in which the Work may be + recast, transformed, or adapted including in any form recognizably + derived from the original, except that a work that constitutes a + Collection will not be considered an Adaptation for the purpose of + this License. For the avoidance of doubt, where the Work is a musical + work, performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. + b. "Collection" means a collection of literary or artistic works, such as + encyclopedias and anthologies, or performances, phonograms or + broadcasts, or other works or subject matter other than works listed + in Section 1(f) below, which, by reason of the selection and + arrangement of their contents, constitute intellectual creations, in + which the Work is included in its entirety in unmodified form along + with one or more other contributions, each constituting separate and + independent works in themselves, which together are assembled into a + collective whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined above) for the purposes of this + License. + c. "Distribute" means to make available to the public the original and + copies of the Work or Adaptation, as appropriate, through sale or + other transfer of ownership. + d. "Licensor" means the individual, individuals, entity or entities that + offer(s) the Work under the terms of this License. + e. "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work + or if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. + f. "Work" means the literary and/or artistic work offered under the terms + of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, + pamphlet and other writing; a lecture, address, sermon or other work + of the same nature; a dramatic or dramatico-musical work; a + choreographic work or entertainment in dumb show; a musical + composition with or without words; a cinematographic work to which are + assimilated works expressed by a process analogous to cinematography; + a work of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by + a variety or circus performer to the extent it is not otherwise + considered a literary or artistic work. + g. "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this License with + respect to the Work, or who has received express permission from the + Licensor to exercise rights under this License despite a previous + violation. + h. "Publicly Perform" means to perform public recitations of the Work and + to communicate to the public those public recitations, by any means or + process, including by wire or wireless means or public digital + performances; to make available to the public Works in such a way that + members of the public may access these Works from a place and at a + place individually chosen by them; to perform the Work to the public + by any means or process and the communication to the public of the + performances of the Work, including by public digital performance; to + broadcast and rebroadcast the Work by any means including signs, + sounds or images. + i. "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. + . + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, + limit, or restrict any uses free from copyright or rights arising from + limitations or exceptions that are provided for in connection with the + copyright protection under copyright law or other applicable laws. + . + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + . + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + b. to create and Reproduce Adaptations provided that any such Adaptation, + including any translation in any medium, takes reasonable steps to + clearly label, demarcate or otherwise identify that changes were made + to the original Work. For example, a translation could be marked "The + original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + c. to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, + d. to Distribute and Publicly Perform Adaptations. + e. For the avoidance of doubt: + . + i. Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor + reserves the exclusive right to collect such royalties for any + exercise by You of the rights granted under this License; + ii. Waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme can be waived, the Licensor waives the + exclusive right to collect such royalties for any exercise by You + of the rights granted under this License; and, + iii. Voluntary License Schemes. The Licensor waives the right to + collect royalties, whether individually or, in the event that the + Licensor is a member of a collecting society that administers + voluntary licensing schemes, via that society, from any exercise + by You of the rights granted under this License. + . + The above rights may be exercised in all media and formats whether now + known or hereafter devised. The above rights include the right to make + such modifications as are technically necessary to exercise the rights in + other media and formats. Subject to Section 8(f), all rights not expressly + granted by Licensor are hereby reserved. + . + 4. Restrictions. The license granted in Section 3 above is expressly made + subject to and limited by the following restrictions: + . + a. You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms + on the Work that restrict the terms of this License or the ability of + the recipient of the Work to exercise the rights granted to that + recipient under the terms of the License. You may not sublicense the + Work. You must keep intact all notices that refer to this License and + to the disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of the + Work from You to exercise the rights granted to that recipient under + the terms of the License. This Section 4(a) applies to the Work as + incorporated in a Collection, but this does not require the Collection + apart from the Work itself to be made subject to the terms of this + License. If You create a Collection, upon notice from any Licensor You + must, to the extent practicable, remove from the Collection any credit + as required by Section 4(b), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the extent + practicable, remove from the Adaptation any credit as required by + Section 4(b), as requested. + b. If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party + or parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party + or parties; (ii) the title of the Work if supplied; (iii) to the + extent reasonably practicable, the URI, if any, that Licensor + specifies to be associated with the Work, unless such URI does not + refer to the copyright notice or licensing information for the Work; + and (iv) , consistent with Section 3(b), in the case of an Adaptation, + a credit identifying the use of the Work in the Adaptation (e.g., + "French translation of the Work by Original Author," or "Screenplay + based on original Work by Original Author"). The credit required by + this Section 4 (b) may be implemented in any reasonable manner; + provided, however, that in the case of a Adaptation or Collection, at + a minimum such credit will appear, if a credit for all contributing + authors of the Adaptation or Collection appears, then as part of these + credits and in a manner at least as prominent as the credits for the + other contributing authors. For the avoidance of doubt, You may only + use the credit required by this Section for the purpose of attribution + in the manner set out above and, by exercising Your rights under this + License, You may not implicitly or explicitly assert or imply any + connection with, sponsorship or endorsement by the Original Author, + Licensor and/or Attribution Parties, as appropriate, of You or Your + use of the Work, without the separate, express prior written + permission of the Original Author, Licensor and/or Attribution + Parties. + c. Except as otherwise agreed in writing by the Licensor or as may be + otherwise permitted by applicable law, if You Reproduce, Distribute or + Publicly Perform the Work either by itself or as part of any + Adaptations or Collections, You must not distort, mutilate, modify or + take other derogatory action in relation to the Work which would be + prejudicial to the Original Author's honor or reputation. Licensor + agrees that in those jurisdictions (e.g. Japan), in which any exercise + of the right granted in Section 3(b) of this License (the right to + make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, + as appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your + right under Section 3(b) of this License (right to make Adaptations) + but not otherwise. + . + 5. Representations, Warranties and Disclaimer + . + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION + OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + . + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR + ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES + ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + . + 7. Termination + . + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. + b. Subject to the above terms and conditions, the license granted here is + perpetual (for the duration of the applicable copyright in the Work). + Notwithstanding the above, Licensor reserves the right to release the + Work under different license terms or to stop distributing the Work at + any time; provided, however that any such election will not serve to + withdraw this License (or any other license that has been, or is + required to be, granted under the terms of this License), and this + License will continue in full force and effect unless terminated as + stated above. + . + 8. Miscellaneous + . + a. Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + b. Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same + terms and conditions as the license granted to You under this License. + c. If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. + d. No term or provision of this License shall be deemed waived and no + breach consented to unless such waiver or consent shall be in writing + and signed by the party to be charged with such waiver or consent. + e. This License constitutes the entire agreement between the parties with + respect to the Work licensed here. There are no understandings, + agreements or representations with respect to the Work not specified + here. Licensor shall not be bound by any additional provisions that + may appear in any communication from You. This License may not be + modified without the mutual written agreement of the Licensor and You. + f. The rights granted under, and the subject matter referenced, in this + License were drafted utilizing the terminology of the Berne Convention + for the Protection of Literary and Artistic Works (as amended on + September 28, 1979), the Rome Convention of 1961, the WIPO Copyright + Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 + and the Universal Copyright Convention (as revised on July 24, 1971). + These rights and subject matter take effect in the relevant + jurisdiction in which the License terms are sought to be enforced + according to the corresponding provisions of the implementation of + those treaty provisions in the applicable national law. If the + standard suite of rights granted under applicable copyright law + includes additional rights not granted under this License, such + additional rights are deemed to be included in the License; this + License is not intended to restrict the license of any rights under + applicable law. + . + . + Creative Commons Notice + . + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + . + Except for the limited purpose of indicating to the public that the + Work is licensed under the CCPL, Creative Commons does not authorize + the use by either party of the trademark "Creative Commons" or any + related trademark or logo of Creative Commons without the prior + written consent of Creative Commons. Any permitted use will be in + compliance with Creative Commons' then-current trademark usage + guidelines, as may be published on its website or otherwise made + available upon request from time to time. For the avoidance of doubt, + this trademark restriction does not form part of this License. + . + Creative Commons may be contacted at https://creativecommons.org/. diff --git a/debian/ionicons/generate.py b/debian/ionicons/generate.py new file mode 100644 index 0000000..ffefdf0 --- /dev/null +++ b/debian/ionicons/generate.py @@ -0,0 +1,133 @@ +# Based on https://github.com/FontCustom/fontcustom/blob/master/lib/fontcustom/scripts/generate.py + +import fontforge +import os +import sys +import json +import re +from subprocess import call +from distutils.spawn import find_executable + +args = json.load(sys.stdin) + +f = fontforge.font() +f.encoding = 'UnicodeFull' +f.copyright = '' +f.design_size = 16 +f.em = args['fontHeight'] +f.descent = args['descent'] +f.ascent = args['fontHeight'] - args['descent'] +if args['version']: + f.version = args['version'] +if args['normalize']: + f.autoWidth(0, 0, args['fontHeight']) + +KERNING = 15 + + +def create_empty_char(f, c): + pen = f.createChar(ord(c), c).glyphPen() + pen.moveTo((0, 0)) + pen = None + + +if args['addLigatures']: + f.addLookup('liga', 'gsub_ligature', (), (('liga', (('latn', ('dflt')), )), )) + f.addLookupSubtable('liga', 'liga') + +for dirname, dirnames, filenames in os.walk(args['inputDir']): + for filename in sorted(filenames): + name, ext = os.path.splitext(filename) + filePath = os.path.join(dirname, filename) + size = os.path.getsize(filePath) + + if ext in ['.svg']: + # HACK: Remove <switch> </switch> tags + svgfile = open(filePath, 'r+') + svgtext = svgfile.read() + svgfile.seek(0) + + # Replace the <switch> </switch> tags with nothing + svgtext = svgtext.replace('<switch>', '') + svgtext = svgtext.replace('</switch>', '') + + if args['normalize']: + # Replace the width and the height + svgtext = re.sub(r'(<svg[^>]*)width="[^"]*"([^>]*>)', r'\1\2', svgtext) + svgtext = re.sub(r'(<svg[^>]*)height="[^"]*"([^>]*>)', r'\1\2', svgtext) + + # Remove all contents of file so that we can write out the new contents + svgfile.truncate() + svgfile.write(svgtext) + svgfile.close() + + cp = args['codepoints'][name] + + if args['addLigatures']: + name = str(name) # Convert Unicode to a regular string because addPosSub doesn't work with Unicode + for char in name: + create_empty_char(f, char) + glyph = f.createChar(cp, name) + glyph.addPosSub('liga', tuple(name)) + else: + glyph = f.createChar(cp, str(name)) + glyph.importOutlines(filePath) + + if args['normalize']: + glyph.left_side_bearing = glyph.right_side_bearing = 0 + else: + glyph.width = args['fontHeight'] + + if args['round']: + glyph.round(int(args['round'])) + +fontfile = args['dest'] + os.path.sep + args['fontFilename'] + +f.fontname = args['fontFilename'] +f.familyname = args['fontFamilyName'] +f.fullname = args['fontFamilyName'] + +if args['addLigatures']: + def generate(filename): + f.generate(filename, flags=('opentype')) +else: + def generate(filename): + f.generate(filename) + + +# TTF +generate(fontfile + '.ttf') + +# Hint the TTF file +# ttfautohint is optional +if (find_executable('ttfautohint') and args['autoHint']): + call('ttfautohint --symbol --fallback-script=latn --no-info "%(font)s.ttf" "%(font)s-hinted.ttf" && mv "%(font)s-hinted.ttf" "%(font)s.ttf"' % {'font': fontfile}, shell=True) + f = fontforge.open(fontfile + '.ttf') + +# SVG +if 'svg' in args['types']: + generate(fontfile + '.svg') + + # Fix SVG header for webkit (from: https://github.com/fontello/font-builder/blob/master/bin/fontconvert.py) + svgfile = open(fontfile + '.svg', 'r+') + svgtext = svgfile.read() + svgfile.seek(0) + svgfile.write(svgtext.replace('<svg>', '<svg xmlns="http://www.w3.org/2000/svg">')) + svgfile.close() + +scriptPath = os.path.dirname(os.path.realpath(__file__)) + +# WOFF +if 'woff' in args['types']: + generate(fontfile + '.woff') + +# EOT +if 'eot' in args['types']: + # eotlitetool.py script to generate IE7-compatible .eot fonts + call('python "%(path)s/../../bin/eotlitetool.py" "%(font)s.ttf" --output "%(font)s.eot"' % {'path': scriptPath, 'font': fontfile}, shell=True) + +# Delete TTF if not needed +if (not 'ttf' in args['types']) and (not 'woff2' in args['types']): + os.remove(fontfile + '.ttf') + +print(json.dumps({'file': fontfile})) diff --git a/debian/ionicons/input.json b/debian/ionicons/input.json new file mode 100644 index 0000000..698db92 --- /dev/null +++ b/debian/ionicons/input.json @@ -0,0 +1,37 @@ +{ + "types": ["woff", "ttf"], + "fontFamilyName": "ion", + "fontFilename": "ion", + "dest": "./debian/ionicons", + "round": 10e12, + "codepoints": { + "navicon-round": 61697, + "search": 61698, + "play": 61699, + "link": 61700, + "chevron-up": 61701, + "chevron-left": 61702, + "chevron-right": 61703, + "arrow-down-a": 61704, + "arrow-up-a": 61705, + "arrow-swap": 61706, + "telephone": 61707, + "arrow-dropdown": 61708, + "globe": 61709, + "time": 61710, + "location": 61711, + "warning": 61712, + "error": 61713, + "film-outline": 61714, + "music-note": 61715, + "close": 61716, + "more-vertical": 61717, + "magnet": 61718 + }, + "addLigatures": false, + "normalize": false, + "version": false, + "descent": 64, + "fontHeight": 512, + "inputDir": "./debian/ionicons/svg-renamed" +} diff --git a/debian/ionicons/svg-orig/alert-circled.svg b/debian/ionicons/svg-orig/alert-circled.svg new file mode 100644 index 0000000..89d1143 --- /dev/null +++ b/debian/ionicons/svg-orig/alert-circled.svg @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<g>
+ <path d="M476.7,422.2L270.1,72.7c-2.9-5-8.3-8.7-14.1-8.7c-5.9,0-11.3,3.7-14.1,8.7L35.3,422.2c-2.8,5-4.8,13-1.9,17.9
+ c2.9,4.9,8.2,7.9,14,7.9h417.1c5.8,0,11.1-3,14-7.9C481.5,435.2,479.5,427.1,476.7,422.2z M288,400h-64v-48h64V400z M288,320h-64
+ V176h64V320z"/>
+</g>
+</svg>
diff --git a/debian/ionicons/svg-orig/android-alert.svg b/debian/ionicons/svg-orig/android-alert.svg new file mode 100644 index 0000000..1eb63d6 --- /dev/null +++ b/debian/ionicons/svg-orig/android-alert.svg @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
+<g id="Icon_30_">
+ <g>
+ <path d="M256,48C141.6,48,48,141.601,48,256s93.6,208,208,208c114.4,0,208-93.601,208-208S370.4,48,256,48z M280,360h-48v-40h48
+ V360z M280,272h-48V144h48V272z"/>
+ </g>
+</g>
+</svg>
diff --git a/debian/ionicons/svg-orig/android-arrow-dropdown.svg b/debian/ionicons/svg-orig/android-arrow-dropdown.svg new file mode 100644 index 0000000..d46e962 --- /dev/null +++ b/debian/ionicons/svg-orig/android-arrow-dropdown.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
+<g>
+ <polygon points="128,192 256,320 384,192 "/>
+</g>
+</svg>
diff --git a/debian/ionicons/svg-orig/android-globe.svg b/debian/ionicons/svg-orig/android-globe.svg new file mode 100644 index 0000000..677b2ac --- /dev/null +++ b/debian/ionicons/svg-orig/android-globe.svg @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
+<path d="M256,48C141.124,48,48,141.125,48,256c0,114.875,93.124,208,208,208c114.875,0,208-93.125,208-208
+ C464,141.125,370.875,48,256,48z M234.451,432.999c-39.464-4.726-75.978-22.392-104.519-50.932
+ C96.258,348.393,77.714,303.622,77.714,256c0-42.87,15.036-83.424,42.601-115.659c0.71,8.517,2.463,17.648,2.014,24.175
+ c-1.64,23.795-3.988,38.687,9.94,58.762c5.426,7.819,6.759,19.028,9.4,28.078c2.583,8.854,12.902,13.498,20.019,18.953
+ c14.359,11.009,28.096,23.805,43.322,33.494c10.049,6.395,16.326,9.576,13.383,21.839c-2.367,9.862-3.028,15.937-8.13,24.723
+ c-1.557,2.681,5.877,19.918,8.351,22.392c7.498,7.497,14.938,14.375,23.111,21.125C254.396,404.351,240.494,417.954,234.451,432.999
+ z M382.067,382.067c-25.633,25.633-57.699,42.486-92.556,49.081c4.94-12.216,13.736-23.07,21.895-29.362
+ c7.097-5.476,15.986-16.009,19.693-24.352c3.704-8.332,8.611-15.555,13.577-23.217c7.065-10.899-17.419-27.336-25.353-30.781
+ c-17.854-7.751-31.294-18.21-47.161-29.375c-11.305-7.954-34.257,4.154-47.02-1.417c-17.481-7.633-31.883-20.896-47.078-32.339
+ c-15.68-11.809-14.922-25.576-14.922-42.997c12.282,0.453,29.754-3.399,37.908,6.478c2.573,3.117,11.42,17.042,17.342,12.094
+ c4.838-4.043-3.585-20.249-5.212-24.059c-5.005-11.715,11.404-16.284,19.803-24.228c10.96-10.364,34.47-26.618,32.612-34.047
+ s-23.524-28.477-36.249-25.193c-1.907,0.492-18.697,18.097-21.941,20.859c0.086-5.746,0.172-11.491,0.26-17.237
+ c0.055-3.628-6.768-7.352-6.451-9.692c0.8-5.914,17.262-16.647,21.357-21.357c-2.869-1.793-12.659-10.202-15.622-8.968
+ c-7.174,2.99-15.276,5.05-22.45,8.039c0-2.488-0.302-4.825-0.662-7.133c14.376-6.365,29.587-10.791,45.31-13.152l14.084,5.66
+ l9.944,11.801l9.924,10.233l8.675,2.795l13.779-12.995L282,87.929v-8.339c27.25,3.958,52.984,14.124,75.522,29.8
+ c-4.032,0.361-8.463,0.954-13.462,1.59c-2.065-1.22-4.714-1.774-6.965-2.623c6.531,14.042,13.343,27.89,20.264,41.746
+ c7.393,14.801,23.793,30.677,26.673,46.301c3.394,18.416,1.039,35.144,2.896,56.811c1.788,20.865,23.524,44.572,23.524,44.572
+ s10.037,3.419,18.384,2.228C421.055,330.798,405.103,359.029,382.067,382.067z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/android-more-vertical.svg b/debian/ionicons/svg-orig/android-more-vertical.svg new file mode 100644 index 0000000..c1a71c8 --- /dev/null +++ b/debian/ionicons/svg-orig/android-more-vertical.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
+<path d="M296,136c0-22.002-17.998-40-40-40s-40,17.998-40,40s17.998,40,40,40S296,158.002,296,136z M296,376
+ c0-22.002-17.998-40-40-40s-40,17.998-40,40s17.998,40,40,40S296,398.002,296,376z M296,256c0-22.002-17.998-40-40-40
+ s-40,17.998-40,40s17.998,40,40,40S296,278.002,296,256z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/android-time.svg b/debian/ionicons/svg-orig/android-time.svg new file mode 100644 index 0000000..f81f46e --- /dev/null +++ b/debian/ionicons/svg-orig/android-time.svg @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
+<g id="Icon_1_">
+ <g>
+ <g>
+ <path fill-opacity="0.9" d="M256,43C137.789,43,43,138.851,43,256s94.789,213,213,213s213-95.851,213-213S373.149,43,256,43z
+ M256,426.4c-93.718,0-170.4-76.683-170.4-170.4S162.282,85.6,256,85.6S426.4,162.282,426.4,256S349.718,426.4,256,426.4z"/>
+ </g>
+ <polygon fill-opacity="0.9" points="266.65,149.5 234.7,149.5 234.7,277.3 346.525,344.393 362.5,317.768 266.65,261.324 "/>
+ </g>
+</g>
+</svg>
diff --git a/debian/ionicons/svg-orig/arrow-down-a.svg b/debian/ionicons/svg-orig/arrow-down-a.svg new file mode 100644 index 0000000..4668ad1 --- /dev/null +++ b/debian/ionicons/svg-orig/arrow-down-a.svg @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<polygon points="256.5,448.5 448.5,256.5 336.5,256.5 336.5,64.5 176.5,64.5 176.5,256.5 64.5,256.5 "/>
+</svg>
diff --git a/debian/ionicons/svg-orig/arrow-swap.svg b/debian/ionicons/svg-orig/arrow-swap.svg new file mode 100644 index 0000000..50740f7 --- /dev/null +++ b/debian/ionicons/svg-orig/arrow-swap.svg @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<g>
+ <path d="M64,328v48c0,4.4,3.6,8,8,8h248v64l128-96l-128-96v64H72C67.6,320,64,323.6,64,328z"/>
+ <path d="M448,184v-48c0-4.4-3.6-8-8-8H192V64L64,160l128,96v-64h248C444.4,192,448,188.4,448,184z"/>
+</g>
+</svg>
diff --git a/debian/ionicons/svg-orig/arrow-up-a.svg b/debian/ionicons/svg-orig/arrow-up-a.svg new file mode 100644 index 0000000..e333a38 --- /dev/null +++ b/debian/ionicons/svg-orig/arrow-up-a.svg @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<polygon points="256.5,64.5 64.5,256.5 176.5,256.5 176.5,448.5 336.5,448.5 336.5,256.5 448.5,256.5 "/>
+</svg>
diff --git a/debian/ionicons/svg-orig/chevron-left.svg b/debian/ionicons/svg-orig/chevron-left.svg new file mode 100644 index 0000000..556425e --- /dev/null +++ b/debian/ionicons/svg-orig/chevron-left.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<path d="M213.7,256L213.7,256L213.7,256L380.9,81.9c4.2-4.3,4.1-11.4-0.2-15.8l-29.9-30.6c-4.3-4.4-11.3-4.5-15.5-0.2L131.1,247.9
+ c-2.2,2.2-3.2,5.2-3,8.1c-0.1,3,0.9,5.9,3,8.1l204.2,212.7c4.2,4.3,11.2,4.2,15.5-0.2l29.9-30.6c4.3-4.4,4.4-11.5,0.2-15.8
+ L213.7,256z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/chevron-right.svg b/debian/ionicons/svg-orig/chevron-right.svg new file mode 100644 index 0000000..7ac591a --- /dev/null +++ b/debian/ionicons/svg-orig/chevron-right.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<path d="M298.3,256L298.3,256L298.3,256L131.1,81.9c-4.2-4.3-4.1-11.4,0.2-15.8l29.9-30.6c4.3-4.4,11.3-4.5,15.5-0.2l204.2,212.7
+ c2.2,2.2,3.2,5.2,3,8.1c0.1,3-0.9,5.9-3,8.1L176.7,476.8c-4.2,4.3-11.2,4.2-15.5-0.2L131.3,446c-4.3-4.4-4.4-11.5-0.2-15.8
+ L298.3,256z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/chevron-up.svg b/debian/ionicons/svg-orig/chevron-up.svg new file mode 100644 index 0000000..34355f3 --- /dev/null +++ b/debian/ionicons/svg-orig/chevron-up.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<path d="M256,213.7L256,213.7L256,213.7l174.2,167.2c4.3,4.2,11.4,4.1,15.8-0.2l30.6-29.9c4.4-4.3,4.5-11.3,0.2-15.5L264.1,131.1
+ c-2.2-2.2-5.2-3.2-8.1-3c-3-0.1-5.9,0.9-8.1,3L35.2,335.3c-4.3,4.2-4.2,11.2,0.2,15.5L66,380.7c4.4,4.3,11.5,4.4,15.8,0.2L256,213.7
+ z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/close-round.svg b/debian/ionicons/svg-orig/close-round.svg new file mode 100644 index 0000000..d8b5554 --- /dev/null +++ b/debian/ionicons/svg-orig/close-round.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<path d="M437.5,386.6L306.9,256l130.6-130.6c14.1-14.1,14.1-36.8,0-50.9c-14.1-14.1-36.8-14.1-50.9,0L256,205.1L125.4,74.5
+ c-14.1-14.1-36.8-14.1-50.9,0c-14.1,14.1-14.1,36.8,0,50.9L205.1,256L74.5,386.6c-14.1,14.1-14.1,36.8,0,50.9
+ c14.1,14.1,36.8,14.1,50.9,0L256,306.9l130.6,130.6c14.1,14.1,36.8,14.1,50.9,0C451.5,423.4,451.5,400.6,437.5,386.6z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/ios-film-outline.svg b/debian/ionicons/svg-orig/ios-film-outline.svg new file mode 100644 index 0000000..cc7b723 --- /dev/null +++ b/debian/ionicons/svg-orig/ios-film-outline.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
+<path d="M56,88v336h400V88H56z M128,408H72v-48h56V408z M128,344H72v-48h56V344z M128,280H72v-48h56V280z M128,216H72v-48h56V216z
+ M128,152H72v-48h56V152z M368,408H144V264h224V408z M368,248H144V104h224V248z M440,408h-56v-48h56V408z M440,344h-56v-48h56V344z
+ M440,280h-56v-48h56V280z M440,216h-56v-48h56V216z M440,152h-56v-48h56V152z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/ios-telephone.svg b/debian/ionicons/svg-orig/ios-telephone.svg new file mode 100644 index 0000000..ff1beb6 --- /dev/null +++ b/debian/ionicons/svg-orig/ios-telephone.svg @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<path d="M415.9,335.5c-14.6-15-56.1-43.1-83.3-43.1c-6.3,0-11.8,1.4-16.3,4.3c-13.3,8.5-23.9,15.1-29,15.1c-2.8,0-5.8-2.5-12.4-8.2
+ l-1.1-1c-18.3-15.9-22.2-20-29.3-27.4l-1.8-1.9c-1.3-1.3-2.4-2.5-3.5-3.6c-6.2-6.4-10.7-11-26.6-29l-0.7-0.8
+ c-7.6-8.6-12.6-14.2-12.9-18.3c-0.3-4,3.2-10.5,12.1-22.6c10.8-14.6,11.2-32.6,1.3-53.5c-7.9-16.5-20.8-32.3-32.2-46.2l-1-1.2
+ c-9.8-12-21.2-18-33.9-18c-14.1,0-25.8,7.6-32,11.6c-0.5,0.3-1,0.7-1.5,1c-13.9,8.8-24,20.9-27.8,33.2c-5.7,18.5-9.5,42.5,17.8,92.4
+ c23.6,43.2,45,72.2,79,107.1c32,32.8,46.2,43.4,78,66.4c35.4,25.6,69.4,40.3,93.2,40.3c22.1,0,39.5,0,64.3-29.9
+ C442.3,370.8,431.5,351.6,415.9,335.5z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/link.svg b/debian/ionicons/svg-orig/link.svg new file mode 100644 index 0000000..791b0d7 --- /dev/null +++ b/debian/ionicons/svg-orig/link.svg @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<g>
+ <path d="M256.5,208H256v0C256.2,208,256.3,208,256.5,208z"/>
+ <path d="M368.5,160H320c0,0,26,17,31.6,48H368h0.5c17.6,0,31.5,13.9,31.5,31.5v32c0,17.6-13.9,32.5-31.5,32.5h-112
+ c-17.6,0-32.5-14.9-32.5-32.5V240h-48v31.5c0,11.5,2.5,22.5,6.9,32.5c12.6,28.2,40.9,48,73.6,48h112c44.2,0,79.5-36.3,79.5-80.5
+ v-32C448,195.3,412.7,160,368.5,160z"/>
+ <path d="M329.6,208c-12.1-28.3-40.1-48-73.1-48h-112c-44.2,0-80.5,35.3-80.5,79.5v32c0,44.2,36.3,80.5,80.5,80.5H192
+ c0,0-25.8-17-32.1-48h-15.4c-17.6,0-32.5-14.9-32.5-32.5v-32c0-17.6,14.9-31.5,32.5-31.5H256h0.5c17.6,0,31.5,13.9,31.5,31.5v32
+ c0,0.2,0,0.3,0,0.5h48c0-0.2,0-0.3,0-0.5v-32C336,228.3,333.7,217.6,329.6,208z"/>
+</g>
+</svg>
diff --git a/debian/ionicons/svg-orig/location.svg b/debian/ionicons/svg-orig/location.svg new file mode 100644 index 0000000..1b95b73 --- /dev/null +++ b/debian/ionicons/svg-orig/location.svg @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<g>
+ <path d="M256,64c-65.9,0-119.3,53.7-119.3,120c0,114.6,119.3,264,119.3,264s119.3-149.4,119.3-264C375.3,117.7,321.9,64,256,64z
+ M256,242.2c-31.2,0-56.4-25.4-56.4-56.7c0-31.3,25.3-56.8,56.4-56.8c31.2,0,56.4,25.4,56.4,56.8
+ C312.4,216.8,287.2,242.2,256,242.2z"/>
+</g>
+</svg>
diff --git a/debian/ionicons/svg-orig/music-note.svg b/debian/ionicons/svg-orig/music-note.svg new file mode 100644 index 0000000..61f2548 --- /dev/null +++ b/debian/ionicons/svg-orig/music-note.svg @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<path d="M426,32.1c-2.2,0-5.1,0.6-5.1,0.6L203.3,65.9C189.5,69.6,177,83,176,97.5V384h-61v-0.1c-28,0-51.1,20-51.1,48
+ s23.1,48,51.3,48h36.2c15.3,0,28.9-6.9,38.3-17.5c0.1-0.1,0.3-0.1,0.4-0.2c0.6-0.6,1-1.5,1.5-2.1c1.3-1.6,2.4-3.2,3.4-5
+ C204.6,441,208,422.3,208,414V182l208-38c0,0,0,136,0,192h-60.5c-28.3,0-51.2,19.9-51.2,48s22.9,48,51.2,48h37.2
+ c18.2,0,34.1-6,43.2-21c0,0,0.1,0,0.2,0c9-12,12-30.2,12-54.9c0-24.8,0-302.8,0-302.8C448,41.6,438.1,32.1,426,32.1z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/navicon-round.svg b/debian/ionicons/svg-orig/navicon-round.svg new file mode 100644 index 0000000..586a410 --- /dev/null +++ b/debian/ionicons/svg-orig/navicon-round.svg @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<g>
+ <path d="M417.4,224H94.6C77.7,224,64,238.3,64,256c0,17.7,13.7,32,30.6,32h322.8c16.9,0,30.6-14.3,30.6-32
+ C448,238.3,434.3,224,417.4,224z"/>
+ <path d="M417.4,96H94.6C77.7,96,64,110.3,64,128c0,17.7,13.7,32,30.6,32h322.8c16.9,0,30.6-14.3,30.6-32
+ C448,110.3,434.3,96,417.4,96z"/>
+ <path d="M417.4,352H94.6C77.7,352,64,366.3,64,384c0,17.7,13.7,32,30.6,32h322.8c16.9,0,30.6-14.3,30.6-32
+ C448,366.3,434.3,352,417.4,352z"/>
+</g>
+</svg>
diff --git a/debian/ionicons/svg-orig/play.svg b/debian/ionicons/svg-orig/play.svg new file mode 100644 index 0000000..2b53155 --- /dev/null +++ b/debian/ionicons/svg-orig/play.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<path d="M405.2,232.9L126.8,67.2c-3.4-2-6.9-3.2-10.9-3.2c-10.9,0-19.8,9-19.8,20H96v344h0.1c0,11,8.9,20,19.8,20
+ c4.1,0,7.5-1.4,11.2-3.4l278.1-165.5c6.6-5.5,10.8-13.8,10.8-23.1C416,246.7,411.8,238.5,405.2,232.9z"/>
+</svg>
diff --git a/debian/ionicons/svg-orig/search.svg b/debian/ionicons/svg-orig/search.svg new file mode 100644 index 0000000..9c51b98 --- /dev/null +++ b/debian/ionicons/svg-orig/search.svg @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<path d="M445,386.7l-84.8-85.9c13.8-24.1,21-50.9,21-77.9c0-87.6-71.2-158.9-158.6-158.9C135.2,64,64,135.3,64,222.9
+ c0,87.6,71.2,158.9,158.6,158.9c27.9,0,55.5-7.7,80.1-22.4l84.4,85.6c1.9,1.9,4.6,3.1,7.3,3.1c2.7,0,5.4-1.1,7.3-3.1l43.3-43.8
+ C449,397.1,449,390.7,445,386.7z M222.6,125.9c53.4,0,96.8,43.5,96.8,97c0,53.5-43.4,97-96.8,97c-53.4,0-96.8-43.5-96.8-97
+ C125.8,169.4,169.2,125.9,222.6,125.9z"/>
+</svg>
diff --git a/debian/ionicons/svg-renamed/arrow-down-a.svg b/debian/ionicons/svg-renamed/arrow-down-a.svg new file mode 120000 index 0000000..bf833d0 --- /dev/null +++ b/debian/ionicons/svg-renamed/arrow-down-a.svg @@ -0,0 +1 @@ +../svg-orig/arrow-down-a.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/arrow-dropdown.svg b/debian/ionicons/svg-renamed/arrow-dropdown.svg new file mode 120000 index 0000000..2ab7ddd --- /dev/null +++ b/debian/ionicons/svg-renamed/arrow-dropdown.svg @@ -0,0 +1 @@ +../svg-orig/android-arrow-dropdown.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/arrow-swap.svg b/debian/ionicons/svg-renamed/arrow-swap.svg new file mode 120000 index 0000000..603c680 --- /dev/null +++ b/debian/ionicons/svg-renamed/arrow-swap.svg @@ -0,0 +1 @@ +../svg-orig/arrow-swap.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/arrow-up-a.svg b/debian/ionicons/svg-renamed/arrow-up-a.svg new file mode 120000 index 0000000..a92de03 --- /dev/null +++ b/debian/ionicons/svg-renamed/arrow-up-a.svg @@ -0,0 +1 @@ +../svg-orig/arrow-up-a.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/chevron-left.svg b/debian/ionicons/svg-renamed/chevron-left.svg new file mode 120000 index 0000000..f451cdb --- /dev/null +++ b/debian/ionicons/svg-renamed/chevron-left.svg @@ -0,0 +1 @@ +../svg-orig/chevron-left.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/chevron-right.svg b/debian/ionicons/svg-renamed/chevron-right.svg new file mode 120000 index 0000000..83209fe --- /dev/null +++ b/debian/ionicons/svg-renamed/chevron-right.svg @@ -0,0 +1 @@ +../svg-orig/chevron-right.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/chevron-up.svg b/debian/ionicons/svg-renamed/chevron-up.svg new file mode 120000 index 0000000..085ce74 --- /dev/null +++ b/debian/ionicons/svg-renamed/chevron-up.svg @@ -0,0 +1 @@ +../svg-orig/chevron-up.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/close.svg b/debian/ionicons/svg-renamed/close.svg new file mode 120000 index 0000000..69cbfa5 --- /dev/null +++ b/debian/ionicons/svg-renamed/close.svg @@ -0,0 +1 @@ +../svg-orig/close-round.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/error.svg b/debian/ionicons/svg-renamed/error.svg new file mode 120000 index 0000000..1f48897 --- /dev/null +++ b/debian/ionicons/svg-renamed/error.svg @@ -0,0 +1 @@ +../svg-orig/android-alert.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/film-outline.svg b/debian/ionicons/svg-renamed/film-outline.svg new file mode 120000 index 0000000..752dcdc --- /dev/null +++ b/debian/ionicons/svg-renamed/film-outline.svg @@ -0,0 +1 @@ +../svg-orig/ios-film-outline.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/globe.svg b/debian/ionicons/svg-renamed/globe.svg new file mode 120000 index 0000000..471518d --- /dev/null +++ b/debian/ionicons/svg-renamed/globe.svg @@ -0,0 +1 @@ +../svg-orig/android-globe.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/link.svg b/debian/ionicons/svg-renamed/link.svg new file mode 120000 index 0000000..5c0a7c5 --- /dev/null +++ b/debian/ionicons/svg-renamed/link.svg @@ -0,0 +1 @@ +../svg-orig/link.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/location.svg b/debian/ionicons/svg-renamed/location.svg new file mode 120000 index 0000000..870a3f9 --- /dev/null +++ b/debian/ionicons/svg-renamed/location.svg @@ -0,0 +1 @@ +../svg-orig/location.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/more-vertical.svg b/debian/ionicons/svg-renamed/more-vertical.svg new file mode 120000 index 0000000..4ddafee --- /dev/null +++ b/debian/ionicons/svg-renamed/more-vertical.svg @@ -0,0 +1 @@ +../svg-orig/android-more-vertical.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/music-note.svg b/debian/ionicons/svg-renamed/music-note.svg new file mode 120000 index 0000000..e1df14b --- /dev/null +++ b/debian/ionicons/svg-renamed/music-note.svg @@ -0,0 +1 @@ +../svg-orig/music-note.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/navicon-round.svg b/debian/ionicons/svg-renamed/navicon-round.svg new file mode 120000 index 0000000..9105e52 --- /dev/null +++ b/debian/ionicons/svg-renamed/navicon-round.svg @@ -0,0 +1 @@ +../svg-orig/navicon-round.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/play.svg b/debian/ionicons/svg-renamed/play.svg new file mode 120000 index 0000000..fb68566 --- /dev/null +++ b/debian/ionicons/svg-renamed/play.svg @@ -0,0 +1 @@ +../svg-orig/play.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/search.svg b/debian/ionicons/svg-renamed/search.svg new file mode 120000 index 0000000..3e4619d --- /dev/null +++ b/debian/ionicons/svg-renamed/search.svg @@ -0,0 +1 @@ +../svg-orig/search.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/telephone.svg b/debian/ionicons/svg-renamed/telephone.svg new file mode 120000 index 0000000..faa7d07 --- /dev/null +++ b/debian/ionicons/svg-renamed/telephone.svg @@ -0,0 +1 @@ +../svg-orig/ios-telephone.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/time.svg b/debian/ionicons/svg-renamed/time.svg new file mode 120000 index 0000000..4246b4d --- /dev/null +++ b/debian/ionicons/svg-renamed/time.svg @@ -0,0 +1 @@ +../svg-orig/android-time.svg
\ No newline at end of file diff --git a/debian/ionicons/svg-renamed/warning.svg b/debian/ionicons/svg-renamed/warning.svg new file mode 120000 index 0000000..8ef8f9a --- /dev/null +++ b/debian/ionicons/svg-renamed/warning.svg @@ -0,0 +1 @@ +../svg-orig/alert-circled.svg
\ No newline at end of file diff --git a/debian/python3-searx.install b/debian/python3-searx.install index ab6a3cf..792ea0e 100644 --- a/debian/python3-searx.install +++ b/debian/python3-searx.install @@ -16,5 +16,7 @@ searx/static/themes/pix-art/js /usr/share/python3-searx/static/themes/pix-art searx/static/themes/simple/css /usr/share/python3-searx/static/themes/simple searx/static/themes/simple/img /usr/share/python3-searx/static/themes/simple searx/static/themes/simple/js /usr/share/python3-searx/static/themes/simple +debian/ionicons/ion.woff /usr/share/python3-searx/static/themes/simple/fonts +debian/ionicons/ion.ttf /usr/share/python3-searx/static/themes/simple/fonts searx/templates /usr/share/python3-searx usr/lib/python3* diff --git a/debian/python3-searx.lintian-overrides b/debian/python3-searx.lintian-overrides new file mode 100644 index 0000000..06cb856 --- /dev/null +++ b/debian/python3-searx.lintian-overrides @@ -0,0 +1,2 @@ +# the font is only used for the "simple" theme +font-in-non-font-package diff --git a/debian/rules b/debian/rules index 7ccb17a..82ca952 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,8 @@ #export DH_VERBOSE = 1 +export PYBUILD_DISABLE_python2=1 + %: dh $@ --with python3 --buildsystem=pybuild @@ -10,6 +12,7 @@ override_dh_auto_build: ./manage.sh styles # needed to run lessc because grunt-contrib-less is not packaged ./manage.sh locales # run pybabel ./manage.sh grunt_build # build the oscar theme + python ./debian/ionicons/generate.py < ./debian/ionicons/input.json # do not run tests because the splinter python3 module is not packaged yet override_dh_auto_test: |