mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
move mac build code into separate project
This commit is contained in:
parent
09f3de3fb5
commit
1eada61710
13 changed files with 0 additions and 836 deletions
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# hack because py2app barfs on a try block
|
||||
|
||||
import aqt
|
||||
aqt.run()
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 93 KiB |
|
|
@ -1,610 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="800"
|
||||
height="600"
|
||||
id="svg2"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.47 r22583"
|
||||
sodipodi:docname="anki-logo.svg"
|
||||
version="1.0"
|
||||
inkscape:export-filename="/Users/stauff/anki-logo-bg.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs4">
|
||||
<inkscape:path-effect
|
||||
effect="bend_path"
|
||||
id="path-effect4420"
|
||||
is_visible="true"
|
||||
bendpath="m 114,125 64.76386,0"
|
||||
prop_scale="1"
|
||||
scale_y_rel="false"
|
||||
vertical="false" />
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 16 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="32 : 16 : 1"
|
||||
inkscape:persp3d-origin="16 : 10.666667 : 1"
|
||||
id="perspective3120" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3800">
|
||||
<stop
|
||||
style="stop-color:#333;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3802" />
|
||||
<stop
|
||||
style="stop-color:#9f9f9f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3804" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3769"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop3771"
|
||||
offset="0"
|
||||
style="stop-color:#3c3c3c;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3773"
|
||||
offset="1"
|
||||
style="stop-color:#9e9e9e;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient2878"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop2880"
|
||||
offset="0"
|
||||
style="stop-color:black;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop2882"
|
||||
offset="1"
|
||||
style="stop-color:#898989;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4843">
|
||||
<stop
|
||||
style="stop-color:white;stop-opacity:0.49411765;"
|
||||
offset="0"
|
||||
id="stop4845" />
|
||||
<stop
|
||||
style="stop-color:white;stop-opacity:0.25098041;"
|
||||
offset="1"
|
||||
id="stop4847" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4825">
|
||||
<stop
|
||||
id="stop4827"
|
||||
offset="0"
|
||||
style="stop-color:#0084dd;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop4829"
|
||||
offset="1"
|
||||
style="stop-color:white;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3769"
|
||||
id="linearGradient4926"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient4928"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient4930"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient4932"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient1942"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient1948"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath2868">
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
id="rect1950"
|
||||
width="41"
|
||||
height="28"
|
||||
x="19.880381"
|
||||
y="16.849239"
|
||||
ry="4"
|
||||
rx="4" />
|
||||
</clipPath>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient2874"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3800"
|
||||
id="linearGradient3789"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient3795"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient3798"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3824"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient3826"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient3828"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3842"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient3844"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient3846"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3860"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient3862"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient3864"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3914"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient3916"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3932"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient3934"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3986"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient3988"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient3990"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3992"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="17.857143"
|
||||
y1="-11.398471"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3994"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient3996"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath4004">
|
||||
<rect
|
||||
rx="4.6187186"
|
||||
ry="4.6187186"
|
||||
y="1"
|
||||
x="5"
|
||||
height="30"
|
||||
width="45"
|
||||
id="rect4000"
|
||||
style="fill:#d533e4;fill-opacity:0.54098361;stroke:none" />
|
||||
</clipPath>
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath4011">
|
||||
<rect
|
||||
rx="4"
|
||||
ry="4"
|
||||
y="16.849239"
|
||||
x="19.880381"
|
||||
height="28"
|
||||
width="43"
|
||||
id="rect4002"
|
||||
style="fill:#e51be8;fill-opacity:0.53551911;stroke:none" />
|
||||
</clipPath>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient1982"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="17.857143"
|
||||
y1="-11.398471"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3769"
|
||||
id="linearGradient4428"
|
||||
x1="111.95149"
|
||||
y1="125"
|
||||
x2="179.26385"
|
||||
y2="125"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.7279724,0,0,1.7279724,43.747363,-570.52191)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient4475"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient4477"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient4479"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4843"
|
||||
id="linearGradient4514"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.12022654,0,0,0.12022654,-8.1612772,-34.961458)"
|
||||
x1="247"
|
||||
y1="441.86218"
|
||||
x2="292"
|
||||
y2="282.36218" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2878"
|
||||
id="linearGradient4516"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
|
||||
x1="15.5"
|
||||
y1="5.9497476"
|
||||
x2="4"
|
||||
y2="31" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="linearGradient4518"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="253.74718"
|
||||
y1="412.82977"
|
||||
x2="188.00023"
|
||||
y2="542.33295" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="white"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.5"
|
||||
inkscape:cx="356.23859"
|
||||
inkscape:cy="399.50106"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:window-width="1151"
|
||||
inkscape:window-height="725"
|
||||
inkscape:window-x="31"
|
||||
inkscape:window-y="3"
|
||||
width="32px"
|
||||
height="32px"
|
||||
inkscape:showpageshadow="false"
|
||||
showgrid="false"
|
||||
inkscape:window-maximized="0" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
style="display:inline"
|
||||
transform="translate(0,568)">
|
||||
<g
|
||||
clip-path="none"
|
||||
id="g1912"
|
||||
transform="matrix(27.311101,0,0,27.311101,-177.09754,-747.2906)"
|
||||
style="opacity:0.15">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;display:inline"
|
||||
id="rect1914"
|
||||
width="32"
|
||||
height="32"
|
||||
x="0"
|
||||
y="0"
|
||||
rx="0"
|
||||
ry="0" />
|
||||
<rect
|
||||
rx="1.1716846"
|
||||
ry="1.1716846"
|
||||
y="2"
|
||||
x="6"
|
||||
height="28"
|
||||
width="30"
|
||||
id="rect1916"
|
||||
style="fill:url(#linearGradient4516);fill-opacity:1;stroke:none" />
|
||||
<g
|
||||
id="g2843"
|
||||
transform="translate(-13.88038,-14.84924)"
|
||||
clip-path="url(#clipPath2868)">
|
||||
<path
|
||||
transform="matrix(0.124827,-0.02362253,0.02362253,0.124827,-4.130425,-17.39127)"
|
||||
d="m 294.46869,523.45259 c -9.08043,8.81335 -45.57491,-17.76993 -58.10148,-15.97712 -12.52658,1.79282 -40.09949,37.54547 -51.28749,31.63294 -11.18801,-5.91252 2.81678,-48.83551 -2.75921,-60.19499 -5.57599,-11.35947 -48.09928,-26.53469 -45.93342,-39.00218 2.16586,-12.46749 47.31577,-12.41208 56.39619,-21.22544 9.08043,-8.81335 10.3725,-53.9448 22.89908,-55.73762 12.52657,-1.79281 26.42597,41.16443 37.61397,47.07695 11.188,5.91252 54.50984,-6.80503 60.08583,4.55445 5.57599,11.35947 -30.98363,37.85309 -33.14948,50.32059 -2.16586,12.46749 23.31643,49.73906 14.23601,58.55242 z"
|
||||
inkscape:randomized="0"
|
||||
inkscape:rounded="0.21"
|
||||
inkscape:flatsided="false"
|
||||
sodipodi:arg2="1.428641"
|
||||
sodipodi:arg1="0.80032243"
|
||||
sodipodi:r2="52"
|
||||
sodipodi:r1="94"
|
||||
sodipodi:cy="456"
|
||||
sodipodi:cx="229"
|
||||
sodipodi:sides="5"
|
||||
id="path1920"
|
||||
style="fill:url(#linearGradient4518);fill-opacity:1;stroke:#ffffff;stroke-width:15.98369503;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
sodipodi:type="star" />
|
||||
</g>
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path1924"
|
||||
d="m 2.659112,-1.0140376 35.947736,0 -1.082039,25.9531456 C 32.869607,19.889594 15.885713,12.106441 3.9031345,12.106441 L 2.659112,-1.0140376 z"
|
||||
style="fill:url(#linearGradient4514);fill-opacity:1;stroke:none;display:inline" />
|
||||
</g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:72.91342163px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
|
||||
x="19.68751"
|
||||
y="-495.31265"
|
||||
id="text4408"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4410"
|
||||
x="19.68751"
|
||||
y="-495.31265">Anki</tspan></text>
|
||||
<path
|
||||
style="fill:url(#linearGradient4428);fill-opacity:1;stroke:#000000;stroke-width:1.72797239px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 299.48729,-389.08479 c -6.43977,0 1.25586,17.27972 -5.18392,17.27972 0,0 -50.13643,-2.88024 -53.56714,0 -3.59444,3.0177 -3.54088,31.93955 0,34.55945 3.36016,2.48619 53.56714,0 53.56714,0 6.43978,0 -1.25584,17.26538 5.18392,17.27972 7.5018,0.0173 53.1591,-27.22737 53.1591,-34.55945 0,-6.37443 -46.10165,-34.55944 -53.1591,-34.55944 z"
|
||||
id="path4418"
|
||||
sodipodi:nodetypes="csssssss" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer2"
|
||||
inkscape:label="Layer" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 19 KiB |
BIN
mac/anki.icns
BIN
mac/anki.icns
Binary file not shown.
BIN
mac/dmg_ds_store
BIN
mac/dmg_ds_store
Binary file not shown.
|
|
@ -1,78 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Makes the DMG with all the nice things already setup.
|
||||
# Most of the Finder window twiddling is done by an applescript, this just does
|
||||
# the DMG manipulations.
|
||||
|
||||
# This script should be run with the working directory as the top level (where
|
||||
# the dist folder appears)
|
||||
|
||||
if [ ! -d "dist" ]
|
||||
then
|
||||
echo "This must be run in the same directory as 'dist'."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d "/Volues/Anki" ]
|
||||
then
|
||||
echo "You already have one Anki mounted, unmount it first!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo --- Configuring 'dist' folder...
|
||||
|
||||
if [ ! -e "dist/Applications" ]
|
||||
then
|
||||
ln -s /Applications dist/Applications
|
||||
fi
|
||||
|
||||
if [ ! -d "dist/.background" ]
|
||||
then
|
||||
mkdir dist/.background
|
||||
cp ankiqt/mac/anki-logo-bg.png dist/.background
|
||||
fi
|
||||
|
||||
if [ ! -f "dist/.DS_Store" ]
|
||||
then
|
||||
cp ankiqt/mac/dmg_ds_store dist/.DS_Store
|
||||
fi
|
||||
|
||||
echo --- Creating writable DMG...
|
||||
hdiutil create -attach -ov -format UDRW -volname Anki -srcfolder dist -o Anki-rw.dmg
|
||||
|
||||
RESULT=$?
|
||||
|
||||
if [ $RESULT != 0 ]
|
||||
then
|
||||
echo "Creating RW DMG failed! ($RESULT)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo --- Running applescript to configure view settings...
|
||||
osascript "ankiqt/mac/set-dmg-settings.scpt"
|
||||
|
||||
echo --- Unmounting and converting to RO DMG...
|
||||
hdiutil detach "/Volumes/Anki"
|
||||
if [ -d "/Volumes/Anki" ]
|
||||
then
|
||||
echo "+++ Waiting for drive to detach..."
|
||||
sleep 5
|
||||
hdiutil detach "/Volumes/Anki"
|
||||
fi
|
||||
|
||||
if [ -d "/Volumes/Anki" ]
|
||||
then
|
||||
echo "!!! Warning: Drive didn't detach cleanly forcing it to detach.."
|
||||
sleep 5
|
||||
hdiutil detach -force "/Volumes/Anki"
|
||||
fi
|
||||
|
||||
echo --- Making final compressed DMG...
|
||||
|
||||
hdiutil convert "Anki-rw.dmg" -ov -format UDZO -imagekey zlib-level=9 -o Anki.dmg
|
||||
|
||||
RESULT=$?
|
||||
|
||||
rm Anki-rw.dmg
|
||||
|
||||
exit $RESULT
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /Volumes/Two/anki
|
||||
if [ "x$debug" = "x" ]; then
|
||||
echo "cleaning up..."
|
||||
rm -rf build dist
|
||||
fi
|
||||
echo "syncing updates..."
|
||||
rsync -av reflex:Lib/code/libanki --exclude .git --exclude build --exclude dist --delete .
|
||||
rsync -av reflex:Lib/code/ankiqt --exclude .git --exclude build --exclude dist --delete .
|
||||
find . -name '*.pyc' -exec rm {} \;
|
||||
echo "adding image formats..."
|
||||
rm -rf ankiqt/imageformats
|
||||
mkdir ankiqt/imageformats
|
||||
cp -Rvf imageformats/libq{gif,jpeg,svg,tiff}* ankiqt/imageformats
|
||||
echo "building..."
|
||||
PYTHONPATH=ankiqt:libanki python ankiqt/mac/setup.py bdist_dmg
|
||||
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
rsync -av --delete $c/libanki $c/ankiqt mari:anki/
|
||||
ssh mari 'cd anki && ./make.sh && scp Anki.dmg twitch:'
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
|
||||
|
||||
rsync -av ../lib/ libanki/
|
||||
rsync -av ../qt/ ankiqt/
|
||||
|
||||
if [ "x$debug" = "x" ]; then
|
||||
echo "cleaning up..."
|
||||
rm -rf build dist
|
||||
fi
|
||||
find . -name '*.pyc' -exec rm {} \;
|
||||
echo "adding image formats..."
|
||||
rm -rf ankiqt/imageformats
|
||||
mkdir ankiqt/imageformats
|
||||
cp -Rvf /usr/local/Trolltech/Qt-4.7.1/plugins/imageformats/libq{gif,jpeg,svg,tiff}.dylib ankiqt/imageformats
|
||||
#cp -Rvf /Developer/Applications/Qt/plugins/imageformats/libq{gif,jpeg,svg,tiff}* ankiqt/imageformats
|
||||
echo "building..."
|
||||
PYTHONPATH=ankiqt:libanki $PYTHON ankiqt/mac/setup.py bdist_dmg
|
||||
Binary file not shown.
91
mac/setup.py
91
mac/setup.py
|
|
@ -1,91 +0,0 @@
|
|||
"""
|
||||
Script for building Anki.app (Mac build).
|
||||
Requires py2app.
|
||||
|
||||
Usage:
|
||||
python setup.py py2app
|
||||
python setup.py bdist_dmg
|
||||
"""
|
||||
|
||||
from setuptools import setup, Command
|
||||
import os, sys
|
||||
from ankiqt import appVersion
|
||||
scriptDir=os.path.split(os.path.dirname(os.path.abspath(sys.argv[0])))[0]
|
||||
sys.path.append(os.path.join(scriptDir, "../libanki"))
|
||||
|
||||
class bdist_dmg(Command):
|
||||
|
||||
description = "create a Mac disk image (.dmg) binary distribution"
|
||||
|
||||
user_options = []
|
||||
|
||||
def initialize_options(self):
|
||||
pass
|
||||
|
||||
def finalize_options(self):
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
self.run_command('py2app')
|
||||
os.system("\
|
||||
mkdir -p dist/Anki.app/Contents/Resources/include/python2.7")
|
||||
os.system("\
|
||||
cp /Library/Frameworks/Python.framework/Versions/2.7/include/\
|
||||
python2.7/pyconfig.h dist/Anki.app/Contents/Resources/include/\
|
||||
python2.7/pyconfig.h")
|
||||
os.system("\
|
||||
chmod a+x dist/Anki.app/Contents/Resources/audio/*")
|
||||
if 'debug' in os.environ:
|
||||
return
|
||||
# make the dmg with the shell script
|
||||
result = os.system('ankiqt/mac/make-dmg.sh')
|
||||
if result is not 0:
|
||||
raise Exception('dmg creation failed %d' % result)
|
||||
|
||||
APP = ['ankiqt/ankiqtmac.py']
|
||||
VERSION = appVersion
|
||||
DATA_FILES = [
|
||||
# 'ankiqt',
|
||||
'libanki/anki/locale',
|
||||
'ankiqt/ankiqt/locale',
|
||||
'audio',
|
||||
'ankiqt/imageformats',
|
||||
]
|
||||
PLIST = dict(
|
||||
CFBundleIdentifier = 'net.ichi2.anki',
|
||||
CFBundleName = 'Anki',
|
||||
CFBundleDocumentTypes=[dict(CFBundleTypeExtensions=["anki"],
|
||||
CFBundleTypeName="Anki Deck",
|
||||
CFBundleTypeRole="Editor",
|
||||
CFBundleTypeIconFile="anki.icns")],
|
||||
CFBundleLocalizations = ['en'],
|
||||
)
|
||||
OPTIONS = {
|
||||
'argv_emulation': False,
|
||||
'optimize': 0,
|
||||
'alias': 'debug' in os.environ and os.environ['debug'] == "2",
|
||||
'plist': PLIST,
|
||||
'iconfile': 'ankiqt/mac/anki.icns',
|
||||
"includes": ["sip", "cgi", "encodings", "encodings.utf_8",
|
||||
"encodings.shift_jis", "_multibytecodec",
|
||||
"PyQt4.QtNetwork", "platform"],
|
||||
'packages': ["pysqlite2", "simplejson"],
|
||||
'excludes': ['_gtkagg', '_tkagg', "_wxagg",
|
||||
"wx", "_wx",
|
||||
"Tkconstants", "Tkinter", "tcl", "pygame"],
|
||||
#'frameworks': ['libmp3lame.dylib'],
|
||||
'dylib_excludes': ['libncurses.5.dylib',
|
||||
'_wxagg.so',
|
||||
'_tkagg.so',
|
||||
'_gtkagg.so',
|
||||
'wx.so'],
|
||||
}
|
||||
|
||||
setup(
|
||||
app = APP,
|
||||
version = VERSION,
|
||||
data_files = DATA_FILES,
|
||||
options = {'py2app': OPTIONS},
|
||||
setup_requires = ['py2app'],
|
||||
cmdclass = {'bdist_dmg': bdist_dmg},
|
||||
)
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /Volumes/Two/anki
|
||||
echo "syncing updates..."
|
||||
rsync -av reflex:Lib/code/libanki --exclude .git --exclude build --exclude dist --delete .
|
||||
rsync -av reflex:Lib/code/ankiqt --exclude .git --exclude build --exclude dist --delete .
|
||||
./ankiqt/anki
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
rsync -av --delete $c/libanki $c/ankiqt mari:anki/
|
||||
ssh mari "open anki/ankiqt/anki"
|
||||
Loading…
Reference in a new issue