diff --git a/dev/lang/rust/config.toml b/dev/lang/rust/config.toml deleted file mode 100644 index 8f5547cb..00000000 --- a/dev/lang/rust/config.toml +++ /dev/null @@ -1,66 +0,0 @@ -profile = "dist" - -# see src/bootstrap/src/utils/change_tracker.rs -change-id = 131075 - -[llvm] -# by default, rust will build for a myriad of architectures -targets = "X86" - -# When using system llvm prefer shared libraries -link-shared = true - -[build] -# omit docs to save time and space (default is to build them) -docs = false - -# install extended tools: cargo, clippy, etc -extended = true - -# Do not query new versions of dependencies online. -locked-deps = true - -# Specify which extended tools (those from the default install). -tools = ["cargo", "clippy", "rustdoc", "rustfmt"] - -# Use the source code shipped in the tarball for the dependencies. -# The combination of this and the "locked-deps" entry avoids downloading -# many crates from Internet, and makes the Rustc build more stable. -vendor = true - -[install] -prefix = "/usr" -docdir = "share/doc/rustc-@version@" - -[rust] -codegen-units-std = 1 -debuginfo-level = 1 -debuginfo-level-std = 2 -channel = "stable" -description = "" -rpath = false -frame-pointers = true -lld = false -use-lld = "external" -llvm-bitcode-linker = false -deny-warnings = false -backtrace-on-ice = true -remap-debuginfo = false -jemalloc = true - -# BLFS used to not install the FileCheck executable from llvm, -# so disabled codegen tests. The assembly tests rely on FileCheck -# and cannot easily be disabled, so those will anyway fail if -# FileCheck has not been installed. -codegen-tests = false - -[target.x86_64-unknown-linux-gnu] -# NB the output of llvm-config (i.e. help options) may be -# dumped to the screen when config.toml is parsed. -llvm-config = "/usr/bin/llvm-config" - -[target.i686-unknown-linux-gnu] -# NB the output of llvm-config (i.e. help options) may be -# dumped to the screen when config.toml is parsed. -llvm-config = "/usr/bin/llvm-config" - diff --git a/dev/lang/rust/ympbuild b/dev/lang/rust/ympbuild deleted file mode 100644 index 1d12fd57..00000000 --- a/dev/lang/rust/ympbuild +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -name='rust' -release='7' -version='1.84.0' -url='https://www.rust-lang.org' -description='Systems programming language from Mozilla' -email='aliriza.keskin@pardus.org.tr' -maintainer='aliriza' -license=('GPLv3') -source=("https://static.rust-lang.org/dist/rustc-$version-src.tar.xz" - 'config.toml') -depends=(curl gcc libssh llvm) -makedepends=(cmake ninja perl python lld) -sha256sums=('bc2c1639f26814c7b17a323992f1e08c3b01fe88cdff9a27d951987d886e00b3' - 'SKIP') -group=(dev.lang) -uses=() -arch=('x86_64') -# disable strip -dontstrip=1 - -cd rustc-$version-src - -setup () { - install ../config.toml ./config.toml - sed -i "s/@verison@/"$version"/g" ./config.toml -} - -build () { - python3 ./x.py build -j `nproc` -} - -package () { - python3 ./x.py install -j `nproc` -} - diff --git a/dev/libs/gobject-introspection/ympbuild b/dev/libs/gobject-introspection/ympbuild index 675fbbf7..2a2890e8 100644 --- a/dev/libs/gobject-introspection/ympbuild +++ b/dev/libs/gobject-introspection/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='gobject-introspection' -release='4' -version='1.82.0' +release='5' +version='1.84.0' url='https://gitlab.gnome.org/GNOME/gobject-introspection.git/' description='Introspection system for GObject-based libraries ' email='bayramk@gmail.com' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://gitlab.gnome.org/GNOME/gobject-introspection/-/archive/${version}/gobject-introspection-${version}.tar.gz") depends=(glib) makedepends=() -sha256sums=('82c2372520d9ec58f0361efddb2ef9ce4026618b7389e99ba73f8a4e683ed361') +sha256sums=('8ff69ea72bea4f42d2daab1d0cf2dc5810b58387583f403f796f661af2b15a7b') group=(dev.libs) uses=() arch=('x86_64') diff --git a/gnome/base/librsvg/ympbuild b/gnome/base/librsvg/ympbuild index 465f6fe4..20d38f07 100644 --- a/gnome/base/librsvg/ympbuild +++ b/gnome/base/librsvg/ympbuild @@ -1,42 +1,48 @@ #!/usr/bin/env bash name='librsvg' -release='4' -version='2.59.2' +release='5' +version='2.40.20' url='https://github.com/oaken-source/librsvg-og' description='Scalable Vector Graphics (SVG) rendering library ' email='bayramk@gmail.com' maintainer='bk' license=('GPLv3') -#source=("https://github.com/oaken-source/librsvg-og/archive/refs/tags/$version.tar.gz") -source=("https://download.gnome.org/sources/librsvg/${version%.*}/librsvg-${version}.tar.xz") +source=("https://github.com/oaken-source/librsvg-og/archive/refs/tags/$version.tar.gz") +#source=("https://download.gnome.org/sources/librsvg/${version%.*}/librsvg-${version}.tar.xz") depends=(libcroco gobject-introspection pango cairo fontconfig libX11 libXext libXrender libxcb gdk-pixbuf) -makedepends=(rust cargo-c vala) -sha256sums=('ecd293fb0cc338c170171bbc7bcfbea6725d041c95f31385dc935409933e4597') +makedepends=(vala) +sha256sums=('5bcbd8aa34a81478f990dc62a308ee2a42ff89a4e2bc905c09fd68f525bf5643') group=(gnome.base) uses=() arch=('x86_64') -cd $name-$version +#cd $name-$version +cd $name-og-$version prepare(){ # convert CRFL files to normal files find -type f -exec sed -i "s/\r$//g" {} \; } +export CFLAGS="-Wno-incompatible-pointer-types" setup(){ - meson setup build \ - --prefix=/usr \ - -Ddocs=disabled \ - -Dintrospection=enabled \ - -Dpixbuf=enabled\ - -Dpixbuf-loader=enabled \ - -Dvala=enabled +# meson setup build \ +# --prefix=/usr \ +# -Ddocs=disabled \ +# -Dintrospection=enabled \ +# -Dpixbuf=enabled\ +# -Dpixbuf-loader=enabled \ +# -Dvala=enabled + autoreconf -vfi + ./configure --prefix=/usr } build(){ - ninja -C build $jobs +# ninja -C build $jobs + make $jobs } package(){ - ninja -C build install $jobs +# ninja -C build install $jobs + make install $jobs }