chore: import upstream snapshot with attribution
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.disable-library-validation</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,187 @@
|
||||
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
|
||||
Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
|
||||
|
||||
|
||||
Bitstream Vera Fonts Copyright
|
||||
------------------------------
|
||||
|
||||
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
|
||||
a trademark of Bitstream, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of the fonts accompanying this license ("Fonts") and associated
|
||||
documentation files (the "Font Software"), to reproduce and distribute the
|
||||
Font Software, including without limitation the rights to use, copy, merge,
|
||||
publish, distribute, and/or sell copies of the Font Software, and to permit
|
||||
persons to whom the Font Software is furnished to do so, subject to the
|
||||
following conditions:
|
||||
|
||||
The above copyright and trademark notices and this permission notice shall
|
||||
be included in all copies of one or more of the Font Software typefaces.
|
||||
|
||||
The Font Software may be modified, altered, or added to, and in particular
|
||||
the designs of glyphs or characters in the Fonts may be modified and
|
||||
additional glyphs or characters may be added to the Fonts, only if the fonts
|
||||
are renamed to names not containing either the words "Bitstream" or the word
|
||||
"Vera".
|
||||
|
||||
This License becomes null and void to the extent applicable to Fonts or Font
|
||||
Software that has been modified and is distributed under the "Bitstream
|
||||
Vera" names.
|
||||
|
||||
The Font Software may be sold as part of a larger software package but no
|
||||
copy of one or more of the Font Software typefaces may be sold by itself.
|
||||
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
||||
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
|
||||
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
|
||||
ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
||||
THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
|
||||
FONT SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the names of Gnome, the Gnome
|
||||
Foundation, and Bitstream Inc., shall not be used in advertising or
|
||||
otherwise to promote the sale, use or other dealings in this Font Software
|
||||
without prior written authorization from the Gnome Foundation or Bitstream
|
||||
Inc., respectively. For further information, contact: fonts at gnome dot
|
||||
org.
|
||||
|
||||
Arev Fonts Copyright
|
||||
------------------------------
|
||||
|
||||
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the fonts accompanying this license ("Fonts") and
|
||||
associated documentation files (the "Font Software"), to reproduce
|
||||
and distribute the modifications to the Bitstream Vera Font Software,
|
||||
including without limitation the rights to use, copy, merge, publish,
|
||||
distribute, and/or sell copies of the Font Software, and to permit
|
||||
persons to whom the Font Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright and trademark notices and this permission notice
|
||||
shall be included in all copies of one or more of the Font Software
|
||||
typefaces.
|
||||
|
||||
The Font Software may be modified, altered, or added to, and in
|
||||
particular the designs of glyphs or characters in the Fonts may be
|
||||
modified and additional glyphs or characters may be added to the
|
||||
Fonts, only if the fonts are renamed to names not containing either
|
||||
the words "Tavmjong Bah" or the word "Arev".
|
||||
|
||||
This License becomes null and void to the extent applicable to Fonts
|
||||
or Font Software that has been modified and is distributed under the
|
||||
"Tavmjong Bah Arev" names.
|
||||
|
||||
The Font Software may be sold as part of a larger software package but
|
||||
no copy of one or more of the Font Software typefaces may be sold by
|
||||
itself.
|
||||
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
|
||||
TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of Tavmjong Bah shall not
|
||||
be used in advertising or otherwise to promote the sale, use or other
|
||||
dealings in this Font Software without prior written authorization
|
||||
from Tavmjong Bah. For further information, contact: tavmjong @ free
|
||||
. fr.
|
||||
|
||||
TeX Gyre DJV Math
|
||||
-----------------
|
||||
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
|
||||
|
||||
Math extensions done by B. Jackowski, P. Strzelczyk and P. Pianowski
|
||||
(on behalf of TeX users groups) are in public domain.
|
||||
|
||||
Letters imported from Euler Fraktur from AMSfonts are (c) American
|
||||
Mathematical Society (see below).
|
||||
Bitstream Vera Fonts Copyright
|
||||
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera
|
||||
is a trademark of Bitstream, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of the fonts accompanying this license (“Fonts”) and associated
|
||||
documentation
|
||||
files (the “Font Software”), to reproduce and distribute the Font Software,
|
||||
including without limitation the rights to use, copy, merge, publish,
|
||||
distribute,
|
||||
and/or sell copies of the Font Software, and to permit persons to whom
|
||||
the Font Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright and trademark notices and this permission notice
|
||||
shall be
|
||||
included in all copies of one or more of the Font Software typefaces.
|
||||
|
||||
The Font Software may be modified, altered, or added to, and in particular
|
||||
the designs of glyphs or characters in the Fonts may be modified and
|
||||
additional
|
||||
glyphs or characters may be added to the Fonts, only if the fonts are
|
||||
renamed
|
||||
to names not containing either the words “Bitstream” or the word “Vera”.
|
||||
|
||||
This License becomes null and void to the extent applicable to Fonts or
|
||||
Font Software
|
||||
that has been modified and is distributed under the “Bitstream Vera”
|
||||
names.
|
||||
|
||||
The Font Software may be sold as part of a larger software package but
|
||||
no copy
|
||||
of one or more of the Font Software typefaces may be sold by itself.
|
||||
|
||||
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
||||
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
|
||||
FOUNDATION
|
||||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL,
|
||||
SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
|
||||
ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
|
||||
INABILITY TO USE
|
||||
THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
Except as contained in this notice, the names of GNOME, the GNOME
|
||||
Foundation,
|
||||
and Bitstream Inc., shall not be used in advertising or otherwise to promote
|
||||
the sale, use or other dealings in this Font Software without prior written
|
||||
authorization from the GNOME Foundation or Bitstream Inc., respectively.
|
||||
For further information, contact: fonts at gnome dot org.
|
||||
|
||||
AMSFonts (v. 2.2) copyright
|
||||
|
||||
The PostScript Type 1 implementation of the AMSFonts produced by and
|
||||
previously distributed by Blue Sky Research and Y&Y, Inc. are now freely
|
||||
available for general use. This has been accomplished through the
|
||||
cooperation
|
||||
of a consortium of scientific publishers with Blue Sky Research and Y&Y.
|
||||
Members of this consortium include:
|
||||
|
||||
Elsevier Science IBM Corporation Society for Industrial and Applied
|
||||
Mathematics (SIAM) Springer-Verlag American Mathematical Society (AMS)
|
||||
|
||||
In order to assure the authenticity of these fonts, copyright will be
|
||||
held by
|
||||
the American Mathematical Society. This is not meant to restrict in any way
|
||||
the legitimate use of the fonts, such as (but not limited to) electronic
|
||||
distribution of documents containing these fonts, inclusion of these fonts
|
||||
into other public domain or commercial font collections or computer
|
||||
applications, use of the outline data to create derivative fonts and/or
|
||||
faces, etc. However, the AMS does require that the AMS copyright notice be
|
||||
removed from any derivative versions of the fonts which have been altered in
|
||||
any way. In addition, to ensure the fidelity of TeX documents using Computer
|
||||
Modern fonts, Professor Donald Knuth, creator of the Computer Modern faces,
|
||||
has requested that any alterations which yield different font metrics be
|
||||
given a different name.
|
||||
|
||||
$Id$
|
||||
|
After Width: | Height: | Size: 194 KiB |
|
After Width: | Height: | Size: 237 KiB |
@@ -0,0 +1,8 @@
|
||||
<svg version="1.1" id="svg2" width="2880" height="2880" viewBox="0 0 2880 2880" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs id="defs6"></defs>
|
||||
<g id="g10" transform="matrix(4.511777, 0, 0, -4.511777, -3433.283203, 6312.723633)" style="filter: none;">
|
||||
<g id="g12" transform="scale(0.1)">
|
||||
<path d="m 8680.16,13575.4 -567.42,327.6 c 0,-2068.7 -0.01,-4137.33 -0.01,-6205.98 551.01,318.11 1102.02,636.24 1653.02,954.37 V 9306.6 L 8680.16,8679.83 c 0,1631.87 0.02,3263.67 0,4895.57 z M 9768.37,9981 v 2310.9 c 861.33,-497.3 1722.73,-994.6 2584.03,-1491.9 -672.2,-388.1 -1344.4,-776.2 -2016.6,-1164.29 V 8980.5 c 861.3,497.3 1722.7,994.6 2584,1491.9 l 567.5,327.6 -567.5,327.6 c -1050.5,606.5 -2100.9,1213 -3151.43,1819.5 l -2.62,1.5 -567.43,327.6 c 0,-1208.1 0.01,-2416.2 0.01,-3624.32 z m 1447.33,835.6 -879.9,508.1 v -1016.1 z" style="fill:#1a1a1a;fill-opacity:1;fill-rule:evenodd;stroke:none" id="path14"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 944 B |
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" x1="250" y1="60.691" x2="250" y2="439.31" id="gradient-1" gradientTransform="matrix(0.62884, 0.62884, -0.62884, 0.62884, 301.693542, -118.848228)">
|
||||
<stop offset="0" style="stop-color: rgb(2, 6, 21);"/>
|
||||
<stop offset="1" style="stop-color: rgb(18, 25, 53);"/>
|
||||
</linearGradient>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" x1="10802.515" y1="7688.36" x2="10802.515" y2="13911.66" id="gradient-2" gradientTransform="matrix(-0.028, -0.028, 0.028, -0.028, 233.907039, 905.05849)">
|
||||
<stop offset="0" style="stop-color: rgb(0, 62, 149);"/>
|
||||
<stop offset="1" style="stop-color: rgb(70, 172, 255);"/>
|
||||
</linearGradient>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" x1="10800.265" y1="7696.154" x2="10800.265" y2="13903.866" id="gradient-3" gradientTransform="matrix(0.044238, 0, 0, -0.044238, -212.162399, 727.776001)">
|
||||
<stop offset="0" style="stop-color: rgb(0, 62, 149);"/>
|
||||
<stop offset="1" style="stop-color: rgba(0, 0, 0, 1)"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g style="" transform="matrix(1.205162, 0, 0, 1.205162, -51.290611, -51.290611)">
|
||||
<rect x="60.691" y="60.691" width="378.619" height="378.619" rx="40" ry="40" style="stroke: rgb(0, 0, 0); stroke-width: 0px; fill: url(#gradient-1);"/>
|
||||
<path d="M 171.945 127.03 L 146.511 112.346 L 146.511 112.729 C 146.511 204.245 146.511 295.758 146.511 387.272 L 146.511 387.655 L 146.843 387.463 C 171.219 373.391 195.594 359.317 219.97 345.243 L 220.08 345.18 L 220.08 315.683 L 172.056 343.411 L 172.056 343.257 C 172.056 271.245 172.057 199.414 172.056 127.221 L 172.056 127.094 L 171.945 127.03 Z M 220.329 184.461 C 258.277 206.37 295.767 228.015 333.714 249.924 L 333.846 250.001 L 333.714 250.077 C 303.976 267.246 274.704 284.147 244.967 301.316 L 244.856 301.379 L 244.856 330.876 L 245.188 330.684 C 283.291 308.684 321.398 286.685 359.5 264.685 L 384.738 250.116 L 384.937 250.001 L 359.5 235.317 C 313.028 208.486 266.559 181.655 220.085 154.824 L 219.969 154.758 L 194.536 140.074 L 194.536 140.457 C 194.536 193.902 194.536 247.346 194.536 300.792 L 194.536 301.175 L 220.086 286.424 L 220.196 286.36 L 220.196 184.384 L 220.329 184.461 Z M 244.856 272.123 L 284.445 249.266 L 244.856 226.406 L 244.856 272.123 Z" style="fill-opacity: 1; fill-rule: evenodd; stroke-width: 0px; fill: url(#gradient-2);" id="path14"/>
|
||||
<path d="M 171.846 127.202 L 146.711 112.69 L 146.711 112.729 C 146.711 204.245 146.71 295.758 146.71 387.272 L 146.71 387.31 L 146.743 387.291 C 171.119 373.218 195.495 359.145 219.87 345.071 L 219.881 345.065 L 219.881 345.065 L 219.881 345.065 L 219.881 316.028 L 171.857 343.755 L 171.857 343.602 C 171.857 271.475 171.857 199.414 171.857 127.221 L 171.857 127.209 L 171.846 127.202 Z M 171.79 127.221 L 171.812 127.234 L 171.812 127.285 C 171.813 199.457 171.812 271.602 171.812 343.794 L 171.812 343.832 L 219.837 316.105 L 219.837 345.039 L 219.793 345.065 C 195.436 359.128 171.23 373.103 146.887 387.157 L 146.754 387.233 L 146.754 387.08 C 146.754 295.63 146.755 204.372 146.755 112.92 L 146.755 112.767 L 171.768 127.209 L 171.79 127.221 Z M 220.13 184.116 C 258.178 206.084 296.065 227.956 334.112 249.924 L 334.244 250.001 L 334.112 250.077 C 304.397 267.234 274.803 284.32 245.066 301.488 L 245.055 301.494 L 245.055 330.531 L 245.088 330.512 C 283.191 308.512 321.298 286.512 359.401 264.512 L 384.539 250.001 L 359.401 235.489 C 312.928 208.658 266.46 181.828 219.986 154.997 L 219.87 154.931 L 194.735 140.419 L 194.735 140.457 C 194.735 193.902 194.735 247.346 194.735 300.792 L 194.735 300.83 L 219.986 286.251 L 219.997 286.245 L 219.997 286.252 L 220.014 286.235 L 219.997 286.245 L 219.997 286.245 L 219.997 184.04 L 220.13 184.116 Z M 219.953 286.194 L 219.953 286.219 L 219.931 286.232 L 194.78 300.753 L 194.78 300.6 C 194.78 247.219 194.779 194.029 194.779 140.649 L 194.779 140.496 L 219.848 154.969 L 219.964 155.035 C 266.438 181.866 312.906 208.697 359.378 235.527 L 384.451 250.001 L 359.378 264.474 C 321.276 286.474 283.279 308.41 245.232 330.378 L 245.1 330.454 L 245.1 301.545 L 245.1 301.52 L 245.122 301.507 L 245.144 301.494 C 274.862 284.337 304.563 267.189 334.3 250.02 L 334.333 250.001 L 334.3 249.982 C 296.197 227.982 258.09 205.982 219.986 183.982 L 219.953 183.963 L 219.953 286.194 Z M 284.047 249.266 L 245.055 226.75 L 245.055 271.778 L 284.047 249.266 Z M 245.1 226.827 L 283.959 249.266 L 245.1 271.701 L 245.1 226.827 Z" style="stroke-width: 0px; fill: url(#gradient-3);"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" x1="250" y1="60.691" x2="250" y2="439.31" id="gradient-1" gradientTransform="matrix(0.912777, 0.912777, -0.912777, 0.912777, 250.049508, -206.672811)" spreadMethod="pad">
|
||||
<stop offset="0" style="stop-color: rgb(168, 204, 255);"/>
|
||||
<stop offset="1" style="stop-color: rgb(250, 250, 250);"/>
|
||||
</linearGradient>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" x1="10802.515" y1="7688.36" x2="10802.515" y2="13911.66" id="gradient-2" gradientTransform="matrix(-0.028, -0.028, 0.028, -0.028, 233.907039, 905.05849)">
|
||||
<stop offset="0" style="stop-color: rgb(0, 62, 149);"/>
|
||||
<stop offset="1" style="stop-color: rgb(70, 172, 255);"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g style="" transform="matrix(1.205162, 0, 0, 1.205162, -51.290611, -51.290611)">
|
||||
<rect x="60.691" y="60.691" width="378.619" height="378.619" rx="40" ry="40" style="stroke: rgb(0, 0, 0); stroke-width: 0px; fill: url(#gradient-1); fill-rule: nonzero;"/>
|
||||
<path d="M 171.945 127.03 L 146.511 112.346 L 146.511 112.729 C 146.511 204.245 146.511 295.758 146.511 387.272 L 146.511 387.655 L 146.843 387.463 C 171.219 373.391 195.594 359.317 219.97 345.243 L 220.08 345.18 L 220.08 315.683 L 172.056 343.411 L 172.056 343.257 C 172.056 271.245 172.057 199.414 172.056 127.221 L 172.056 127.094 L 171.945 127.03 Z M 220.329 184.461 C 258.277 206.37 295.767 228.015 333.714 249.924 L 333.846 250.001 L 333.714 250.077 C 303.976 267.246 274.704 284.147 244.967 301.316 L 244.856 301.379 L 244.856 330.876 L 245.188 330.684 C 283.291 308.684 321.398 286.685 359.5 264.685 L 384.738 250.116 L 384.937 250.001 L 359.5 235.317 C 313.028 208.486 266.559 181.655 220.085 154.824 L 219.969 154.758 L 194.536 140.074 L 194.536 140.457 C 194.536 193.902 194.536 247.346 194.536 300.792 L 194.536 301.175 L 220.086 286.424 L 220.196 286.36 L 220.196 184.384 L 220.329 184.461 Z M 244.856 272.123 L 284.445 249.266 L 244.856 226.406 L 244.856 272.123 Z" style="fill-opacity: 1; fill-rule: evenodd; stroke-width: 0px; fill: url(#gradient-2);" id="path14"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1,13 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="2880" height="2880" viewBox="0 0 2880 2880">
|
||||
<defs id="defs6">
|
||||
<radialGradient id="RadialGradient1">
|
||||
<stop offset="0%" stop-color="#3da4eb"/>
|
||||
<stop offset="100%" stop-color="#196eae"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
<g id="g10" transform="matrix(4.511777, 0, 0, -4.511777, -3433.283203, 6312.723633)" style="filter:none">
|
||||
<g id="g12" transform="scale(0.1)">
|
||||
<path d="m 8680.16,13575.4 -567.42,327.6 c 0,-2068.7 -0.01,-4137.33 -0.01,-6205.98 551.01,318.11 1102.02,636.24 1653.02,954.37 V 9306.6 L 8680.16,8679.83 c 0,1631.87 0.02,3263.67 0,4895.57 z M 9768.37,9981 v 2310.9 c 861.33,-497.3 1722.73,-994.6 2584.03,-1491.9 -672.2,-388.1 -1344.4,-776.2 -2016.6,-1164.29 V 8980.5 c 861.3,497.3 1722.7,994.6 2584,1491.9 l 567.5,327.6 -567.5,327.6 c -1050.5,606.5 -2100.9,1213 -3151.43,1819.5 l -2.62,1.5 -567.43,327.6 c 0,-1208.1 0.01,-2416.2 0.01,-3624.32 z m 1447.33,835.6 -879.9,508.1 v -1016.1 z" style="fill:url(#RadialGradient1);fill-opacity:1;fill-rule:evenodd;stroke:none" id="path14"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 944 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
@@ -0,0 +1,20 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
|
||||
Name=Lapce
|
||||
Comment=Lightning-fast and powerful code editor written in Rust
|
||||
Categories=Development;IDE;
|
||||
GenericName=Code Editor
|
||||
StartupWMClass=lapce
|
||||
|
||||
Icon=dev.lapce.lapce
|
||||
Exec=lapce %F
|
||||
Terminal=false
|
||||
MimeType=text/plain;inode/directory;
|
||||
Actions=new-window;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=New Window
|
||||
Exec=lapce --new %F
|
||||
Icon=dev.lapce.lapce
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>dev.lapce.lapce</id>
|
||||
<name>Lapce</name>
|
||||
<developer_name>Dongdong Zhou, et al.</developer_name>
|
||||
<summary>Lightning-fast and powerful code editor written in Rust</summary>
|
||||
<metadata_license>MIT</metadata_license>
|
||||
<project_license>Apache-2.0</project_license>
|
||||
<url type="homepage">https://lapce.dev/</url>
|
||||
<url type="bugtracker">https://github.com/lapce/lapce/issues</url>
|
||||
<url type="help">https://docs.lapce.dev/</url>
|
||||
<categories>
|
||||
<category>IDE</category>
|
||||
<category>Development</category>
|
||||
</categories>
|
||||
<description>
|
||||
<p>
|
||||
Lapce is an open source code editor written in Rust. By utilising native GUI and GPU rendering, and with the performance Rust provides, Lapce is one of the fastest code editors out there.
|
||||
</p>
|
||||
<p>Features:</p>
|
||||
<ul>
|
||||
<li>Modal Editing (Vim like) support as first class citizen (can be turned off as well)</li>
|
||||
<li>Built-in LSP (Language Server Protocol) support to give you code intelligence like code completion, diagnostics and code actions etc.</li>
|
||||
<li>Built-in remote development support (inspired by VSCode Remote Development) for a seamless "local" experience, benefiting from the full power of the remote system.</li>
|
||||
<li>Plugins can be written in programming languages that can compile to the WASI format (C, Rust, AssemblyScript)</li>
|
||||
<li>Built-in terminal, so you can execute commands in your workspace, without leaving Lapce.</li>
|
||||
</ul>
|
||||
</description>
|
||||
<content_rating type="oars-1.1" />
|
||||
<launchable type="desktop-id">dev.lapce.lapce.desktop</launchable>
|
||||
<screenshots>
|
||||
<screenshot type="default" environment="plasma">
|
||||
<caption>Lapce source project opened in Lapce with Rust source code file opened</caption>
|
||||
<image type="source" width="1000" height="700">https://raw.githubusercontent.com/lapce/lapce/refs/tags/v0.4.5/extra/images/linux/code-file-with-highlight.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
<release version="0.4.6" date="2026-01-21">
|
||||
<url type="details">https://github.com/lapce/lapce/releases/tag/v0.4.6</url>
|
||||
<issues>
|
||||
<issue url="https://github.com/lapce/lapce/issues/3821">#3821</issue>
|
||||
<issue url="https://github.com/lapce/lapce/issues/3832">#3832</issue>
|
||||
<issue url="https://github.com/lapce/lapce/pull/3818">#3818</issue>
|
||||
<issue url="https://github.com/lapce/lapce/pull/3819">#3819</issue>
|
||||
</issues>
|
||||
</release>
|
||||
<release version="0.4.5" date="2025-09-05">
|
||||
<url type="details">https://github.com/lapce/lapce/releases/tag/v0.4.5</url>
|
||||
<issues>
|
||||
<issue url="https://github.com/lapce/lapce/issues/3795">#3795</issue>
|
||||
</issues>
|
||||
</release>
|
||||
<release version="0.4.4" date="2025-08-30">
|
||||
<url type="details">https://github.com/lapce/lapce/releases/tag/v0.4.4</url>
|
||||
<issues>
|
||||
<issue url="https://github.com/lapce/lapce/issues/3786">#3795</issue>
|
||||
</issues>
|
||||
</release>
|
||||
<release version="0.4.3" date="2024-06-27">
|
||||
<url type="details">https://github.com/lapce/lapce/releases/tag/v0.4.3</url>
|
||||
</release>
|
||||
</releases>
|
||||
</component>
|
||||
@@ -0,0 +1,123 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG DISTRIBUTION_VERSION
|
||||
ARG RUST_VERSION
|
||||
ARG XX_VERSION=latest
|
||||
|
||||
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
|
||||
FROM --platform=$BUILDPLATFORM rust:${RUST_VERSION}-alpine${DISTRIBUTION_VERSION} AS build-base
|
||||
COPY --from=xx / /
|
||||
|
||||
SHELL [ "/bin/ash", "-c" ]
|
||||
|
||||
# install host dependencies
|
||||
ARG DISTRIBUTION_PACKAGES
|
||||
RUN \
|
||||
--mount=type=cache,target=/var/cache/apk,sharing=private \
|
||||
--mount=type=cache,target=/etc/apk/cache,sharing=private \
|
||||
<<EOF
|
||||
|
||||
apk upgrade -Ua
|
||||
apk add --no-cache \
|
||||
bash clang lld llvm file git sccache \
|
||||
cmake pkgconf build-base abuild curl mold \
|
||||
${DISTRIBUTION_PACKAGES}
|
||||
EOF
|
||||
|
||||
SHELL [ "/bin/bash", "-c" ]
|
||||
|
||||
WORKDIR /source
|
||||
COPY --link . .
|
||||
|
||||
FROM build-base AS build-prep
|
||||
|
||||
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL='sparse'
|
||||
ENV CARGO_TARGET_DIR='/root/.cache/rust'
|
||||
RUN \
|
||||
--mount=type=cache,target=/cargo/git/db,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/cache,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/index,sharing=locked \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
xx-cargo fetch --locked
|
||||
EOF
|
||||
|
||||
# Install target dependencies
|
||||
ARG TARGETPLATFORM
|
||||
ARG DISTRIBUTION_PACKAGES
|
||||
RUN \
|
||||
--mount=type=cache,target=/var/cache/apk,sharing=private \
|
||||
--mount=type=cache,target=/etc/apk/cache,sharing=private \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
xx-apk add \
|
||||
"xx-cxx-essentials" \
|
||||
${DISTRIBUTION_PACKAGES}
|
||||
EOF
|
||||
|
||||
FROM build-prep AS build
|
||||
|
||||
ARG PACKAGE_NAME
|
||||
ENV PACKAGE_NAME="${PACKAGE_NAME}"
|
||||
|
||||
ARG OUTPUT_DIR="/output"
|
||||
ENV OUTPUT_DIR="${OUTPUT_DIR}"
|
||||
|
||||
ARG CARGO_BUILD_INCREMENTAL='false'
|
||||
ENV CARGO_TARGET_DIR='/root/.cache/rust'
|
||||
|
||||
ARG RELEASE_TAG_NAME
|
||||
ENV RELEASE_TAG_NAME="${RELEASE_TAG_NAME}"
|
||||
|
||||
RUN \
|
||||
--mount=type=cache,target=/cargo/git/db,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/cache,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/index,sharing=locked \
|
||||
--mount=type=cache,target=/root/.cache,sharing=private \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
xx-clang --setup-target-triple
|
||||
xx-clang --wrap
|
||||
|
||||
if ! xx-info is-cross; then
|
||||
export OPENSSL_DIR="/usr"
|
||||
else
|
||||
export OPENSSL_DIR="/$(xx-info triple)/usr"
|
||||
fi
|
||||
|
||||
export LIBZ_SYS_STATIC="1"
|
||||
export LIBSSH2_STATIC="1"
|
||||
export LIBGIT2_STATIC="1"
|
||||
export OPENSSL_STATIC="1"
|
||||
export PKG_CONFIG_ALL_STATIC="1"
|
||||
export OPENSSL_NO_VENDOR="1"
|
||||
export ZSTD_SYS_USE_PKG_CONFIG="1"
|
||||
export RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=mold -C target-feature=+crt-static"
|
||||
export PKG_CONFIG="$(xx-clang --print-prog-name=pkg-config)"
|
||||
|
||||
xx-cargo build \
|
||||
--verbose \
|
||||
--frozen \
|
||||
--bin lapce-proxy \
|
||||
--profile release-lto \
|
||||
--no-default-features
|
||||
|
||||
xx-verify "${CARGO_TARGET_DIR}"/"$(xx-cargo --print-target-triple)"/release-lto/lapce-proxy
|
||||
|
||||
mkdir -p /target
|
||||
mv -v "${CARGO_TARGET_DIR}"/"$(xx-cargo --print-target-triple)"/release-lto/lapce-proxy /usr/local/bin/
|
||||
EOF
|
||||
|
||||
FROM build-prep AS dev
|
||||
|
||||
FROM scratch AS binary
|
||||
COPY --from=build /usr/local/bin/lapce-proxy .
|
||||
|
||||
FROM scratch AS cross-binary
|
||||
COPY --from=build /usr/local/bin/lapce-proxy .
|
||||
@@ -0,0 +1,186 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG DISTRIBUTION_VERSION
|
||||
ARG RUST_VERSION
|
||||
ARG XX_VERSION=latest
|
||||
|
||||
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
|
||||
FROM --platform=$BUILDPLATFORM rust:${RUST_VERSION}-${DISTRIBUTION_VERSION} AS build-base
|
||||
COPY --from=xx / /
|
||||
|
||||
SHELL [ "/bin/bash", "-c" ]
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# install host dependencies
|
||||
ARG DISTRIBUTION_PACKAGES
|
||||
RUN \
|
||||
--mount=type=cache,target=/var/cache/apt,sharing=private \
|
||||
--mount=type=cache,target=/var/lib/apt,sharing=private \
|
||||
<<EOF
|
||||
|
||||
apt-get update -y
|
||||
apt-get install -y \
|
||||
bash clang lld llvm file cmake pkg-config dpkg-dev \
|
||||
${DISTRIBUTION_PACKAGES}
|
||||
EOF
|
||||
|
||||
WORKDIR /source
|
||||
COPY --link . .
|
||||
|
||||
FROM build-base AS build-prep
|
||||
|
||||
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL='sparse'
|
||||
ENV CARGO_TARGET_DIR='/root/.cache/rust'
|
||||
RUN \
|
||||
--mount=type=cache,target=/cargo/git/db,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/cache,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/index,sharing=locked \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
cargo fetch --locked
|
||||
EOF
|
||||
|
||||
# Install target dependencies
|
||||
ARG TARGETPLATFORM
|
||||
ARG DISTRIBUTION_PACKAGES
|
||||
RUN \
|
||||
--mount=type=cache,target=/var/cache/apt,sharing=private \
|
||||
--mount=type=cache,target=/var/lib/apt,sharing=private \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
xx-apt-get install -y \
|
||||
"xx-cxx-essentials" \
|
||||
${DISTRIBUTION_PACKAGES}
|
||||
EOF
|
||||
|
||||
FROM build-prep AS build
|
||||
|
||||
ARG PACKAGE_NAME
|
||||
ENV PACKAGE_NAME="${PACKAGE_NAME}"
|
||||
|
||||
ARG OUTPUT_DIR="/output"
|
||||
ENV OUTPUT_DIR="${OUTPUT_DIR}"
|
||||
|
||||
# in bullseye arm64 target does not link with lld so configure it to use ld instead
|
||||
# RUN [ ! -f /etc/alpine-release ] && xx-info is-cross && [ "$(xx-info arch)" = "arm64" ] && XX_CC_PREFER_LINKER=ld xx-clang --setup-target-triple || true
|
||||
|
||||
ARG CARGO_BUILD_INCREMENTAL='false'
|
||||
ENV CARGO_TARGET_DIR='/root/.cache/rust'
|
||||
|
||||
ENV CC='xx-clang'
|
||||
ENV CXX='xx-clang++'
|
||||
|
||||
ENV OPENSSL_NO_VENDOR="1"
|
||||
ENV ZSTD_SYS_USE_PKG_CONFIG="1"
|
||||
|
||||
ARG RELEASE_TAG_NAME
|
||||
ENV RELEASE_TAG_NAME="${RELEASE_TAG_NAME}"
|
||||
|
||||
RUN \
|
||||
--mount=type=cache,target=/cargo/git/db,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/cache,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/index,sharing=locked \
|
||||
--mount=type=cache,target=/root/.cache,sharing=private \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
xx-clang --setup-target-triple
|
||||
xx-clang --wrap
|
||||
|
||||
export RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=/usr/bin/ld.lld"
|
||||
export PKG_CONFIG="$(xx-clang --print-prog-name=pkg-config)"
|
||||
export CARGO_BUILD_TARGET="$(xx-cargo --print-target-triple)"
|
||||
|
||||
xx-cargo build \
|
||||
--frozen \
|
||||
--package lapce-app \
|
||||
--profile release-lto \
|
||||
--no-default-features
|
||||
|
||||
xx-verify "${CARGO_TARGET_DIR}"/"$(xx-cargo --print-target-triple)"/release-lto/lapce
|
||||
|
||||
mkdir -p /target
|
||||
mv -v "${CARGO_TARGET_DIR}"/"$(xx-cargo --print-target-triple)"/release-lto/lapce /target/
|
||||
|
||||
cargo pkgid | cut -d'#' -f2 | cut -d'@' -f2 | cut -d':' -f2 | tee /target/lapce.version
|
||||
EOF
|
||||
|
||||
WORKDIR /output
|
||||
RUN <<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
export _PACKAGE_ARCHITECTURE=$(xx-info debian-arch)
|
||||
|
||||
mkdir -v -p ${PACKAGE_NAME}/{etc,usr/{bin,share/{applications,metainfo,pixmaps}},debian}
|
||||
cd ${PACKAGE_NAME}
|
||||
|
||||
cp '/source/extra/linux/dev.lapce.lapce.desktop' './usr/share/applications/dev.lapce.lapce.desktop'
|
||||
cp '/source/extra/linux/dev.lapce.lapce.metainfo.xml' './usr/share/metainfo/dev.lapce.lapce.metainfo.xml'
|
||||
cp '/source/extra/images/logo.png' './usr/share/pixmaps/dev.lapce.lapce.png'
|
||||
|
||||
mv '/target/lapce' './usr/bin/'
|
||||
|
||||
if [[ "${PACKAGE_NAME}" == "lapce" ]]; then
|
||||
conflicts="lapce-nightly"
|
||||
else
|
||||
conflicts="lapce"
|
||||
fi
|
||||
|
||||
case "${RELEASE_TAG_NAME}" in
|
||||
nightly-*)
|
||||
version=$(cat /target/lapce.version)
|
||||
commit=$(echo "${RELEASE_TAG_NAME}" | cut -d'-' -f2)
|
||||
# date=$(date +%Y%m%d%H%M)
|
||||
RELEASE_TAG_NAME="${version}+${commit}"
|
||||
;;
|
||||
debug|nightly)
|
||||
version=$(cat /target/lapce.version)
|
||||
date=$(date +%Y%m%d%H%M)
|
||||
RELEASE_TAG_NAME="${version}+${date}"
|
||||
;;
|
||||
*)
|
||||
RELEASE_TAG_NAME="${RELEASE_TAG_NAME//v/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
cat <<- EOL > debian/control
|
||||
Package: ${PACKAGE_NAME}
|
||||
Version: ${RELEASE_TAG_NAME}
|
||||
Conflicts: ${conflicts}
|
||||
Maintainer: Jakub Panek <me+debian@panekj.dev>
|
||||
Architecture: ${_PACKAGE_ARCHITECTURE}
|
||||
Description: Lightning-fast and Powerful Code Editor
|
||||
Source: https://lapce.dev
|
||||
EOL
|
||||
|
||||
depends=$(dpkg-shlibdeps -O -e usr/bin/lapce)
|
||||
depends=$(echo "${depends}" | sed 's/shlibs:Depends=//')
|
||||
echo "Depends: ${depends}" >> debian/control
|
||||
mv debian DEBIAN
|
||||
|
||||
. /etc/os-release
|
||||
|
||||
dpkg-deb --root-owner-group --build . "${OUTPUT_DIR}"/"${PACKAGE_NAME}.${ID}.${VERSION_CODENAME}.${_PACKAGE_ARCHITECTURE}.deb"
|
||||
EOF
|
||||
|
||||
FROM build-base AS dev
|
||||
COPY . ./dev
|
||||
|
||||
FROM scratch AS binary
|
||||
COPY --from=build /output/lapce .
|
||||
|
||||
FROM scratch AS cross-binary
|
||||
COPY --from=build /output/lapce .
|
||||
|
||||
FROM scratch AS package
|
||||
COPY --from=build /output/*.deb .
|
||||
|
||||
FROM scratch AS cross-package
|
||||
COPY --from=build /output/*.deb .
|
||||
@@ -0,0 +1,190 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG DISTRIBUTION_VERSION
|
||||
ARG RUST_VERSION
|
||||
ARG XX_VERSION=latest
|
||||
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/panekj/xx:${XX_VERSION} AS xx
|
||||
FROM --platform=$BUILDPLATFORM fedora:${DISTRIBUTION_VERSION} AS build-base
|
||||
COPY --from=xx --link / /
|
||||
|
||||
SHELL [ "/bin/bash", "-c" ]
|
||||
|
||||
# install host dependencies
|
||||
ARG DISTRIBUTION_PACKAGES
|
||||
RUN \
|
||||
--mount=type=cache,target=/var/cache/dnf,sharing=locked \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
printf "keepcache=True" >> /etc/dnf/dnf.conf
|
||||
dnf update -y
|
||||
dnf install -y \
|
||||
bash clang lld llvm file cmake pkg-config curl git rpm-build
|
||||
EOF
|
||||
|
||||
ENV CARGO_HOME="/cargo"
|
||||
ENV RUSTUP_HOME="/rustup"
|
||||
|
||||
RUN \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
EOF
|
||||
|
||||
ENV PATH="${CARGO_HOME}/bin:${PATH}"
|
||||
|
||||
WORKDIR /source
|
||||
|
||||
FROM build-base AS build-prep
|
||||
|
||||
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL='sparse'
|
||||
ENV CARGO_TARGET_DIR='/target'
|
||||
ENV CARGO_NET_GIT_FETCH_WITH_CLI="true"
|
||||
|
||||
COPY --link . .
|
||||
|
||||
RUN \
|
||||
--mount=type=cache,target=/cargo/git/db,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/cache,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/index,sharing=locked \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
cargo fetch --locked
|
||||
EOF
|
||||
|
||||
# Install target dependencies
|
||||
ARG TARGETPLATFORM
|
||||
ARG DISTRIBUTION_PACKAGES
|
||||
RUN \
|
||||
--mount=type=cache,target=/var/cache/dnf,sharing=locked \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
mkdir -p /run/lock
|
||||
mkdir -p /var/run/lock
|
||||
XX_DEBUG_DNF=1 \
|
||||
xx-dnf install -y \
|
||||
"xx-cxx-essentials" \
|
||||
${DISTRIBUTION_PACKAGES}
|
||||
EOF
|
||||
|
||||
FROM build-prep AS build
|
||||
|
||||
ARG PACKAGE_NAME
|
||||
ENV PACKAGE_NAME="${PACKAGE_NAME}"
|
||||
|
||||
ARG CARGO_BUILD_INCREMENTAL='false'
|
||||
|
||||
ENV CC='xx-clang'
|
||||
ENV CXX='xx-clang++'
|
||||
|
||||
ENV OPENSSL_NO_VENDOR="1"
|
||||
ENV ZSTD_SYS_USE_PKG_CONFIG="1"
|
||||
|
||||
ARG RELEASE_TAG_NAME
|
||||
ENV RELEASE_TAG_NAME="${RELEASE_TAG_NAME}"
|
||||
|
||||
RUN \
|
||||
--mount=type=cache,target=/cargo/git/db,readonly=true \
|
||||
--mount=type=cache,target=/cargo/registry/cache,readonly=true \
|
||||
--mount=type=cache,target=/cargo/registry/index,readonly=true \
|
||||
--mount=type=cache,target=/root/.cache,sharing=private \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
LAPCE_VERSION=$(cargo pkgid | cut -d'#' -f2 | cut -d'@' -f2 | cut -d':' -f2)
|
||||
|
||||
case "${RELEASE_TAG_NAME}" in
|
||||
nightly-*)
|
||||
commit=$(echo "${RELEASE_TAG_NAME}" | cut -d'-' -f2)
|
||||
RELEASE_TAG_NAME="${LAPCE_VERSION}+${commit}"
|
||||
;;
|
||||
debug|nightly)
|
||||
date=$(date +%Y%m%d%H%M)
|
||||
RELEASE_TAG_NAME="${LAPCE_VERSION}+${date}"
|
||||
;;
|
||||
*)
|
||||
RELEASE_TAG_NAME="${RELEASE_TAG_NAME//v/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
. /etc/os-release
|
||||
export DISTRO_ID="$(echo $ID | tr - _)"
|
||||
export DISTRO_VERSION="$(echo $VERSION_ID | tr - _)"
|
||||
|
||||
cat > lapce.spec <<EOL
|
||||
Name: ${PACKAGE_NAME}
|
||||
Version: ${RELEASE_TAG_NAME}
|
||||
Release: 1.${DISTRO_ID}${DISTRO_VERSION}
|
||||
Summary: Lightning-fast and Powerful Code Editor written in Rust
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/lapce/lapce
|
||||
Packager: Jakub Panek
|
||||
|
||||
%description
|
||||
Lapce is written in pure Rust with a UI in Floem (which is also written in Rust).
|
||||
It is designed with Rope Science from the Xi-Editor which makes for lightning-fast computation, and leverages OpenGL for rendering.
|
||||
|
||||
%build
|
||||
xx-clang --setup-target-triple
|
||||
xx-clang --wrap
|
||||
export RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=/usr/bin/ld.lld"
|
||||
export PKG_CONFIG="$(xx-clang --print-prog-name=pkg-config)"
|
||||
rustup target add "$(xx-cargo --print-target-triple)"
|
||||
export RELEASE_TAG_NAME="${RELEASE_TAG_NAME}"
|
||||
xx-cargo build --profile release-lto --bin lapce --frozen
|
||||
xx-verify "${CARGO_TARGET_DIR}"/"$(xx-cargo --print-target-triple)"/release-lto/lapce
|
||||
|
||||
%install
|
||||
install -Dm755 "${CARGO_TARGET_DIR}"/"$(xx-cargo --print-target-triple)"/release-lto/lapce %{buildroot}%{_bindir}/lapce
|
||||
install -Dm644 extra/linux/dev.lapce.lapce.desktop %{buildroot}/usr/share/applications/dev.lapce.lapce.desktop
|
||||
install -Dm644 extra/linux/dev.lapce.lapce.metainfo.xml %{buildroot}/usr/share/metainfo/dev.lapce.lapce.metainfo.xml
|
||||
install -Dm644 extra/images/logo.png %{buildroot}/usr/share/pixmaps/dev.lapce.lapce.png
|
||||
|
||||
%files
|
||||
%license LICENSE*
|
||||
%doc *.md
|
||||
%{_bindir}/lapce
|
||||
/usr/share/applications/dev.lapce.lapce.desktop
|
||||
/usr/share/metainfo/dev.lapce.lapce.metainfo.xml
|
||||
/usr/share/pixmaps/dev.lapce.lapce.png
|
||||
|
||||
%changelog
|
||||
* Thu Apr 25 2024 Jakub Panek
|
||||
- See GitHub for full changelog
|
||||
EOL
|
||||
|
||||
/usr/bin/rpmbuild --build-in-place --noclean --noprep -bb --rmspec lapce.spec --verbose -D 'debug_package %{nil}'
|
||||
ls -lahR $HOME/rpmbuild
|
||||
EOF
|
||||
|
||||
RUN \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
mv -v $HOME/rpmbuild/RPMS/* /output/
|
||||
EOF
|
||||
|
||||
FROM build-base AS dev
|
||||
COPY . ./dev
|
||||
|
||||
FROM scratch AS binary
|
||||
COPY --from=build /output/lapce .
|
||||
|
||||
FROM scratch AS cross-binary
|
||||
COPY --from=build /output/lapce .
|
||||
|
||||
FROM scratch AS package
|
||||
COPY --from=build /output/*.rpm .
|
||||
|
||||
FROM scratch AS cross-package
|
||||
COPY --from=build /output/*.rpm .
|
||||
@@ -0,0 +1,213 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG DISTRIBUTION_VERSION
|
||||
ARG RUST_VERSION
|
||||
ARG XX_VERSION
|
||||
|
||||
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
|
||||
FROM --platform=$BUILDPLATFORM ubuntu:${DISTRIBUTION_VERSION} AS build-base
|
||||
COPY --from=xx / /
|
||||
|
||||
SHELL [ "/bin/bash", "-c" ]
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
rm -f /etc/apt/apt.conf.d/docker-clean
|
||||
echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
|
||||
EOF
|
||||
|
||||
# install host dependencies
|
||||
ARG DISTRIBUTION_PACKAGES
|
||||
RUN \
|
||||
--mount=type=cache,target=/var/cache/apt,sharing=private \
|
||||
--mount=type=cache,target=/var/lib/apt,sharing=private \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
apt-get update -y
|
||||
apt-get upgrade -y
|
||||
apt-get install -y \
|
||||
bash clang lld llvm file cmake pkg-config curl git dpkg-dev \
|
||||
${DISTRIBUTION_PACKAGES}
|
||||
EOF
|
||||
|
||||
ENV CARGO_HOME="/cargo"
|
||||
ENV RUSTUP_HOME="/rustup"
|
||||
|
||||
RUN \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
EOF
|
||||
|
||||
ENV PATH="${CARGO_HOME}/bin:${PATH}"
|
||||
|
||||
WORKDIR /source
|
||||
COPY --link . .
|
||||
|
||||
FROM build-base AS build-prep
|
||||
|
||||
ENV CARGO_TARGET_DIR='/target'
|
||||
|
||||
RUN \
|
||||
--mount=type=cache,target=/cargo/git/db,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/cache,sharing=locked \
|
||||
--mount=type=cache,target=/cargo/registry/index,sharing=locked \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
cargo fetch --locked
|
||||
EOF
|
||||
|
||||
# Install target dependencies
|
||||
ARG TARGETPLATFORM
|
||||
ARG DISTRIBUTION_PACKAGES
|
||||
RUN \
|
||||
--mount=type=cache,target=/var/cache/apt,sharing=private \
|
||||
--mount=type=cache,target=/var/lib/apt,sharing=private \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
xx-apt-get install -y \
|
||||
"xx-cxx-essentials" \
|
||||
${DISTRIBUTION_PACKAGES}
|
||||
EOF
|
||||
|
||||
FROM build-prep AS build
|
||||
|
||||
ARG PACKAGE_NAME
|
||||
|
||||
ARG OUTPUT_DIR="/output"
|
||||
|
||||
ARG CARGO_BUILD_INCREMENTAL='false'
|
||||
|
||||
ENV CC='xx-clang'
|
||||
ENV CXX='xx-clang++'
|
||||
|
||||
ARG ZSTD_SYS_USE_PKG_CONFIG
|
||||
ARG LIBGIT2_STATIC
|
||||
ARG LIBSSH2_STATIC
|
||||
ARG LIBZ_SYS_STATIC
|
||||
ARG OPENSSL_STATIC
|
||||
ARG OPENSSL_NO_VENDOR
|
||||
ARG PKG_CONFIG_ALL_STATIC
|
||||
|
||||
ARG RELEASE_TAG_NAME
|
||||
|
||||
RUN \
|
||||
--mount=type=cache,target=/cargo/git/db,sharing=shared,readonly \
|
||||
--mount=type=cache,target=/cargo/registry/cache,sharing=shared,readonly \
|
||||
--mount=type=cache,target=/cargo/registry/index,sharing=shared,readonly \
|
||||
--mount=type=cache,target=/root/.cache,sharing=private \
|
||||
<<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
xx-clang --setup-target-triple
|
||||
xx-clang --wrap
|
||||
|
||||
export RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=/usr/bin/ld.lld"
|
||||
export PKG_CONFIG="$(xx-clang --print-prog-name=pkg-config)"
|
||||
export CARGO_BUILD_TARGET="$(xx-cargo --print-target-triple)"
|
||||
|
||||
env
|
||||
|
||||
xx-cargo build \
|
||||
--frozen \
|
||||
--package lapce-app \
|
||||
--profile release-lto \
|
||||
--no-default-features
|
||||
|
||||
xx-verify "${CARGO_TARGET_DIR}"/"$(xx-cargo --print-target-triple)"/release-lto/lapce
|
||||
|
||||
mkdir -p /target
|
||||
mv -v "${CARGO_TARGET_DIR}"/"$(xx-cargo --print-target-triple)"/release-lto/lapce /target/
|
||||
|
||||
cargo pkgid | cut -d'#' -f2 | cut -d'@' -f2 | cut -d':' -f2 | tee /target/lapce.version
|
||||
EOF
|
||||
|
||||
FROM build-base AS dev
|
||||
COPY . ./dev
|
||||
|
||||
FROM scratch AS binary
|
||||
COPY --from=build /target/lapce .
|
||||
|
||||
FROM scratch AS cross-binary
|
||||
COPY --from=build /target/lapce .
|
||||
|
||||
FROM build AS package-prepare
|
||||
WORKDIR /output
|
||||
COPY --from=build /target /target
|
||||
RUN <<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
export _PACKAGE_ARCHITECTURE=$(xx-info debian-arch)
|
||||
|
||||
mkdir -v -p ${PACKAGE_NAME}/{etc,usr/{bin,share/{applications,metainfo,pixmaps}},debian}
|
||||
cd ${PACKAGE_NAME}
|
||||
|
||||
cp '/source/extra/linux/dev.lapce.lapce.desktop' './usr/share/applications/dev.lapce.lapce.desktop'
|
||||
cp '/source/extra/linux/dev.lapce.lapce.metainfo.xml' './usr/share/metainfo/dev.lapce.lapce.metainfo.xml'
|
||||
cp '/source/extra/images/logo.png' './usr/share/pixmaps/dev.lapce.lapce.png'
|
||||
|
||||
mv '/target/lapce' './usr/bin/'
|
||||
|
||||
if [[ "${PACKAGE_NAME}" == "lapce" ]]; then
|
||||
conflicts="lapce-nightly"
|
||||
else
|
||||
conflicts="lapce"
|
||||
fi
|
||||
|
||||
case "${RELEASE_TAG_NAME}" in
|
||||
nightly-*)
|
||||
version=$(cat /target/lapce.version)
|
||||
commit=$(echo "${RELEASE_TAG_NAME}" | cut -d'-' -f2)
|
||||
# date=$(date +%Y%m%d%H%M)
|
||||
RELEASE_TAG_NAME="${version}+${commit}"
|
||||
;;
|
||||
debug|nightly)
|
||||
version=$(cat /target/lapce.version)
|
||||
date=$(date +%Y%m%d%H%M)
|
||||
RELEASE_TAG_NAME="${version}+${date}"
|
||||
;;
|
||||
*)
|
||||
RELEASE_TAG_NAME="${RELEASE_TAG_NAME//v/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
cat <<- EOL > debian/control
|
||||
Package: ${PACKAGE_NAME}
|
||||
Version: ${RELEASE_TAG_NAME}
|
||||
Conflicts: ${conflicts}
|
||||
Maintainer: Jakub Panek <me+debian@panekj.dev>
|
||||
Architecture: ${_PACKAGE_ARCHITECTURE}
|
||||
Description: Lightning-fast and Powerful Code Editor
|
||||
Source: https://lapce.dev
|
||||
EOL
|
||||
|
||||
depends=$(dpkg-shlibdeps -O -e usr/bin/lapce)
|
||||
depends=$(echo "${depends}" | sed 's/shlibs:Depends=//')
|
||||
echo "Depends: ${depends}" >> debian/control
|
||||
mv debian DEBIAN
|
||||
|
||||
. /etc/os-release
|
||||
|
||||
dpkg-deb --root-owner-group --build . "${OUTPUT_DIR}"/"${PACKAGE_NAME}.${ID}.${VERSION_CODENAME}.${_PACKAGE_ARCHITECTURE}.deb"
|
||||
EOF
|
||||
|
||||
FROM scratch AS package
|
||||
COPY --from=package-prepare /output/*.deb .
|
||||
|
||||
FROM scratch AS cross-package
|
||||
COPY --from=package-prepare /output/*.deb .
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>lapce</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>io.lapce</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Lapce</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.4.6</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>lapce.icns</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>NSMainNibFile</key>
|
||||
<string></string>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Lapce</string>
|
||||
<key>NSRequiresAquaSystemAppearance</key>
|
||||
<string>NO</string>
|
||||
<key>NSAppleEventsUsageDescription</key>
|
||||
<string>An application in Lapce would like to access AppleScript.</string>
|
||||
<key>NSCalendarsUsageDescription</key>
|
||||
<string>An application in Lapce would like to access calendar data.</string>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>An application in Lapce would like to access the camera.</string>
|
||||
<key>NSContactsUsageDescription</key>
|
||||
<string>An application in Lapce wants to access your contacts.</string>
|
||||
<key>NSLocationAlwaysUsageDescription</key>
|
||||
<string>An application in Lapce would like to access your location information, even in the background.</string>
|
||||
<key>NSLocationUsageDescription</key>
|
||||
<string>An application in Lapce would like to access your location information.</string>
|
||||
<key>NSLocationWhenInUseUsageDescription</key>
|
||||
<string>An application in Lapce would like to access your location information while active.</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>An application in Lapce would like to access your microphone.</string>
|
||||
<key>NSRemindersUsageDescription</key>
|
||||
<string>An application in Lapce would like to access your reminders.</string>
|
||||
<key>NSSystemAdministrationUsageDescription</key>
|
||||
<string>An application in Lapce requires elevated permissions.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,47 @@
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[string]$version,
|
||||
[string]$directory
|
||||
)
|
||||
|
||||
$proxy = (Join-Path $directory 'lapce.exe')
|
||||
|
||||
$LapceProcesses = (Get-Process -Name 'lapce' -EA SilentlyContinue).Count
|
||||
if ($LapceProcesses -ne 0) {
|
||||
Write-Host 'Proxy currently in use. Aborting installation'
|
||||
exit
|
||||
}
|
||||
|
||||
if (Test-Path $proxy) {
|
||||
Write-Host 'Proxy already installed'
|
||||
exit
|
||||
}
|
||||
|
||||
switch ($env:PROCESSOR_ARCHITECTURE) {
|
||||
# Only x86_64 is supported currently
|
||||
'AMD64' {
|
||||
$arch = 'x86_64'
|
||||
}
|
||||
}
|
||||
|
||||
$url = "https://github.com/lapce/lapce/releases/download/${version}/lapce-proxy-windows-${arch}.gz"
|
||||
$gzip = Join-Path "${env:TMP}" "lapce-proxy-windows-${arch}.gz"
|
||||
|
||||
$webclient = [System.Net.WebClient]::new()
|
||||
$webclient.DownloadFile($url, $gzip)
|
||||
$webclient.Dispose()
|
||||
|
||||
[System.IO.Directory]::CreateDirectory($directory)
|
||||
|
||||
$archive = [System.IO.File]::Open($gzip, [System.IO.FileMode]::Open)
|
||||
$proxy_file = [System.IO.File]::Create($proxy)
|
||||
$compressor = [System.IO.Compression.GZipStream]::new($archive, [System.IO.Compression.CompressionMode]::Decompress)
|
||||
$compressor.CopyTo($proxy_file)
|
||||
Start-Sleep -Seconds 3
|
||||
$compressor.close()
|
||||
$proxy_file.close()
|
||||
$archive.close()
|
||||
|
||||
[System.IO.File]::Delete($gzip)
|
||||
|
||||
Write-Host 'lapce-proxy installed'
|
||||
@@ -0,0 +1,104 @@
|
||||
#!/bin/sh
|
||||
set -eux
|
||||
|
||||
# This script is written to be as POSIX as possible
|
||||
# so it works fine for all Unix-like operating systems
|
||||
|
||||
test_cmd() {
|
||||
command -v "$1" >/dev/null
|
||||
}
|
||||
|
||||
# proxy version
|
||||
lapce_new_ver="${1}"
|
||||
# proxy directory
|
||||
# eval to resolve '~' into proper user dir
|
||||
eval lapce_dir="'${2}'"
|
||||
|
||||
case "${lapce_new_ver}" in
|
||||
v*)
|
||||
lapce_new_version=$(echo "${lapce_new_ver}" | cut -d'v' -f2)
|
||||
lapce_new_ver_tag="${lapce_new_ver}"
|
||||
;;
|
||||
nightly*)
|
||||
lapce_new_version="${lapce_new_ver}"
|
||||
lapce_new_ver_tag=$(echo ${lapce_new_ver} | cut -d '-' -f1)
|
||||
;;
|
||||
*)
|
||||
printf 'Unknown version\n'
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -e "${lapce_dir}/lapce" ]; then
|
||||
lapce_installed_ver=$("${lapce_dir}/lapce" --version | cut -d' ' -f2)
|
||||
|
||||
printf '[DEBUG]: Current proxy version: %s\n' "${lapce_installed_ver}"
|
||||
printf '[DEBUG]: New proxy version: %s\n' "${lapce_new_version}"
|
||||
if [ "${lapce_installed_ver}" = "${lapce_new_version}" ]; then
|
||||
printf 'Proxy already exists\n'
|
||||
exit 0
|
||||
else
|
||||
printf 'Proxy outdated. Replacing proxy\n'
|
||||
rm "${lapce_dir}/lapce"
|
||||
fi
|
||||
fi
|
||||
|
||||
for _cmd in tar gzip uname; do
|
||||
if ! test_cmd "${_cmd}"; then
|
||||
printf 'Missing required command: %s\n' "${_cmd}"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
# Currently only linux/darwin are supported
|
||||
case $(uname -s) in
|
||||
Linux) os_name=linux ;;
|
||||
Darwin) os_name=darwin ;;
|
||||
*)
|
||||
printf '[ERROR] unsupported os\n'
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# Currently only amd64/arm64 are supported
|
||||
case $(uname -m) in
|
||||
x86_64|amd64|x64) arch_name=x86_64 ;;
|
||||
arm64|aarch64) arch_name=aarch64 ;;
|
||||
# riscv64) arch_name=riscv64 ;;
|
||||
*)
|
||||
printf '[ERROR] unsupported arch\n'
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
lapce_download_url="https://github.com/lapce/lapce/releases/download/${lapce_new_ver_tag}/lapce-proxy-${os_name}-${arch_name}.gz"
|
||||
|
||||
printf 'Creating "%s"\n' "${lapce_dir}"
|
||||
mkdir -p "${lapce_dir}"
|
||||
cd "${lapce_dir}"
|
||||
|
||||
if test_cmd 'curl'; then
|
||||
# How old curl has these options? we'll find out
|
||||
printf 'Downloading using curl\n'
|
||||
curl --proto '=https' --tlsv1.2 -LfS -O "${lapce_download_url}"
|
||||
# curl --proto '=https' --tlsv1.2 -LZfS -o "${tmp_dir}/lapce-proxy-${os_name}-${arch_name}.gz" "${lapce_download_url}"
|
||||
elif test_cmd 'wget'; then
|
||||
printf 'Downloading using wget\n'
|
||||
wget "${lapce_download_url}"
|
||||
else
|
||||
printf 'curl/wget not found, failed to download proxy\n'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf 'Decompressing gzip\n'
|
||||
gzip -df "${lapce_dir}/lapce-proxy-${os_name}-${arch_name}.gz"
|
||||
|
||||
printf 'Renaming proxy \n'
|
||||
mv -v "${lapce_dir}/lapce-proxy-${os_name}-${arch_name}" "${lapce_dir}/lapce"
|
||||
|
||||
printf 'Making it executable\n'
|
||||
chmod +x "${lapce_dir}/lapce"
|
||||
|
||||
printf 'lapce-proxy installed\n'
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"$ref": "#/definitions/ColorTheme",
|
||||
"definitions": {
|
||||
"ColorTheme": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"color-theme": {
|
||||
"$ref": "#/definitions/ColorThemeClass"
|
||||
},
|
||||
"ui": {
|
||||
"$ref": "#/definitions/UI"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "ColorTheme"
|
||||
},
|
||||
"ColorThemeClass": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"base": {
|
||||
"$ref": "#/definitions/Base"
|
||||
},
|
||||
"syntax": {
|
||||
"$ref": "#/definitions/Syntax"
|
||||
},
|
||||
"ui": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "ColorThemeClass"
|
||||
},
|
||||
"Base": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"required": [],
|
||||
"title": "Base"
|
||||
},
|
||||
"Syntax": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"comment": {
|
||||
"type": "string"
|
||||
},
|
||||
"constant": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"typeAlias": {
|
||||
"type": "string"
|
||||
},
|
||||
"number": {
|
||||
"type": "string"
|
||||
},
|
||||
"enum": {
|
||||
"type": "string"
|
||||
},
|
||||
"struct": {
|
||||
"type": "string"
|
||||
},
|
||||
"structure": {
|
||||
"type": "string"
|
||||
},
|
||||
"interface": {
|
||||
"type": "string"
|
||||
},
|
||||
"attribute": {
|
||||
"type": "string"
|
||||
},
|
||||
"constructor": {
|
||||
"type": "string"
|
||||
},
|
||||
"function": {
|
||||
"type": "string"
|
||||
},
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"function.method": {
|
||||
"type": "string"
|
||||
},
|
||||
"keyword": {
|
||||
"type": "string"
|
||||
},
|
||||
"selfKeyword": {
|
||||
"type": "string"
|
||||
},
|
||||
"field": {
|
||||
"type": "string"
|
||||
},
|
||||
"property": {
|
||||
"type": "string"
|
||||
},
|
||||
"enumMember": {
|
||||
"type": "string"
|
||||
},
|
||||
"enum-member": {
|
||||
"type": "string"
|
||||
},
|
||||
"string": {
|
||||
"type": "string"
|
||||
},
|
||||
"type.builtin": {
|
||||
"type": "string"
|
||||
},
|
||||
"builtinType": {
|
||||
"type": "string"
|
||||
},
|
||||
"escape": {
|
||||
"type": "string"
|
||||
},
|
||||
"string.escape": {
|
||||
"type": "string"
|
||||
},
|
||||
"embedded": {
|
||||
"type": "string"
|
||||
},
|
||||
"punctuation.delimiter": {
|
||||
"type": "string"
|
||||
},
|
||||
"text.title": {
|
||||
"type": "string"
|
||||
},
|
||||
"text.uri": {
|
||||
"type": "string"
|
||||
},
|
||||
"text.reference": {
|
||||
"type": "string"
|
||||
},
|
||||
"variable": {
|
||||
"type": "string"
|
||||
},
|
||||
"variable.other.member": {
|
||||
"type": "string"
|
||||
},
|
||||
"tag": {
|
||||
"type": "string"
|
||||
},
|
||||
"bracket.color.1": {
|
||||
"type": "string"
|
||||
},
|
||||
"bracket.color.2": {
|
||||
"type": "string"
|
||||
},
|
||||
"bracket.color.3": {
|
||||
"type": "string"
|
||||
},
|
||||
"bracket.unpaired": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "Syntax"
|
||||
},
|
||||
"UI": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"font-family": {
|
||||
"type": "string"
|
||||
},
|
||||
"font-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"header-height": {
|
||||
"type": "integer"
|
||||
},
|
||||
"status-height": {
|
||||
"type": "integer"
|
||||
},
|
||||
"tab-min-width": {
|
||||
"type": "integer"
|
||||
},
|
||||
"activity-width": {
|
||||
"type": "integer"
|
||||
},
|
||||
"scroll-width": {
|
||||
"type": "integer"
|
||||
},
|
||||
"drop-shadow-width": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "UI"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"$ref": "#/definitions/IconTheme",
|
||||
"definitions": {
|
||||
"IconTheme": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"icon-theme": {
|
||||
"$ref": "#/definitions/IconThemeClass"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "IconTheme"
|
||||
},
|
||||
"IconThemeClass": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"ui": {
|
||||
"$ref": "#/definitions/IconMapping"
|
||||
},
|
||||
"foldername": {
|
||||
"$ref": "#/definitions/IconMapping"
|
||||
},
|
||||
"filename": {
|
||||
"$ref": "#/definitions/IconMapping"
|
||||
},
|
||||
"extension": {
|
||||
"$ref": "#/definitions/IconMapping"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "IconThemeClass"
|
||||
},
|
||||
"IconMapping": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"*" : {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"title": "IconMapping"
|
||||
},
|
||||
"Extension": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"[a-zA-Z0-9]" : {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"title": "IconMapping"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"$ref": "#/definitions/Settings",
|
||||
"definitions": {
|
||||
"Settings": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"core": {
|
||||
"$ref": "#/definitions/Core"
|
||||
},
|
||||
"editor": {
|
||||
"$ref": "#/definitions/Editor"
|
||||
},
|
||||
"terminal": {
|
||||
"$ref": "#/definitions/Terminal"
|
||||
},
|
||||
"ui": {
|
||||
"$ref": "#/definitions/UI"
|
||||
},
|
||||
"color-theme": {
|
||||
"$ref": "file://./color-theme.json"
|
||||
},
|
||||
"icon-theme": {
|
||||
"$schema": "file://./icon-theme.json"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "Settings"
|
||||
},
|
||||
"Base": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"white": {
|
||||
"type": "string"
|
||||
},
|
||||
"black": {
|
||||
"type": "string"
|
||||
},
|
||||
"grey": {
|
||||
"type": "string"
|
||||
},
|
||||
"blue": {
|
||||
"type": "string"
|
||||
},
|
||||
"red": {
|
||||
"type": "string"
|
||||
},
|
||||
"yellow": {
|
||||
"type": "string"
|
||||
},
|
||||
"orange": {
|
||||
"type": "string"
|
||||
},
|
||||
"green": {
|
||||
"type": "string"
|
||||
},
|
||||
"purple": {
|
||||
"type": "string"
|
||||
},
|
||||
"cyan": {
|
||||
"type": "string"
|
||||
},
|
||||
"magenta": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "Base"
|
||||
},
|
||||
"Syntax": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"comment": {
|
||||
"type": "string"
|
||||
},
|
||||
"constant": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"typeAlias": {
|
||||
"type": "string"
|
||||
},
|
||||
"number": {
|
||||
"type": "string"
|
||||
},
|
||||
"enum": {
|
||||
"type": "string"
|
||||
},
|
||||
"struct": {
|
||||
"type": "string"
|
||||
},
|
||||
"structure": {
|
||||
"type": "string"
|
||||
},
|
||||
"interface": {
|
||||
"type": "string"
|
||||
},
|
||||
"attribute": {
|
||||
"type": "string"
|
||||
},
|
||||
"constructor": {
|
||||
"type": "string"
|
||||
},
|
||||
"function": {
|
||||
"type": "string"
|
||||
},
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"function.method": {
|
||||
"type": "string"
|
||||
},
|
||||
"keyword": {
|
||||
"type": "string"
|
||||
},
|
||||
"keyword.control": {
|
||||
"type": "string"
|
||||
},
|
||||
"selfKeyword": {
|
||||
"type": "string"
|
||||
},
|
||||
"field": {
|
||||
"type": "string"
|
||||
},
|
||||
"property": {
|
||||
"type": "string"
|
||||
},
|
||||
"enumMember": {
|
||||
"type": "string"
|
||||
},
|
||||
"enum-member": {
|
||||
"type": "string"
|
||||
},
|
||||
"variable.other.member": {
|
||||
"type": "string"
|
||||
},
|
||||
"string": {
|
||||
"type": "string"
|
||||
},
|
||||
"type.builtin": {
|
||||
"type": "string"
|
||||
},
|
||||
"builtinType": {
|
||||
"type": "string"
|
||||
},
|
||||
"escape": {
|
||||
"type": "string"
|
||||
},
|
||||
"embedded": {
|
||||
"type": "string"
|
||||
},
|
||||
"symbol": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "Syntax"
|
||||
},
|
||||
"Core": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"modal": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"color-theme": {
|
||||
"type": "string"
|
||||
},
|
||||
"icon-theme": {
|
||||
"type": "string"
|
||||
},
|
||||
"custom-titlebar": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "Core"
|
||||
},
|
||||
"Editor": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"font-family": {
|
||||
"type": "string"
|
||||
},
|
||||
"font-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"code-lens-font-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"line-height": {
|
||||
"type": "number"
|
||||
},
|
||||
"tab-width": {
|
||||
"type": "integer"
|
||||
},
|
||||
"show-tab": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"show-bread-crumbs": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"scroll-beyond-last-line": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"cursor-surrounding-lines": {
|
||||
"type": "integer"
|
||||
},
|
||||
"sticky-header": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"completion-show-documentation": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"auto-closing-matching-pairs": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"auto-surround": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"hover-delay": {
|
||||
"type": "integer"
|
||||
},
|
||||
"modal-mode-relative-line-numbers": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"format-on-save": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"highlight-matching-brackets": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"highlight-selection-occurrences": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"autosave-interval": {
|
||||
"type": "integer"
|
||||
},
|
||||
"enable-inlay-hints": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inlay-hint-font-family": {
|
||||
"type": "string"
|
||||
},
|
||||
"inlay-hint-font-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"enable-error-lens": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"error-lens-end-of-line": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"error-lens-font-family": {
|
||||
"type": "string"
|
||||
},
|
||||
"error-lens-font-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"blink-interval": {
|
||||
"type": "integer"
|
||||
},
|
||||
"multicursor-case-sensitive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"multicursor-whole-words": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"render-whitespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"show-indent-guide": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"atomic-soft-tabs": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "Editor"
|
||||
},
|
||||
"Terminal": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"font-family": {
|
||||
"type": "string"
|
||||
},
|
||||
"font-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"line-height": {
|
||||
"type": "integer"
|
||||
},
|
||||
"shell": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "Terminal"
|
||||
},
|
||||
"UI": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"font-family": {
|
||||
"type": "string"
|
||||
},
|
||||
"font-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"icon-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"header-height": {
|
||||
"type": "integer"
|
||||
},
|
||||
"status-height": {
|
||||
"type": "integer"
|
||||
},
|
||||
"tab-min-width": {
|
||||
"type": "integer"
|
||||
},
|
||||
"scroll-width": {
|
||||
"type": "integer"
|
||||
},
|
||||
"drop-shadow-width": {
|
||||
"type": "integer"
|
||||
},
|
||||
"palette-width": {
|
||||
"type": "integer"
|
||||
},
|
||||
"hover-font-family": {
|
||||
"type": "string"
|
||||
},
|
||||
"hover-font-size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"trim-search-results-whitespace": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"title": "UI"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 401 KiB |
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="windows-1252"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||
<Product Name="Lapce" Id="*" UpgradeCode="9c09a374-1135-4782-959f-2dec376a1dfa" Language="1033" Codepage="1252" Version="0.4.6" Manufacturer="Lapce">
|
||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"/>
|
||||
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed."/>
|
||||
<Icon Id="lapce.exe" SourceFile=".\extra\windows\lapce.ico"/>
|
||||
<WixVariable Id="WixUILicenseRtf" Value=".\extra\windows\wix\license.rtf"/>
|
||||
<Property Id="ARPPRODUCTICON" Value="lapce.exe"/>
|
||||
<MediaTemplate EmbedCab="yes"/>
|
||||
<UIRef Id="WixUI_Minimal"/>
|
||||
|
||||
<Feature Id="ProductFeature" Title="ConsoleApp" Level="1">
|
||||
<ComponentRef Id="LapceExe"/>
|
||||
<ComponentRef Id="LapceShortcut"/>
|
||||
<ComponentRef Id="ModifyPathEnv"/>
|
||||
<ComponentRef Id="ContextMenu"/>
|
||||
</Feature>
|
||||
|
||||
<!-- Create directories -->
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Directory Id="ProgramFiles64Folder">
|
||||
<Directory Id="LapceProgramFiles" Name="Lapce"/>
|
||||
</Directory>
|
||||
<Directory Id="ProgramMenuFolder">
|
||||
<Directory Id="LapceProgramMenu" Name="Lapce"/>
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<!-- Application binaries -->
|
||||
<DirectoryRef Id="LapceProgramFiles">
|
||||
<Component Id="LapceExe" Guid="*">
|
||||
<File Id="LapceExeFile" Source=".\target\release-lto\lapce.exe" Name="lapce.exe" KeyPath="yes"/>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
|
||||
<DirectoryRef Id="LapceProgramMenu">
|
||||
<!-- Application shortcut -->
|
||||
<Component Id="LapceShortcut" Guid="7d3d3a8e-febb-4759-8eca-873676d5066a">
|
||||
<Shortcut Id="LapceShortcutFile" Icon="lapce.exe" Name="Lapce" Description="Lightning-fast and Powerful Code Editor" Target="[LapceProgramFiles]lapce.exe"/>
|
||||
<RemoveFolder Id="LapceProgramMenu" On="uninstall"/>
|
||||
<RegistryValue Root="HKCU" Key="Software\Microsoft\Lapce" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
|
||||
<DirectoryRef Id="LapceProgramFiles">
|
||||
<!-- Add to PATH -->
|
||||
<Component Id="ModifyPathEnv" Guid="0581ccb0-5db8-4935-8b07-8f46bc2d7171" KeyPath="yes">
|
||||
<Environment Id="PathEnv" Value="[LapceProgramFiles]" Name="PATH" Permanent="no" Part="first" Action="set" System="yes"/>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
|
||||
<DirectoryRef Id="TARGETDIR">
|
||||
<!-- Add context menu -->
|
||||
<Component Id="ContextMenu" Guid="22ad399b-1d77-416c-ae33-57e8f8511177">
|
||||
<RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\Open Lapce here\command">
|
||||
<RegistryValue Type="string" Value="[LapceProgramFiles]lapce.exe "%V"" KeyPath="yes"/>
|
||||
</RegistryKey>
|
||||
<RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\Open Lapce here">
|
||||
<RegistryValue Type="string" Name="Icon" Value="[LapceProgramFiles]lapce.exe"/>
|
||||
</RegistryKey>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
</Product>
|
||||
</Wix>
|
||||
@@ -0,0 +1,53 @@
|
||||
{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{}
|
||||
{\*\generator Riched20 10.0.17763}\viewkind4\uc1
|
||||
\pard\sa200\sl276\slmult1\qc\f0\fs22\lang9 Apache License\par
|
||||
Version 2.0, January 2004\par
|
||||
{{\field{\*\fldinst{HYPERLINK http://www.apache.org/licenses/ }}{\fldrslt{http://www.apache.org/licenses/\ul0\cf0}}}}\f0\fs22\par
|
||||
|
||||
\pard\sa200\sl276\slmult1\par
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\par
|
||||
\par
|
||||
1. Definitions.\par
|
||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\par
|
||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\par
|
||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\par
|
||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\par
|
||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.\par
|
||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\par
|
||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\par
|
||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\par
|
||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\par
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\par
|
||||
2. Grant of Copyright License.\par
|
||||
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\par
|
||||
3. Grant of Patent License.\par
|
||||
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\par
|
||||
4. Redistribution.\par
|
||||
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\par
|
||||
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and\par
|
||||
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and\par
|
||||
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and\par
|
||||
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.\par
|
||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\par
|
||||
5. Submission of Contributions.\par
|
||||
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\par
|
||||
6. Trademarks.\par
|
||||
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\par
|
||||
7. Disclaimer of Warranty.\par
|
||||
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\par
|
||||
8. Limitation of Liability.\par
|
||||
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\par
|
||||
9. Accepting Warranty or Additional Liability.\par
|
||||
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.\par
|
||||
END OF TERMS AND CONDITIONS\par
|
||||
\par
|
||||
APPENDIX: How to apply the Apache License to your work.\par
|
||||
\par
|
||||
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.\par
|
||||
Copyright 2016 Joe Wilm, The Alacritty Project Contributors\par
|
||||
Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at\par
|
||||
\par
|
||||
\tab {{\field{\*\fldinst{HYPERLINK http://www.apache.org/licenses/LICENSE-2.0 }}{\fldrslt{http://www.apache.org/licenses/LICENSE-2.0\ul0\cf0}}}}\f0\fs22\par
|
||||
\par
|
||||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions andlimitations under the License.\par
|
||||
}
|
||||