Sync from SUSE:SLFO:Main gtkglext revision 6b5f5fb3ec7f90766a20f0e3a12d78ac

This commit is contained in:
Adrian Schröter 2024-05-03 13:27:24 +02:00
commit af76d971ad
4 changed files with 254 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

BIN
gtkglext-git20110529.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

104
gtkglext.changes Normal file
View File

@ -0,0 +1,104 @@
-------------------------------------------------------------------
Fri Dec 16 15:20:10 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop baselibs.conf: there is no known consumer of the -32bit
package.
-------------------------------------------------------------------
Wed Feb 28 16:32:33 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Thu Jun 29 10:48:08 UTC 2017 - jengelh@inai.de
- Fix RPM groups and remove redundant %clean section.
-------------------------------------------------------------------
Wed Jan 9 14:58:11 UTC 2013 - dmitry_r@opensuse.org
- -Reintroduce gtkglext and Update to git-20110529 (bnc#799544):
* no longer depends on pangox
- NOTE: gtkglext is unmaintained and provided as-is for 3rd party
packages only. Nothing inside openSUSE is supposed to use it.
-------------------------------------------------------------------
Sun Feb 19 18:17:58 UTC 2012 - coolo@suse.com
- Add more explicit requires of devel package: the pkgconfig
file references some libraries in Libs (and not Requires), so we
need to depend on them.
-------------------------------------------------------------------
Thu Dec 22 09:49:00 UTC 2011 - vuntz@opensuse.org
- Explicitly list files we package.
-------------------------------------------------------------------
Mon Oct 11 19:21:26 CEST 2010 - vuntz@opensuse.org
- Update packaging to use the shared library packaging policy:
+ Create libgtkglext-x11-1_0-0 subpackage.
+ Add Provides/Obsoletes for gtkglext to libgtkglext-x11-1_0-0.
+ Update baselibs.conf accordingly.
-------------------------------------------------------------------
Mon Jul 5 15:52:54 CEST 2010 - vuntz@opensuse.org
- Add gtkglext-no-deprecated-flags.patch to not build gtkglext with
the *_DISABLE_DEPRECATED flags. This makes the build more robust
when some API is marked as deprecated. Unfortunately, without
this, the gtkglext library is looking for unknown symbols that
should actually be macros at build time. Fix bnc#617677.
- Drop gtkglext-gtk_widget_toplevel.patch: this is not needed
anymore thanks to gtkglext-no-deprecated-flags.patch.
-------------------------------------------------------------------
Thu Mar 4 14:31:35 UTC 2010 - dimstar@opensuse.org
- Add gtkglext-gtk_widget_toplevel.patch to drop deprecated usage
of GTK_WIDGET_TOPLEVEL, bnc#585137, bgo#611803, reported and
patched by Guillermo Ballester Valor.
- Clean spec file.
-------------------------------------------------------------------
Sat Dec 19 12:08:53 CET 2009 - jengelh@medozas.de
- Add baselibs.conf as a source
-------------------------------------------------------------------
Wed Jul 9 22:16:21 CEST 2008 - crrodriguez@suse.de
- missing Mesa-devel dependency on -devel package causes
python-gtkglext build faliure
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
-------------------------------------------------------------------
Wed Feb 7 12:27:30 CET 2007 - sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
-------------------------------------------------------------------
Tue Jan 30 12:30:52 CET 2007 - sbrabec@suse.cz
- Updated to version 1.2.0:
* Build GtkGLExt against GTK+ >= 2.8.
* Typo fixes, documentation update.
- Prefix changed to /usr.
- Spec file cleanup.
-------------------------------------------------------------------
Wed Jan 25 21:32:10 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Feb 11 17:16:12 CET 2005 - sbrabec@suse.cz
- New SuSE package, version 1.0.6.

124
gtkglext.spec Normal file
View File

@ -0,0 +1,124 @@
#
# spec file for package gtkglext
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define git_commit 8c13cc48
%define git_date 20110529
Name: gtkglext
Version: 1.2.0git%{git_date}
Release: 0
Summary: OpenGL Extension to GTK
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: http://projects.gnome.org/gtkglext/
# git clone git://git.gnome.org/gtkglext
# git archive %{git_commit} --prefix=gtkglext-git%{git_date}/ | bzip2 > ../gtkglext-git%{git_date}.tar.bz2
Source: %{name}-git%{git_date}.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: freeglut-devel
# For directory ownership:
BuildRequires: gtk-doc
BuildRequires: libdrm-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-2.0) >= 2.20
%description
GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
that support OpenGL rendering in GTK and GtkWidget API add-ons, to make
GTK+ widgets OpenGL-capable.
%package -n libgtkglext-x11-1_0-0
Summary: OpenGL Extension to GTK
License: LGPL-2.1-or-later
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
%description -n libgtkglext-x11-1_0-0
GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
that support OpenGL rendering in GTK and GtkWidget API add-ons, to make
GTK+ widgets OpenGL-capable.
%package devel
Summary: OpenGL Extension to GTK
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: Mesa-devel
Requires: libgtkglext-x11-1_0-0 = %{version}
# Those are listed as Libs in gdkglext-1.0.pc, and therefore are not
# automatically added
Requires: pkgconfig(gl)
%description devel
GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
which support OpenGL rendering in GTK, and GtkWidget API add-ons to
make GTK+ widgets OpenGL-capable.
%package doc
Summary: Documentation of the OpenGL Extension to GTK
License: LGPL-2.1-or-later
Group: Documentation/HTML
Requires: libgtkglext-x11-1_0-0 = %{version}
%description doc
This package contains additional documentation for gtkglext.
GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
which support OpenGL rendering in GTK, and GtkWidget API add-ons to
make GTK+ widgets OpenGL-capable.
%prep
%setup -q -n %{name}-git%{git_date}
%build
./bootstrap
# Required for gtkglext-1.2.0:
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libgtkglext-x11-1_0-0 -p /sbin/ldconfig
%postun -n libgtkglext-x11-1_0-0 -p /sbin/ldconfig
%files -n libgtkglext-x11-1_0-0
# NEWS is empty
%license COPYING
%doc AUTHORS README TODO
%{_libdir}/libgdkglext-x11-1.0.so.*
%{_libdir}/libgtkglext-x11-1.0.so.*
%files devel
# %{_datadir}/aclocal/gtkglext-1.0.m4
%{_libdir}/gtkglext-1.0/
%{_libdir}/libgdkglext-x11-1.0.so
%{_libdir}/libgtkglext-x11-1.0.so
%{_libdir}/pkgconfig/gdkglext-1.0.pc
%{_libdir}/pkgconfig/gdkglext-x11-1.0.pc
%{_libdir}/pkgconfig/gtkglext-1.0.pc
%{_libdir}/pkgconfig/gtkglext-x11-1.0.pc
%{_includedir}/gtkglext-1.0/
%files doc
%doc %{_datadir}/gtk-doc/html/gtkglext/
%changelog