Date: Thursday, September 1, 2022 @ 15:08:16
  Author: felixonmars
Revision: 1290339

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad/repos/community-staging-x86_64/
  xmonad/repos/community-staging-x86_64/PKGBUILD
    (from rev 1290338, xmonad/trunk/PKGBUILD)
  xmonad/repos/community-staging-x86_64/dynamic-compilation.patch
    (from rev 1290338, xmonad/trunk/dynamic-compilation.patch)
  xmonad/repos/community-staging-x86_64/xmonad.svg
    (from rev 1290338, xmonad/trunk/xmonad.svg)

---------------------------+
 PKGBUILD                  |   72 +++++++++++++++++++++++++++++++++++++++++
 dynamic-compilation.patch |   11 ++++++
 xmonad.svg                |   77 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 160 insertions(+)

Copied: xmonad/repos/community-staging-x86_64/PKGBUILD (from rev 1290338, 
xmonad/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-01 15:08:16 UTC (rev 1290339)
@@ -0,0 +1,72 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jelle van der Waa <je...@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Vesa Kaihlavirta <ve...@iki.fi>
+# Contributor: shild <shi...@gmail.com>
+
+pkgname=xmonad
+pkgver=0.17.0
+pkgrel=46
+pkgdesc='Lightweight X11 tiled window manager written in Haskell'
+url='https://xmonad.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('ghc' 'haskell-x11' 'haskell-data-default-class' 'haskell-setlocale')
+makedepends=('gendesk' 'pandoc' 'haskell-quickcheck' 
'haskell-quickcheck-instances')
+optdepends=('xorg-xmessage: for displaying visual error messages')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad/archive/v${pkgver}.tar.gz
+        dynamic-compilation.patch
+        xmonad.svg)
+sha512sums=('87b26b3f6ef3534a5cbb06f6e61b258ecbae0935ae695b39fe574630ccefb97d5e7fa59bf97be34d8009214474c79d0c380d18f67c1fdab2ce4c80378688287e'
+            
'ddfc766627459c804c3d675250132d0d9b34db0d1c6191ec91717801f6ee495521303d3f0f288cc162abf9d141ee3d276167b6540fa6c806340b90f9229bb377'
+            
'31f0ceb724a9931aeda75ab706c8908b5d8341af4df50ab1d749814baacb748ad3622601cd99ac03bf936b698fcd854b23d1541e1772306e3337a13a79b110b6')
+
+prepare() {
+  gendesk --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/dynamic-compilation.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  runhaskell Setup configure -O \
+    --enable-shared \
+    --enable-executable-dynamic \
+    --disable-library-vanilla \
+    --prefix=/usr \
+    --dynlibdir=/usr/lib \
+    --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+    --enable-tests \
+    --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie'
+  runhaskell Setup build $MAKEFLAGS
+  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
+  
+  make -C man xmonad.1 --always-make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  install -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+
+  runhaskell Setup.lhs copy --destdir="${pkgdir}"
+
+  install -Dm 644 man/xmonad.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/xmonad"
+  install -Dm 644 "$srcdir/xmonad.svg" -t "${pkgdir}/usr/share/pixmaps"
+  install -Dm 644 "$srcdir/xmonad.desktop" -t "${pkgdir}/usr/share/xsessions"
+}
+
+# vim: ts=2 sw=2 et:

Copied: xmonad/repos/community-staging-x86_64/dynamic-compilation.patch (from 
rev 1290338, xmonad/trunk/dynamic-compilation.patch)
===================================================================
--- community-staging-x86_64/dynamic-compilation.patch                          
(rev 0)
+++ community-staging-x86_64/dynamic-compilation.patch  2022-09-01 15:08:16 UTC 
(rev 1290339)
@@ -0,0 +1,11 @@
+diff -ura xmonad-0.13.orig/src/XMonad/Core.hs xmonad-0.13/src/XMonad/Core.hs
+--- xmonad-0.13.orig/src/XMonad/Core.hs        2017-06-23 17:13:06.154600231 
+0300
++++ xmonad-0.13/src/XMonad/Core.hs     2017-06-23 17:13:51.021867441 +0300
+@@ -626,6 +626,7 @@
+               , "-ilib"
+               , "-fforce-recomp"
+               , "-main-is", "main"
++              , "-dynamic"
+               , "-v0"
+               , "-outputdir", buildDirName dirs
+               , "-o", binFileName dirs

