package init
This commit is contained in:
commit
cf685d1b51
@ -0,0 +1,37 @@
|
|||||||
|
From c0b9f12ebb0a640e931e54c1f049016bdfdb9a07 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
Date: Mon, 14 Jan 2013 09:42:00 +1000
|
||||||
|
Subject: [PATCH] configure: define XOPEN_SOURCE to 600 on linux
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
posix_openpt() is only defined for 600 and higher.
|
||||||
|
|
||||||
|
sys.c: In function ‘allocatePty’:
|
||||||
|
sys.c:339:5: error: implicit declaration of function ‘posix_openpt’
|
||||||
|
[-Werror=implicit-function-declaration]
|
||||||
|
sys.c:339:5: warning: nested extern declaration of ‘posix_openpt’
|
||||||
|
[-Wnested-externs]
|
||||||
|
|
||||||
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
---
|
||||||
|
configure.ac | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/luit-1.1.1/configure.ac b/luit-1.1.1/configure.ac
|
||||||
|
index c214d85..67ef2c4 100644
|
||||||
|
--- a/luit-1.1.1/configure.ac
|
||||||
|
+++ b/luit-1.1.1/configure.ac
|
||||||
|
@@ -62,7 +62,7 @@ case $host_os in
|
||||||
|
linux*)
|
||||||
|
AC_CHECK_HEADERS([poll.h])
|
||||||
|
AC_CHECK_FUNCS([poll])
|
||||||
|
- OS_CFLAGS="-D_XOPEN_SOURCE=500"
|
||||||
|
+ OS_CFLAGS="-D_XOPEN_SOURCE=600"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AC_CHECK_HEADERS([poll.h])
|
||||||
|
--
|
||||||
|
1.8.1
|
||||||
|
|
||||||
BIN
luit-1.1.1.tar.bz2
Normal file
BIN
luit-1.1.1.tar.bz2
Normal file
Binary file not shown.
BIN
oclock-1.0.4.tar.bz2
Normal file
BIN
oclock-1.0.4.tar.bz2
Normal file
Binary file not shown.
12
x11perf-1.6.0-x11perf-datadir-cleanups.patch
Normal file
12
x11perf-1.6.0-x11perf-datadir-cleanups.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur a/x11perf-1.6.0.old/configure.ac b/x11perf-1.6.0/configure.ac
|
||||||
|
--- a/x11perf-1.6.0.old/configure.ac 2015-04-30 15:03:46.668372759 +0200
|
||||||
|
+++ b/x11perf-1.6.0/configure.ac 2015-04-30 15:03:56.617354502 +0200
|
||||||
|
@@ -39,7 +39,7 @@
|
||||||
|
XORG_DEFAULT_OPTIONS
|
||||||
|
|
||||||
|
# Define the installation directory for the x11 performance compare scripts
|
||||||
|
-AC_SUBST([x11perfcompdir], [$libdir/X11/x11perfcomp])
|
||||||
|
+AC_SUBST([x11perfcompdir], [$datadir/X11/x11perfcomp])
|
||||||
|
|
||||||
|
# Checks for programs run by the scripts we install
|
||||||
|
AC_PATH_PROG(MKTEMP, mktemp)
|
||||||
BIN
x11perf-1.6.0.tar.bz2
Normal file
BIN
x11perf-1.6.0.tar.bz2
Normal file
Binary file not shown.
BIN
xbiff-1.0.3.tar.bz2
Normal file
BIN
xbiff-1.0.3.tar.bz2
Normal file
Binary file not shown.
BIN
xclipboard-1.1.3.tar.bz2
Normal file
BIN
xclipboard-1.1.3.tar.bz2
Normal file
Binary file not shown.
BIN
xclock-1.0.7.tar.bz2
Normal file
BIN
xclock-1.0.7.tar.bz2
Normal file
Binary file not shown.
BIN
xconsole-1.0.6.tar.bz2
Normal file
BIN
xconsole-1.0.6.tar.bz2
Normal file
Binary file not shown.
BIN
xcursorgen-1.0.6.tar.bz2
Normal file
BIN
xcursorgen-1.0.6.tar.bz2
Normal file
Binary file not shown.
BIN
xeyes-1.1.2.tar.bz2
Normal file
BIN
xeyes-1.1.2.tar.bz2
Normal file
Binary file not shown.
BIN
xfd-1.1.2.tar.bz2
Normal file
BIN
xfd-1.1.2.tar.bz2
Normal file
Binary file not shown.
BIN
xfontsel-1.0.6.tar.bz2
Normal file
BIN
xfontsel-1.0.6.tar.bz2
Normal file
Binary file not shown.
BIN
xload-1.1.3.tar.bz2
Normal file
BIN
xload-1.1.3.tar.bz2
Normal file
Binary file not shown.
BIN
xlogo-1.0.4.tar.bz2
Normal file
BIN
xlogo-1.0.4.tar.bz2
Normal file
Binary file not shown.
BIN
xmag-1.0.6.tar.bz2
Normal file
BIN
xmag-1.0.6.tar.bz2
Normal file
Binary file not shown.
BIN
xmessage-1.0.5.tar.bz2
Normal file
BIN
xmessage-1.0.5.tar.bz2
Normal file
Binary file not shown.
85
xorg-x11-apps.spec
Normal file
85
xorg-x11-apps.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
Name: xorg-x11-apps
|
||||||
|
Version: 7.7
|
||||||
|
Release: 23
|
||||||
|
Summary: X.Org X11 applications
|
||||||
|
License: MIT
|
||||||
|
URL: https://www.x.org
|
||||||
|
|
||||||
|
Source0: https://www.x.org/pub/individual/app/luit-1.1.1.tar.bz2
|
||||||
|
Source1: https://www.x.org/pub/individual/app/oclock-1.0.4.tar.bz2
|
||||||
|
Source2: https://www.x.org/pub/individual/app/x11perf-1.6.0.tar.bz2
|
||||||
|
Source3: https://www.x.org/pub/individual/app/xbiff-1.0.3.tar.bz2
|
||||||
|
Source4: https://www.x.org/pub/individual/app/xclipboard-1.1.3.tar.bz2
|
||||||
|
Source5: https://www.x.org/pub/individual/app/xclock-1.0.7.tar.bz2
|
||||||
|
Source6: https://www.x.org/pub/individual/app/xconsole-1.0.6.tar.bz2
|
||||||
|
Source7: https://www.x.org/pub/individual/app/xcursorgen-1.0.6.tar.bz2
|
||||||
|
Source8: https://www.x.org/pub/individual/app/xeyes-1.1.2.tar.bz2
|
||||||
|
Source9: https://www.x.org/pub/individual/app/xfd-1.1.2.tar.bz2
|
||||||
|
Source10: https://www.x.org/pub/individual/app/xfontsel-1.0.6.tar.bz2
|
||||||
|
Source11: https://www.x.org/pub/individual/app/xload-1.1.3.tar.bz2
|
||||||
|
Source12: https://www.x.org/pub/individual/app/xlogo-1.0.4.tar.bz2
|
||||||
|
Source13: https://www.x.org/pub/individual/app/xmag-1.0.6.tar.bz2
|
||||||
|
Source14: https://www.x.org/pub/individual/app/xmessage-1.0.5.tar.bz2
|
||||||
|
Source15: https://www.x.org/pub/individual/app/xpr-1.0.5.tar.bz2
|
||||||
|
Source16: https://www.x.org/pub/individual/app/xvidtune-1.0.3.tar.bz2
|
||||||
|
Source17: https://www.x.org/pub/individual/app/xwd-1.0.7.tar.bz2
|
||||||
|
Source18: https://www.x.org/pub/individual/app/xwud-1.0.5.tar.bz2
|
||||||
|
|
||||||
|
Patch0000: x11perf-1.6.0-x11perf-datadir-cleanups.patch
|
||||||
|
Patch0001: luit-1.1.1-configure-define-XOPEN_SOURCE-to-600-on-linux.patch
|
||||||
|
|
||||||
|
BuildRequires: gettext-devel libtool pkgconfig(fontenc) pkgconfig(libpng) >= 1.2 pkgconfig(x11) pkgconfig(xaw7)
|
||||||
|
BuildRequires: pkgconfig(xbitmaps) pkgconfig(xcursor) pkgconfig(xext) pkgconfig(xft) pkgconfig(xkbfile)
|
||||||
|
BuildRequires: pkgconfig(xmu) pkgconfig(xrender) >= 0.4 pkgconfig(xt) >= 1.1 pkgconfig(xxf86vm) pkgconfig(xorg-macros) >= 1.8
|
||||||
|
|
||||||
|
Requires: xorg-x11-xbitmaps xorg-x11-fonts-misc
|
||||||
|
|
||||||
|
Provides: luit = 1.1.1 oclock = 1.0.4 x11perf = 1.6.0 xbiff = 1.0.3 xclipboard = 1.1.3 xclock = 1.0.7
|
||||||
|
Provides: xconsole = 1.0.6 xcursorgen = 1.0.6 xeyes = 1.1.2 xfd = 1.1.2 xfontsel = 1.0.6 xload = 1.1.3
|
||||||
|
Provides: xlogo = 1.0.4 xmag = 1.0.6 xmessage = 1.0.5 xpr = 1.0.5 xvidtune = 1.0.3 xwd = 1.0.7 xwud = 1.0.5
|
||||||
|
|
||||||
|
%description
|
||||||
|
A collection of common X Window System applications.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Introduce how to use xorg-x11-apps
|
||||||
|
|
||||||
|
%description help
|
||||||
|
User's Manual for the X Window System Application
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
{
|
||||||
|
for app in * ; do
|
||||||
|
cd $app
|
||||||
|
autoreconf -v --install
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
cd -
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
%install
|
||||||
|
{
|
||||||
|
for app in * ; do
|
||||||
|
cd $app
|
||||||
|
%make_install
|
||||||
|
cd -
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_datadir}/X11/app-defaults/*
|
||||||
|
%{_datadir}/X11/x11perfcomp
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Nov 20 2019 yangjian<yangjian79@huawei.com> - 7.7-23
|
||||||
|
- Package init
|
||||||
BIN
xpr-1.0.5.tar.bz2
Normal file
BIN
xpr-1.0.5.tar.bz2
Normal file
Binary file not shown.
BIN
xvidtune-1.0.3.tar.bz2
Normal file
BIN
xvidtune-1.0.3.tar.bz2
Normal file
Binary file not shown.
BIN
xwd-1.0.7.tar.bz2
Normal file
BIN
xwd-1.0.7.tar.bz2
Normal file
Binary file not shown.
BIN
xwud-1.0.5.tar.bz2
Normal file
BIN
xwud-1.0.5.tar.bz2
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user