Accepting request 104235 from home:jengelh:branches:X11:XOrg

Replaces xorg-x11-libXt

OBS-URL: https://build.opensuse.org/request/show/104235
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXt?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2012-02-13 10:08:12 +00:00 committed by Git OBS Bridge
commit a8d9ebdf37
7 changed files with 341 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

8
baselibs.conf Normal file
View File

@ -0,0 +1,8 @@
libXt6
provides "xorg-x11-libXt-<targettype> = 7.6_<version>"
obsoletes "xorg-x11-libXt-<targettype> < 7.6_<version>"
libXt-devel
requires -libXt-<targettype>
requires "libXt6-<targettype> = <version>"
provides "xorg-x11-libXt-devel-<targettype> = 7.6_<version>"
obsoletes "xorg-x11-libXt-devel-<targettype> < 7.6_<version>"

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

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

177
libXt.changes Normal file
View File

@ -0,0 +1,177 @@
-------------------------------------------------------------------
Sun Feb 12 01:32:17 UTC 2012 - jengelh@medozas.de
- Rename xorg-x11-libXt to libXt and utilize shlib policy
-------------------------------------------------------------------
Sun Nov 20 06:49:19 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Wed Oct 5 15:20:56 UTC 2011 - uli@suse.com
- cross-build fixes: use %__cc macro, export CFLAGS correctly
-------------------------------------------------------------------
Fri Jun 17 12:18:00 UTC 2011 - pgajdos@novell.com
- escape %S in --with-xfile-search-path [bnc#697135]
-------------------------------------------------------------------
Tue May 24 17:24:26 UTC 2011 - giecrilj@stegny.2a.pl
- Add README
-------------------------------------------------------------------
Thu May 19 16:52:16 UTC 2011 - eich@suse.de
- Remove patch app-defaults.diff
Use the configure option --with-xfile-search-path to specify
the search path in the spec file.
-------------------------------------------------------------------
Tue Dec 21 02:47:49 UTC 2010 - sndirsch@novell.com
- bumped version number to 7.6_1.0.9
-------------------------------------------------------------------
Wed Dec 1 11:37:41 CET 2010 - jslaby@suse.de
- revert 'export only public API symbols'
it breaks xterm, xclock and others
-------------------------------------------------------------------
Tue Nov 30 15:23:02 UTC 2010 - cristian.rodriguez@opensuse.org
- export only public API symbols
- disable silent rules, defeat the purpose of post build checks
-------------------------------------------------------------------
Fri Oct 29 08:23:15 UTC 2010 - sndirsch@novell.com
- libXt 1.0.9
* This release includes several bug fixes, as well as the usual
set of recent build configuration improvements & janitorial
cleanups.
-------------------------------------------------------------------
Sat Sep 4 20:50:47 CEST 2010 - sndirsch@suse.de
- libXt 1.0.8
- bumped version number to 7.5_1.0.8
- make use of %fdupes macro
- fixed Summary/Group entries in -devel package
-------------------------------------------------------------------
Sun Apr 4 15:56:53 CEST 2010 - sndirsch@suse.de
- libXt 1.0.7
- adjusted libXt.diff
- bumped version number to 7.5
-------------------------------------------------------------------
Mon Dec 14 19:58:02 CET 2009 - jengelh@medozas.de
- add baselibs.conf as a source
-------------------------------------------------------------------
Sat Nov 14 03:11:06 CET 2009 - sndirsch@suse.de
- regenerated libXt.diff
- fixed build
-------------------------------------------------------------------
Sat Jul 4 13:39:41 CEST 2009 - sndirsch@suse.de
- libXt 1.0.6
* bugfix release
-------------------------------------------------------------------
Fri May 1 19:11:55 CEST 2009 - eich@suse.de
- revert static library and .la file removal
for SUSE versions <= 11.1.
-------------------------------------------------------------------
Tue Apr 21 19:23:07 CEST 2009 - crrodriguez@suse.de
- remove static libraries and "la" files
- run ldconfig in postun
-------------------------------------------------------------------
Thu Sep 11 14:22:09 CEST 2008 - sndirsch@suse.de
- bumped release number to 7.4
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
-------------------------------------------------------------------
Sat Sep 29 12:24:00 CEST 2007 - sndirsch@suse.de
- bumped version to 7.3
-------------------------------------------------------------------
Mon Jan 29 12:08:33 CET 2007 - sndirsch@suse.de
- update release to 1.0.5
* Bug 9514: Markup error in makestrs.1x man page
-------------------------------------------------------------------
Wed Nov 8 17:07:56 CET 2006 - sndirsch@suse.de
- update release to 1.0.4 (X.Org 7.2 RC2)
* Add more generated files to ignore.
* Fix .pc file with new autotools by using AC_DEFINE_DIR.
-------------------------------------------------------------------
Sat Oct 14 06:19:12 CEST 2006 - sndirsch@suse.de
- updated to X.Org 7.2RC1
-------------------------------------------------------------------
Wed Aug 2 21:26:05 CEST 2006 - sndirsch@suse.de
- completed search path for old app-defaults location
-------------------------------------------------------------------
Wed Aug 2 16:12:33 CEST 2006 - sndirsch@suse.de
- fix setup line
-------------------------------------------------------------------
Mon Jul 31 12:45:39 CEST 2006 - sndirsch@suse.de
- use /usr/share/X11 as default path for XtErrorDB, since this is
also the new default path for XErrorDB
-------------------------------------------------------------------
Fri Jul 28 14:44:52 CEST 2006 - sndirsch@suse.de
- use "-fno-strict-aliasing"
-------------------------------------------------------------------
Thu Jul 27 11:48:00 CEST 2006 - sndirsch@suse.de
- use $RPM_OPT_FLAGS
- remove existing /usr/include/X11 symlink in %pre
-------------------------------------------------------------------
Tue Jul 25 17:23:32 CEST 2006 - sndirsch@suse.de
- added app-defaults dir to package
-------------------------------------------------------------------
Tue Jul 25 14:51:04 CEST 2006 - sndirsch@suse.de
- app-defaults.diff: read also /usr/X11R6/lib/X11/app-defaults
-------------------------------------------------------------------
Thu Jun 22 21:59:29 CEST 2006 - sndirsch@suse.de
- created package

22
libXt.diff Normal file
View File

@ -0,0 +1,22 @@
diff -u -r -p ../libXt-1.0.6.orig//src/Makefile.am ./src/Makefile.am
--- ../libXt-1.0.6.orig//src/Makefile.am 2009-11-14 02:08:08.000000000 +0000
+++ ./src/Makefile.am 2009-11-14 02:08:22.000000000 +0000
@@ -4,7 +4,7 @@ BUILT_SOURCES = $(BUILT_FILES)
CLEANFILES = $(BUILT_SOURCES)
SRCH_DEFINES = -DXFILESEARCHPATHDEFAULT=\"$(XFILESEARCHPATHDEFAULT)\"
-ERRORDB_DEFINES = -DERRORDB=\"$(libdir)/X11/XtErrorDB\"
+ERRORDB_DEFINES = -DERRORDB=\"/usr/share/X11/XtErrorDB\"
AM_CFLAGS = $(CWARNFLAGS) $(XT_CFLAGS) $(SRCH_DEFINES) $(ERRORDB_DEFINES) \
$(XTMALLOC_ZERO_CFLAGS)
diff -u -r -p ../libXt-1.0.6.orig//xt.pc.in ./xt.pc.in
--- ../libXt-1.0.6.orig//xt.pc.in 2009-11-14 02:08:08.000000000 +0000
+++ ./xt.pc.in 2009-11-14 02:08:22.000000000 +0000
@@ -1,5 +1,6 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
+datarootdir=@datarootdir@
libdir=@libdir@
includedir=@includedir@
appdefaultdir=@appdefaultdir@

107
libXt.spec Normal file
View File

@ -0,0 +1,107 @@
#
# spec file for package libXt
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libXt
%define lname libXt6
Version: 1.0.9
Release: 0
Summary: X Toolkit Intrinsics library
License: MIT
Group: Development/Libraries/C and C++
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
Patch1: libXt.diff
BuildRoot: %_tmppath/%name-%version-build
BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: fdupes
BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8, pkgconfig(sm)
BuildRequires: pkgconfig(ice), pkgconfig(x11), pkgconfig(xproto)
BuildRequires: pkgconfig(kbproto)
%description
The low level Xlib library provides functions for interacting with an
X11 server, but does not provide any function for implementing the
graphical objects (widgets) used in GUIs, such as buttons, menus,
etc. The Xt library provides support for creating and using widget
types, but does not provide any specific widget. Specific widgets are
implemented by other libraries using Xt, such as Xaw and Motif.
%package -n %lname
Summary: X Toolkit Intrinsics library
Group: System/Libraries
# O/P added for 12.2
Provides: xorg-x11-libXt = 7.6_%version-%release
Obsoletes: xorg-x11-libXt < 7.6_%version-%release
%description -n %lname
The low level Xlib library provides functions for interacting with an
X11 server, but does not provide any function for implementing the
graphical objects (widgets) used in GUIs, such as buttons, menus,
etc. The Xt library provides support for creating and using widget
types, but does not provide any specific widget. Specific widgets are
implemented by other libraries using Xt, such as Xaw and Motif.
%package devel
Summary: Development files for the X Toolkit Intrinsics library
Group: Development/Libraries/C and C++
Requires: %lname = %version
# O/P added for 12.2
Provides: xorg-x11-libXt-devel = 7.6_%version-%release
Obsoletes: xorg-x11-libXt-devel < 7.6_%version-%release
%description devel
The low level Xlib library provides functions for interacting with an
X11 server, but does not provide any function for implementing the
graphical objects (widgets) used in GUIs, such as buttons, menus,
etc. The Xt library provides support for creating and using widget
types, but does not provide any specific widget. Specific widgets are
implemented by other libraries using Xt, such as Xaw and Motif.
This package contains the development headers for the library found
in %lname.
%prep
%setup -q
%patch -P 1 -p1
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%makeinstall
rm -f "%buildroot/%_libdir"/*.la
%fdupes %buildroot
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libXt.so.6*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libXt.so
%_libdir/pkgconfig/xt.pc
%_mandir/man3/*
%changelog