4
0

Compare commits

...

9 Commits

Author SHA256 Message Date
2e956c767c Accepting request 1255903 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1255903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2hs-buildtools?expand=0&rev=7
2025-03-25 21:12:15 +00:00
9014ab4d7f osc copypac from project:devel:languages:haskell:ghc-9.10.x package:gtk2hs-buildtools revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/gtk2hs-buildtools?expand=0&rev=16
2025-03-25 09:35:07 +00:00
6f59ec39c5 Accepting request 1231496 from devel:languages:haskell
version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2hs-buildtools?expand=0&rev=6
2024-12-17 18:23:24 +00:00
326a6ddf98 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:gtk2hs-buildtools revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/gtk2hs-buildtools?expand=0&rev=14
2024-12-10 11:26:01 +00:00
393d6ce93b Accepting request 1188672 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1188672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2hs-buildtools?expand=0&rev=5
2024-07-22 15:16:59 +00:00
299bff2aca osc copypac from project:devel:languages:haskell:ghc-9.8.x package:gtk2hs-buildtools revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/gtk2hs-buildtools?expand=0&rev=12
2024-07-19 12:40:34 +00:00
441729371f Accepting request 1137779 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1137779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2hs-buildtools?expand=0&rev=4
2024-01-10 20:51:25 +00:00
f6f2e539f3 Accepting request 1094459 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1094459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2hs-buildtools?expand=0&rev=3
2023-06-22 21:25:42 +00:00
6781a5d7c0 Accepting request 1076149 from devel:languages:haskell
update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1076149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2hs-buildtools?expand=0&rev=2
2023-04-04 19:25:13 +00:00
5 changed files with 9 additions and 175 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:2308f302b1a55376c715778b89b15d0d7e0cc20c8589b803b5f9010ea2f1e495
size 178949

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,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.

View File

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