Skip to content

Commit

Permalink
feat: add Slackwareloong instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
MingcongBai committed Apr 3, 2024
1 parent 588f3fb commit 644bc4e
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ libLoL (LoongArch on LoongArch) 是一款用于提供旧世界 ABI 兼容性的
{{< card link="/docs/usage/#debian" title="Debian" icon="debian" >}}
{{< card link="/docs/usage/#gentoo" title="Gentoo" icon="gentoo" >}}
{{< card link="/docs/usage/#loong-arch-linux" title="Loong Arch Linux" icon="archlinux" >}}
{{< card link="/docs/usage/#slackwareloong" title="Slackwareloong" icon="slackware" >}}
{{< /cards >}}

### 常用链接
Expand Down
24 changes: 24 additions & 0 deletions content/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,30 @@ sudo pacman -S la_ow_syscall-dkms liblol

其中带有 `local` 字样的目录可供用户自助放置一些库文件,以便绕过个别应用所存在的问题。

### Slackwareloong

Slackwareloong 在 SlackBuilds 软件仓库提供 libLoL,使用如下命令即可安装:

```bash
slackpkg install liblol

```

加载 la_ow_syscall 内核模块,若没有此模块请更新内核

```bash
insmod /lib/modules/`uname -r`/kernel/arch/loongarch/ow_syscall/la_ow_syscall.ko
```

由于不同发行版的目录布局各异,不同发行版上的 libLoL 库搜索路径之间也存在不同。Slackwareloong 上 libLoL 的库搜索路径如下:

|加载阶段|路径(从上到下顺序搜索)|
|:------:|:---|
|优先|<ul><li><code>/opt/lol/local/preload-lib64</code></li><li><code>/opt/lol/support/lib64/loongarch64-aosc-linux-gnuow</code></li></ul>|
|正常|<ul><li><code>/opt/lol/local/lib64</code></li><li><code>/opt/lol/lib64/loongarch64-aosc-linux-gnuow</code></li><li><code>/opt/lol/lib64</code></li></ul>|

其中带有 `local` 字样的目录可供用户自助放置一些库文件,以便绕过个别应用所存在的问题。

## 安装应用

