From 9ea7624b1e9fb2a85f3bbf02de0de6f1b1a62a49 Mon Sep 17 00:00:00 2001 From: madomado Date: Mon, 27 Feb 2023 17:29:09 +0800 Subject: [PATCH] chore: sync with terra37 (#251) --- CODEOWNERS | 2 - anda/apps/anki-bin/anki-bin.spec | 2 +- anda/apps/anki-qt5/anki-qt5.spec | 2 +- anda/apps/anki/anki.spec | 2 +- anda/apps/tectonic/anda.hcl | 5 - anda/apps/tectonic/tectonic.spec | 35 ---- anda/apps/tectonic/update.rhai | 3 - anda/apps/vala-panel-appmenu/anda.hcl | 5 + .../vala-panel-appmenu.spec | 144 +++++++++++++ anda/apps/vala-panel/anda.hcl | 5 + anda/apps/vala-panel/vala-panel.spec | 82 ++++++++ anda/desktops/compiz9/compiz9.spec | 26 ++- .../latte-dock-nightly.spec | 2 +- .../prismlauncher-nightly.spec | 2 +- .../prismlauncher-qt5-nightly.spec | 2 +- anda/lib/frame/anda.hcl | 5 + anda/lib/frame/frame.spec | 66 ++++++ anda/lib/geis/anda.hcl | 5 + anda/lib/geis/geis.spec | 82 ++++++++ anda/lib/glewmx/anda.hcl | 5 + anda/lib/glewmx/glewmx.spec | 65 ++++++ anda/lib/grail/anda.hcl | 5 + anda/lib/grail/grail.spec | 66 ++++++ anda/lib/libindicator/anda.hcl | 5 + anda/lib/libindicator/libindicator.spec | 172 ++++++++++++++++ anda/lib/libunity-misc/anda.hcl | 5 + anda/lib/libunity-misc/libunity-misc.spec | 60 ++++++ anda/lib/libunity/anda.hcl | 5 + anda/lib/libunity/libunity.spec | 121 +++++++++++ anda/lib/marble-gtk/anda.hcl | 5 + anda/lib/marble-gtk/marble-gtk.spec | 41 ++++ anda/lib/marble-gtk/update.rhai | 3 + anda/lib/nux/anda.hcl | 5 + anda/lib/nux/nux.spec | 104 ++++++++++ anda/lib/unity-settings-daemon/anda.hcl | 5 + .../unity-settings-daemon.1 | 87 ++++++++ .../unity-settings-daemon.service | 7 + .../unity-settings-daemon.spec | 136 +++++++++++++ .../gsettings-ubuntu-touch-schemas/anda.hcl | 5 + .../gsettings-ubuntu-touch-schemas.spec | 47 +++++ anda/others/tau-helium/tau-helium.spec | 2 +- .../unity-greeter/0001-Remove-libido.patch | 37 ++++ anda/others/unity-greeter/anda.hcl | 5 + anda/others/unity-greeter/unity-greeter.spec | 74 +++++++ anda/python/ruff/python3-ruff.spec | 2 +- anda/rust/2048-rs/anda.hcl | 5 + anda/rust/2048-rs/rust-game-2048.spec | 49 +++++ anda/rust/2048-rs/update.rhai | 1 + anda/rust/gitoxide/rust-gitoxide.spec | 2 +- anda/rust/kondo-ui/rust-kondo-ui.spec | 4 +- anda/rust/maturin/rust-maturin.spec | 4 +- anda/rust/rnote/rnote.spec | 2 +- anda/rust/starship/rust-starship.spec | 31 +-- .../starship/starship-fix-metadata-auto.diff | 8 +- anda/rust/starship/update.rhai | 2 +- anda/rust/tectonic/anda.hcl | 5 + anda/rust/tectonic/rust-tectonic.spec | 192 ++++++++++++++++++ anda/rust/tectonic/update.rhai | 1 + anda/themes/unity-asset-pool/anda.hcl | 5 + .../unity-asset-pool/unity-asset-pool.spec | 55 +++++ anda/tools/graalvm/update.rhai | 2 +- 61 files changed, 1831 insertions(+), 88 deletions(-) delete mode 100644 anda/apps/tectonic/anda.hcl delete mode 100644 anda/apps/tectonic/tectonic.spec delete mode 100644 anda/apps/tectonic/update.rhai create mode 100644 anda/apps/vala-panel-appmenu/anda.hcl create mode 100644 anda/apps/vala-panel-appmenu/vala-panel-appmenu.spec create mode 100644 anda/apps/vala-panel/anda.hcl create mode 100644 anda/apps/vala-panel/vala-panel.spec create mode 100644 anda/lib/frame/anda.hcl create mode 100644 anda/lib/frame/frame.spec create mode 100644 anda/lib/geis/anda.hcl create mode 100644 anda/lib/geis/geis.spec create mode 100644 anda/lib/glewmx/anda.hcl create mode 100644 anda/lib/glewmx/glewmx.spec create mode 100644 anda/lib/grail/anda.hcl create mode 100644 anda/lib/grail/grail.spec create mode 100644 anda/lib/libindicator/anda.hcl create mode 100644 anda/lib/libindicator/libindicator.spec create mode 100644 anda/lib/libunity-misc/anda.hcl create mode 100644 anda/lib/libunity-misc/libunity-misc.spec create mode 100644 anda/lib/libunity/anda.hcl create mode 100644 anda/lib/libunity/libunity.spec create mode 100644 anda/lib/marble-gtk/anda.hcl create mode 100644 anda/lib/marble-gtk/marble-gtk.spec create mode 100644 anda/lib/marble-gtk/update.rhai create mode 100644 anda/lib/nux/anda.hcl create mode 100644 anda/lib/nux/nux.spec create mode 100644 anda/lib/unity-settings-daemon/anda.hcl create mode 100644 anda/lib/unity-settings-daemon/unity-settings-daemon.1 create mode 100644 anda/lib/unity-settings-daemon/unity-settings-daemon.service create mode 100644 anda/lib/unity-settings-daemon/unity-settings-daemon.spec create mode 100644 anda/others/gsettings-ubuntu-touch-schemas/anda.hcl create mode 100644 anda/others/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas.spec create mode 100644 anda/others/unity-greeter/0001-Remove-libido.patch create mode 100644 anda/others/unity-greeter/anda.hcl create mode 100644 anda/others/unity-greeter/unity-greeter.spec create mode 100644 anda/rust/2048-rs/anda.hcl create mode 100644 anda/rust/2048-rs/rust-game-2048.spec create mode 100644 anda/rust/2048-rs/update.rhai create mode 100644 anda/rust/tectonic/anda.hcl create mode 100644 anda/rust/tectonic/rust-tectonic.spec create mode 100644 anda/rust/tectonic/update.rhai create mode 100644 anda/themes/unity-asset-pool/anda.hcl create mode 100644 anda/themes/unity-asset-pool/unity-asset-pool.spec diff --git a/CODEOWNERS b/CODEOWNERS index 397af39e63..80bada7762 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -28,5 +28,3 @@ /anda/rust/starship @korewaChino /anda/rust/zellij @korewaChino /anda/audio/distrho @korewaChino - -/anda/desktop/compiz9 @cat-master21 \ No newline at end of file diff --git a/anda/apps/anki-bin/anki-bin.spec b/anda/apps/anki-bin/anki-bin.spec index 7d111affa5..bb9905d4b5 100644 --- a/anda/apps/anki-bin/anki-bin.spec +++ b/anda/apps/anki-bin/anki-bin.spec @@ -1,5 +1,5 @@ Name: anki-bin -Version: 2.1.58 +Version: 2.1.60 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning (Installed with wheel) License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index cc42bba0dd..7bd1b00375 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -1,5 +1,5 @@ Name: anki-qt5 -Version: 2.1.58 +Version: 2.1.60 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY diff --git a/anda/apps/anki/anki.spec b/anda/apps/anki/anki.spec index 09a52516d4..48604ddc05 100644 --- a/anda/apps/anki/anki.spec +++ b/anda/apps/anki/anki.spec @@ -1,5 +1,5 @@ Name: anki -Version: 2.1.58 +Version: 2.1.60 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY diff --git a/anda/apps/tectonic/anda.hcl b/anda/apps/tectonic/anda.hcl deleted file mode 100644 index 389ba0adf1..0000000000 --- a/anda/apps/tectonic/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "tectonic.spec" - } -} diff --git a/anda/apps/tectonic/tectonic.spec b/anda/apps/tectonic/tectonic.spec deleted file mode 100644 index d3ba3d4ea6..0000000000 --- a/anda/apps/tectonic/tectonic.spec +++ /dev/null @@ -1,35 +0,0 @@ -%define debug_package %{nil} - -Name: tectonic -Version: 0.12.0 -Release: 2%{?dist} -Summary: A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive -URL: https://github.com/tectonic-typesetting/tectonic -License: MIT -Source0: %{url}/archive/refs/tags/tectonic@%{version}.tar.gz -Requires: openssl harfbuzz-icu libpng freetype graphite2 zlib fontconfig -BuildRequires: cargo gcc gcc-c++ mold openssl-devel libpng-devel freetype graphite2-devel zlib-devel fontconfig-devel pkgconfig(icu-uc) - -%description -Tectonic is a modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive. - -%prep -%autosetup -n tectonic-tectonic-%{version} - - -%build -# cargo build --features external-harfbuzz - - -%install -cargo install --path . --features external-harfbuzz - - -%files -%doc README.md -%license LICENSE - - -%changelog -* Tue Nov 1 2022 windowsboy111 -- Repackaged for Terra diff --git a/anda/apps/tectonic/update.rhai b/anda/apps/tectonic/update.rhai deleted file mode 100644 index 531ce646d9..0000000000 --- a/anda/apps/tectonic/update.rhai +++ /dev/null @@ -1,3 +0,0 @@ -let v = gh("tectonic-typesetting/tectonic"); -v.crop(9); -rpm.version(v); diff --git a/anda/apps/vala-panel-appmenu/anda.hcl b/anda/apps/vala-panel-appmenu/anda.hcl new file mode 100644 index 0000000000..6714c17974 --- /dev/null +++ b/anda/apps/vala-panel-appmenu/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "vala-panel-appmenu.spec" + } +} diff --git a/anda/apps/vala-panel-appmenu/vala-panel-appmenu.spec b/anda/apps/vala-panel-appmenu/vala-panel-appmenu.spec new file mode 100644 index 0000000000..a5a780a2c1 --- /dev/null +++ b/anda/apps/vala-panel-appmenu/vala-panel-appmenu.spec @@ -0,0 +1,144 @@ +%global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu +%global commit 99cd56c1644fe4193854902c450e67f9a6685112 +%forgemeta + +Name: vala-panel-appmenu +Version: 0.7.6 +Release: %autorelease +License: LGPL-3.0+ +Summary: This package provides Application Menu plugin for vala-panel +URL: %{forgeurl} +Source: %{forgesource} + +BuildRequires: bamf-daemon +BuildRequires: meson +BuildRequires: ninja-build +BuildRequires: gettext +BuildRequires: cmake +BuildRequires: vala +BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(libxfce4panel-2.0) +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libxfconf-0) +BuildRequires: pkgconfig(budgie-1.0) +BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(libbamf3) +BuildRequires: pkgconfig(libxfce4panel-2.0) +BuildRequires: pkgconfig(libxfconf-0) +BuildRequires: pkgconfig(libwnck-3.0) >= 3.4.0 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(dbusmenu-glib-0.4) +BuildRequires: pkgconfig(vala-panel) +BuildRequires: pkgconfig(libmatepanelapplet-4.0) +Provides: vala-panel-appmenu-plugin +Requires: unity-gtk3-module +Requires: unity-gtk2-module +Requires: bamf-daemon +Requires: libdbusmenu +Requires: libdbusmenu-gtk2 +Requires: libdbusmenu-gtk3 + +%description +Vala Panel Application Menu is a Global Menu applet for use with Vala Panel, xfce4-panel and mate-panel (Budgie 10.x is also planned). +Unity-gtk-module is used as a backend + +%package -n xfce4-vala-panel-appmenu-plugin +Summary: This package provides Application Menu plugin for xfce4-panel +Requires: xfce4-panel +Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} + +%description -n xfce4-vala-panel-appmenu-plugin +XFCE4 desktop plugin for %{name}. + + +%package -n mate-vala-panel-appmenu-plugin +Summary: This package provides Application Menu plugin for xfce4-panel +Requires: mate-panel +Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} + +%description -n mate-vala-panel-appmenu-plugin +Mate desktop plugin for %{name}. + + +%package -n budgie-vala-panel-appmenu-plugin +Summary: This package provides Application Menu plugin for xfce4-panel +Requires: budgie-desktop +Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} + +%description -n budgie-vala-panel-appmenu-plugin +Budgie desktop plugin for %{name}. + + +%package devel +Summary: Development package for budgie-desktop +Requires: vala-panel-appmenu-gtk-module%{?_isa} = %{version}-%{release} + +%description devel +Header files, libraries, and other files for developing %{name}. + + +%package -n vala-panel-appmenu-gtk-module +Summary: Gtk3MenuShell D-Bus exporter +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description -n vala-panel-appmenu-gtk-module +GTK (2, 3) module that exports GtkMenuShells over D-Bus. + +%prep +%forgeautosetup + +%build +%meson -Dxfce=enabled -Dvalapanel=enabled -Djayatana=enabled \ + -Dbudgie=enabled -Dmate=enabled +%meson_build + +%install +%meson_install +%find_lang vala-panel-appmenu + +%files -f vala-panel-appmenu.lang +%doc README.md +%license LICENSE +%dir %{_libdir}/vala-panel +%dir %{_libdir}/vala-panel/applets +%{_libdir}/vala-panel/applets/libappmenu.so +%dir %{_libexecdir}/vala-panel +%{_libexecdir}/vala-panel/appmenu-registrar +%{_docdir}/appmenu-gtk-module/ +%dir %{_datadir}/licenses/appmenu-gtk-module +%{_datadir}/licenses/appmenu-gtk-module/LICENSE +%{_datadir}/dbus-1/services/com.canonical.AppMenu.Registrar.service +%{_datadir}/glib-2.0/schemas/org.valapanel.appmenu.gschema.xml +%{_datadir}/vala-panel/applets/org.valapanel.appmenu.plugin + +%files -n vala-panel-appmenu-gtk-module +%{_userunitdir}/appmenu-gtk-module.service +%{_libdir}/libappmenu-gtk2-parser.so.* +%{_libdir}/libappmenu-gtk3-parser.so.* +%{_libdir}/gtk-2.0/modules/libappmenu-gtk-module.so +%{_libdir}/gtk-3.0/modules/libappmenu-gtk-module.so +%{_datadir}/glib-2.0/schemas/org.appmenu.gtk-module.gschema.xml + +%files -n xfce4-vala-panel-appmenu-plugin +%{_libdir}/xfce4/panel/plugins/libappmenu-xfce.so +%{_datadir}/xfce4/panel/plugins/appmenu.desktop + +%files -n mate-vala-panel-appmenu-plugin +%{_libdir}/mate-panel/libappmenu-mate.so +%{_datadir}/mate-panel/applets/org.vala-panel.appmenu.mate-panel-applet + +%files -n budgie-vala-panel-appmenu-plugin +%dir %{_libdir}/budgie-desktop/plugins/budgie-appmenu-plugin +%{_libdir}/budgie-desktop/plugins/budgie-appmenu-plugin/appmenu-budgie.plugin +%{_libdir}/budgie-desktop/plugins/budgie-appmenu-plugin/libappmenu-budgie.so + +%files devel +%dir %{_includedir}/appmenu-gtk-parser +%{_includedir}/appmenu-gtk-parser/*.h +%{_libdir}/libappmenu-gtk2-parser.so +%{_libdir}/libappmenu-gtk3-parser.so +%{_libdir}/pkgconfig/*.pc + +%changelog +%autochangelog diff --git a/anda/apps/vala-panel/anda.hcl b/anda/apps/vala-panel/anda.hcl new file mode 100644 index 0000000000..f3640ac953 --- /dev/null +++ b/anda/apps/vala-panel/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "vala-panel.spec" + } +} diff --git a/anda/apps/vala-panel/vala-panel.spec b/anda/apps/vala-panel/vala-panel.spec new file mode 100644 index 0000000000..445dc5c43a --- /dev/null +++ b/anda/apps/vala-panel/vala-panel.spec @@ -0,0 +1,82 @@ +%global forgeurl https://gitlab.com/vala-panel-project/vala-panel +%global commit ead4e7a36b0e4b0a2ac43c5d9ca17eb753461afe + +%forgemeta + +Name: vala-panel +Version: 0.5.0 +Release: %autorelease +License: LGPL-3.0+ +Summary: This package provides Application Menu plugin for vala-panel +URL: %{forgeurl} +Source: %{forgesource} + +BuildRequires: meson +BuildRequires: vala +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(libwnck-3.0) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(libpeas-gtk-1.0) +BuildRequires: gtk-layer-shell-devel + +%description +This is Application Menu (Global Menu) plugin. +It built using Unity protocol and libraries, +and share all Unity limitations and advancements. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +%{summary}. + +%prep +%forgeautosetup + +%build +%meson -Dwnck=enabled -Dplatforms='layer-shell,x11' +%meson_build + +%install +%meson_install +%find_lang %{name} +# Already packaged +rm -rf %{buildroot}%{_datadir}/vala-panel/doc + +desktop-file-validate %{buildroot}%{_datadir}/applications/org.valapanel.application.desktop +# Seems to succeed with other appstream checkers and works but fails +#appstream-util validate-relax --nonet {buildroot}{_datadir}/appdata/org.valapanel.application.appdata.xml + +%files -f %{name}.lang +%doc README.md LICENSE +%license LICENSE +%{_sysconfdir}/xdg/vala-panel/ +%{_bindir}/vala-* +%{_libdir}/libvalapanel.so.* +%dir %{_libdir}/vala-panel +%dir %{_libdir}/vala-panel/applets +%{_libdir}/vala-panel/applets/*.so +%{_datadir}/appdata/org.valapanel.application.appdata.xml +%{_datadir}/applications/org.valapanel.application.desktop +%{_datadir}/glib-2.0/schemas/*.xml +%{_datadir}/icons/hicolor/96x96/apps/vala-panel.png +%{_datadir}/icons/hicolor/scalable/apps/vala-panel.svg +%{_datadir}/man/man1/*.1.gz +%dir %{_datadir}/vala-panel +%dir %{_datadir}/vala-panel/applets +%{_datadir}/vala-panel/applets/*.plugin +%dir %{_datadir}/vala-panel/images +%{_datadir}/vala-panel/images/background.png + +%files devel +%dir %{_includedir}/vala-panel +%{_includedir}/vala-panel/*.h +%{_libdir}/libvalapanel.so +%{_libdir}/pkgconfig/vala-panel.pc +%{_datadir}/vala/vapi/vala-panel.* + +%changelog +%autochangelog diff --git a/anda/desktops/compiz9/compiz9.spec b/anda/desktops/compiz9/compiz9.spec index 57457e0fc9..39ec3425a6 100644 --- a/anda/desktops/compiz9/compiz9.spec +++ b/anda/desktops/compiz9/compiz9.spec @@ -38,21 +38,17 @@ BuildRequires: libwnck3-devel BuildRequires: cmake BuildRequires: gcc BuildRequires: g++ -BuildRequires: make BuildRequires: glibmm24-devel -BuildRequires: lcov BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildRequires: boost-devel BuildRequires: libnotify-devel BuildRequires: python3-Cython -BuildRequires: glibc-headers-x86 BuildRequires: metacity-devel BuildRequires: libglvnd-devel -BuildRequires: gcovr BuildRequires: mesa-libEGL-devel BuildRequires: glib2-devel BuildRequires: xorg-x11-server-devel -Requires: glib2 Requires: xorg-x11-server-Xorg Requires: metacity Requires: glx-utils @@ -119,10 +115,21 @@ categories},22x22/{categories,devices,mimetypes}} %dir %{_libdir}/compizconfig %dir %{_libdir}/compizconfig/backends %{_libdir}/compizconfig/backends/*.so -%{python3_sitearch}/compizconfig.cpython*.so -%{python3_sitearch}/compizconfig_python*.egg-info/ +%{python3_sitearch}/* %{_datadir}/applications/compiz.desktop -#{_datadir}/compiz/ +%dir %{_datadir}/compiz +%{_datadir}/compiz/*.xml +%{_datadir}/compiz/*.png +%{_datadir}/compiz/colorfilter/ +%{_datadir}/compiz/cube/ +%{_datadir}/compiz/cubeaddon/ +%{_datadir}/compiz/icons/ +%{_datadir}/compiz/mag/ +%{_datadir}/compiz/notification/ +%{_datadir}/compiz/scale/ +%{_datadir}/compiz/showmouse/ +%{_datadir}/compiz/splash/ +%{_datadir}/compiz/xslt/ %{_datadir}/glib-2.0/schemas/org.compiz*.gschema.xml %{_datadir}/gnome-control-center/keybindings/50-compiz-*.xml @@ -134,6 +141,7 @@ categories},22x22/{categories,devices,mimetypes}} %{_libdir}/libcompiz_core.so %{_libdir}/libdecoration.so %{_libdir}/pkgconfig/*.pc +%{_datadir}/compiz/cmake/ %{_datadir}/cmake/Modules/*.cmake %files -n python3-ccsm -f ccsm.lang @@ -150,4 +158,4 @@ categories},22x22/{categories,devices,mimetypes}} %{python3_sitelib}/ccsm-%{version}-py%{python3_version}.egg-info %changelog -%autochangelog \ No newline at end of file +%autochangelog diff --git a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec index df7b8f125d..ad5f93dfce 100644 --- a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec +++ b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/KDE/latte-dock/ -%global commit 7564e0ee52ef31f2dc08e5317e323426841c0516 +%global commit 491a5b0f4958145697f2bbdcc247c34931675f16 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commit_date %(date '+%Y%m%d') %global snapshot_info %{commit_date}.%{shortcommit} diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index dbbdff668b..9ac774857b 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -1,6 +1,6 @@ %global real_name prismlauncher -%global commit b977ac6df5a6b953f3a04d774bddfee38e30bb04 +%global commit 8ce8055aeb3e610088ff5a08f509862c1feafd8f %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index 3ff44405fa..bdb4e917b0 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -1,6 +1,6 @@ %global real_name prismlauncher -%global commit b977ac6df5a6b953f3a04d774bddfee38e30bb04 +%global commit 8ce8055aeb3e610088ff5a08f509862c1feafd8f %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 diff --git a/anda/lib/frame/anda.hcl b/anda/lib/frame/anda.hcl new file mode 100644 index 0000000000..fa0d800ad3 --- /dev/null +++ b/anda/lib/frame/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "frame.spec" + } +} diff --git a/anda/lib/frame/frame.spec b/anda/lib/frame/frame.spec new file mode 100644 index 0000000000..fa14e246be --- /dev/null +++ b/anda/lib/frame/frame.spec @@ -0,0 +1,66 @@ +Name: frame +Version: 2.5.0 +Release: %autorelease +Summary: Touch Frame Library + +License: GPLv3 AND LGPLv3 +URL: https://launchpad.net/frame +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/f/frame/frame_2.5.0daily13.06.05+16.10.20160809.orig.tar.gz +Patch0: http://archive.ubuntu.com/ubuntu/pool/universe/f/frame/frame_2.5.0daily13.06.05+16.10.20160809-0ubuntu3.diff.gz + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: make +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: libX11-devel +BuildRequires: libXi-devel +BuildRequires: libXext-devel +BuildRequires: xorg-x11-server-devel +BuildRequires: asciidoc + +%description +Frame handles the buildup and synchronization of a set of simultaneous touches. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -c -p1 + +%build +NOCONFIGURE=1 \ +./autogen.sh + +PYTHON=%{__python3} +export PYTHON + +%configure \ + --disable-silent-rules \ + --disable-static + +%make_build + +%install +%make_install +rm -fv %{buildroot}%{_libdir}/*.la + +%files +%license COPYING COPYING.GPL3 +%{_libdir}/libframe.so.* + +%files devel +%{_bindir}/frame-test-x11 +%dir %{_includedir}/oif +%{_includedir}/oif/*.h +%{_libdir}/libframe.so +%{_libdir}/pkgconfig/*.pc +%{_mandir}/man1/frame-test-x11.1.gz + +%changelog +%autochangelog diff --git a/anda/lib/geis/anda.hcl b/anda/lib/geis/anda.hcl new file mode 100644 index 0000000000..4f0fbea20b --- /dev/null +++ b/anda/lib/geis/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "geis.spec" + } +} diff --git a/anda/lib/geis/geis.spec b/anda/lib/geis/geis.spec new file mode 100644 index 0000000000..d2b5d8712c --- /dev/null +++ b/anda/lib/geis/geis.spec @@ -0,0 +1,82 @@ +Name: geis +Version: 2.2.17 +Release: %autorelease +Summary: An implementation of the GEIS interface + +License: GPLv3 AND LGPLv3 +URL: https://launchpad.net/geis +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/g/geis/geis_%{version}+16.04.20160126.orig.tar.gz +Patch0: http://archive.ubuntu.com/ubuntu/pool/universe/g/geis/geis_%{version}+16.04.20160126-0ubuntu8.diff.gz + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: make +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: dbus-devel +BuildRequires: grail-devel +BuildRequires: frame-devel +BuildRequires: python3-devel +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xi) +BuildRequires: pkgconfig(xorg-server) +Requires: python3 + +%description +An implementation of the GEIS (Gesture Engine Interface and Support) interface. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -n geis-%{version}+16.04.20160126 -p1 + +%build +NOCONFIGURE=1 \ +./autogen.sh + +PYTHON=%{__python3} +export PYTHON + +%configure \ + --disable-silent-rules \ + --disable-static + +%make_build + +%install +%make_install +rm -fv %{buildroot}%{_libdir}/*.la %{buildroot}%{python3_sitearch}/*.la + +%files +%license COPYING COPYING.GPL +%{_bindir}/geisview +%{_bindir}/pygeis +%{python3_sitelib}/geis/ +%{python3_sitelib}/geisview/ +%{_libdir}/libgeis.so.* +%{python3_sitearch}/_geis_bindings.so +%{_datadir}/applications/geisview.desktop +%{_datadir}/doc/geis/ +%{_datadir}/geisview/ +%{_mandir}/man1/geisview.1.gz +%{_mandir}/man1/pygeis.1.gz +%{_datadir}/pixmaps/geisview32x32.xpm + +%files devel +%{_bindir}/geistest +%dir %{_includedir}/geis +%{_includedir}/geis/*.h +%{_libdir}/libgeis.so +%{_libdir}/pkgconfig/libgeis.pc +%{_mandir}/man1/geistest.1.gz + +%changelog +%autochangelog diff --git a/anda/lib/glewmx/anda.hcl b/anda/lib/glewmx/anda.hcl new file mode 100644 index 0000000000..ac465cf484 --- /dev/null +++ b/anda/lib/glewmx/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "glewmx.spec" + } +} diff --git a/anda/lib/glewmx/glewmx.spec b/anda/lib/glewmx/glewmx.spec new file mode 100644 index 0000000000..8104b89127 --- /dev/null +++ b/anda/lib/glewmx/glewmx.spec @@ -0,0 +1,65 @@ +# Can not find libraries for some reason +%global debug_package %{nil} + +Name: glewmx +Version: 1.13.0 +Release: %autorelease +Summary: OpenGL Extension Wrangler MX + +License: GPLv3+ +URL: https://launchpad.net/ubuntu/+source/glewmx +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/g/glewmx/glewmx_%{version}.orig.tar.gz +Source1: http://archive.ubuntu.com/ubuntu/pool/universe/g/glewmx/glewmx_%{version}-5.debian.tar.xz + +BuildRequires: make +BuildRequires: gcc +BuildRequires: mesa-libGLU-devel +BuildRequires: pkgconfig(glu) +BuildRequires: libXmu-devel +BuildRequires: libXi-devel + +%description +OpenGL Extension Wrangler MX. The MX version is discountinued but is maintained in Ubuntu. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -n glew-%{version} +tar -x -I 'xz -d -T0 -k' -f '%{SOURCE1}' + +# Fix aarch64 +sed -i 's!LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib!LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64!' debian/patches/0001-Fix_FTBFS_on_kFreeBSD.patch +sed -i ':a;N;$!ba;s!LIBDIR = $(GLEW_DEST)/lib!LIBDIR = $(GLEW_DEST)/lib64!2' debian/patches/0001-Fix_FTBFS_on_kFreeBSD.patch + +for i in debian/patches/*.patch; do patch -p1 < $i; done +sed -i 's:$(GLEW_DEST)/include/GL:$(GLEW_DEST)/include/glewmx-%{version}/GL:' Makefile + +%build +# This doesn't get actually installed but is to change glewmx.pc before installation +%make_build LIBDIR="%{_libdir}" +sed -i 's:includedir=${prefix}/include:includedir=${prefix}/include/glewmx-%{version}:' glewmx.pc + +%install +# Only MX is installed +%make_build DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p" LIBDIR="%{_libdir}" install.mx + +%files +%license LICENSE.txt +%{_libdir}/libGLEWmx.so.* + +%files devel +%dir %{_includedir}/glewmx-%version +%dir %{_includedir}/glewmx-%version/GL +%{_includedir}/glewmx-%version/GL/*.h +%{_libdir}/libGLEWmx.a +%{_libdir}/libGLEWmx.so +%{_libdir}/pkgconfig/glewmx.pc + +%changelog +%autochangelog diff --git a/anda/lib/grail/anda.hcl b/anda/lib/grail/anda.hcl new file mode 100644 index 0000000000..0ad504d2d7 --- /dev/null +++ b/anda/lib/grail/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "grail.spec" + } +} diff --git a/anda/lib/grail/grail.spec b/anda/lib/grail/grail.spec new file mode 100644 index 0000000000..128d1e2198 --- /dev/null +++ b/anda/lib/grail/grail.spec @@ -0,0 +1,66 @@ +Name: grail +Version: 3.1.1 +Release: %autorelease +Summary: Gesture Recognition And Instantiation Library + +License: GPLv3 AND LGPLv3 +URL: https://launchpad.net/grail +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/g/grail/grail_3.1.1.orig.tar.bz2 + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: make +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: libX11-devel +BuildRequires: libXi-devel +BuildRequires: libXext-devel +BuildRequires: xorg-x11-server-devel +BuildRequires: frame-devel + +%description +Grail consists of an interface and tools for handling gesture recognition and gesture instantiation. + +When a multitouch gesture is performed on a device, the recognizer emits one or several possible gestures. Once the context of the gesture is known, i.e., in what window the touches land and what gestures the clients of that window listen to, the instantiator delivers the matching set of gestures. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -n grail-%{version} + +%build +autoreconf --force --install +PYTHON=%{__python3} +export PYTHON + +%configure \ + --disable-integration-tests \ + --disable-silent-rules \ + --with-x11 \ + --disable-static + +%make_build + +%install +%make_install +rm -fv %{buildroot}%{_libdir}/*.la + +%files +%license COPYING COPYING.GPL3 +%{_libdir}/libgrail.so.* + +%files devel +%{_bindir}/grail-test-* +%{_includedir}/oif/grail.h +%{_libdir}/libgrail.so +%{_libdir}/pkgconfig/grail.pc +%{_mandir}/man1/grail-test-*.gz + +%changelog +%autochangelog diff --git a/anda/lib/libindicator/anda.hcl b/anda/lib/libindicator/anda.hcl new file mode 100644 index 0000000000..e70241f082 --- /dev/null +++ b/anda/lib/libindicator/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "libindicator.spec" + } +} diff --git a/anda/lib/libindicator/libindicator.spec b/anda/lib/libindicator/libindicator.spec new file mode 100644 index 0000000000..91133079c1 --- /dev/null +++ b/anda/lib/libindicator/libindicator.spec @@ -0,0 +1,172 @@ +Name: libindicator +Version: 16.10.0 +Release: %autorelease +Summary: Shared functions for Ayatana indicators + +License: GPLv3 +URL: https://launchpad.net/libindicator +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/libi/libindicator/libindicator_16.10.0+18.04.20180321.1.orig.tar.gz +# From GLib 2.62 +Patch1: http://archive.ubuntu.com/ubuntu/pool/universe/libi/libindicator/libindicator_16.10.0+18.04.20180321.1-0ubuntu5.diff.gz + +BuildRequires: chrpath +BuildRequires: gtk-doc +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(systemd) +BuildRequires: dbus-glib-devel +BuildRequires: gtk2-devel +BuildRequires: gtk3-devel +BuildRequires: systemd-rpm-macros +#Requires: ido-devel +BuildRequires: gnome-common +BuildRequires: make + +%description +A set of symbols and convenience functions that all Ayatana indicators are +likely to use. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%package gtk3 +Summary: GTK+3 build of %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description gtk3 +A set of symbols and convenience functions that all Ayatana indicators +are likely to use. This is the GTK+ 3 build of %{name}, for use +by GTK+ 3 apps. + + +%package gtk3-devel +Summary: Development files for %{name}-gtk3 +Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description gtk3-devel +The %{name}-gtk3-devel package contains libraries and header files for +developing applications that use %{name}-gtk3. + +%prep +%setup -q -c +%patch1 -p1 -b .orig +# Remove all IDO references +# This is only needed for tools/indicator-loader.c +sed -i '6d' ./Makefile.am +sed -i 's!libindicator \\!libindicator!' Makefile.am +sed -i '59d' configure.ac +sed -ie 58's/$/) &/' configure.ac + +sed -i.addvar configure.ac \ + -e '\@LIBINDICATOR_LIBS@s|\$LIBM| \$LIBM|' +sed -i 's!tests/Makefile!!' configure.ac + +NOCONFIGURE=1 \ + sh autogen.sh + +%build +%global _configure ../configure +rm -rf build-gtk2 build-gtk3 +mkdir build-gtk2 build-gtk3 + +pushd build-gtk2 +export CFLAGS="%{optflags} -Wno-error=deprecated-declarations" +%configure --with-gtk=2 --disable-tests --disable-static --disable-silent-rules +sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} +popd + +pushd build-gtk3 +export CFLAGS="%{optflags} -Wno-error=deprecated-declarations" +%configure --with-gtk=3 --disable-tests --disable-static --disable-silent-rules +sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} +popd + + +%install +pushd build-gtk2 +make install DESTDIR=%{buildroot} +popd +( + PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig + export PKG_CONFIG_PATH + for var in \ + iconsdir \ + indicatordir \ + %{nil} + do + vardir=$(pkg-config --variable=${var} indicator-0.4) + mkdir -p %{buildroot}${vardir} + done +) + +pushd build-gtk3 +make install DESTDIR=%{buildroot} +popd +( + PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig + export PKG_CONFIG_PATH + for var in \ + iconsdir \ + indicatordir \ + %{nil} + do + vardir=$(pkg-config --variable=${var} indicator3-0.4) + mkdir -p %{buildroot}${vardir} + done +) + +# Ubuntu doesn't package the dummy indicator +#rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so + +# Remove libtool files +find %{buildroot} -type f -name '*.la' -delete + +%ldconfig_scriptlets +%ldconfig_scriptlets gtk3 + +%files +%license COPYING +%doc AUTHORS COPYING NEWS ChangeLog +%{_libdir}/libindicator.so.* +%{_prefix}/lib/indicators/ +%dir %{_datadir}/libindicator/ +%dir %{_datadir}/libindicator/icons/ +%{_userunitdir}/indicators-pre.target + +%files devel +%dir %{_includedir}/libindicator-0.4/ +%dir %{_includedir}/libindicator-0.4/libindicator/ +%{_includedir}/libindicator-0.4/libindicator/*.h +%{_libdir}/libindicator.so +%{_libdir}/pkgconfig/indicator-0.4.pc + +%files gtk3 +%doc AUTHORS COPYING NEWS ChangeLog +%{_libdir}/libindicator3.so.* +%{_prefix}/lib/indicators3/ +%dir %{_datadir}/libindicator/ +%dir %{_datadir}/libindicator/icons/ + +%files gtk3-devel +%dir %{_includedir}/libindicator3-0.4/ +%dir %{_includedir}/libindicator3-0.4/libindicator/ +%{_includedir}/libindicator3-0.4/libindicator/*.h +%{_libdir}/libindicator3.so +%{_libdir}/pkgconfig/indicator3-0.4.pc + +%changelog +%autochangelog diff --git a/anda/lib/libunity-misc/anda.hcl b/anda/lib/libunity-misc/anda.hcl new file mode 100644 index 0000000000..4485074a57 --- /dev/null +++ b/anda/lib/libunity-misc/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "libunity-misc.spec" + } +} diff --git a/anda/lib/libunity-misc/libunity-misc.spec b/anda/lib/libunity-misc/libunity-misc.spec new file mode 100644 index 0000000000..bc9d80438a --- /dev/null +++ b/anda/lib/libunity-misc/libunity-misc.spec @@ -0,0 +1,60 @@ +Name: libunity-misc +Version: 4.0.5 +Release: %autorelease +Summary: Misc Unity shell libs + +License: LGPLv2 AND LGPLv2 AND GPLv2 +URL: https://launchpad.net/libunity-misc +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/libu/libunity-misc/libunity-misc_%{version}+14.04.20140115.orig.tar.gz + +BuildRequires: make +BuildRequires: g++ +BuildRequires: gcc +BuildRequires: libX11-devel +BuildRequires: gnome-common +BuildRequires: gtk-doc +BuildRequires: libX11-devel +BuildRequires: gtk3-devel +BuildRequires: glib2-devel + +%description +A simple library that implements a subset of the XPath spec to allow selecting nodes in an object tree + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -n libunity-misc-%{version}+14.04.20140115 +find ./ -type f -exec sed -i 's/-Werror//' {} \; +NOCONFIGURE=1 \ +./autogen.sh + +%build +%configure \ + --disable-silent-rules \ + --disable-static +%make_build + +%install +%make_install +rm -fv %{buildroot}%{_libdir}/lib*.la +%ldconfig_post + +%files +%license COPYING COPYING.GPL COPYING.LGPL-2 +%{_libdir}/libunity-misc.so.* + +%files devel +%{_libdir}/libunity-misc.so +%{_libdir}/pkgconfig/unity-misc.pc +%dir %{_includedir}/unity-misc +%dir %{_includedir}/unity-misc/unity-misc +%{_includedir}/unity-misc/unity-misc/*.h + +%changelog +%autochangelog diff --git a/anda/lib/libunity/anda.hcl b/anda/lib/libunity/anda.hcl new file mode 100644 index 0000000000..b59855ad19 --- /dev/null +++ b/anda/lib/libunity/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "libunity.spec" + } +} diff --git a/anda/lib/libunity/libunity.spec b/anda/lib/libunity/libunity.spec new file mode 100644 index 0000000000..751dfb4c2e --- /dev/null +++ b/anda/lib/libunity/libunity.spec @@ -0,0 +1,121 @@ +Name: libunity +Summary: Supporting library for Unity shell +Version: 7.1.4+19.04 +Release: %autorelease + +License: GPLv3+ AND LGPLv3+ +URL: https://launchpad.net/libunity +# same sources as shipped in ubuntu packages +Source0: http://archive.ubuntu.com/ubuntu/pool/main/libu/libunity/libunity_7.1.4+19.04.20190319.orig.tar.gz +Patch0: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libunity/7.1.4+19.04.20190319-0ubuntu1/libunity_7.1.4+19.04.20190319-0ubuntu1.diff.gz +Patch1: https://launchpadlibrarian.net/443817430/0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch +# Patch for vala 0.53.2 portability +Patch2: https://src.fedoraproject.org/rpms/libunity/raw/rawhide/f/libunity-7.1.4-vala-053.patch + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: pkgconfig(dee-1.0) +BuildRequires: pkgconfig(dbusmenu-glib-0.4) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: python3-devel +BuildRequires: vala +BuildRequires: make + +%description +A library for instrumenting and integrating with all aspects of the Unity +shell devel version with headers. Thanks to https://src.fedoraproject.org/rpms/libunity for the original RPM spec. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +%{summary}. + +%package -n python3-libunity +Summary: Python3 bindings for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: python3-gobject-base +%description -n python3-libunity +%{summary}. + +%prep +%autosetup -c -p1 + +%build +NOCONFIGURE=1 \ +./autogen.sh + +PYTHON=%{__python3} +export PYTHON + +%configure \ + --disable-silent-rules \ + --disable-static + +%make_build + +%install +%make_install + +rm -fv %{buildroot}%{_libdir}/lib*.la %{buildroot}%{_libdir}/libunity/lib*.la + +pushd %{buildroot} +ln -fs %{_libdir}/libunity/libunity-protocol-private.so.0.0.0 .%{_libdir}/libunity-protocol-private.so +ln -fs %{_libdir}/libunity/libunity-protocol-private.so.0.0.0 .%{_libdir}/libunity-protocol-private.so.0 +popd + +%py_byte_compile %{__python3} %{buildroot}%{python3_sitearch}/gi/overrides/ + +%ldconfig_post + +%postun +%{?ldconfig} +%if 0%{?rhel} && 0%{?rhel} < 8 +if [ $1 -eq 0 ]; then +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +fi + +%posttrans +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +%endif + +%files +%doc AUTHORS README +%license COPYING* +%{_bindir}/libunity-tool +%{_bindir}/unity-scope-loader +%{_libdir}/libunity.so.* +%{_libdir}/libunity-extras.so.* +%{_libdir}/libunity-protocol-private.so.0 +%{_libdir}/girepository-1.0/Unity-7.0.typelib +%{_libdir}/girepository-1.0/UnityExtras-7.0.typelib +%dir %{_libdir}/libunity/ +%{_libdir}/libunity/libunity-protocol-private.so +%{_libdir}/libunity/libunity-protocol-private.so.* +%{_datadir}/glib-2.0/schemas/com.canonical.Unity.Lenses.gschema.xml +%{_datadir}/unity/ +%{_datadir}/unity-scopes/ + +%files -n python3-libunity +%{python3_sitearch}/gi/overrides/Unity.py* +%{python3_sitearch}/gi/overrides/__pycache__/* + +%files devel +%{_includedir}/unity/ +%{_libdir}/libunity.so +%{_libdir}/libunity-extras.so +%{_libdir}/libunity-protocol-private.so +%{_libdir}/pkgconfig/unity.pc +%{_libdir}/pkgconfig/unity-extras.pc +%{_libdir}/pkgconfig/unity-protocol-private.pc +%{_datadir}/gir-1.0/Unity-7.0.gir +%{_datadir}/gir-1.0/UnityExtras-7.0.gir +%{_datadir}/vala/vapi/unity.* +%{_datadir}/vala/vapi/unity-extras.* +%{_datadir}/vala/vapi/unity-protocol.* +%{_datadir}/vala/vapi/unity-trace.* + +%changelog +%autochangelog diff --git a/anda/lib/marble-gtk/anda.hcl b/anda/lib/marble-gtk/anda.hcl new file mode 100644 index 0000000000..d10e213a4c --- /dev/null +++ b/anda/lib/marble-gtk/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "marble-gtk.spec" + } +} diff --git a/anda/lib/marble-gtk/marble-gtk.spec b/anda/lib/marble-gtk/marble-gtk.spec new file mode 100644 index 0000000000..879471450d --- /dev/null +++ b/anda/lib/marble-gtk/marble-gtk.spec @@ -0,0 +1,41 @@ +Name: marble-gtk +Version: 1.3.0 +Release: 1%{?dist} +Summary: My GTK library +License: GPLv3 +URL: https://gitlab.gnome.org/raggesilver/marble +BuildRequires: vala pkgconfig(gtk4) meson >= 0.50.0 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.24 +BuildRequires: pkgconfig(gio-2.0) >= 2.50 + +Source0: %{url}/-/archive/v%{version}/marble-v%{version}.tar.gz + +%description +%summary. +Just as Elementary has Granite I have Marble, my collection of useful functions +and reusable widgets. + +%prep +%autosetup -n marble-v%{version} + +%build +%meson +%meson_build + +%install +%meson_install + +%files +%doc README.md +%license COPYING +/usr/include/marble.h +/usr/lib/debug/usr/lib64/libmarble.so* +/usr/lib64/girepository-1.0/Marble-*.typelib +/usr/lib64/libmarble.so* +/usr/lib64/pkgconfig/marble.pc +/usr/share/gir-1.0/Marble-*.gir +/usr/share/vala/vapi/marble.* + +%changelog +* Sat Oct 29 2022 windowsboy111 +- Initial package diff --git a/anda/lib/marble-gtk/update.rhai b/anda/lib/marble-gtk/update.rhai new file mode 100644 index 0000000000..474d711912 --- /dev/null +++ b/anda/lib/marble-gtk/update.rhai @@ -0,0 +1,3 @@ +let txt = get("https://gitlab.gnome.org/api/v4/projects/20662/releases/"); +let ver = txt.json_arr()[0].tag_name; +rpm.version(ver); diff --git a/anda/lib/nux/anda.hcl b/anda/lib/nux/anda.hcl new file mode 100644 index 0000000000..e23c23e838 --- /dev/null +++ b/anda/lib/nux/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "nux.spec" + } +} diff --git a/anda/lib/nux/nux.spec b/anda/lib/nux/nux.spec new file mode 100644 index 0000000000..c8f75d053d --- /dev/null +++ b/anda/lib/nux/nux.spec @@ -0,0 +1,104 @@ +%global forgeurl https://gitlab.com/ubuntu-unity/unity-x/nux +%global commit a1cd0bd379000ab8aa159aec48dfae87edb6ad9f +%forgemeta + +Name: nux +Version: 4.0.8 +Release: %autorelease +Summary: An OpenGL toolkit + +License: GPLv3+ AND LGPLv3+ AND LGPLv2+ +URL: https://gitlab.com/ubuntu-unity/unity-x/nux +Source0: %{url}/-/archive/%commit/nux-%commit.tar.bz2 +Patch0: https://gitlab.com/cat-master21/nux/-/commit/0e834a556818281b9e023b47f0667e8da0f5cebd.patch + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: make +BuildRequires: git +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: libX11-devel +BuildRequires: libXi-devel +BuildRequires: libXext-devel +BuildRequires: xorg-x11-server-devel +BuildRequires: libsigc++20-devel +BuildRequires: gdk-pixbuf2-devel +BuildRequires: cairo-devel +BuildRequires: libpng-devel +BuildRequires: libglvnd-devel +BuildRequires: mesa-libGLU-devel +BuildRequires: glew-devel +BuildRequires: libXxf86vm-devel +BuildRequires: libXinerama-devel +BuildRequires: pcre-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: pciutils-devel +BuildRequires: glib2-devel +BuildRequires: ibus-devel +BuildRequires: boost-devel +BuildRequires: glewmx-devel +BuildRequires: pkgconfig(pango) +BuildRequires: pkgconfig(pangocairo) + +%description +Visual rendering toolkit for real-time applications. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +%{summary}. + +%prep +%autosetup -n nux-%commit -N +git apply %{PATCH0} + +%build +NOCONFIGURE=1 \ +./autogen.sh + +PYTHON=%{__python3} +export PYTHON + +%configure \ + --enable-documentation=no \ + --disable-silent-rules \ + --disable-static + +%make_build + +%install +%make_install +rm -fv %{buildroot}%{_libdir}/*.la %{buildroot}%{python3_sitearch}/*.la +mkdir -p %{buildroot}%{_sysconfdir}/X11/Xsession.d +install -m 0644 debian/50_check_unity_support -t %{buildroot}%{_sysconfdir}/X11/Xsession.d +# Not needed and out of place +rm -rf %{buildroot}%{_datadir}/nux/gputests + +%files +%license COPYING COPYING.gpl COPYING.lgpl-v2.1 +%{_sysconfdir}/X11/Xsession.d/50_check_unity_support +%{_libdir}/libnux-4.0.so.* +%{_libdir}/libnux-core-4.0.so.* +%{_libdir}/libnux-graphics-4.0.so.* +%dir %{_libexecdir}/nux +%{_libexecdir}/nux/unity_support_test +%dir %{_datadir}/nux +%dir %{_datadir}/nux/4.0 +%{_datadir}/nux/4.0/Fonts/ +%{_datadir}/nux/4.0/UITextures/ + +%files devel +%dir %{_includedir}/Nux-4.0 +%{_includedir}/Nux-4.0/Nux/ +%{_includedir}/Nux-4.0/NuxCore/ +%{_includedir}/Nux-4.0/NuxGraphics/ +%{_libdir}/libnux-4.0.so +%{_libdir}/libnux-core-4.0.so +%{_libdir}/libnux-graphics-4.0.so +%{_libdir}/pkgconfig/*.pc + +%changelog +%autochangelog diff --git a/anda/lib/unity-settings-daemon/anda.hcl b/anda/lib/unity-settings-daemon/anda.hcl new file mode 100644 index 0000000000..d3f04ef138 --- /dev/null +++ b/anda/lib/unity-settings-daemon/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "unity-settings-daemon.spec" + } +} diff --git a/anda/lib/unity-settings-daemon/unity-settings-daemon.1 b/anda/lib/unity-settings-daemon/unity-settings-daemon.1 new file mode 100644 index 0000000000..05f4294b14 --- /dev/null +++ b/anda/lib/unity-settings-daemon/unity-settings-daemon.1 @@ -0,0 +1,87 @@ +'\" t +.\" Title: unity-settings-daemon +.\" Author: Bastien Nocera +.\" Generator: DocBook XSL Stylesheets vsnapshot +.\" Date: 02/08/2023 +.\" Manual: User Commands +.\" Source: Unity +.\" Language: English +.\" +.TH "UNITY\-SETTINGS\-DAE" "1" "" "Unity" "User Commands" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +unity-settings-daemon \- Unity settings daemon +.SH "SYNOPSIS" +.HP \w'\fBunity\-settings\-daemon\ \fR\fB[OPTION...]\fR\ 'u +\fBunity\-settings\-daemon \fR\fB[OPTION...]\fR +.SH "DESCRIPTION" +.PP +\fBunity\-settings\-daemon\fR +provides many session\-wide services and functions that require a long\-running process\&. Among the services implemented by unity\-settings\-daemon are an XSettings manager, which provides theming, font and other settings to GTK+ applications, and a clipboard manager, which preserves clipboard contents when an application exits\&. Many user interface elements of +\fBunity\fR +and +\fBunity\-control\-center\fR +rely on unity\-settings\-daemon for their functionality\&. +.PP +The internal architecture of unity\-settings\-daemon consists of a number of plugins, which provide functionality such as printer notifications, software update monitoring, background changing, etc\&. For debugging purposes, these plugins can be individually disabled by changing the gsettings key +org\&.gnome\&.settings\-daemon\&.plugins\&.\fIplugin\-name\fR\&.active, where +\fIplugin\-name\fR +is the name of the plugin\&. To see a list of all plugins, use the command +\fB gsettings list\-children org\&.gnome\&.settings\-daemon\&.plugins \fR +.PP +unity\-settings\-daemon takes the name org\&.gnome\&.SettingsDaemon on the session bus to ensure that only one instance is running\&. Some plugins export objects under this name to make their functionality available to other applications\&. The interfaces of these objects should generally be considered private and unstable\&. +.PP +unity\-settings\-daemon is a required component of the Unity desktop, i\&.e\&. it is listed in the RequiredComponents field of +/usr/share/gnome\-session/sessions/gnome\&.session\&. It is started in the initialization phase of the session, and +\fBgnome\-session\fR +will restart it if it crashes\&. +.SH "OPTIONS" +.PP +\fB\-h\fR, \fB\-\-help\fR +.RS 4 +Prints a short help text and exits\&. +.RE +.PP +\fB\-\-debug\fR +.RS 4 +Enables debugging code\&. +.RE +.PP +\fB\-\-timed\-exit\fR +.RS 4 +Exits after a timeout (30 seconds) for debugging\&. +.RE +.SH "FILES" +.PP +/usr/share/gnome\-session/sessions/ubuntu\&.session +.RS 4 +Unity session definition file where unity\-settings\-daemon is listed as a required component\&. +.RE +.PP +/etc/xdg/autostart/unity\-settings\-daemon\&.desktop +.RS 4 +Autostart file for unity\-settings\-daemon, where its autostart phase is set\&. +.RE +.SH "SEE ALSO" +.PP +\fBunity\fR(1), +\fBunity-control-center\fR(1), +\fBgnome-session\fR(1) diff --git a/anda/lib/unity-settings-daemon/unity-settings-daemon.service b/anda/lib/unity-settings-daemon/unity-settings-daemon.service new file mode 100644 index 0000000000..742a6d680b --- /dev/null +++ b/anda/lib/unity-settings-daemon/unity-settings-daemon.service @@ -0,0 +1,7 @@ +[Unit] +Description=Unity Settings Daemon +PartOf=graphical-session.target + +[Service] +ExecStart=/usr/libexec/unity-settings-daemon +Restart=on-failure diff --git a/anda/lib/unity-settings-daemon/unity-settings-daemon.spec b/anda/lib/unity-settings-daemon/unity-settings-daemon.spec new file mode 100644 index 0000000000..669eb2f4de --- /dev/null +++ b/anda/lib/unity-settings-daemon/unity-settings-daemon.spec @@ -0,0 +1,136 @@ +Name: unity-settings-daemon +Version: 15.04.1+21.10.20220802 +Release: %autorelease +Summary: Daemon handling for Unity session settings + +License: GPLv2 AND LGPLv2+ +URL: https://launchpad.net/unity-settings-daemon +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-settings-daemon/unity-settings-daemon_%{version}.orig.tar.gz +Source1: unity-settings-daemon.service +Source2: unity-settings-daemon.1 + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: make +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: systemd-rpm-macros +BuildRequires: gsettings-desktop-schemas-devel +BuildRequires: pkgconfig(lcms2) +BuildRequires: libnotify-devel +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xi) +BuildRequires: libXext-devel +BuildRequires: xorg-x11-server-devel +BuildRequires: gperf +BuildRequires: ibus-devel +BuildRequires: accountsservice-devel +BuildRequires: pkgconfig(xkbfile) +BuildRequires: xkeyboard-config-devel +BuildRequires: pkgconfig(fcitx-config) +BuildRequires: pkgconfig(fcitx-gclient) +BuildRequires: pkgconfig(gnome-desktop-3.0) +BuildRequires: pulseaudio-libs-devel +BuildRequires: pkgconfig(libcanberra-gtk3) +BuildRequires: alsa-lib-devel +BuildRequires: libXrandr-devel +BuildRequires: upower-devel +BuildRequires: pkgconfig(colord) +BuildRequires: pkgconfig(libwacom) +BuildRequires: pkgconfig(xorg-wacom) +BuildRequires: pkgconfig(librsvg-2.0) +BuildRequires: pkgconfig(xtst) +BuildRequires: pkgconfig(packagekit-glib2) +BuildRequires: NetworkManager-libnm-devel +BuildRequires: gsettings-ubuntu-touch-schemas +Requires: hwdata +Requires: gsettings-ubuntu-touch-schemas + +%description +The settings daemon used in Unity. It is based on GNOME Settings Daemon 3.8.6.1. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +%{summary}. + +%prep +%autosetup -n unity-settings-daemon-%{version} + +# Requires internet so manually installing manpage +rm -rf man +sed -i '/man\/Makefile/d' ./configure.ac +sed -i '/man/d' Makefile.am + +%build +# Some flag fixes an issue +export LDFLAGS='-Wl,-O1 -Wl,-z,defs -Wl,--warn-unresolved-symbols -Wl,--as-needed' + +NOCONFIGURE=1 \ +./autogen.sh + +%configure --disable-static --enable-packagekit --enable-ibus --enable-fcitx --enable-network-manager + +%make_build + +%install +%make_install +rm -fv %{buildroot}%{_libdir}/unity-settings-daemon-1.0/*.la %{buildroot}%{_libdir}/*.la + +pushd %{buildroot} +mkdir -m 755 -p .%{_bindir} +ln -fs %{_libexecdir}/unity-settings-daemon .%{_bindir}/unity-settings-daemon +popd + +# Install this +mkdir -m 755 -p %{buildroot}%{_userunitdir} +install -m 644 %{SOURCE1} -t %{buildroot}%{_userunitdir} + +# Requires internet so manually installing +mkdir -m 755 -p %{buildroot}%{_mandir}/man1 +install -m 644 %{SOURCE2} -t %{buildroot}%{_mandir}/man1 + +# This conflicts +rename 61-gnome-settings-daemon-rfkill.rules 60-gnome-settings-daemon-rfkill.rules %{buildroot}%{_prefix}/lib/udev/rules.d/61-gnome-settings-daemon-rfkill.rules + +%find_lang %{name} + +%files -f %{name}.lang +%license COPYING COPYING.LIB +%{_sysconfdir}/xdg/autostart/*.desktop +%{_bindir}/unity-settings-daemon +%{_prefix}/lib/udev/rules.d/60-gnome-settings-daemon-rfkill.rules +%{_userunitdir}/unity-settings-daemon.service +%{_libdir}/libunity-settings-daemon.so.* +%{_libdir}/unity-settings-daemon-1.0/ +%{_libexecdir}/check_gl_texture_size +%{_libexecdir}/gnome-update-wallpaper-cache +%{_libexecdir}/gsd-test-rfkill +%{_libexecdir}/unity-* +%{_libexecdir}/usd-* +%{_datadir}/glib-2.0/schemas/*.xml +%{_datadir}/icons/hicolor/* +%{_mandir}/man1/unity-settings-daemon.1.gz +%{_datadir}/polkit-1/actions/*.policy +%dir %{_datadir}/unity-settings-daemon +%dir %{_datadir}/unity-settings-daemon/icons +%dir %{_datadir}/unity-settings-daemon/icons/hicolor +%dir %{_datadir}/unity-settings-daemon/icons/hicolor/64x64 +%dir %{_datadir}/unity-settings-daemon/icons/hicolor/64x64/devices +%{_datadir}/unity-settings-daemon/icons/hicolor/64x64/devices/*.png +%dir %{_datadir}/unity-settings-daemon-1.0 +%{_datadir}/unity-settings-daemon-1.0/input-device-example.sh + +%files devel +%{_libdir}/libunity-settings-daemon.so +%{_libdir}/pkgconfig/*.pc +%dir %{_includedir}/unity-settings-daemon-1.0 +%dir %{_includedir}/unity-settings-daemon-1.0/libunity-settings-daemon +%{_includedir}/unity-settings-daemon-1.0/libunity-settings-daemon/*.h +%dir %{_includedir}/unity-settings-daemon-1.0/unity-settings-daemon +%{_includedir}/unity-settings-daemon-1.0/unity-settings-daemon/*.h + +%changelog +%autochangelog diff --git a/anda/others/gsettings-ubuntu-touch-schemas/anda.hcl b/anda/others/gsettings-ubuntu-touch-schemas/anda.hcl new file mode 100644 index 0000000000..3ff76dbeee --- /dev/null +++ b/anda/others/gsettings-ubuntu-touch-schemas/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "gsettings-ubuntu-touch-schemas.spec" + } +} diff --git a/anda/others/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas.spec b/anda/others/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas.spec new file mode 100644 index 0000000000..b0d34c000c --- /dev/null +++ b/anda/others/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas.spec @@ -0,0 +1,47 @@ +Name: gsettings-ubuntu-touch-schemas +Version: 0.0.7+21.10.20210712 +Release: %autorelease +Summary: Shared GSettings schemas for Ubuntu touch and Unity +BuildArch: noarch + +License: GPLv2 AND LGPLv2 +URL: https://launchpad.net/gsettings-ubuntu-touch-schemas +Source0: http://archive.ubuntu.com/ubuntu/pool/main/g/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas_%{version}.orig.tar.gz + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: make +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: glib2-devel +BuildRequires: gsettings-desktop-schemas-devel + +%description +gsettings-ubuntu-touch-schemas contains a collection of GSettings schemas for +settings shared by various components of a Ubuntu environment. + +%prep +%autosetup -c + +%build +NOCONFIGURE=1 \ +./autogen.sh + +%configure +%make_build + +%install +%make_install +rm -fv %{buildroot}%{_libdir}/*.la + +%files +%license COPYING +%{_datadir}/accountsservice/interfaces/*.xml +%{_datadir}/dbus-1/interfaces/*.xml +%{_datadir}/glib-2.0/schemas/*.xml +%{_datadir}/pkgconfig/gsettings-unity-schemas.pc +%{_datadir}/polkit-1/actions/com.ubuntu.AccountsService.policy +%{_sharedstatedir}/polkit-1/localauthority/10-vendor.d/50-com.ubuntu.AccountsService.pkla + +%changelog +%autochangelog diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index fedcdb86cf..1d72a06f8a 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,6 +1,6 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium -Version: 1.4.64 +Version: 1.4.75 Release: 1%{?dist} License: GPLv3 URL: https://github.com/tau-OS/tau-helium diff --git a/anda/others/unity-greeter/0001-Remove-libido.patch b/anda/others/unity-greeter/0001-Remove-libido.patch new file mode 100644 index 0000000000..4cc5a091f7 --- /dev/null +++ b/anda/others/unity-greeter/0001-Remove-libido.patch @@ -0,0 +1,37 @@ +diff --git a/configure.ac b/configure.ac +index bd71aa5..92995f8 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -21,7 +21,6 @@ PKG_CHECK_MODULES(UNITY_GREETER, [ + gtk+-3.0 + gdk-x11-3.0 + indicator3-0.4 +- libido3-0.1 >= 13.10.0 + liblightdm-gobject-1 >= 1.12.0 + freetype2 + cairo-ft +diff --git a/src/indicator.vapi b/src/indicator.vapi +index 9b28c72..d3d1eff 100644 +--- a/src/indicator.vapi ++++ b/src/indicator.vapi +@@ -158,8 +158,3 @@ namespace Indicator { + [CCode (cheader_filename = "gtk/gtk.h,libindicator/indicator.h,libindicator/indicator-desktop-shortcuts.h,libindicator/indicator-image-helper.h,libindicator/indicator-object.h,libindicator/indicator-service.h,libindicator/indicator-service-manager.h")] + public static void image_helper_update (Gtk.Image image, string name); + } +- +-[CCode (cheader_filename="libido/libido.h", lower_case_cprefix = "ido_")] +-namespace Ido { +- public void init (); +-} +diff --git a/src/unity-greeter.vala b/src/unity-greeter.vala +index 929fa2c..2ac649a 100644 +--- a/src/unity-greeter.vala ++++ b/src/unity-greeter.vala +@@ -554,7 +554,6 @@ public class UnityGreeter + Environment.set_variable ("GTK_MODULES", "atk-bridge", false); + + Gtk.init (ref args); +- Ido.init (); + + log_timer = new Timer (); + Log.set_default_handler (log_cb); diff --git a/anda/others/unity-greeter/anda.hcl b/anda/others/unity-greeter/anda.hcl new file mode 100644 index 0000000000..fe248ed138 --- /dev/null +++ b/anda/others/unity-greeter/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "unity-greeter.spec" + } +} diff --git a/anda/others/unity-greeter/unity-greeter.spec b/anda/others/unity-greeter/unity-greeter.spec new file mode 100644 index 0000000000..a5f80427bf --- /dev/null +++ b/anda/others/unity-greeter/unity-greeter.spec @@ -0,0 +1,74 @@ +Name: unity-greeter +Version: 22.04.1 +Release: %autorelease +Summary: Unity Greeter for Lightdm + +License: GPLv3 +URL: https://launchpad.net/unity-greeter +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-greeter/unity-greeter_22.04.1-0ubuntu2.tar.xz +Patch1: 0001-Remove-libido.patch + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gdk-x11-3.0) +BuildRequires: pkgconfig(indicator3-0.4) +BuildRequires: pkgconfig(liblightdm-gobject-1) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(cairo-ft) +BuildRequires: pkgconfig(libcanberra) +BuildRequires: pkgconfig(pixman-1) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: vala +BuildRequires: unity-settings-daemon-devel +Requires: unity-settings-daemon +Requires: lightdm%{?_isa} + +%description +The greeter (login screen) application for Unity. It is implemented as a LightDM greeter. + +%prep +%autosetup -p1 + +%build +NOCONFIGURE=1 \ +./autogen.sh + +%configure --disable-static + +%make_build + +%install +%make_install + +%find_lang %{name} + +%ldconfig_post + +%pre +%{_sbindir}/update-alternatives \ + --remove lightdm-greeter \ + %{_datadir}/xgreeters/unity-greeter.desktop 2> /dev/null ||: + +%postun +if [ ${1} -eq 0 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : +fi + +%posttrans +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : + +%files -f %{name}.lang +%doc NEWS +%license COPYING +%{_sbindir}/unity-greeter +%{_datadir}/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml +%dir %{_datadir}/unity-greeter +%{_datadir}/unity-greeter/*.png +%{_datadir}/unity-greeter/*.svg +%{_datadir}/xgreeters/unity-greeter.desktop +%{_mandir}/man1/unity-greeter.1.gz + +%changelog +%autochangelog diff --git a/anda/python/ruff/python3-ruff.spec b/anda/python/ruff/python3-ruff.spec index 92e6702daa..6c9e70a4d6 100644 --- a/anda/python/ruff/python3-ruff.spec +++ b/anda/python/ruff/python3-ruff.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: python3-ruff -Version: 0.0.247 +Version: 0.0.252 Release: 1%{?dist} Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/anda/rust/2048-rs/anda.hcl b/anda/rust/2048-rs/anda.hcl new file mode 100644 index 0000000000..be8e033d5a --- /dev/null +++ b/anda/rust/2048-rs/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-game-2048.spec" + } +} diff --git a/anda/rust/2048-rs/rust-game-2048.spec b/anda/rust/2048-rs/rust-game-2048.spec new file mode 100644 index 0000000000..a3541a63f5 --- /dev/null +++ b/anda/rust/2048-rs/rust-game-2048.spec @@ -0,0 +1,49 @@ +# Generated by rust2rpm 23 +%bcond_without check + +%global crate game-2048 + +Name: rust-game-2048 +Version: 0.5.1 +Release: %autorelease +Summary: Cli implementation of the popular 2048 game writen in rust + +License: MIT +URL: https://crates.io/crates/game-2048 +Source: %{crates_source} + +BuildRequires: anda-srpm-macros rust-packaging >= 21 + +%global _description %{expand: +Cli implementation of the popular 2048 game writen in rust.} + +%description %{_description} + +%package -n 2048-rs +Summary: %{summary} + +%description -n 2048-rs %{_description} + +%files -n 2048-rs +%doc README.md +%{_bindir}/2048-rs + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install +install -Dm755 %{buildroot}/%{_bindir}/game-2048 %{buildroot}/%{_bindir}/2048-rs +rm %{buildroot}/%{_bindir}/game-2048 + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/anda/rust/2048-rs/update.rhai b/anda/rust/2048-rs/update.rhai new file mode 100644 index 0000000000..c2490e55fa --- /dev/null +++ b/anda/rust/2048-rs/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("game-2048")); diff --git a/anda/rust/gitoxide/rust-gitoxide.spec b/anda/rust/gitoxide/rust-gitoxide.spec index 0c27c72e62..f390393629 100644 --- a/anda/rust/gitoxide/rust-gitoxide.spec +++ b/anda/rust/gitoxide/rust-gitoxide.spec @@ -4,7 +4,7 @@ %global crate gitoxide Name: rust-gitoxide -Version: 0.22.1 +Version: 0.23.0 Release: 1%{?dist} Summary: Command-line application for interacting with git repositories diff --git a/anda/rust/kondo-ui/rust-kondo-ui.spec b/anda/rust/kondo-ui/rust-kondo-ui.spec index ec83f0519b..9888ba6e31 100644 --- a/anda/rust/kondo-ui/rust-kondo-ui.spec +++ b/anda/rust/kondo-ui/rust-kondo-ui.spec @@ -10,7 +10,9 @@ License: MIT URL: https://crates.io/crates/kondo-ui Source: %{crates_source} -BuildRequires: pkgconfig(glib-2.0) anda-srpm-macros rust-packaging >= 21 +BuildRequires: pkgconfig(glib-2.0) pkgconfig(cairo) pkgconfig(cairo-gobject) pkgconfig(gdk-pixbuf-2.0) >= 2.30 pkgconfig(pango) >= 1.36 pkgconfig(atk) >= 2.14 +BuildRequires: pkgconfig(gdk-3.0) >= 3.22 +BuildRequires: anda-srpm-macros rust-packaging >= 21 %global _description %{expand: Filesystem cleaning tool that recursively searches directories for known diff --git a/anda/rust/maturin/rust-maturin.spec b/anda/rust/maturin/rust-maturin.spec index 8226f23a51..589f7d93ee 100644 --- a/anda/rust/maturin/rust-maturin.spec +++ b/anda/rust/maturin/rust-maturin.spec @@ -2,8 +2,8 @@ %global crate maturin Name: rust-maturin -Version: 0.14.13 -Release: %autorelease +Version: 0.14.14 +Release: 1%{?dist} Summary: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages License: MIT OR Apache-2.0 diff --git a/anda/rust/rnote/rnote.spec b/anda/rust/rnote/rnote.spec index c1ff55b6ec..b63bd4ed41 100644 --- a/anda/rust/rnote/rnote.spec +++ b/anda/rust/rnote/rnote.spec @@ -1,5 +1,5 @@ Name: rnote -Version: 0.5.13 +Version: 0.5.14 Release: 1%{?dist} Summary: Sketch and take handwritten notes. License: GPLv3 diff --git a/anda/rust/starship/rust-starship.spec b/anda/rust/starship/rust-starship.spec index 6bd04fd2f4..54bc7540ba 100644 --- a/anda/rust/starship/rust-starship.spec +++ b/anda/rust/starship/rust-starship.spec @@ -1,8 +1,11 @@ +%global debug_package %{nil} # Generated by rust2rpm 23 +%bcond_without check + %global crate starship Name: rust-starship -Version: 1.12.0 +Version: 1.13.1 Release: %autorelease Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️ @@ -81,40 +84,40 @@ use the "config-schema" feature of the "%{crate}" crate. %files -n %{name}+config-schema-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+git-features-devel +%package -n %{name}+gix-faster-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+git-features-devel %{_description} +%description -n %{name}+gix-faster-devel %{_description} This package contains library source intended for building other packages which -use the "git-features" feature of the "%{crate}" crate. +use the "gix-faster" feature of the "%{crate}" crate. -%files -n %{name}+git-features-devel +%files -n %{name}+gix-faster-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+git-repository-faster-devel +%package -n %{name}+gix-features-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+git-repository-faster-devel %{_description} +%description -n %{name}+gix-features-devel %{_description} This package contains library source intended for building other packages which -use the "git-repository-faster" feature of the "%{crate}" crate. +use the "gix-features" feature of the "%{crate}" crate. -%files -n %{name}+git-repository-faster-devel +%files -n %{name}+gix-features-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+git-repository-max-perf-devel +%package -n %{name}+gix-max-perf-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+git-repository-max-perf-devel %{_description} +%description -n %{name}+gix-max-perf-devel %{_description} This package contains library source intended for building other packages which -use the "git-repository-max-perf" feature of the "%{crate}" crate. +use the "gix-max-perf" feature of the "%{crate}" crate. -%files -n %{name}+git-repository-max-perf-devel +%files -n %{name}+gix-max-perf-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+notify-devel @@ -165,8 +168,6 @@ use the "starship-battery" feature of the "%{crate}" crate. %files -n %{name}+starship-battery-devel %ghost %{crate_instdir}/Cargo.toml -%global debug_package %{nil} - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep_online diff --git a/anda/rust/starship/starship-fix-metadata-auto.diff b/anda/rust/starship/starship-fix-metadata-auto.diff index 794d0c489b..b430cd2fcd 100644 --- a/anda/rust/starship/starship-fix-metadata-auto.diff +++ b/anda/rust/starship/starship-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- starship-1.12.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ starship-1.12.0/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -252,18 +252,3 @@ +--- starship-1.13.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ starship-1.13.1/Cargo.toml 1970-01-01T00:00:01+00:00 +@@ -254,18 +254,3 @@ ] default-features = false @@ -8,7 +8,7 @@ -version = "0.2.0" - -[target."cfg(windows)".dependencies.windows] --version = "0.43.0" +-version = "0.44.0" -features = [ - "Win32_Foundation", - "Win32_UI_Shell", diff --git a/anda/rust/starship/update.rhai b/anda/rust/starship/update.rhai index 6364503fcd..270fbc36ba 100644 --- a/anda/rust/starship/update.rhai +++ b/anda/rust/starship/update.rhai @@ -1 +1 @@ -rpm.version(gh("starship/starship")); +rpm.version(crates("starship")); diff --git a/anda/rust/tectonic/anda.hcl b/anda/rust/tectonic/anda.hcl new file mode 100644 index 0000000000..ac74f13fbd --- /dev/null +++ b/anda/rust/tectonic/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-tectonic.spec" + } +} diff --git a/anda/rust/tectonic/rust-tectonic.spec b/anda/rust/tectonic/rust-tectonic.spec new file mode 100644 index 0000000000..135d71a462 --- /dev/null +++ b/anda/rust/tectonic/rust-tectonic.spec @@ -0,0 +1,192 @@ +# Generated by rust2rpm 23 +%bcond_without check + +%global crate tectonic + +Name: rust-tectonic +Version: 0.12.0 +Release: 3%{?dist} +Summary: Modernized, complete, embeddable TeX/LaTeX engine + +License: MIT +URL: https://crates.io/crates/tectonic +Source: %{crates_source} + +BuildRequires: pkgconfig(fontconfig) g++ libicu-devel freetype-devel openssl-devel graphite2-devel anda-srpm-macros rust-packaging >= 21 + +%global _description %{expand: +Modernized, complete, embeddable TeX/LaTeX engine. Tectonic is forked from the +XeTeX extension to the classic “Web2C” implementation of TeX and uses the +TeXLive distribution of support files.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%doc CARGO_README.md +%doc CHANGELOG.md +%doc CODE_OF_CONDUCT.md +%doc CONTRIBUTING.md +%doc README.md +%{_bindir}/tectonic + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CARGO_README.md +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+external-harfbuzz-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+external-harfbuzz-devel %{_description} + +This package contains library source intended for building other packages which +use the "external-harfbuzz" feature of the "%{crate}" crate. + +%files -n %{name}+external-harfbuzz-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+geturl-curl-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+geturl-curl-devel %{_description} + +This package contains library source intended for building other packages which +use the "geturl-curl" feature of the "%{crate}" crate. + +%files -n %{name}+geturl-curl-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+geturl-reqwest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+geturl-reqwest-devel %{_description} + +This package contains library source intended for building other packages which +use the "geturl-reqwest" feature of the "%{crate}" crate. + +%files -n %{name}+geturl-reqwest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+native-tls-vendored-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+native-tls-vendored-devel %{_description} + +This package contains library source intended for building other packages which +use the "native-tls-vendored" feature of the "%{crate}" crate. + +%files -n %{name}+native-tls-vendored-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+profile-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+profile-devel %{_description} + +This package contains library source intended for building other packages which +use the "profile" feature of the "%{crate}" crate. + +%files -n %{name}+profile-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serialization-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serialization-devel %{_description} + +This package contains library source intended for building other packages which +use the "serialization" feature of the "%{crate}" crate. + +%files -n %{name}+serialization-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tectonic_docmodel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tectonic_docmodel-devel %{_description} + +This package contains library source intended for building other packages which +use the "tectonic_docmodel" feature of the "%{crate}" crate. + +%files -n %{name}+tectonic_docmodel-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+toml-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+toml-devel %{_description} + +This package contains library source intended for building other packages which +use the "toml" feature of the "%{crate}" crate. + +%files -n %{name}+toml-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/anda/rust/tectonic/update.rhai b/anda/rust/tectonic/update.rhai new file mode 100644 index 0000000000..3c5082f2fe --- /dev/null +++ b/anda/rust/tectonic/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("tectonic")); diff --git a/anda/themes/unity-asset-pool/anda.hcl b/anda/themes/unity-asset-pool/anda.hcl new file mode 100644 index 0000000000..c1373e04b9 --- /dev/null +++ b/anda/themes/unity-asset-pool/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "unity-asset-pool.spec" + } +} diff --git a/anda/themes/unity-asset-pool/unity-asset-pool.spec b/anda/themes/unity-asset-pool/unity-asset-pool.spec new file mode 100644 index 0000000000..3465e5c267 --- /dev/null +++ b/anda/themes/unity-asset-pool/unity-asset-pool.spec @@ -0,0 +1,55 @@ +Name: unity-asset-pool +Summary: Assets and icons for Unity +Version: 0.8.24 +Release: %autorelease + +License: CC-BY-SA +URL: https://launchpad.net/unity-asset-pool +Source0: %{url}/0.8/%{version}/+download/unity-asset-pool-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: binutils +BuildRequires: zstd +Requires: adwaita-icon-theme +Requires: hicolor-icon-theme + +%description +Theme and icons for Unity. + +%prep +%autosetup + +%build +true + +%install +mkdir -m 0755 -p %{buildroot}%{_datadir}/icons/unity-icon-theme/apps %{buildroot}%{_datadir}/icons/unity-icon-theme/places +mkdir -m 0755 -p %{buildroot}%{_datadir}/unity/themes + +mkdir -m 0755 -p %{buildroot}%{_datadir}/icons/unity-icon-theme/places/svg %{buildroot}%{_datadir}/icons/unity-icon-theme/places/22 +mkdir -m 0755 -p %{buildroot}%{_datadir}/icons/unity-icon-theme/places/24 %{buildroot}%{_datadir}/icons/unity-icon-theme/apps/48 +mkdir -m 0755 -p %{buildroot}%{_datadir}/icons/unity-icon-theme/apps/128 +mkdir -m 0755 -p %{buildroot}%{_datadir}/icons/unity-icon-theme/search/16 %{buildroot}%{_datadir}/icons/unity-icon-theme/web/48 + +install -m 0644 unity-icon-theme/index.theme -t %{buildroot}%{_datadir}/icons/unity-icon-theme +install -m 0644 unity-icon-theme/apps/48/workspace-switcher.png -t %{buildroot}%{_datadir}/icons/unity-icon-theme/apps/48 +install -m 0644 unity-icon-theme/apps/128/* -t %{buildroot}%{_datadir}/icons/unity-icon-theme/apps/128 +install -m 0644 unity-icon-theme/places/22/distributor-logo.png -t %{buildroot}%{_datadir}/icons/unity-icon-theme/places/22 +install -m 0644 unity-icon-theme/places/24/distributor-logo.png -t %{buildroot}%{_datadir}/icons/unity-icon-theme/places/24 +install -m 0644 unity-icon-theme/places/svg/* -t %{buildroot}%{_datadir}/icons/unity-icon-theme/places/svg +install -m 0644 unity-icon-theme/search/16/search_field.png -t %{buildroot}%{_datadir}/icons/unity-icon-theme/search/16 +install -m 0644 unity-icon-theme/web/48/webapp-default-icon.png -t %{buildroot}%{_datadir}/icons/unity-icon-theme/web/48 +install -m 0644 unity-icon-theme/index.theme -t %{buildroot}%{_datadir}/icons/unity-icon-theme +install -m 0644 unity-icon-theme/index.theme -t %{buildroot}%{_datadir}/icons/unity-icon-theme + +install -m 0644 launcher/* -t %{buildroot}%{_datadir}/unity/themes +install -m 0644 panel/* -t %{buildroot}%{_datadir}/unity/themes + +%files +%license COPYRIGHT +%dir %{_datadir}/unity/themes +%{_datadir}/unity/themes/*.png +%{_datadir}/icons/unity-icon-theme/ + +%changelog +%autochangelog diff --git a/anda/tools/graalvm/update.rhai b/anda/tools/graalvm/update.rhai index 631927fa8f..c1dc936b36 100644 --- a/anda/tools/graalvm/update.rhai +++ b/anda/tools/graalvm/update.rhai @@ -1,3 +1,3 @@ let ver = gh("graalvm/graalvm-ce-builds"); -ver.crop(2); +ver.crop(3); rpm.version(ver);