From 2ec144c0c049ada2c44df1055c18a2009670a340a920334208b8c87fab51cad2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 13 Jan 2013 16:02:22 +0000 Subject: [PATCH] Accepting request 147831 from home:Dmitry_R:geda gtkglext was deleted due to pangox requirement, current git version (last commit - 29.05.2011) doesn't require pangox OBS-URL: https://build.opensuse.org/request/show/147831 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtkglext?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + baselibs.conf | 3 + gtkglext-git20110529.tar.bz2 | 3 + gtkglext.changes | 86 +++++++++++++++++++++++ gtkglext.spec | 130 +++++++++++++++++++++++++++++++++++ 6 files changed, 246 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 gtkglext-git20110529.tar.bz2 create mode 100644 gtkglext.changes create mode 100644 gtkglext.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..491a55e --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,3 @@ +libgtkglext-x11-1_0-0 + provides "gtkglext- = " + obsoletes "gtkglext- < " diff --git a/gtkglext-git20110529.tar.bz2 b/gtkglext-git20110529.tar.bz2 new file mode 100644 index 0000000..ef7f943 --- /dev/null +++ b/gtkglext-git20110529.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ba0cbc40ac35ed920677802783e9bb00761b865c3d38def4b95f60e98aed506 +size 471786 diff --git a/gtkglext.changes b/gtkglext.changes new file mode 100644 index 0000000..3245a5e --- /dev/null +++ b/gtkglext.changes @@ -0,0 +1,86 @@ +------------------------------------------------------------------- +Wed Jan 9 14:58:11 UTC 2013 - dmitry_r@opensuse.org + +- Update to git-20110529 + * no longer depends on pangox + +------------------------------------------------------------------- +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. + diff --git a/gtkglext.spec b/gtkglext.spec new file mode 100644 index 0000000..3b3d0b3 --- /dev/null +++ b/gtkglext.spec @@ -0,0 +1,130 @@ +# +# spec file for package gtkglext +# +# Copyright (c) 2013 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: gtkglext +%define git_commit 8c13cc48 +%define git_date 20110529 +Version: 1.2.0git%{git_date} +Release: 0 +# NOTE: on upgrade to a new upstream version, change the Obsoletes from <= to < (here and in baselibs.conf) +Summary: OpenGL Extension to GTK +License: GPL-2.0+ +Group: System/Libraries +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 +Source99: baselibs.conf +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: freeglut-devel +BuildRequires: libtool +# For directory ownership: +BuildRequires: gtk-doc +BuildRequires: gtk2-devel >= 2.20 +BuildRequires: libdrm-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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 +Group: System/Libraries +Provides: %{name} = %{version} +# Note: we keep <= (and a rpmlint warning...) until we get a version higher than 1.2.0 (when this provides/obsoletes was introduced) +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 +Group: System/Libraries +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 +Group: System/Libraries +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 +%makeinstall +rm -f %{buildroot}%{_libdir}/*.la + +%clean +rm -rf %{buildroot} + +%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 +%defattr (-, root, root) +# NEWS is empty +%doc AUTHORS COPYING COPYING.LIB README TODO +%{_libdir}/libgdkglext-x11-1.0.so.* +%{_libdir}/libgtkglext-x11-1.0.so.* + +%files devel +%defattr (-, root, root) +# %{_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 +%defattr (-, root, root) +%doc %{_datadir}/gtk-doc/html/gtkglext/ + +%changelog