您可在[龙芯应用合作社](http://app.loongapps.cn/#/home)或其他分发渠道下载和安装旧世界应用。
Expand Down
87 changes: 87 additions & 0 deletions data/icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -658,3 +658,90 @@ archlinux: >
</svg>
gentoo: >
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 400 400" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g id="Ebene-1"><g id="g5680"><path id="path2973" d="M13.83,315.949c0.043,-16.447 14.024,-39.408 33.889,-60.268c13.276,-13.941 26.759,-26.178 56.15,-51.238c-20.33,-11.156 -51.95,-24.615 -67.815,-42.242c-5.87,-6.522 -16.511,-21.298 -14.447,-41.039c4.206,-40.236 53.869,-101.298 124.46,-114.207c23.488,-4.296 50.455,-1.195 72.65,8.783c69.629,31.304 154.782,109.073 165.259,147.046c3.688,13.366 2.979,34.671 -3.379,46.545c-7.879,14.716 -35.156,44.606 -72.475,75.449c-58.556,48.394 -140.612,100.359 -201.881,109.103c-19.798,2.826 -40.024,-0.121 -54.218,-8.13c-22.209,-12.532 -29.581,-29.262 -32.172,-34.277c-6.891,-13.334 -6.036,-30.228 -6.021,-35.525ZM178.63,131.173c0.756,-9.325 37.321,-0.042 35.011,7.343c-2.437,7.791 -35.879,3.354 -35.011,-7.343Z" style="fill:url(#_Linear1);"/><g id="mid"><path id="path2975" d="M123.659,189.035c-19.242,16.246 -32.036,27.2 -48.075,41.86c-38.626,35.304 -64.871,62.176 -51.34,98.909c15.609,42.374 49.824,40.226 89.947,32.35c103.421,-20.398 273.426,-151.095 264.761,-199.37c-7.012,-39.061 -101.992,-116.721 -158.227,-144.356c-17.569,-8.634 -37.816,-13.099 -58.124,-12.143c-77.327,3.65 -137.715,74.052 -134.63,112.197c3.001,37.11 96.795,69.446 95.688,70.553ZM112.052,59.482c-23.268,25.888 -8.392,75.974 30.195,103.274c45.152,31.945 118.269,37.729 132.819,13.093c27.14,-45.952 -2.493,-94.54 -46.727,-116.214c-43.711,-21.418 -101.783,-16.29 -116.287,-0.153l0,0Z" style="fill:url(#_Linear2);"/><path id="path4976" d="M191.403,161.67c32.666,4.541 60.822,-8.541 65.225,-40.798c3.354,-24.571 -34.25,-51.417 -56.859,-57.608c-18.88,-5.171 -59.869,1.478 -62.633,37.186c-2.872,37.121 35.22,58.573 54.267,61.22ZM175.407,99.931c-21.468,33.258 31.169,43.483 39.228,37.418c34.744,-26.149 -29.77,-52.07 -39.228,-37.418Z" style="fill:url(#_Radial3);"/></g><path id="path2977" d="M156.368,15.122c-37.974,4.001 -45.246,8.889 -79.647,34.916c-11.53,8.723 -32.75,29.948 -38.187,55.128c-2.071,9.59 0.377,17.87 7.283,23.676c22.116,18.593 59.131,33.677 89.498,48.259c8.894,4.271 3.005,12.015 -11.338,24.432c-36.194,31.334 -85.128,69.476 -88.544,98.54c-1.61,13.695 3.079,32.305 19.702,41.828c19.419,11.125 59.729,3.864 86.646,-6.159c39.334,-14.647 91.003,-46.973 132.023,-78.748c42.655,-33.043 82.316,-75.011 84.277,-81.856c2.409,-8.406 2.169,-16.169 -2.48,-25.096c-7.301,-14.017 -17.062,-24.432 -27.542,-36.091c-28.122,-29.647 -57.876,-55.697 -93.475,-75.66c-25.707,-14.416 -48.325,-26.319 -78.216,-23.169ZM212.149,81.588c27.434,13.263 55.606,48.102 -0.245,68.154c-15.187,5.453 -63.352,-13.391 -61.878,-39.107c2.15,-37.987 28.625,-45.242 62.123,-29.047l0,0Z" style="fill:url(#_Radial4);"/></g></g><defs><linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(244.692,1281.55,-1281.55,244.692,-44.6924,-886.62)"><stop offset="0%" style="stop-color:#fff;stop-opacity:1"/><stop offset="34%" style="stop-color:#fff;stop-opacity:1"/><stop offset="51%" style="stop-color:#bebdf3;stop-opacity:1"/><stop offset="75%" style="stop-color:#867fb7;stop-opacity:1"/><stop offset="87%" style="stop-color:#9f99c7;stop-opacity:1"/><stop offset="100%" style="stop-color:#524c76;stop-opacity:1"/></linearGradient><linearGradient id="_Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-73.9103,-331.394,331.394,-73.9103,256.323,293.128)"><stop offset="0%" style="stop-color:#fff;stop-opacity:1"/><stop offset="34%" style="stop-color:#fff;stop-opacity:1"/><stop offset="51%" style="stop-color:#bebbdb;stop-opacity:1"/><stop offset="75%" style="stop-color:#928bbe;stop-opacity:1"/><stop offset="87%" style="stop-color:#9f99c7;stop-opacity:1"/><stop offset="100%" style="stop-color:#524c76;stop-opacity:1"/></linearGradient><radialGradient id="_Radial3" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(65.7758,0,0,50.4149,169.619,91.661)"><stop offset="0%" style="stop-color:#fff;stop-opacity:1"/><stop offset="34%" style="stop-color:#fff;stop-opacity:1"/><stop offset="51%" style="stop-color:#bebbdb;stop-opacity:1"/><stop offset="75%" style="stop-color:#928bbe;stop-opacity:1"/><stop offset="87%" style="stop-color:#9f99c7;stop-opacity:1"/><stop offset="100%" style="stop-color:#524c76;stop-opacity:1"/></radialGradient><radialGradient id="_Radial4" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-9.01713,572.145,-487.965,-7.68295,19.9686,107.795)"><stop offset="0%" style="stop-color:#fff;stop-opacity:1"/><stop offset="34%" style="stop-color:#fff;stop-opacity:1"/><stop offset="51%" style="stop-color:#bebbdb;stop-opacity:1"/><stop offset="75%" style="stop-color:#928bbe;stop-opacity:1"/><stop offset="87%" style="stop-color:#9f99c7;stop-opacity:1"/><stop offset="100%" style="stop-color:#524c76;stop-opacity:1"/></radialGradient></defs></svg>
slackware: >
<svg
viewBox="0 0 16.933333 16.933334"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="slack.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="0.733172"
inkscape:cx="396.9055"
inkscape:cy="124.80018"
inkscape:window-width="1920"
inkscape:window-height="1021"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1">
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3141"
id="linearGradient3147"
x1="2.363636"
y1="32.363636"
x2="61.454544"
y2="32.363636"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.26458333,0,0,0.26458333,-50.358095,10.212272)" />
<linearGradient
inkscape:collect="always"
id="linearGradient3141">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3143" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3145" />
</linearGradient>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g1"
transform="translate(-10.673546,-33.283377)">
<ellipse
style="fill:#8389fc;fill-opacity:1;stroke:url(#linearGradient3147);stroke-width:0.132292;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path2168"
transform="rotate(-90.500001)"
inkscape:label="path2168"
cx="-41.915482"
cy="18.77515"
rx="7.8172345"
ry="7.69697" />
<path
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:125%;font-family:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.105833;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 15.634438,44.18017 c 0,0.524932 0.220134,0.795866 0.6096,0.795866 0.186267,0 0.457201,-0.135467 0.846667,-0.389467 0.931332,0.237067 1.761067,0.372534 2.506133,0.372534 2.065865,0 3.234267,-1.032935 3.234267,-2.455333 0,-1.625599 -1.134536,-2.269067 -3.318933,-2.319867 -1.625599,-0.03387 -2.573867,-0.118534 -2.573867,-0.999067 0,-0.660399 0.626534,-1.2192 1.7272,-1.2192 0.863599,0 1.4732,0.203201 2.099733,0.762 0.491066,0.440267 0.6604,0.8636 1.032934,0.8636 0.406399,0 0.5588,-0.287867 0.5588,-0.829733 v -0.9652 c 0,-0.558799 -0.186267,-0.829733 -0.5588,-0.829733 -0.440267,0 -0.609601,0.321733 -0.846667,0.321733 -0.237067,0 -0.897468,-0.372533 -2.099733,-0.372533 -2.048932,0 -3.183467,0.948268 -3.183467,2.319866 0,1.473199 1.202269,2.286 3.4544,2.286 0.237066,0 0.389467,0 0.474133,0 1.253066,0 1.862667,0.237068 1.862667,1.083734 0,0.745066 -0.745068,1.286933 -1.947333,1.286933 -1.117599,0 -2.065868,-0.406401 -2.506134,-0.982133 -0.321733,-0.423333 -0.270934,-0.880534 -0.778933,-0.880534 -0.440266,0 -0.592667,0.237067 -0.592667,0.677334 v 1.4732"
id="text5071" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.582083;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 14.680234,44.23518 -0.02754,1.972156 9.261194,0.009"
id="path5093" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.079375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 23.912103,46.482787 -9.525919,-7.14e-4 0.0314,-2.248739 0.529115,0.0074 -0.02216,1.587346 -0.0017,0.120253 8.996635,0.0053 z"
id="path10031" />
</g>
</g>
</svg>

0 comments on commit 644bc4e

Please sign in to comment.