Accepting request 113350 from home:vuntz:branches:X11:XOrg

Update to 1.1.3

OBS-URL: https://build.opensuse.org/request/show/113350
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXt?expand=0&rev=4
This commit is contained in:
Stefan Dirsch 2012-04-13 10:34:04 +00:00 committed by Git OBS Bridge
parent 562963e72a
commit 5cc9b963b8
5 changed files with 54 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eab91b594b801f7f07a20f936dda70a629028858cbcf541becf94f2786ae6b01
size 685981

3
libXt-1.1.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8db593c3fc5ffc4e9cd854ba50af1eac9b90d66521ba17802b8f1e0d2d7f05bd
size 734679

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Thu Apr 12 06:57:56 UTC 2012 - vuntz@opensuse.org
- Update to version 1.1.3:
+ Revert "Treat unexpected returned events from poll as errors":
this caused regressions.
- Changes from version 1.1.2:
+ Good number of bug fixes:
- Make XtAppMainLoop work without a Display
- LP64 fix for TypedArgToArg()
- add missing bound checking in FreeSelectionProperty()
- don't pop elements from array while iterating through it
- don't re-enter the WaitLoop if block is set to false
- treat unexpected returned events from poll as errors
+ Initial unit tests for checking several recent fixes
+ Fixes for compiler warnings
+ Documentation for the libXt API moved to the DocBook/XML format
+ Build configuration improvements
- Changes from version 1.1.1:
+ Fix longstanding crash on 64bit sparc
+ Fix memory corruption in XtAsprintf
+ Build fixes
- Changes from version 1.1.0:
+ Add XtAsprintf to exported API
+ Bug fixes:
- various fixes related to NULL access/reference
- protect against underflow when type conversion fails in
GetResources
- fix iconic state being ignored in initial state
+ Janitorial cleanups
+ Build configuration improvements
- Pass --docdir=%_docdir/%name to configure to correctly install
the libXt API documentation.
- Update libXt.diff to use $(datadir) instead of /usr/share so that
it's upstreamable.
-------------------------------------------------------------------
Sun Feb 12 01:32:17 UTC 2012 - jengelh@medozas.de

View File

@ -6,7 +6,7 @@ diff -u -r -p ../libXt-1.0.6.orig//src/Makefile.am ./src/Makefile.am
SRCH_DEFINES = -DXFILESEARCHPATHDEFAULT=\"$(XFILESEARCHPATHDEFAULT)\"
-ERRORDB_DEFINES = -DERRORDB=\"$(libdir)/X11/XtErrorDB\"
+ERRORDB_DEFINES = -DERRORDB=\"/usr/share/X11/XtErrorDB\"
+ERRORDB_DEFINES = -DERRORDB=\"$(datadir)/X11/XtErrorDB\"
AM_CFLAGS = $(CWARNFLAGS) $(XT_CFLAGS) $(SRCH_DEFINES) $(ERRORDB_DEFINES) \
$(XTMALLOC_ZERO_CFLAGS)

View File

@ -16,10 +16,9 @@
#
Name: libXt
%define lname libXt6
Version: 1.0.9
Version: 1.1.3
Release: 0
Summary: X Toolkit Intrinsics library
License: MIT
@ -28,14 +27,21 @@ Url: http://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXt
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXt/
Source: %name-%version.tar.bz2
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM libXt.diff fdo#48587 -- Change path of ErrorDB from $(libdir) to $(datadir)
Patch1: libXt.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.60 automake libtool
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: pkgconfig pkgconfig(sm) pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(ice) pkgconfig(x11) pkgconfig(xproto)
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(kbproto)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xorg-macros) >= 1.13
BuildRequires: pkgconfig(xproto)
%description
The low level Xlib library provides functions for interacting with an
@ -84,7 +90,7 @@ in %lname.
%patch -P 1 -p1
%build
%configure --disable-static
%configure --docdir=%_docdir/%name --disable-static
make %{?_smp_mflags}
%install
@ -106,5 +112,6 @@ rm -f "%buildroot/%_libdir"/*.la
%_libdir/libXt.so
%_libdir/pkgconfig/xt.pc
%_mandir/man3/*
%_docdir/%name
%changelog