forked from pool/gtk2hs-buildtools
Compare commits
9 Commits
68fece563d
...
2e956c767c
Author | SHA256 | Date | |
---|---|---|---|
2e956c767c | |||
9014ab4d7f | |||
6f59ec39c5 | |||
326a6ddf98 | |||
393d6ce93b | |||
299bff2aca | |||
441729371f | |||
f6f2e539f3 | |||
6781a5d7c0 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dcbb47e95da9a59d3058485d352bb2a66830cb741ccce078d56940938a1d8573
|
||||
size 178586
|
3
gtk2hs-buildtools-0.13.12.0.tar.gz
Normal file
3
gtk2hs-buildtools-0.13.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2308f302b1a55376c715778b89b15d0d7e0cc20c8589b803b5f9010ea2f1e495
|
||||
size 178949
|
@@ -1,145 +0,0 @@
|
||||
cabal-version: 3.0
|
||||
Name: gtk2hs-buildtools
|
||||
Version: 0.13.10.0
|
||||
x-revision: 1
|
||||
License: GPL-2.0-only
|
||||
License-file: COPYING
|
||||
Copyright: (c) 2001-2010 The Gtk2Hs Team
|
||||
Author: Axel Simon, Duncan Coutts, Manuel Chakravaty
|
||||
Maintainer: gtk2hs-devel@lists.sourceforge.net
|
||||
Build-Type: Simple
|
||||
Stability: stable
|
||||
homepage: http://projects.haskell.org/gtk2hs/
|
||||
bug-reports: https://github.com/gtk2hs/gtk2hs/issues
|
||||
Synopsis: Tools to build the Gtk2Hs suite of User Interface libraries.
|
||||
Description: This package provides a set of helper programs necessary to
|
||||
build the Gtk2Hs suite of libraries. These tools include
|
||||
a modified c2hs binding tool that is used to generate
|
||||
FFI declarations, a tool to build a type hierarchy that
|
||||
mirrors the C type hierarchy of GObjects found in glib,
|
||||
and a generator for signal declarations that are used
|
||||
to call back from C to Haskell. These tools are not needed
|
||||
to actually run Gtk2Hs programs.
|
||||
Category: Development
|
||||
Tested-With: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.1
|
||||
Data-Files: callbackGen/Signal.chs.template
|
||||
hierarchyGen/hierarchy.list
|
||||
hierarchyGen/Hierarchy.chs.template
|
||||
Extra-Source-Files: c2hs/toplevel/c2hs_config.h
|
||||
|
||||
Source-Repository head
|
||||
type: git
|
||||
location: https://github.com/gtk2hs/gtk2hs
|
||||
subdir: tools
|
||||
|
||||
Flag ClosureSignals
|
||||
Description: Use the the GClosure-based signals implementation.
|
||||
-- if ! (arch(sparc) || arch(x86_64) || impl(ghc >= 6.4.1))
|
||||
-- Default: False
|
||||
|
||||
Library
|
||||
build-depends: base >= 4.8 && < 5,
|
||||
process, array, pretty,
|
||||
filepath, random,
|
||||
Cabal >= 1.24.0.0,
|
||||
filepath >= 1.3.0.0,
|
||||
directory >= 1.2.0.0,
|
||||
containers >= 0.5.5.1
|
||||
if !impl(ghc >= 8.0)
|
||||
build-depends: fail
|
||||
if impl(ghc >= 7.7)
|
||||
build-depends: hashtables
|
||||
build-tool-depends: alex:alex >= 3.0.1, happy:happy >= 1.18.9
|
||||
hs-source-dirs: src
|
||||
hierarchyGen
|
||||
callbackGen
|
||||
c2hs/toplevel
|
||||
c2hs/state
|
||||
c2hs/gen
|
||||
c2hs/chs
|
||||
c2hs/c
|
||||
c2hs/base/admin
|
||||
c2hs/base/general
|
||||
c2hs/base/state
|
||||
c2hs/base/errors
|
||||
c2hs/base/syms
|
||||
c2hs/base/syntax
|
||||
c-sources: c2hs/toplevel/c2hs_config.c
|
||||
exposed-modules: Gtk2HsSetup
|
||||
TypeGen
|
||||
HookGenerator
|
||||
Gtk2HsC2Hs
|
||||
autogen-modules: Paths_gtk2hs_buildtools
|
||||
other-modules: Paths_gtk2hs_buildtools
|
||||
-- gtk2hsC2hs Modules
|
||||
BaseVersion
|
||||
Config
|
||||
Errors
|
||||
Binary
|
||||
DLists
|
||||
FastMutInt
|
||||
FileOps
|
||||
FNameOps
|
||||
Map
|
||||
Position
|
||||
Set
|
||||
UNames
|
||||
CIO
|
||||
State
|
||||
StateBase
|
||||
StateTrans
|
||||
Attributes
|
||||
Idents
|
||||
NameSpaces
|
||||
Lexers
|
||||
C
|
||||
CAST
|
||||
CAttrs
|
||||
CBuiltin
|
||||
CLexer
|
||||
CNames
|
||||
CParser
|
||||
CParserMonad
|
||||
CPretty
|
||||
CTokens
|
||||
CTrav
|
||||
CHS
|
||||
CHSLexer
|
||||
CInfo
|
||||
GBMonad
|
||||
GenBind
|
||||
GenHeader
|
||||
C2HSState
|
||||
Switches
|
||||
C2HSConfig
|
||||
Version
|
||||
|
||||
default-language: Haskell98
|
||||
default-extensions: ForeignFunctionInterface
|
||||
BangPatterns
|
||||
|
||||
if flag(ClosureSignals)
|
||||
cpp-options: -DUSE_GCLOSURE_SIGNALS_IMPL
|
||||
|
||||
if os(darwin)
|
||||
cpp-options: -D_C2HS_CPP_IS_GCC
|
||||
else
|
||||
cpp-options: -D_C2HS_CPP_LANG_SINGLE
|
||||
|
||||
Executable gtk2hsTypeGen
|
||||
main-is: gtk2hsTypeGenMain.hs
|
||||
hs-source-dirs: exe
|
||||
build-depends: base, gtk2hs-buildtools
|
||||
default-language: Haskell98
|
||||
|
||||
Executable gtk2hsHookGenerator
|
||||
main-is: gtk2hsHookGeneratorMain.hs
|
||||
hs-source-dirs: exe
|
||||
build-depends: base, gtk2hs-buildtools
|
||||
default-language: Haskell98
|
||||
|
||||
Executable gtk2hsC2hs
|
||||
main-is: gtk2hsC2hsMain.hs
|
||||
hs-source-dirs: exe
|
||||
build-depends: base, gtk2hs-buildtools
|
||||
default-language: Haskell98
|
@@ -1,30 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 5 23:11:36 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
Thu Mar 20 08:42:52 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update gtk2hs-buildtools to version 0.13.10.0 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 12 13:57:42 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update gtk2hs-buildtools to version 0.13.10.0.
|
||||
- Update gtk2hs-buildtools to version 0.13.12.0.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
- Drop obsolete "fix-ghc-9.4.x-build.patch" patch. The upstream
|
||||
version compiles fine with ghc 9.4.x now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:09:15 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
Sat Jul 13 12:59:34 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||
- Add gtk2hs-buildtools at version 0.13.11.0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 16:26:01 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Apply "fix-ghc-9.4.x-build.patch" to fix builds that use this package for
|
||||
building with ghc-9.4.x. See https://github.com/gtk2hs/gtk2hs/issues/323.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 24 09:06:25 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Add gtk2hs-buildtools at version 0.13.8.3.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gtk2hs-buildtools
|
||||
#
|
||||
# Copyright (c) 2024 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
|
||||
@@ -19,13 +19,12 @@
|
||||
%global pkg_name gtk2hs-buildtools
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
Name: %{pkg_name}
|
||||
Version: 0.13.10.0
|
||||
Version: 0.13.12.0
|
||||
Release: 0
|
||||
Summary: Tools to build the Gtk2Hs suite of User Interface libraries
|
||||
License: GPL-2.0-only
|
||||
URL: https://hackage.haskell.org/package/%{name}
|
||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal
|
||||
BuildRequires: alex
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
@@ -95,7 +94,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
cp -p %{SOURCE1} %{name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
Reference in New Issue
Block a user