[arch-commits] Commit in plan9port/repos/community-x86_64 (10 files)

Alexander Rødseth arodseth at gemini.archlinux.org
Thu Dec 30 00:12:00 UTC 2021


    Date: Thursday, December 30, 2021 @ 00:12:00
  Author: arodseth
Revision: 1088053

archrelease: copy trunk to community-x86_64

Added:
  plan9port/repos/community-x86_64/PKGBUILD
    (from rev 1088052, plan9port/trunk/PKGBUILD)
  plan9port/repos/community-x86_64/acme.png
    (from rev 1088052, plan9port/trunk/acme.png)
  plan9port/repos/community-x86_64/acme.sh
    (from rev 1088052, plan9port/trunk/acme.sh)
  plan9port/repos/community-x86_64/plan9.install
    (from rev 1088052, plan9port/trunk/plan9.install)
  plan9port/repos/community-x86_64/plan9.sh
    (from rev 1088052, plan9port/trunk/plan9.sh)
Deleted:
  plan9port/repos/community-x86_64/PKGBUILD
  plan9port/repos/community-x86_64/acme.png
  plan9port/repos/community-x86_64/acme.sh
  plan9port/repos/community-x86_64/plan9.install
  plan9port/repos/community-x86_64/plan9.sh

---------------+
 PKGBUILD      |  190 ++++++++++++++++++++++++++++----------------------------
 acme.sh       |    6 -
 plan9.install |   16 ++--
 plan9.sh      |    4 -
 4 files changed, 109 insertions(+), 107 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-30 00:11:52 UTC (rev 1088052)
+++ PKGBUILD	2021-12-30 00:12:00 UTC (rev 1088053)
@@ -1,94 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: phrakture <aaronmgriffin at gmail.com>
-# Contributor: Fazlul Shahriar <>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-
-pkgname=plan9port
-pkgver=20210527
-pkgrel=1
-pkgdesc='Ports of applications from Plan 9'
-arch=(x86_64)
-url='https://swtch.com/plan9port/'
-license=(custom)
-depends=(fontconfig fuse2 libxt xorg-server)
-makedepends=(gendesk git)
-provides=(plan9)
-install=plan9.install
-options=(staticlibs !zipman)
-source=("git+https://github.com/9fans/plan9port#commit=70cc6e5ba7798b315c3fb3aae19620a01604a459" # 2021-05-27
-        acme.png acme.sh plan9.sh)
-b2sums=('SKIP'
-        '983106b7a91afadae0f3aff5ff69338aa80d7eb6f9b65a95a31c963f162f6fb2dea748e5da698e0bd14d4343fe17281f55b9a1966fcba1c497fbd4bd855caf6c'
-        '6bd5abac872d578523fee4d7287aa9df7faecccefab92377a871596f1526f3a26d3e89098aef3bb3e3773b2de6f5f63be6cb13134b1cbc66be9763403c344598'
-        '743d3b663f8cad370fe4e6f0fe24efd444172327b9e0bd2ac5fd3c4f9595edd4e513c6ba978719a163e0507121cab622de8453289bde19b37365a2a78df4ccf9')
-
-
-prepare() {
-  # Generate a desktop shortcut for the Acme editor
-  gendesk -f \
-    --name Acme \
-    --pkgname acme \
-    --genericname Editor \
-    --comment 'Editor from Plan9' \
-    --categories 'Application;Development;TextEditor'
-
-  cd $pkgname
-
-  # Use _DEFAULT_SOURCE instead of _BSD_SOURCE
-  grep -rl _BSD_SOURCE | xargs sed -i s':_BSD_SOURCE:_DEFAULT_SOURCE:g'
-
-  # Try the Gentoo way for fixing hardcoded paths
-  grep --null -l -r /usr/local/plan9 | xargs --null sed -i "s!/usr/local/plan9!/usr/lib/plan9!g"
-
-  # Stop 9l from giving an 'undefined reference error' given no arguments, ref #55640
-  sed -i '1i[ "$1" == "" ] && exit 1' bin/9l
-}
-
-package() {
-  cd $pkgname
-
-  d=usr/lib
-
-  ./INSTALL -b
-  install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh"
-  install -d "$pkgdir/$d"
-  install -d "$pkgdir/usr/share/doc/$pkgname"
-  cp -r "$srcdir/$pkgname" "$pkgdir/$d/plan9"
-  cd "$pkgdir/$d/plan9"
-  ./INSTALL -c -r "$pkgdir/$d/plan9"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # Clean up
-  rm -rf .hg/
-  rm -f .hgignore .hgtags
-  find . -name '.cvsignore' -delete
-  rm -f config install.log install.sum install.txt configure Makefile INSTALL \
-    LICENSE
-
-  # Package text files
-  for i in CHANGES CONTRIBUTING.md CONTRIBUTORS README.md; do
-    install -m644 $i "$pkgdir/usr/share/doc/$pkgname"
-    rm -f $i
-  done
-
-  # Decompress the plan9 man pages
-  for i in "$(find "$pkgdir/$d/plan9/man" -type f)"; do
-    if [ "${i##*.}" = "gz" ]; then
-      gunzip "$i"
-    fi
-  done
-
-  # Once more
-  PLAN9=/usr/lib/plan9
-  grep --null -l -r "$pkgdir$PLAN9" | xargs --null sed -i "s!$pkgdir$PLAN9!${PLAN9}!g" || true
-  grep --null -l -r "/build/plan9port/pkg/plan9port/$PLAN9" | xargs --null sed -i "s!/build/plan9port/pkg/plan9port/$PLAN9!${PLAN9}!g" || true
-
-  # Acme
-  cd "$srcdir"
-  install -Dm644 acme.desktop "$pkgdir/usr/share/applications/acme.desktop"
-  install -Dm755 acme.sh "$pkgdir/usr/bin/acme"
-  install -Dm644 acme.png "$pkgdir/usr/share/pixmaps/acme.png"
-
-  # Remove git repository
-  rm -rf "$pkgdir/usr/lib/plan9/.git"
-}

