cabal-appimage 0.4.0.5 → 0.4.1.0
raw patch · 3 files changed
+14/−5 lines, 3 filesdep ~Cabaldep ~base
Dependency ranges changed: Cabal, base
Files
- CHANGELOG.md +4/−0
- cabal-appimage.cabal +4/−4
- src/Distribution/AppImage.hs +6/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for cabal-appimage +## 0.4.1.0 -- 2025-01-12++* Build with GHC 9.12.+ ## 0.4.0.5 -- 2024-09-02
cabal-appimage.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: cabal-appimage-version: 0.4.0.5+version: 0.4.1.0 synopsis: Cabal support for creating AppImage applications description: This package provides a build hook automating the creation of AppImage bundles.@@ -10,15 +10,15 @@ license-file: LICENSE author: Gabriele Sales maintainer: gbrsales@gmail.com-copyright: 2020-2024 Gabriele Sales+copyright: 2020-2025 Gabriele Sales category: Development, Distribution, Linux extra-source-files: CHANGELOG.md build-type: Simple library exposed-modules: Distribution.AppImage- build-depends: base >=4.11.0.0 && <4.21,- Cabal >=2.4.1.0 && <3.13,+ build-depends: base >=4.11.0.0 && <4.22,+ Cabal >=2.4.1.0 && <3.15, filepath >=1.4.2.1 && <1.6 hs-source-dirs: src default-language: Haskell2010
src/Distribution/AppImage.hs view
@@ -1,6 +1,6 @@ {-| Module: Distribution.AppImage-Copyright: 2020 Gabriele Sales+Copyright: 2020-2025 Gabriele Sales This module provides a custom build hook for automating the creation of AppImage bundles.@@ -10,6 +10,7 @@ must be already present on the system. -} +{-# LANGUAGE CPP #-} {-# LANGUAGE RecordWildCards #-} module Distribution.AppImage@@ -78,7 +79,11 @@ makeBundle :: Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> AppImage -> IO () makeBundle args flags pkg buildInfo app@AppImage{..} = do+#if MIN_VERSION_GLASGOW_HASKELL(9,12,0,0)+ let bdir = interpretSymbolicPathLBI buildInfo (buildDir buildInfo)+#else let bdir = buildDir buildInfo+#endif verb = fromFlagOrDefault normal (buildVerbosity flags) unless (hasExecutable pkg appName) $ die' verb ("No executable defined for the AppImage bundle: " ++ appName)