Opened 11 years ago
Last modified 4 years ago
#43583 new update
gtk2hs: update to 0.12.5, change master_sites, add livecheck, fix x11 variants
Reported by: | mojca (Mojca Miklavec) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager), jianguohsiang82@… | |
Port: | gtk2hs |
Description
"Inspired by" #39383, I tried to fix gtk2hs
, but there are a bunch of issues:
- the homepage has been changed (I fixed that)
- sourceforge contains only old versions, so both
master_sites
andlivecheck
need to be fixed, but I didn't try to understand the modified build instructions (it might not be a trivial patch) - the instructions on http://www.haskell.org/haskellwiki/Gtk2Hs/Mac should be updated
- the
x11
/quartz
variants in the ports are completely broken and need to be fixed - the list of dependencies might need a review
Change History (7)
comment:1 follow-up: 6 Changed 11 years ago by mojca (Mojca Miklavec)
comment:3 Changed 10 years ago by mojca (Mojca Miklavec)
Looking at this port ... it pulls in so many X11 dependencies already that I don't really see much point in having x11
as a separate variant.
comment:4 Changed 10 years ago by mojca (Mojca Miklavec)
The port could use something like this:
PortSystem 1.0 PortGroup github 1.0 github.setup gtk2hs gtk2hs 0_12_5 version 0.12.5 categories devel graphics platforms darwin maintainers gwright description Portable and native GUI library for Haskell long_description gtk2hs is a Haskell binding to GTK, a comprehensive \ C GUI library that is portable across many platforms. homepage http://projects.haskell.org/gtk2hs/ checksums rmd160 cabb3de9df656eeb8c00ed72dd68d6940dc0ef87 \ sha256 738381e19929edddab3e7b6ff86efb3847ea3a3688e38d153d107a692027f8f0 depends_build port:hs-cabal-install \ port:pkgconfig depends_lib port:gconf \ port:ghc \ port:gtk2 \ port:gvfs \ path:lib/pkgconfig/cairo.pc:cairo \ port:librsvg \ port:libglade2 \ port:gtksourceview2
(I'm not sure about dependencies.) The problem is that the build procedure has apparently changed completely.
Short build instructions are here in README
: https://github.com/gtk2hs/gtk2hs
cabal install Cabal cabal-meta cabal clone https://github.com/gtk2hs/gtk2hs cd gtk2hs cabal install tools cabal-meta install
It looks like there is no more ./configure
or anything like that involved. So basically everything in the port needs to be changed.
comment:5 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from gwright@… to macports-tickets@… |
---|
gwright has retired. See #43784.
comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jianguohsiang82@… added |
---|
comment:7 Changed 4 years ago by dbevans (David B. Evans)
Note: See
TracTickets for help on using
tickets.
The current package doesn't build, see
for example.
But I don't understand enough (and lack motivation to try) to fix the package.