8 Commits

Author SHA256 Message Date
993edd71f6 Accepting request 1277442 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1277442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-X11?expand=0&rev=15
2025-05-15 15:00:10 +00:00
25845fe3de osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-X11 revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-X11?expand=0&rev=42
2025-05-07 15:15:29 +00:00
4128bd5589 Accepting request 1240764 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1240764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-X11?expand=0&rev=14
2025-01-28 15:40:58 +00:00
2850b70815 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-X11 revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-X11?expand=0&rev=40
2025-01-28 10:26:36 +00:00
ba70d8472a Accepting request 1231413 from devel:languages:haskell
version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-X11?expand=0&rev=13
2024-12-20 22:10:02 +00:00
eb5cb89ec7 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-X11 revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-X11?expand=0&rev=38
2024-12-17 22:00:55 +00:00
e79bc26e03 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-X11 revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-X11?expand=0&rev=37
2024-12-16 09:30:51 +00:00
a875896b0b osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-X11 revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-X11?expand=0&rev=36
2024-12-10 11:25:51 +00:00
3 changed files with 108 additions and 1 deletions

89
X11.cabal Normal file
View File

@@ -0,0 +1,89 @@
name: X11
version: 1.10.3
x-revision: 1
synopsis: A binding to the X11 graphics library
description: A Haskell binding to the X11 graphics library. The binding is a direct
translation of the C binding; for documentation of these calls, refer
to \"The Xlib Programming Manual\", available online at
<http://tronche.com/gui/x/xlib/>.
license: BSD3
license-file: LICENSE
copyright: Alastair Reid, 1999-2003, libraries@haskell.org 2003-2007,
Don Stewart 2007-2009, Spencer Janssen 2007-2009, Daniel Wagner 2009-2011.
maintainer: Daniel Wagner <daniel@wagner-home.com>
tested-with: GHC == 7.10.3 || == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.2
category: Graphics
homepage: https://github.com/xmonad/X11
bug-reports: https://github.com/xmonad/X11/issues
build-type: Configure
extra-tmp-files: config.log
config.status
autom4te.cache
config.mk
X11.buildinfo
include/HsX11Config.h
include/X11_extras_config.h
extra-source-files: CHANGES.md
README.md
configure.ac
configure
config.mk.in
X11.buildinfo.in
include/HsX11Config.h.in
include/HsXlib.h
include/XlibExtras.h
include/X11_extras_config.h.in
include/HsAllKeysyms.h
cabal-version: >= 1.10
source-repository head
type: git
location: https://github.com/xmonad/X11
flag pedantic
description: Be pedantic (-Werror and the like)
default: False
manual: True
library
exposed-modules: Graphics.X11
Graphics.X11.ExtraTypes
Graphics.X11.ExtraTypes.AP
Graphics.X11.ExtraTypes.DEC
Graphics.X11.ExtraTypes.HP
Graphics.X11.ExtraTypes.Sun
Graphics.X11.ExtraTypes.XF86
Graphics.X11.ExtraTypes.XorgDefault
Graphics.X11.Types
Graphics.X11.XScreenSaver
Graphics.X11.Xinerama
Graphics.X11.Xlib
Graphics.X11.Xlib.Atom
Graphics.X11.Xlib.Color
Graphics.X11.Xlib.Context
Graphics.X11.Xlib.Cursor
Graphics.X11.Xlib.Display
Graphics.X11.Xlib.Event
Graphics.X11.Xlib.Extras
Graphics.X11.Xlib.Font
Graphics.X11.Xlib.Image
Graphics.X11.Xlib.Misc
Graphics.X11.Xlib.Region
Graphics.X11.Xlib.Screen
Graphics.X11.Xlib.Types
Graphics.X11.Xlib.Window
Graphics.X11.Xrandr
other-modules: Graphics.X11.Xlib.Internal
build-depends: base == 4.*, data-default-class >= 0.1 && < 0.3
default-language: Haskell98
default-extensions: CPP
ForeignFunctionInterface
extra-libraries: X11, Xrandr, Xext
c-sources: cbits/fdset.c, cbits/auxiliaries.c, cbits/XUtils.c
includes: HsXlib.h, HsAllKeysyms.h
install-includes: HsXlib.h, XlibExtras.h, HsAllKeysyms.h
include-dirs: include
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-binds
if flag(pedantic)
ghc-options: -Werror

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue May 6 10:16:07 UTC 2025 - Peter Simons <psimons@suse.com>
- Update X11 to version 1.10.3 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Jan 28 10:19:03 UTC 2025 - Peter Simons <psimons@suse.com>
- Update copyright header. No functional change.
-------------------------------------------------------------------
Mon Dec 16 07:50:32 UTC 2024 - Peter Simons <psimons@suse.com>
- Jailbreak version constraint on data-default-class to fix the build.
-------------------------------------------------------------------
Thu Mar 30 17:09:04 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-X11
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@ Summary: A binding to the X11 graphics library
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
@@ -79,6 +80,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build