Copied: xmonad/repos/community-staging-x86_64/xmonad.svg (from rev 1290338, 
xmonad/trunk/xmonad.svg)
===================================================================
--- community-staging-x86_64/xmonad.svg                         (rev 0)
+++ community-staging-x86_64/xmonad.svg 2022-09-01 15:08:16 UTC (rev 1290339)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://web.resource.org/cc/";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   id="svg2211"
+   sodipodi:version="0.32"
+   inkscape:version="0.45.1"
+   width="47"
+   height="73"
+   version="1.0"
+   sodipodi:docbase="/home/sjanssen/xmonad-web/images"
+   sodipodi:docname="logo.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape"
+   inkscape:export-filename="/home/sjanssen/xmonad-web/images/logo.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <metadata
+     id="metadata2216">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs2214" />
+  <sodipodi:namedview
+     inkscape:window-height="778"
+     inkscape:window-width="1278"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="1"
+     guidetolerance="10.0"
+     gridtolerance="10.0"
+     objecttolerance="10.0"
+     borderopacity="1.0"
+     bordercolor="#666666"
+     pagecolor="#ffffff"
+     id="base"
+     inkscape:zoom="4"
+     inkscape:cx="23.5"
+     inkscape:cy="22.689137"
+     inkscape:window-x="0"
+     inkscape:window-y="20"
+     inkscape:current-layer="g3208" />
+  <g
+     id="g3208"
+     transform="translate(-44.517797,4.0967298)">
+    <g
+       id="g3212"
+       transform="matrix(1.0216109,0,0,1.0127041,45.533715,-4.3577662)">
+      <path
+         
style="font-size:73.7244339px;font-style:normal;font-weight:normal;fill:#aeaeae;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream
 Vera Sans"
+         d="M 22.62043,20.307707 L 36.04778,0.32867349 L 43.859402,0.32867349 
L 26.580238,26.139425 L 22.080456,31.215179 L 6.8531925,54.074074 L 
-0.9944279,54.074074 L 18.192644,25.383462"
+         id="text2220"
+         sodipodi:nodetypes="cccccccc" />
+      <path
+         id="path3206"
+         d="M 1.4534537,0.32867349 L 9.2650758,0.32867349 L 
45.011347,54.074074 L 37.199725,54.074074 L 22.080456,31.215179 L 
6.8531925,54.074074 L -0.9944279,54.074074 L 18.192644,25.383462 L 
1.4534537,0.32867349"
+         
style="font-size:73.7244339px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream
 Vera Sans"
+         sodipodi:nodetypes="ccccccccc" />
+    </g>
+    <path
+       
style="font-size:28.207407px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ee0a00;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream
 Vera Sans Mono"
+       d="M 44.517797,65.480602 L 55.836194,59.828049 L 44.517797,54.228655 L 
44.517797,51.056847 L 58.809298,58.321883 L 58.809298,61.298776 L 
44.517797,68.652411 M 44.517797,68.652411 L 44.517797,65.480602 M 
73.929389,61.298776 L 59.637889,68.652411 L 59.637889,65.480602 L 
70.956287,59.828049 L 59.637889,54.228655 L 59.637889,51.056847 L 
73.929389,58.321883 L 73.929389,61.298776 z M 91.517797,57.382744 L 
77.270452,57.382744 L 77.270452,54.405851 L 91.517797,54.405851 L 
91.517797,57.382744 z M 91.517797,65.267967 L 77.270452,65.267967 L 
77.270452,62.291073 L 91.517797,62.291073 L 91.517797,65.267967 z "
+       id="text3216"
+       sodipodi:nodetypes="ccccccccccccccccccccccccccc" />
+  </g>
+</svg>

Reply via email to