new installer yali-rs
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
import os
|
||||
|
||||
|
||||
def setup():
|
||||
shelltools.export("CARGO_HOME", os.path.join(get.workDIR(), ".cargo"))
|
||||
|
||||
def build():
|
||||
shelltools.system("make")
|
||||
|
||||
|
||||
def install():
|
||||
shelltools.system("make DESTDIR=%s install" % get.installDIR())
|
||||
pisitools.dodoc("README.md","TODO.md*")
|
||||
@@ -0,0 +1,7 @@
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "org.freedesktop.policykit.exec" &&
|
||||
action.lookup("program") == "/usr/bin/yali-rs" &&
|
||||
subject.isInGroup("wheel")) { // veya "live" grubu
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Name=YALI Installation Tool
|
||||
Name[tr]=YALI Kurulum Aracı
|
||||
GenericName=Yali
|
||||
Comment=YALI Installation Tool
|
||||
Comment[tr]=YALI Kurulum Aracı
|
||||
Icon=yali
|
||||
Type=Application
|
||||
Exec=pkexec env WAYLAND_DISPLAY="$WAYLAND_DISPLAY" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" DISPLAY="$DISPLAY" /usr/bin/yali-rs
|
||||
Icon=system-software-install
|
||||
Categories=PisiTools;System;
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>yali-rs</Name>
|
||||
<Homepage>https://gitlab.com/ayhanyalcinsoy/yali-rs</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary xml:lang="en">Yet Another Linux Installer</Summary>
|
||||
<Summary xml:lang="tr">Başka Bir Linux Yükleyici</Summary>
|
||||
<Description xml:lang="en">The Yalı application, originally written in Python and Qt, has been rewritten using Rust and egui.</Description>
|
||||
<Description xml:lang="tr">Yalı uygulaması, orijinal olarak Python ve Qt ile yazılmıştı, Rust ve egui kullanılarak yeniden yazıldı.</Description>
|
||||
<Archive sha1sum="4bbfe4a0cefc0dffc7d0b4951605544bc801adf6" type="targz">
|
||||
https://gitlab.com/erkanisik/yali-rs/-/archive/v4.0.1/yali-rs.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rust</Dependency>
|
||||
<Dependency>libedit-devel</Dependency>
|
||||
<Dependency>lld-devel</Dependency>
|
||||
<Dependency>llvm-libs</Dependency>
|
||||
<Dependency>llvm-polly</Dependency>
|
||||
<Dependency>libxkbcommon-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>yali-rs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>efibootmgr</Dependency>
|
||||
<!--
|
||||
pardusman should add locale packages according to the selected languages.
|
||||
IsA tags could be used to decide which packages to be installed.
|
||||
-->
|
||||
<Dependency>glibc-locales-nl</Dependency>
|
||||
<Dependency>glibc-locales-de</Dependency>
|
||||
<Dependency>glibc-locales-es</Dependency>
|
||||
<Dependency>glibc-locales-pt</Dependency>
|
||||
<Dependency>glibc-locales-sv</Dependency>
|
||||
<Dependency>glibc-locales-fr</Dependency>
|
||||
<Dependency>glibc-locales-it</Dependency>
|
||||
<Dependency>glibc-locales-ca</Dependency>
|
||||
<Dependency>glibc-locales-pl</Dependency>
|
||||
<Dependency>glibc-locales-ru</Dependency>
|
||||
<Dependency>glibc-locales-hu</Dependency>
|
||||
<Dependency>glibc-locales-hr</Dependency>
|
||||
<Dependency>exo-fonts-1</Dependency>
|
||||
<Dependency>rsync</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Conflicts>
|
||||
<Package>Calamares</Package>
|
||||
<Package>calamares-theme-pisilinux</Package>
|
||||
</Conflicts>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="data">/etc/yali</Path>
|
||||
<Path fileType="data">/lib/udev/rules.d/70-yali.rules</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile permission="0644" owner="root" target="/usr/share/applications/yali.desktop">yali.desktop</AdditionalFile>
|
||||
<AdditionalFile permission="0644" owner="root" target="/usr/share/polkit-1/rules.d/99-yali-rs.rules">99-yali-rs.rules</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2026-06-01</Date>
|
||||
<Version>4.0.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>yali</Name>
|
||||
<Summary xml:lang="tr">YALI: PiSi Linux kurulum yazılımı</Summary>
|
||||
<Description xml:lang="tr">YALI: PiSi Linux kurulum yazılımı.</Description>
|
||||
<Description xml:lang="fr">YALI: Yet Another Linux Installer (encore un nouvel installateur Linux).</Description>
|
||||
<Description xml:lang="pl">YALI jest graficznym instalatorem PiSi Linux.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user