Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 224241 Details for
Bug 327541
RFE: support opengl in gtk2hs package
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
spec file patch which adds opengl support
gtk2hs-opengl.patch (text/plain), 2.19 KB, created by
Ian Collier
on 2007-10-11 12:14:58 UTC
(
hide
)
Description:
spec file patch which adds opengl support
Filename:
MIME Type:
Creator:
Ian Collier
Created:
2007-10-11 12:14:58 UTC
Size:
2.19 KB
patch
obsolete
>--- gtk2hs.spec.orig 2007-10-11 13:03:04.000000000 +0100 >+++ gtk2hs.spec 2007-10-11 13:04:16.000000000 +0100 >@@ -6,6 +6,7 @@ > > %define build_mozembed 0 > %define build_cairo 1 >+%define build_opengl 1 > > Summary: A Haskell GUI library based on the Gtk+ GUI toolkit > Name: gtk2hs >@@ -30,6 +31,9 @@ > %if %{build_cairo} > BuildRequires: cairo-devel > %endif >+%if %{build_opengl} >+BuildRequires: gtkglext-devel >+%endif > > %description > A Gtk+ binding for the functional language Haskell featuring >@@ -95,6 +99,19 @@ > A Haskell binding of GtkEmbedMoz for gtk2hs. > %endif > >+%if %{build_opengl} >+%package -n %{ghcver}-%{name}-gtkglext >+Summary: Haskell binding for gtkglext >+Group: Development/Libraries >+Requires: %{ghcver} >+Requires: %{ghcver}-%{name} = %{version}-%{release} >+Requires: gtkglext >+PreReq: %{_bindir}/ghc-pkg-%{ghc_version} >+ >+%description -n %{ghcver}-%{name}-gtkglext >+A Haskell binding of GtkGlExt for gtk2hs. >+%endif >+ > > # the debuginfo subpackage is currently empty anyway, so don't generate it > %define debug_package %{nil} >@@ -121,6 +138,9 @@ > %if %{build_mozembed} > --enable-firefox \ > %endif >+%if %{build_opengl} >+ --enable-opengl \ >+%endif > %if %{build_cairo} > --enable-cairo > %endif >@@ -138,6 +158,9 @@ > %if %{build_cairo} > cairo \ > %endif >+%if %{build_opengl} >+ gtkglext \ >+%endif > %if %{build_mozembed} > mozembed \ > %endif >@@ -173,6 +196,11 @@ > done > > >+%if %{build_opengl} >+%post -n %{ghcver}-%{name}-gtkglext >+%{ghcpkg_inst gtkglext} >+%endif >+ > %if %{build_mozembed} > %post -n %{ghcver}-%{name}-mozembed > %{ghcpkg_inst mozembed} >@@ -197,6 +225,13 @@ > fi > > >+%if %{build_opengl} >+%preun -n %{ghcver}-%{name}-gtkglext >+if [ "$1" = 0 ]; then >+ %{ghcpkg_uninst gtkglext} >+fi >+%endif >+ > %if %{build_mozembed} > %preun -n %{ghcver}-%{name}-mozembed > if [ "$1" = 0 ]; then >@@ -256,6 +291,14 @@ > %doc ChangeLog TODO demo > > >+%if %{build_opengl} >+%files -n %{ghcver}-%{name}-gtkglext >+%{gtk2hsdir}/gtkglext.package.conf >+%{gtk2hsdir}/libHSgtkglext.a >+%ghost %{gtk2hsdir}/HSgtkglext.o >+%{gtk2hsdir}/imports/gtkglext >+%endif >+ > %if %{build_mozembed} > %files -n %{ghcver}-%{name}-mozembed > %{gtk2hsdir}/mozembed.package.conf
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 327541
: 224241