Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 993edd71f6 | |||
| 25845fe3de | |||
| 4128bd5589 | |||
| 2850b70815 | |||
| ba70d8472a | |||
| eb5cb89ec7 | |||
| e79bc26e03 | |||
| a875896b0b |
89
X11.cabal
Normal file
89
X11.cabal
Normal 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
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user