4
0

2 Commits

5 changed files with 16 additions and 151 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dcbb47e95da9a59d3058485d352bb2a66830cb741ccce078d56940938a1d8573
size 178586

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d03f5944a1a49271c8a2fdd0959f5183ba3559f46dd3d0723f180ee818bdc14
size 178544

View File

@@ -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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Jul 13 12:59:34 UTC 2024 - Peter Simons <psimons@suse.com>
- Update gtk2hs-buildtools to version 0.13.11.0.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Mon Jul 1 04:43:34 UTC 2024 - Peter Simons <psimons@suse.com>
- Update gtk2hs-buildtools to version 0.13.10.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Jan 5 23:11:36 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -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.11.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