Compare commits

..

No commits in common. "2173f99af4d857064f75a182783c2ab70c6953f9" and "555a094662edb52b1a8114b2a8112c42acc9dca5" have entirely different histories.

4 changed files with 5 additions and 57 deletions

BIN
libXt-1.2.1.tar.bz2 Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,25 +0,0 @@
From d900b21bed8c9ed15c85e2e87f76fbe4d656a3b2 Mon Sep 17 00:00:00 2001
From: yangchenguang <yangchenguang@kylinsec.com.cn>
Date: Wed, 17 Jul 2024 10:09:14 +0800
Subject: [PATCH] libXt support sw_64
Signed-off-by: yangchenguang <yangchenguang@kylinsec.com.cn>
---
include/X11/Xtos.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/X11/Xtos.h b/include/X11/Xtos.h
index 84910c0..9a3844d 100644
--- a/include/X11/Xtos.h
+++ b/include/X11/Xtos.h
@@ -59,6 +59,7 @@ SOFTWARE.
# endif
# elif defined (_LP64) || \
defined(__alpha) || defined(__alpha__) || \
+ defined(__sw_64) || defined(__sw_64__) || \
defined(__ia64__) || defined(ia64) || \
defined(__sparc64__) || \
defined(__s390x__) || \
--
2.39.1

View File

@ -1,16 +1,12 @@
%bcond_without static
Name: libXt
Version: 1.3.0
Release: 2
Version: 1.2.1
Release: 1
License: MIT
Summary: X.Org X11 libXt runtime library
URL: https://www.x.org
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.gz
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
Patch1000: libXt-support-sw_64.patch
BuildRequires: xorg-x11-util-macros autoconf automake libtool make glib2-devel
BuildRequires: xorg-x11-util-macros autoconf automake libtool make
BuildRequires: pkgconfig(xproto) pkgconfig(x11) pkgconfig(sm)
Requires: libX11 >= 1.6
@ -33,16 +29,10 @@ The %{name}-devel package contains libraries and header files for %{name}.
%build
autoreconf -ivf
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --enable-unit-tests --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S" \
%if %{with static}
--disable-static
%endif
%configure --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S"
V=1 %make_build
%check
make check
%install
%make_install
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
@ -60,9 +50,7 @@ mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
%defattr(-,root,root)
%{_includedir}/X11/*.h
%{_libdir}/*.so
%if %{without static}
%{_libdir}/*.a
%endif
%{_libdir}/pkgconfig/*.pc
%files help
@ -71,21 +59,6 @@ mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
%{_docdir}/%{name}/*.xml
%changelog
* Wed Jul 17 2024 yangchenguang <yangchenguang@kylinsec.com.cn> - 1.3.0-2
- Modify sw_64 patch use all arch
* Thu Jul 20 2023 zhangpan <zhangpan103@h-partners.com> - 1.3.0-1
- update to 1.3.0
* Wed Nov 23 2022 wuzx<wuzx1226@qq.com> - 1.2.1-4
- Add sw64 architecture
* Sat Oct 22 2022 wangkerong <wangkerong@h-partners.com> - 1.2.1-3
- disable static library by default
* Mon Jun 06 2022 wangkerong <wangkerong@h-partners.com> - 1.2.1-2
- enable test
* Thu Nov 25 2021 xingxing <xingxing9@huawei.com> - 1.2.1-1
- updata to 1.2.1