Copied: plan9port/repos/community-x86_64/PKGBUILD (from rev 1088052, plan9port/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-30 00:12:00 UTC (rev 1088053)
@@ -0,0 +1,96 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: phrakture <aaronmgriffin at gmail.com>
+# Contributor: Fazlul Shahriar <>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+
+pkgname=plan9port
+pkgver=20211019
+pkgrel=1
+pkgdesc='Ports of applications from Plan 9'
+arch=(x86_64)
+url='https://swtch.com/plan9port/'
+license=(custom)
+depends=(fontconfig fuse2 libxt xorg-server)
+makedepends=(gendesk git)
+provides=(plan9)
+install=plan9.install
+options=(staticlibs !zipman)
+source=("git+https://github.com/9fans/plan9port#commit=d0d440860f2000a1560abb3f593cdc325fcead4c" # 2021-10-19
+        acme.png acme.sh plan9.sh)
+b2sums=('SKIP'
+        '983106b7a91afadae0f3aff5ff69338aa80d7eb6f9b65a95a31c963f162f6fb2dea748e5da698e0bd14d4343fe17281f55b9a1966fcba1c497fbd4bd855caf6c'
+        '6bd5abac872d578523fee4d7287aa9df7faecccefab92377a871596f1526f3a26d3e89098aef3bb3e3773b2de6f5f63be6cb13134b1cbc66be9763403c344598'
+        '743d3b663f8cad370fe4e6f0fe24efd444172327b9e0bd2ac5fd3c4f9595edd4e513c6ba978719a163e0507121cab622de8453289bde19b37365a2a78df4ccf9')
+
+prepare() {
+  # Generate a desktop shortcut for the Acme editor
+  gendesk -f \
+    --name Acme \
+    --pkgname acme \
+    --genericname Editor \
+    --comment 'Editor from Plan9' \
+    --categories 'Application;Development;TextEditor'
+
+  cd $pkgname
+
+  # Use _DEFAULT_SOURCE instead of _BSD_SOURCE
+  grep -rl _BSD_SOURCE | xargs sed -i s':_BSD_SOURCE:_DEFAULT_SOURCE:g'
+
+  # Try the Gentoo way for fixing hardcoded paths
+  grep --null -l -r /usr/local/plan9 | xargs --null sed -i "s!/usr/local/plan9!/usr/lib/plan9!g"
+
+  # Stop 9l from giving an 'undefined reference error' given no arguments, ref #55640
+  sed -i '1i[ "$1" == "" ] && exit 1' bin/9l
+}
+
+build() {
+  cd $pkgname
+  export CFLAGS+=' -ffat-lto-objects -w'
+  ./INSTALL -b
+}
+
+package() {
+  cd $pkgname
+  install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh"
+  d=usr/lib
+  install -d "$pkgdir/$d"
+  install -d "$pkgdir/usr/share/doc/$pkgname"
+  cp -r "$srcdir/$pkgname" "$pkgdir/$d/plan9"
+  cd "$pkgdir/$d/plan9"
+  ./INSTALL -c -r "$pkgdir/$d/plan9"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Clean up
+  rm -rf .hg/
+  rm -f .hgignore .hgtags
+  find . -name '.cvsignore' -delete
+  rm -f config install.log install.sum install.txt configure Makefile INSTALL \
+    LICENSE
+
+  # Package text files
+  for i in CHANGES CONTRIBUTING.md CONTRIBUTORS README.md; do
+    install -m644 $i "$pkgdir/usr/share/doc/$pkgname"
+    rm -f $i
+  done
+
+  # Decompress the plan9 man pages
+  for i in "$(find "$pkgdir/$d/plan9/man" -type f)"; do
+    if [ "${i##*.}" = "gz" ]; then
+      gunzip "$i"
+    fi
+  done
+
+  # Once more
+  PLAN9=/usr/lib/plan9
+  grep --null -l -r "$pkgdir$PLAN9" | xargs --null sed -i "s!$pkgdir$PLAN9!${PLAN9}!g" || true
+  grep --null -l -r "/build/plan9port/pkg/plan9port/$PLAN9" | xargs --null sed -i "s!/build/plan9port/pkg/plan9port/$PLAN9!${PLAN9}!g" || true
+
+  # Acme
+  cd "$srcdir"
+  install -Dm644 acme.desktop "$pkgdir/usr/share/applications/acme.desktop"
+  install -Dm755 acme.sh "$pkgdir/usr/bin/acme"
+  install -Dm644 acme.png "$pkgdir/usr/share/pixmaps/acme.png"
+
+  # Remove git repository
+  rm -rf "$pkgdir/usr/lib/plan9/.git"
+}

Deleted: acme.png
===================================================================
(Binary files differ)

Copied: plan9port/repos/community-x86_64/acme.png (from rev 1088052, plan9port/trunk/acme.png)
===================================================================
(Binary files differ)

Deleted: acme.sh
===================================================================
--- acme.sh	2021-12-30 00:11:52 UTC (rev 1088052)
+++ acme.sh	2021-12-30 00:12:00 UTC (rev 1088053)
@@ -1,3 +0,0 @@
-#!/bin/sh
-. /etc/profile.d/plan9.sh
-9 acme "$@"

Copied: plan9port/repos/community-x86_64/acme.sh (from rev 1088052, plan9port/trunk/acme.sh)
===================================================================
--- acme.sh	                        (rev 0)
+++ acme.sh	2021-12-30 00:12:00 UTC (rev 1088053)
@@ -0,0 +1,3 @@
+#!/bin/sh
+. /etc/profile.d/plan9.sh
+9 acme "$@"

Deleted: plan9.install
===================================================================
--- plan9.install	2021-12-30 00:11:52 UTC (rev 1088052)
+++ plan9.install	2021-12-30 00:12:00 UTC (rev 1088053)
@@ -1,8 +0,0 @@
-post_install() {
-  echo ""
-  echo "==> In order to use Plan9 specific apps, run them"
-  echo "    as arguments to the '9' script, i.e. '9 date'"
-  echo "==> Please log off or 'source /etc/profile.d/plan9.sh'"
-  echo "==> Run '9 man 1 intro | less' to begin"
-  source /etc/profile.d/plan9.sh
-}

Copied: plan9port/repos/community-x86_64/plan9.install (from rev 1088052, plan9port/trunk/plan9.install)
===================================================================
--- plan9.install	                        (rev 0)
+++ plan9.install	2021-12-30 00:12:00 UTC (rev 1088053)
@@ -0,0 +1,8 @@
+post_install() {
+  echo ""
+  echo "==> In order to use Plan9 specific apps, run them"
+  echo "    as arguments to the '9' script, i.e. '9 date'"
+  echo "==> Please log off or 'source /etc/profile.d/plan9.sh'"
+  echo "==> Run '9 man 1 intro | less' to begin"
+  source /etc/profile.d/plan9.sh
+}

Deleted: plan9.sh
===================================================================
--- plan9.sh	2021-12-30 00:11:52 UTC (rev 1088052)
+++ plan9.sh	2021-12-30 00:12:00 UTC (rev 1088053)
@@ -1,2 +0,0 @@
-export PLAN9=/usr/lib/plan9
-export PATH="$PATH:$PLAN9/bin"

Copied: plan9port/repos/community-x86_64/plan9.sh (from rev 1088052, plan9port/trunk/plan9.sh)
===================================================================
--- plan9.sh	                        (rev 0)
+++ plan9.sh	2021-12-30 00:12:00 UTC (rev 1088053)
@@ -0,0 +1,2 @@
+export PLAN9=/usr/lib/plan9
+export PATH="$PATH:$PLAN9/bin"



More information about the arch-commits mailing list