Compare commits

..

33 Commits

Author SHA1 Message Date
Gilver 263ed6cc88 Merge branch 'frawhide' into gil/feat/xavs 2025-11-29 10:50:45 -06:00
Gilver 4b3ce85752 fix(zig-master,zig-master-bootstrap): Fix randomization (#7781)
A `for` loop is not supposed to SET a variable but whatever.

Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-29 09:34:34 -06:00
Raboneko 9738e02139 bump: zed 2025-11-29 13:26:38 +00:00
Gilver 8f937512cf feat(zig-master{,-bootstrap}): Better mirror handling, refactor bootstrapping (#7503)
* feat(zig-master{,-bootstrap}): Automatically update mirrors

* ?

* Embarrassing

Signed-off-by: Gilver <rockgrub@disroot.org>

* feat: Use pre.rhai

* A

* AAAA

* feat: Let's try this

* cleanup: Wh

* Aaaaaa

* dfhsdfhjsdfdjkh

* dfhsdfhjsdfdjkh

* dfhsdfhjsdfdjkh

* ???

* ???

* fdhdfssdfhjkksdfhj

* Man

* Maybe this will fix sed

* dshfhjfsdjhk

* Hmm

* Double backslash??

* Locally this works

* Noooo

* feat: Changelog

* feat: Update script

* fix: A

* fix: Copypaste idiot moment

* cleanup: Actually not sure that is needed

* chore: terra-obsoletes

* cleanup: Weird whitespace

* This is a way better idea

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-29 21:17:27 +08:00
Pornpipat Popum 2be39debad zed: use new metainfo scripts (#7523)
* zed: use new metainfo scripts

* change appid macro

* classify component types

* Add metainfo override for icons

Add override.xml metainfo files for stable, preview and nightly builds.
Update specs to include override.xml as Source1, install icons to
icons/hicolor/512x512/apps, and pass the override to %terra_appstream.

* use consistent naming with flathub

* Finally fix appstream metainfo properly

---------

Signed-off-by: Pornpipat Popum <cappy@cappuchino.xyz>
2025-11-29 13:17:18 +00:00
Gilver 40e5d36c5b fix(ghostty-nightly): Package libghostty-vt (#7758)
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-29 21:16:32 +08:00
Gilver 872a56a20e chore(uwufetch): Update for semi-active branch (#7761)
* chore(uwufetch): Update for new semi-active branch

Signed-off-by: Gilver <rockgrub@disroot.org>

* fix: Spec

Signed-off-by: Gilver <rockgrub@disroot.org>

* Try `gh`??

Signed-off-by: Gilver <rockgrub@disroot.org>

* fix: I see the issue...cursed

Signed-off-by: Gilver <rockgrub@disroot.org>

* Unintelligent moment

Signed-off-by: Gilver <rockgrub@disroot.org>

* Just do this

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-29 21:16:10 +08:00
Raboneko dad004ff7e bump: rpcs3 2025-11-29 10:55:42 +00:00
Raboneko 3544bda352 bump: terra-appstream-helper 2025-11-29 10:43:52 +00:00
Raboneko da31334a9f bump: zed-preview 2025-11-29 09:23:24 +00:00
Raboneko 72b0e21a7b bump: wine-staging 2025-11-29 08:57:08 +00:00
Raboneko 97fc431c8a bump: rpcs3 2025-11-29 07:45:45 +00:00
Gilver 6f16724bfb I also don't think this will work
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-22 01:33:51 -06:00
Gilver 171b33111c I don't think this will work
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-22 01:31:36 -06:00
Gilver 0aa85854a3 Weird space
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-22 01:28:08 -06:00
Gilver d022bc152c ???
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-22 01:27:49 -06:00
Gilver ba63e1fe4e try -Xlinker muldefs
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-22 01:23:30 -06:00
Gilver 60cb655cf4 Merge branch 'frawhide' into gil/feat/xavs 2025-11-19 04:59:20 -06:00
Gilver 47378ef593 I don't know how Negativo is building this crap
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-10 18:56:33 -06:00
Gilver fa28d4e1c6 Update xavs.spec
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-10 18:51:51 -06:00
Gilver 653cd87252 I hate PIC
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-10 18:51:10 -06:00
Gilver 43449a8d07 I truly hate Sourceforge
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-10 11:48:44 -06:00
Gilver 96b6a89841 Try fetching snapshot again??
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-10 11:30:18 -06:00
Gilver 9b97cdf1a1 That wasn't it
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 21:41:15 -06:00
Gilver 902a4b43fd Agh
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 21:36:36 -06:00
Gilver 82993a184a Hmm
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 21:30:21 -06:00
Gilver 2faf3a24d2 ...?
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 21:27:39 -06:00
Gilver 620db9eb62 ...?
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 21:23:43 -06:00
Gilver b508a5c94c ????
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 20:53:25 -06:00
Gilver 181a0be6a6 dshdfhasdfjsdfhjk
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 20:47:56 -06:00
Gilver c4b3856d1f fix: Aaaaa
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 20:43:50 -06:00
Gilver cb6064d9a1 feat: Revision
Update versioning to include date and commit revision.

Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 20:42:26 -06:00
Gilver 0abd8da71f feat(xavs): Enable ASM for x86_64
Signed-off-by: Gilver <rockgrub@disroot.org>
2025-11-08 20:39:19 -06:00
24 changed files with 288 additions and 97 deletions
+1 -6
View File
@@ -7,11 +7,6 @@ URL: https://apps.ankiweb.net/
BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes)
BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson
BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-webengine
BuildRequires: python3-qt5 python3-qt5-devel python3-pyqt6 python3-pyqt6-devel protobuf-compiler protobuf-devel
BuildRequires: python3dist(pyqt5)
BuildRequires: python3dist(pyqt5-sip)
BuildRequires: python3dist(pyqt6)
BuildRequires: python3dist(pyqt6-sip)
Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-pyqt6-webengine
Recommends: (mpv or mpv-nightly)
@@ -34,7 +29,7 @@ git checkout %{version}
%build
export RELEASE=1
export PYTHONPATH="%{python3_sitelib}:%{python3_sitearch}:%{buildroot}%{python3_sitelib}:%{buildroot}%{python3_sitearch}:$PYTHONPATH"
export PYTHONPATH=%_libdir/python3/dist-packages
cargo update
mold -run ./tools/build
+22 -2
View File
@@ -180,6 +180,19 @@ BuildArch: noarch
%description terminfo
Ghostty's terminfo. Needed for basic terminal function.
%package -n libghostty-vt-nightly
Summary: The libghostty-vt libraries
%description -n libghostty-vt-nightly
This package contains the libghostty-vt libraries, the first of many linghostty libaries in development.
%package -n libghostty-vt-nightly-devel
Summary: Development files for libghostty-vt
Requires: libghostty-vt-nightly = %{evr}
%description -n libghostty-vt-nightly-devel
This package contains the libraries and header files that are needed for developing with libghostty-vt.
%prep
/usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key}
%autosetup -n %{base_name}-%{ver}-main+%{shortcommit}
@@ -240,8 +253,6 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
%files devel
%{_includedir}/ghostty/
%{_libdir}/libghostty-vt.so
%{_datadir}/pkgconfig/libghostty-vt.pc
%files kio
%{_datadir}/kio/servicemenus/%{appid}.desktop
@@ -279,6 +290,13 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
%endif
%{_datadir}/terminfo/x/xterm-%{base_name}
%files -n libghostty-vt-nightly
%{_libdir}/libghostty-vt.so.*
%files -n libghostty-vt-nightly-devel
%{_libdir}/libghostty-vt.so
%{_datadir}/pkgconfig/libghostty-vt.pc
%post
%systemd_user_post app-%{appid}.service
@@ -289,6 +307,8 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
%systemd_user_postun app-%{appid}.service
%changelog
* Sat Nov 29 2025 Gilver E. <rockgrub@disroot.org> - 1.3.0~tip^20251128git9baf37a-1
- Initial libghostty-vt packages
* Tue Oct 28 2025 Gilver E. <rockgrub@disroot.org> - 1.3.0~tip^20251027gitd40321a-2
- Disabled bundled themes
* This is necessary to address licensing issues in the themes repo Ghostty uses
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<!-- the terra appstream builder will auto-fill this, this is a quirk of terra-appstream-builder -->
<name>Zed</name>
<id>dev.zed.Zed</id>
<icon>dev.zed.Zed-nightly</icon>
</component>
+47 -18
View File
@@ -4,13 +4,19 @@
%global ver 0.216.0
%bcond_with check
%bcond_with debug_no_build
%bcond nightly 1
%if 0%{?with_debug_no_build}
%global debug_package %{nil}
%endif
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
%global crate zed
%global app_id dev.zed.Zed-Nightly
%global appid dev.zed.Zed-nightly
%global appstream_component desktop-application
%global rustflags_debuginfo 0
@@ -22,6 +28,7 @@ SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib
URL: https://zed.dev/
Source0: https://github.com/zed-industries/zed/archive/%{commit}.tar.gz
Source1: override.xml
Conflicts: zed
Conflicts: zed-preview
@@ -69,9 +76,12 @@ Supplements: (%name unless zfs)
%description cli
This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead.
%files cli
%if %{without debug_no_build}
%_bindir/zed
%{_datadir}/applications/%app_id.desktop
%{_metainfodir}/%app_id.metainfo.xml
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%{_datadir}/applications/%appid.desktop
%{_metainfodir}/%appid.metainfo.xml
%package rename-zeditor
Summary: Rename zed to zeditor to prevent collision with zfs
@@ -83,21 +93,26 @@ RemovePathPostFixes: .zeditor
This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package.
The normal package is %name-cli.
%files rename-zeditor
%if %{without debug_no_build}
%_bindir/zeditor
%_datadir/applications/%app_id.desktop.zeditor
%{_metainfodir}/%app_id.metainfo.xml
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%_datadir/applications/%appid.desktop.zeditor
%{_metainfodir}/%appid.metainfo.xml
%prep
%autosetup -n %{crate}-%{commit} -p1
%if %{without debug_no_build}
%if %{with nightly}
%rustup_nightly
%endif
%cargo_prep_online
%endif
export DO_STARTUP_NOTIFY="true"
export APP_ID="%app_id"
export APP_ICON="%app_id"
export APP_ID="%appid"
export APP_ICON="%appid"
export APP_NAME="Zed Nightly"
export APP_CLI="zed"
export APP="%{_libexecdir}/zed-editor"
@@ -107,35 +122,40 @@ export ZED_RELEASE_CHANNEL=nightly
export BRANDING_LIGHT="#e9aa6a"
export BRANDING_DARK="#1a5fb4"
echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in
envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in
envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
%build
%if %{without debug_no_build}
export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Nightly from Terra."
echo "nightly" > crates/zed/RELEASE_CHANNEL
%cargo_build -- --package zed --package cli
ALLOW_MISSING_LICENSES=1 script/generate-licenses
%endif
%install
%if %{without debug_no_build}
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
%__cargo clean
%endif
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor
install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/
install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop
sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor
install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/
install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
# The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses
# Zed also needs a special approach to fetch the dep licenses
%if %{without debug_no_build}
%{__cargo} tree \
-Z avoid-dev-deps \
--workspace \
@@ -148,17 +168,21 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo
| sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \
| sort -u \
> LICENSE.dependencies
%endif
mv assets/icons/LICENSES LICENSE.icons
mv assets/themes/LICENSES LICENSE.themes
mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts
%terra_appstream -o %{SOURCE1}
%if %{with check}
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
%if %{without debug_no_build}
%cargo_test
%endif
%endif
%files
%doc CODE_OF_CONDUCT.md
@@ -166,13 +190,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
%license LICENSE-AGPL
%license LICENSE-APACHE
%license LICENSE-GPL
%if %{without debug_no_build}
%license LICENSE.dependencies
%endif
%license LICENSE.fonts
%license LICENSE.icons
%license LICENSE.themes
%if %{without debug_no_build}
%license assets/licenses.md
%endif
%if %{without debug_no_build}
%{_libexecdir}/zed-editor
%{_datadir}/pixmaps/%app_id.png
%endif
%changelog
%autochangelog
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<name>Zed (Preview)</name>
<id>dev.zed.Zed-preview</id>
<icon>dev.zed.Zed-preview</icon>
</component>
+49 -19
View File
@@ -1,11 +1,17 @@
%bcond_with check
%bcond_with debug_no_build
%global ver 0.215.2-pre
%if 0%{?with_debug_no_build}
%global debug_package %{nil}
%endif
%global ver 0.215.3-pre
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
%global crate zed
%global app_id dev.zed.Zed-Preview
%global appid dev.zed.Zed-preview
%global appstream_component desktop-application
%global rustflags_debuginfo 0
@@ -17,6 +23,7 @@ SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib
URL: https://zed.dev/
Source0: https://github.com/zed-industries/zed/archive/refs/tags/v%{ver}.tar.gz
Source1: override.xml
Conflicts: zed
Conflicts: zed-nightly
@@ -61,9 +68,12 @@ Supplements: (%name unless zfs)
%description cli
This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead.
%files cli
%if %{without debug_no_build}
%_bindir/zed
%{_datadir}/applications/%app_id.desktop
%{_metainfodir}/%app_id.metainfo.xml
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%{_datadir}/applications/%appid.desktop
%{_metainfodir}/%appid.metainfo.xml
%package rename-zeditor
Summary: Rename zed to zeditor to prevent collision with zfs
@@ -75,18 +85,23 @@ RemovePathPostFixes: .zeditor
This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package.
The normal package is %name-cli.
%files rename-zeditor
%if %{without debug_no_build}
%_bindir/zeditor
%_datadir/applications/%app_id.desktop.zeditor
%{_metainfodir}/%app_id.metainfo.xml
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%_datadir/applications/%appid.desktop.zeditor
%{_metainfodir}/%appid.metainfo.xml
%prep
%autosetup -n %{crate}-%{ver} -p1
%if %{without debug_no_build}
%cargo_prep_online
%endif
export DO_STARTUP_NOTIFY="true"
export APP_ID="%app_id"
export APP_ICON="%app_id"
export APP_ID="%appid"
export APP_ICON="%appid"
export APP_NAME="Zed Preview"
export APP_CLI="zed"
export APP="%{_libexecdir}/zed-editor"
@@ -96,35 +111,40 @@ export ZED_RELEASE_CHANNEL=preview
export BRANDING_LIGHT="#99c1f1"
export BRANDING_DARK="#1a5fb4"
echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in
envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in
envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
%build
%if %{without debug_no_build}
export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Preview from Terra."
echo "preview" > crates/zed/RELEASE_CHANNEL
%cargo_build -- --package zed --package cli
ALLOW_MISSING_LICENSES=1 script/generate-licenses
%endif
%install
%if %{without debug_no_build}
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
%__cargo clean
%endif
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor
install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/
install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop
sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor
install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/
install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
# The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses
# Zed also needs a special approach to fetch the dep licenses
%if %{without debug_no_build}
%{__cargo} tree \
-Z avoid-dev-deps \
--workspace \
@@ -137,17 +157,22 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo
| sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \
| sort -u \
> LICENSE.dependencies
%endif
mv assets/icons/LICENSES LICENSE.icons
mv assets/themes/LICENSES LICENSE.themes
mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts
%terra_appstream -o %{SOURCE1}
%if %{with check}
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
%if %{without debug_no_build}
%cargo_test
%endif
%endif
%files
%doc CODE_OF_CONDUCT.md
@@ -155,13 +180,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
%license LICENSE-AGPL
%license LICENSE-APACHE
%license LICENSE-GPL
%if %{without debug_no_build}
%license LICENSE.dependencies
%endif
%license LICENSE.fonts
%license LICENSE.icons
%license LICENSE.themes
%if %{without debug_no_build}
%license assets/licenses.md
%endif
%if %{without debug_no_build}
%{_libexecdir}/zed-editor
%{_datadir}/pixmaps/%app_id.png
%endif
%changelog
%autochangelog
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<name>Zed</name>
<id>dev.zed.Zed</id>
<icon>dev.zed.Zed</icon>
</component>
+50 -22
View File
@@ -1,21 +1,28 @@
%bcond_with check
%bcond_with debug_no_build
%if %{with debug_no_build}
%global debug_package %{nil}
%endif
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
%global crate zed
%global app_id dev.zed.Zed
%global appid dev.zed.Zed
%global appstream_component desktop-application
%global rustflags_debuginfo 0
Name: zed
Version: 0.214.6
Version: 0.214.7
Release: 1%?dist
Summary: Zed is a high-performance, multiplayer code editor
SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib
URL: https://zed.dev/
Source0: https://github.com/zed-industries/zed/archive/refs/tags/v%{version}.tar.gz
Source1: override.xml
Conflicts: zed-nightly
Conflicts: zed-preview
@@ -61,9 +68,12 @@ Supplements: (%name unless zfs)
%description cli
This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead.
%files cli
%if %{without debug_no_build}
%_bindir/zed
%{_datadir}/applications/%app_id.desktop
%{_metainfodir}/%app_id.metainfo.xml
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%{_datadir}/applications/%appid.desktop
%{_metainfodir}/%appid.metainfo.xml
%package rename-zeditor
Summary: Rename zed to zeditor to prevent collision with zfs
@@ -75,19 +85,23 @@ RemovePathPostFixes: .zeditor
This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package.
The normal package is %name-cli.
%files rename-zeditor
%if %{without debug_no_build}
%_bindir/zeditor
%_datadir/applications/%app_id.desktop.zeditor
%{_metainfodir}/%app_id.metainfo.xml
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%_datadir/applications/%appid.desktop.zeditor
%{_metainfodir}/%appid.metainfo.xml
%prep
%autosetup -n %{crate}-%{version} -p1
%if %{without debug_no_build}
%cargo_prep_online
%endif
export DO_STARTUP_NOTIFY="true"
export APP_ID="%app_id"
export APP_ICON="%app_id"
export APP_NAME="Zed Editor"
export APP_ID="%appid"
export APP_ICON="%appid"
export APP_NAME="Zed"
export APP_CLI="zed"
export APP="%{_libexecdir}/zed-editor"
export APP_ARGS="%U"
@@ -96,35 +110,40 @@ export ZED_RELEASE_CHANNEL=stable
export BRANDING_LIGHT="#e9aa6a"
export BRANDING_DARK="#1a5fb4"
echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in
envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in
envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
%build
%if %{without debug_no_build}
export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed from Terra."
echo "stable" > crates/zed/RELEASE_CHANNEL
%cargo_build -- --package zed --package cli
ALLOW_MISSING_LICENSES=1 script/generate-licenses
%endif
%install
%if %{without debug_no_build}
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
%__cargo clean
%endif
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor
install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/
install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop
sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor
install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/
install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
# The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses
# Zed also needs a special approach to fetch the dep licenses
%if %{without debug_no_build}
%{__cargo} tree \
-Z avoid-dev-deps \
--workspace \
@@ -137,17 +156,22 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo
| sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \
| sort -u \
> LICENSE.dependencies
%endif
mv assets/icons/LICENSES LICENSE.icons
mv assets/themes/LICENSES LICENSE.themes
mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts
%terra_appstream -o %{SOURCE1}
%if %{with check}
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
%if %{without debug_no_build}
%cargo_test
%endif
%endif
%files
%doc CODE_OF_CONDUCT.md
@@ -155,13 +179,17 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
%license LICENSE-AGPL
%license LICENSE-APACHE
%license LICENSE-GPL
%if %{without debug_no_build}
%license LICENSE.dependencies
%license assets/licenses.md
%endif
%license LICENSE.fonts
%license LICENSE.icons
%license LICENSE.themes
%license assets/licenses.md
%if %{without debug_no_build}
%{_libexecdir}/zed-editor
%{_datadir}/pixmaps/%app_id.png
%endif
%changelog
%autochangelog
+2 -2
View File
@@ -11,8 +11,8 @@
# Need to get rid of everything Clang can't use and undefine -Wunused-command-line-argument where possible due to the project's build flags
%global build_cflags %(echo %{build_cflags} | sed 's:-Werror ::g' | sed 's:-Wunused-command-line-argument ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-package-notes ::g') -Wno-unused-command-line-argument
%global build_cxxflags %(echo %{build_cxxflags} | sed 's:-Werror ::g' | sed 's:-Wunused-command-line-argument ::g' | sed 's:-specs\=/usr/lib/rpm/redhat/redhat-annobin-cc1 ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-package-notes ::g') -Wno-unused-command-line-argument
%global commit 7b560e5ffaf3504b590db69309bd8290125920e4
%global ver 0.0.38-18406
%global commit e09be04df6ec35c2b2bedb0c62bc6d1bc55f5b28
%global ver 0.0.38-18414
Name: rpcs3
Version: %(echo %{ver} | sed 's/-/^/g')
+2
View File
@@ -0,0 +1,2 @@
*.tar.xz
*.tar.xz.minisig
+2
View File
@@ -0,0 +1,2 @@
let dir = sub(`/[^/]+$`, "", __script_path);
sh(`./setup.sh fetch`, #{ "cwd": dir });
+36
View File
@@ -0,0 +1,36 @@
#!/usr/bin/bash
version=0.16.0-dev.1484+d0ba6642b
mirrors=()
for m in $(curl -s https://ziglang.org/download/community-mirrors.txt); do
mirrors+=($m)
done
# Self explanatory
function randomize_mirrors() {
number=${#mirrors[@]}
index=$(( RANDOM % number ))
mirror=${mirrors[$index]}
}
if [ "$1" == "fetch" ]; then
until curl -If ${mirror}/zig-${version}.tar.xz &>/dev/null && curl -If ${mirror}/zig-${version}.tar.xz.minisig &>/dev/null; do
randomize_mirrors
done
echo -e "\033[0;32mNote:\033[0m Selected mirror $mirror"
curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz
curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz.minisig
elif [ "$1" == "version" ]; then
echo $version
# Grab a random mirror. For debugging purposes.
elif [ "$1" == "mirror" ]; then
randomize_mirrors
echo "Your random mirror is $mirror"
elif [ "$1" == "mirrors" ]; then
echo "$mirrors"
fi
exit 0
+4
View File
@@ -2,6 +2,10 @@ let url = `https://ziglang.org/download/index.json`;
let json = get(url).json();
let v = json.master.version;
rpm.global("ver", v);
if rpm.changed() {
rpm.release();
// Update the Zig version in the script
let dir = sub(`/[^/]+$`, "", __script_path);
sh(`sed -i 's|version=.*|version=${v}|' setup.sh`, #{ "cwd": dir });
}
@@ -36,17 +36,15 @@
%global zig_install_options %zig_build_options %{shrink: \
--prefix "%{_prefix}" \
}
%global zig_mirrors ("https://pkg.machengine.org/zig" "https://zigmirror.hryx.net/zig" "https://zig.linus.dev/zig" "https://zig.squirl.dev" "https://zig.florent.dev")
%global mirror_url %(mirrors=%{zig_mirrors}; index=$(( RANDOM % ${#mirrors[@]} )); echo ${mirrors[$index]})
Name: zig-master-bootstrap
Name: zig-master
Version: %(echo %{ver} | sed 's/-/~/g')
Release: 1%?dist
Summary: Boostrap builds for Zig.
Summary: Bootstrapped build of Zig from master.
License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1
URL: https://ziglang.org
Source0: %{mirror_url}/zig-%{ver}.tar.xz
Source1: %{mirror_url}/zig-%{ver}.tar.xz.minisig
Source0: zig-%{version_no_tilde}.tar.xz
Source1: zig-%{version_no_tilde}.tar.xz.minisig
Patch0: 0000-remove-native-lib-directories-from-rpath.patch
Patch3: 0005-link.Elf-add-root-directory-of-libraries-to-linker-p.patch
BuildRequires: cmake
@@ -63,11 +61,14 @@ BuildRequires: help2man
BuildRequires: minisign
%if %{without bootstrap}
BuildRequires: %{name} = %{version}
Obsoletes: %{name}-bootstrap < %{version}
%endif
%if %{with test}
BuildRequires: elfutils-libelf-devel
BuildRequires: libstdc++-static
%endif
# For the version_no_tilde macro
BuildRequires: rust-srpm-macros
Requires: %{name}-libs = %{version}
# Apache-2.0 WITH LLVM-exception OR NCSA OR MIT
Provides: bundled(compiler-rt) = %{llvm_version}
@@ -91,7 +92,7 @@ Packager: Gilver E. <rockgrub@disroot.org>
%description
Zig is an open source alternative to C.
This package provides the bootstrap to build full "prerelease"/master builds of Zig.
This package provides the bootstrapped build to build full "prerelease"/master builds of Zig.
It is not recommended to use this build on its own.
# The Zig stdlib only contains uncompiled code
@@ -198,6 +199,8 @@ install -Dpm644 zig.1 -t %{buildroot}%{_mandir}/man1/
%endif
%changelog
* Mon Nov 24 2025 Gilver E. <rockgrub@disroot.org> - 0.16.0~dev.1456+16fc083f2-2
- Moved to new method of bootstrapping, deprecated zig-master-bootstrap
* Sat May 10 2025 Gilver E. <rockgrub@disroot.org> - 0.15.0~dev.482+2c241b263-2
- Added GCC runtime dependency to pass system information to Zig
* Fri Apr 25 2025 Gilver E. <rockgrub@disroot.org> - 0.15.0~dev.384+c06fecd46-2
+2
View File
@@ -0,0 +1,2 @@
*.tar.xz
*.tar.xz.minisig
+2
View File
@@ -0,0 +1,2 @@
let dir = sub(`/[^/]+$`, "", __script_path);
sh(`../bootstrap/setup.sh fetch`, #{ "cwd": dir });
+6 -1
View File
@@ -1,3 +1,8 @@
import "andax/bump_extras.rhai" as bump;
rpm.version(bump::madoguchi("zig-master-bootstrap", labels.branch));
rpm.version(bump::madoguchi("zig-master", labels.branch));
if rpm.changed {
let r = bump::madoguchi_json("zig-master", labels.branch).rel;
rpm.release(r + 1);
}
+5 -6
View File
@@ -11,17 +11,15 @@
%bcond docs %{without bootstrap}
%bcond test 1
%global zig_cache_dir %{builddir}/zig-cache
%global zig_mirrors ("https://pkg.machengine.org/zig" "https://zigmirror.hryx.net/zig" "https://zig.linus.dev/zig" "https://zig.squirl.dev" "https://zig.florent.dev")
%global mirror_url %(mirrors=%{zig_mirrors}; index=$(( RANDOM % ${#mirrors[@]} )); echo ${mirrors[$index]})
Name: zig-master
Version: 0.16.0~dev.1484+d0ba6642b
Release: 1%?dist
Release: 2%?dist
Summary: Master builds of the Zig language
License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1
URL: https://ziglang.org
Source0: %{mirror_url}/zig-%{version_no_tilde}.tar.xz
Source1: %{mirror_url}/zig-%{version_no_tilde}.tar.xz.minisig
Source0: zig-%{version_no_tilde}.tar.xz
Source1: zig-%{version_no_tilde}.tar.xz.minisig
Patch0: 0000-remove-native-lib-directories-from-rpath.patch
Patch3: 0005-link.Elf-add-root-directory-of-libraries-to-linker-p.patch
BuildRequires: cmake
@@ -37,7 +35,8 @@ BuildRequires: help2man
# for signature verification
BuildRequires: minisign
%if %{without bootstrap}
BuildRequires: %{name}-bootstrap = %{version}
BuildRequires: %{name} = %{version}
Obsoletes: %{name}-bootstrap < %{version}
%endif
%if %{with test}
BuildRequires: elfutils-libelf-devel
+14 -6
View File
@@ -1,6 +1,9 @@
%global commit r55
%global date 20110821
Name: xavs
Version: 0.1.55
Release: 1%{?dist}
Version: 0.1.55^%{date}svn%{commit}
Release: 2%{?dist}
Summary: AVS1 (First-generation AVS Standards) library
License: GPLv2
URL: https://xavs.sourceforge.net/
@@ -10,7 +13,7 @@ BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: subversion
#BuildRequires: yasm
BuildRequires: yasm
%description
AVS is a complete standard system including system, video, audio, and digital
@@ -35,16 +38,21 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
svn co https://svn.code.sf.net/p/xavs/code/trunk %{name}
svn co -r %{commit} https://svn.code.sf.net/p/xavs/code/trunk %{name}
%setup -T -D -n %{name}
%autopatch -p1
%build
%configure \
%ifarch x86_64
--enable-asm \
--extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Xlinker -z -Xlinker multidefs" \
%else
--disable-asm \
--extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type" \
%endif
--enable-pic \
--enable-shared \
--extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type"
--enable-shared
%make_build
%install
+6 -3
View File
@@ -1,8 +1,11 @@
rpm.global("commit", gh_commit("ad-oliviero/uwufetch"));
let json = get(`https://api.github.com/repos/ad-oliviero/uwufetch/commits/development`).json();
let c = json.sha;
let d = json.commit.author.date;
rpm.global("commit", c);
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
rpm.global("fulldate", d);
d.truncate(10);
let ver = gh_tag("ad-oliviero/uwufetch");
ver.crop(1);
rpm.global("ver", ver);
}
+3 -2
View File
@@ -1,7 +1,8 @@
%global commit f3d4503e72fa5b7dff466e527453cfbf2c95cc01
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20251128
%global ver .1
%global fulldate 2024-02-14
%global commit_date %(echo %{fulldate} | sed 's/-//g')
%global ver 2.1
%global debug_package %{nil}
Name: uwufetch
+1 -1
View File
@@ -18,7 +18,7 @@
Name: wine-staging
Version: 10.19
Version: 10.20
Release: 1%?dist
Epoch: 1
Summary: WINE Is Not An Emulator - runs MS Windows programs
@@ -1,5 +1,5 @@
Name: terra-appstream-helper
Version: 0.1.7
Version: 0.1.8
Release: 1%?dist
Summary: Scripts and RPM macros to help with AppStream metadata generation for Terra
License: GPL-3.0-or-Later
+4 -1
View File
@@ -4,7 +4,7 @@ Version: %{?fedora:%{fedora}}%{?rhel:%{rhel}}
# The dist number is the version here, it is intentionally not repeated in the release
%global dist %nil
Release: 3
Release: 4
Summary: A package to obsolete retired packages, based on Fedora's equivalent package
License: LicenseRef-Fedora-Public-Domain
@@ -157,6 +157,9 @@ BuildArch: noarch
%obsolete x264-bootstrap-libs 0.0.165-17.20250609gitb35605ac_bootstrap
%obsolete x264-bootstrap-devel 0.0.165-17.20250609gitb35605ac_bootstrap
%obsolete_ticket https://github.com/terrapkg/packages/pull/7503
%obsolete zig-master-bootstrap 0.16.0~dev.1484+d0ba6642b-2
%description
Currently obsoleted packages: