@@ -11,10 +11,10 @@ from pisi.actionsapi import get
|
|||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.cd("build")
|
# shelltools.cd("build")
|
||||||
shelltools.system("python ./gen.py")
|
shelltools.system("python3 ./build/gen.py")
|
||||||
|
|
||||||
shelltools.cd("..")
|
# shelltools.cd("..")
|
||||||
shelltools.system("ninja -C out gn")
|
shelltools.system("ninja -C out gn")
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
PROJECT_NAME="gn-2026.02.04"
|
||||||
|
ARCHIVE_NAME="gn-2026.02.04"
|
||||||
|
# Burayı değiştirdik:
|
||||||
|
GIT_REPO_URL="https://gn.googlesource.com/gn"
|
||||||
|
COMMIT_ID="304bbef6c7e9a86630c12986b99c8654eb7fe648"
|
||||||
|
|
||||||
|
echo "glibc projesi için arşiv oluşturuluyor..."
|
||||||
|
|
||||||
|
if [ -d "$PROJECT_NAME" ]; then
|
||||||
|
echo "Mevcut $PROJECT_NAME klasörü siliniyor..."
|
||||||
|
rm -rf "$PROJECT_NAME"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Git deposu klonlanıyor: $GIT_REPO_URL"
|
||||||
|
git clone "$GIT_REPO_URL" "$PROJECT_NAME"
|
||||||
|
|
||||||
|
cd "$PROJECT_NAME"
|
||||||
|
|
||||||
|
if [ -n "$COMMIT_ID" ]; then
|
||||||
|
echo "Belirtilen commit ID'sine geçiliyor: $COMMIT_ID"
|
||||||
|
git checkout "$COMMIT_ID"
|
||||||
|
else
|
||||||
|
echo "En son master branch'i kullanılıyor."
|
||||||
|
git pull origin master
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Git geçmişi temizleniyor..."
|
||||||
|
# find . -type d -name ".git" | xargs rm -rf
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
echo "Arşiv oluşturuluyor: $ARCHIVE_NAME.tar.xz"
|
||||||
|
tar -cJvf "$ARCHIVE_NAME.tar.xz" "$PROJECT_NAME"
|
||||||
|
|
||||||
|
echo "Geçici $PROJECT_NAME klasörü siliniyor..."
|
||||||
|
# rm -rf "$PROJECT_NAME"
|
||||||
|
|
||||||
|
echo "Arşiv başarıyla oluşturuldu: $ARCHIVE_NAME.tar.xz"
|
||||||
@@ -12,10 +12,11 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Meta-build system that generates build files for Ninja</Summary>
|
<Summary>Meta-build system that generates build files for Ninja</Summary>
|
||||||
<Description>Ninja için derleme dosyaları oluşturan meta-build sistemi</Description>
|
<Description>Ninja için derleme dosyaları oluşturan meta-build sistemi</Description>
|
||||||
<Archive sha1sum="c7f8f20e4ca99e8263764aca83a2b54ee62cc901" type="targz">https://sourceforge.net/projects/pisilinux/files/source/gn-2018.12.01.tar.gz</Archive>
|
<Archive sha1sum="2cfa33de22dfc3a6c276982b1d7f48cfcaa36575" type="tarxz">https://source.pisilinux.org/gn-2026.02.04.tar.xz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>git</Dependency>
|
<Dependency>git</Dependency>
|
||||||
<Dependency>ninja</Dependency>
|
<Dependency>ninja</Dependency>
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch>gn-bootstrap.patch</Patch> -->
|
<!-- <Patch>gn-bootstrap.patch</Patch> -->
|
||||||
@@ -35,6 +36,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2026-02-13</Date>
|
||||||
|
<Version>2026.02.04</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Pisi Linux Community</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2018-12-01</Date>
|
<Date>2018-12-01</Date>
|
||||||
<Version>2018.12.01</Version>
|
<Version>2018.12.01</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user