Compare commits

..

No commits in common. "caba3e67f22d64a2f36c1e5bd91ac5eff74957a8" and "189c0cf1c931acaeef980237f099ef2c69dabdbd" have entirely different histories.

5 changed files with 3 additions and 59 deletions

BIN
cogl-1.22.4.tar.xz Normal file

Binary file not shown.

View File

@ -1,36 +0,0 @@
diff -Naur cogl-1.22.8.org/build/autotools/as-glibconfig.m4 cogl-1.22.8.sw/build/autotools/as-glibconfig.m4
--- cogl-1.22.8.org/build/autotools/as-glibconfig.m4 2022-02-25 03:19:43.760000000 +0000
+++ cogl-1.22.8.sw/build/autotools/as-glibconfig.m4 2022-02-25 04:38:10.730000000 +0000
@@ -1326,6 +1326,12 @@
AC_MSG_WARN([[$SPARCV9_WARNING]]))
glib_memory_barrier_needed=yes
;;
+ sw_64*)
+ AC_MSG_RESULT([sw_64])
+ AC_DEFINE_UNQUOTED(G_ATOMIC_SW_64, 1,
+ [sw_64 atomic implementation])
+ glib_memory_barrier_needed=yes
+ ;;
alpha*)
AC_MSG_RESULT([alpha])
AC_DEFINE_UNQUOTED(G_ATOMIC_ALPHA, 1,
diff -Naur cogl-1.22.8.org/configure cogl-1.22.8.sw/configure
--- cogl-1.22.8.org/configure 2022-02-25 03:19:43.710000000 +0000
+++ cogl-1.22.8.sw/configure 2022-02-25 04:31:21.340000000 +0000
@@ -23659,6 +23659,16 @@
conftest$ac_exeext conftest.$ac_ext
glib_memory_barrier_needed=yes
;;
+ sw_64*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: sw_64" >&5
+$as_echo "sw_64" >&6; }
+
+cat >>confdefs.h <<_ACEOF
+#define G_ATOMIC_SW_64 1
+_ACEOF
+
+ glib_memory_barrier_needed=yes
+ ;;
alpha*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: alpha" >&5
$as_echo "alpha" >&6; }

Binary file not shown.

View File

@ -1,12 +1,11 @@
Name: cogl
Version: 1.22.8
Release: 3
Version: 1.22.4
Release: 2
Summary: Cogl is a modern 3D graphics API with associated utility APIs
License: LGPLv2+
URL: https://developer.gnome.org/cogl/
Source0: https://download.gnome.org/sources/cogl/1.22/%{name}-%{version}.tar.xz
Patch1: cogl-1.22.8-sw.patch
Source0: https://github.com/GNOME/cogl/releases/tag/%{name}-%{version}.tar.xz
BuildRequires: chrpath cairo-devel mesa-libEGL-devel mesa-libgbm-devel gdk-pixbuf2-devel
BuildRequires: mesa-libGL-devel glib2-devel gobject-introspection-devel gtk-doc pango-devel
@ -79,21 +78,6 @@ chrpath --delete %{buildroot}%{_libdir}/libcogl-pango.so
%exclude %{_datadir}/cogl/examples-data/crate.jpg
%changelog
* Thu Dec 05 2024 Max.LEE <liweigang.lwg@gmail.com> - 1.22.8-3
- include all patches in the source
* Wed Oct 19 2022 wuzx<wuzx1226@qq.com> - 1.22.8-2
- add sw64 patch
* Mon Feb 1 2021 yanglu <yanglu60@huawei.com> - 1.22.8-1
- update to 1.22.8
* Wed Sep 9 2020 hanhui <hanhui15@huawei.com> - 1.22.4-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source url
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.22.4-2
- Type:enhancement
- ID:NA

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: GNOME/cogl
tag_prefix: ^v
seperator: .