Date: Thursday, March 2, 2023 @ 15:58:13
Author: felixonmars
Revision: 1407179
archrelease: copy trunk to community-staging-x86_64
Added:
xmobar/repos/community-staging-x86_64/PKGBUILD
(from rev 1407178, xmobar/trunk/PKGBUILD)
xmobar/repos/community-staging-x86_64/dynamic-compilation.patch
(from rev 1407178, xmobar/trunk/dynamic-compilation.patch)
Deleted:
xmobar/repos/community-staging-x86_64/PKGBUILD
xmobar/repos/community-staging-x86_64/dynamic-compilation.patch
---------------------------+
PKGBUILD | 144 ++++++++++++++++++++++----------------------
dynamic-compilation.patch | 22 +++---
2 files changed, 83 insertions(+), 83 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-02 15:57:57 UTC (rev 1407178)
+++ PKGBUILD 2023-03-02 15:58:13 UTC (rev 1407179)
@@ -1,72 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Jelle van der Waa <[email protected]>
-# Contributer: Sergej Pupykin <[email protected]>
-# Contributor: Arch Haskell Team <[email protected]>
-
-pkgname=xmobar
-pkgver=0.46
-pkgrel=3
-pkgdesc='Minimalistic Text Based Status Bar'
-url='https://codeberg.org/xmobar/xmobar'
-license=('BSD')
-arch=('x86_64')
-depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
'pango'
- 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
- 'haskell-hinotify' 'haskell-parsec-numbers'
- 'haskell-regex-compat' 'haskell-old-locale'
- 'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-cereal'
'haskell-netlink'
- 'haskell-async' 'haskell-aeson'
- 'haskell-timezone-olson' 'haskell-timezone-series' 'alsa-lib'
- 'haskell-extensible-exceptions' 'haskell-http-conduit'
- 'haskell-http-types' 'haskell-http-client-tls' 'haskell-alsa-core'
'haskell-alsa-mixer'
- 'haskell-cairo' 'haskell-pango' 'haskell-colour')
-makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
-source=(${pkgname}-${pkgver}.tar.gz::https://codeberg.org/xmobar/xmobar/archive/${pkgver}.tar.gz
- dynamic-compilation.patch)
-sha512sums=('319f3a77d500c505826ab487e4011bb1a22b8cae70c17b964574a09a6488a864a1aaabb6a298468d121110dd485f179bc712a5106e49eb8ae638e02b5115190a'
-
'15db3e27d1ff957e26e706e4c67cec6e43d89f5a39cd6d81ddb5ae8426e32d938494fbba39fa322461d992a95d2e522c10b186a1ca2c5c3e996f944b6e6ef7c4')
-
-prepare() {
- cd xmobar
- patch -p1 -i "${srcdir}/dynamic-compilation.patch"
-}
-
-build() {
- cd xmobar
-
- _flags=(with_xft with_inotify with_mpd with_alsa with_nl80211
- with_datezone with_mpris with_dbus with_xpm with_threaded
- with_rtsopts with_weather)
-
- runhaskell setup configure -O \
- --enable-shared \
- --enable-executable-dynamic \
- --disable-library-vanilla \
- --prefix=/usr \
- --dynlibdir=/usr/lib \
- --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
- --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
- --ghc-option='-pie' \
- --flags="${_flags[*]}" \
- --enable-tests
- runhaskell setup build
- runhaskell setup register --gen-script
- runhaskell setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
- cd xmobar
- runhaskell setup test
-}
-
-package() {
- cd xmobar
- install -Dm 744 register.sh
"${pkgdir}/usr/share/haskell/register/xmobar.sh"
- install -Dm 744 unregister.sh
"${pkgdir}/usr/share/haskell/unregister/xmobar.sh"
- runhaskell setup copy --destdir="${pkgdir}"
- install -Dm 644 license -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 1407178,
xmobar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-02 15:58:13 UTC (rev 1407179)
@@ -0,0 +1,72 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jelle van der Waa <[email protected]>
+# Contributer: Sergej Pupykin <[email protected]>
+# Contributor: Arch Haskell Team <[email protected]>
+
+pkgname=xmobar
+pkgver=0.46
+pkgrel=4
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://codeberg.org/xmobar/xmobar'
+license=('BSD')
+arch=('x86_64')
+depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
'pango'
+ 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
+ 'haskell-hinotify' 'haskell-parsec-numbers'
+ 'haskell-regex-compat' 'haskell-old-locale'
+ 'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-cereal'
'haskell-netlink'
+ 'haskell-async' 'haskell-aeson'
+ 'haskell-timezone-olson' 'haskell-timezone-series' 'alsa-lib'
+ 'haskell-extensible-exceptions' 'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-http-client-tls' 'haskell-alsa-core'
'haskell-alsa-mixer'
+ 'haskell-cairo' 'haskell-pango' 'haskell-colour')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=(${pkgname}-${pkgver}.tar.gz::https://codeberg.org/xmobar/xmobar/archive/${pkgver}.tar.gz
+ dynamic-compilation.patch)
+sha512sums=('319f3a77d500c505826ab487e4011bb1a22b8cae70c17b964574a09a6488a864a1aaabb6a298468d121110dd485f179bc712a5106e49eb8ae638e02b5115190a'
+
'15db3e27d1ff957e26e706e4c67cec6e43d89f5a39cd6d81ddb5ae8426e32d938494fbba39fa322461d992a95d2e522c10b186a1ca2c5c3e996f944b6e6ef7c4')
+
+prepare() {
+ cd xmobar
+ patch -p1 -i "${srcdir}/dynamic-compilation.patch"
+}
+
+build() {
+ cd xmobar
+
+ _flags=(with_xft with_inotify with_mpd with_alsa with_nl80211
+ with_datezone with_mpris with_dbus with_xpm with_threaded
+ with_rtsopts with_weather)
+
+ runhaskell setup configure -O \
+ --enable-shared \
+ --enable-executable-dynamic \
+ --disable-library-vanilla \
+ --prefix=/usr \
+ --dynlibdir=/usr/lib \
+ --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+ --ghc-option='-pie' \
+ --flags="${_flags[*]}" \
+ --enable-tests
+ runhaskell setup build
+ runhaskell setup register --gen-script
+ runhaskell setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+ cd xmobar
+ runhaskell setup test
+}
+
+package() {
+ cd xmobar
+ install -Dm 744 register.sh
"${pkgdir}/usr/share/haskell/register/xmobar.sh"
+ install -Dm 744 unregister.sh
"${pkgdir}/usr/share/haskell/unregister/xmobar.sh"
+ runhaskell setup copy --destdir="${pkgdir}"
+ install -Dm 644 license -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: dynamic-compilation.patch
===================================================================
--- dynamic-compilation.patch 2023-03-02 15:57:57 UTC (rev 1407178)
+++ dynamic-compilation.patch 2023-03-02 15:58:13 UTC (rev 1407179)
@@ -1,11 +0,0 @@
---- a/src/Xmobar/App/Compile.hs 2023-02-25 00:52:50.200025709 +0100
-+++ b/src/Xmobar/App/Compile.hs 2023-02-25 01:10:05.503624465 +0100
-@@ -161,7 +161,7 @@
- return (status == ExitSuccess)
- else return True
- where opts bin = ["--make" , execName ++ ".hs" , "-i" , "-ilib"
-- , "-fforce-recomp" , "-main-is", "main" , "-v0"]
-+ , "-fforce-recomp" , "-main-is", "main" , "-dynamic" ,
"-v0"]
- #ifdef THREADED_RUNTIME
- ++ ["-threaded"]
- #endif
Copied: xmobar/repos/community-staging-x86_64/dynamic-compilation.patch (from
rev 1407178, xmobar/trunk/dynamic-compilation.patch)
===================================================================
--- dynamic-compilation.patch (rev 0)
+++ dynamic-compilation.patch 2023-03-02 15:58:13 UTC (rev 1407179)
@@ -0,0 +1,11 @@
+--- a/src/Xmobar/App/Compile.hs 2023-02-25 00:52:50.200025709 +0100
++++ b/src/Xmobar/App/Compile.hs 2023-02-25 01:10:05.503624465 +0100
+@@ -161,7 +161,7 @@
+ return (status == ExitSuccess)
+ else return True
+ where opts bin = ["--make" , execName ++ ".hs" , "-i" , "-ilib"
+- , "-fforce-recomp" , "-main-is", "main" , "-v0"]
++ , "-fforce-recomp" , "-main-is", "main" , "-dynamic" ,
"-v0"]
+ #ifdef THREADED_RUNTIME
+ ++ ["-threaded"]
+ #endif