[arch-commits] Commit in jedit/repos (5 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:40:38 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:40:38
  Author: felixonmars
Revision: 658181

archrelease: copy trunk to community-staging-any

Added:
  jedit/repos/community-staging-any/
  jedit/repos/community-staging-any/PKGBUILD
    (from rev 658179, jedit/trunk/PKGBUILD)
  jedit/repos/community-staging-any/jedit.props
    (from rev 658179, jedit/trunk/jedit.props)
  jedit/repos/community-staging-any/jedit.sh
    (from rev 658179, jedit/trunk/jedit.sh)
  jedit/repos/community-staging-any/jeditbg.sh
    (from rev 658180, jedit/trunk/jeditbg.sh)

-------------+
 PKGBUILD    |   48 ++++++++++++++++++++++++++++++++++++++++++++
 jedit.props |   63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 jedit.sh    |   17 +++++++++++++++
 jeditbg.sh  |    3 ++
 4 files changed, 131 insertions(+)

Copied: jedit/repos/community-staging-any/PKGBUILD (from rev 658179, jedit/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:40:38 UTC (rev 658181)
@@ -0,0 +1,48 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jeff Mickey <j at codemac.net>
+# Contributor: Dusty Phillips <dusty at buchuki.com>
+
+pkgname=jedit
+pkgver=5.5.0
+pkgrel=3
+pkgdesc='Editor for programmers'
+arch=('any')
+url='http://jedit.org/'
+license=('GPL')
+depends=('java-runtime>=8')
+makedepends=('gendesk')
+optdepends=('java-environment: for java development'
+            'noto-fonts: a usable font')
+options=('!emptydirs')
+source=("https://sourceforge.net/projects/jedit/files/jedit/$pkgver/jedit-$pkgver-noarch-1sao.tgz"
+        'jedit.sh' 'jeditbg.sh' 'jedit.props')
+sha256sums=('f8f44a14944fbf92ea36274a3de7ecf3f50d22d7f74bd53f3aebe44beff9be38'
+            'a32f0344a793528ac10c3a59a75bb615353604a7980a7293ef453a7af8c38f64'
+            'a1dd1b688f08c5c967861fe80df13cac201afa6dcfcecc9a289b2c3bec7c8915'
+            'dc5fe0050321d4f34bce556895fbc39cc6f7df194e14eb4f6ea53166a4d82347')
+
+prepare() {
+  gendesk -f -n \
+    --pkgname "$pkgname" \
+    --pkgdesc "$pkgdesc" \
+    --exec 'jeditbg %U' \
+    --name jEdit \
+    --genericname Editor
+}
+
+package() {
+  install -d "$pkgdir/usr/share/"{doc,java}
+  cp -r "usr/doc/$pkgname-$pkgver" "$pkgdir/usr/share/doc/$pkgname"
+  cp -r "usr/share/$pkgname-$pkgver" "$pkgdir/usr/share/java/$pkgname"
+  install -Dm755 jedit.sh "$pkgdir/usr/bin/jedit"
+  install -Dm755 jeditbg.sh "$pkgdir/usr/bin/jeditbg"
+  install -Dm644 jedit.props "$pkgdir/usr/share/jedit/default.props"
+  install -Dm644 "$pkgdir/usr/share/java/jedit/doc/jedit.png" \
+    "$pkgdir/usr/share/pixmaps/jedit.png"
+  install -Dm644 jedit.desktop "$pkgdir/usr/share/applications/jedit.desktop"
+}
+
+# getver: jedit.org/index.php?page=download
+# vim: ts=2 sw=2 et:

Copied: jedit/repos/community-staging-any/jedit.props (from rev 658179, jedit/trunk/jedit.props)
===================================================================
--- community-staging-any/jedit.props	                        (rev 0)
+++ community-staging-any/jedit.props	2020-07-07 12:40:38 UTC (rev 658181)
@@ -0,0 +1,63 @@
+# --- Arch Linux defaults for jEdit ---
+#
+# Just remove this file (~/.jedit/properties) to use the original jEdit defaults.
+#
+# startup
+firstTime=false
+tip.show=false
+# buffers
+buffer.tabSize=4
+buffer.indentSize=4
+buffer.encoding=UTF-8
+buffer.maxLineLen=99
+# look and feel, fonts and colors
+icon-theme=tango
+lookAndFeel=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
+view.fontsize=14
+view.font=Noto Mono
+view.selectionFg=false
+view.antiAlias=standard
+view.caretColor=\#333333
+view.lineHighlightColor=\#deebfb
+view.thickCaret=false
+view.selectionFgColor=\#000000
+view.extendedState=0
+view.wrapGuideColor=\#dedede
+view.structureHighlightColor=\#3d9bc4
+view.selectionColor=\#cccccc
+view.status.show-caret-virtual=true
+view.status.foreground=\#000000
+view.status.show-caret-linenumber=true
+view.status.show-caret-bufferlength=true
+view.status.background=\#ffffff
+view.status.show-caret-dot=true
+view.status.memory.background=\#66699a
+view.status.show-caret-offset=true
+view.style.invalid=color\:\#ff1e00 bgColor\:\#ffffcc
+view.style.digit=color\:\#330066
+view.style.literal4=color\:\#0182bc
+view.style.literal3=color\:\#0700cc
+view.style.literal2=color\:\#760000
+view.style.literal1=color\:\#90001c
+view.style.comment4=color\:\#a2a2a2
+view.style.label=color\:\#009500
+view.style.comment3=color\:\#868686
+view.style.comment2=color\:\#383838
+view.style.comment1=color\:\#434343
+view.style.keyword4=color\:\#00a228
+view.style.keyword3=color\:\#0b2700
+view.style.keyword2=color\:\#000066
+view.style.keyword1=color\:\#0033cc
+view.style.function=color\:\#006600
+view.style.operator=color\:\#000000
+view.gutter.fontsize=14
+view.gutter.font=Courier 10 Pitch
+view.gutter.highlightColor=\#660000
+view.gutter.selectionAreaBgColor=\#f0f0f0
+view.gutter.highlightInterval=10
+view.gutter.focusBorderColor=\#ececec
+view.gutter.highlightCurrentLine=false
+view.gutter.bgColor=\#f0f0f0
+view.gutter.currentLineColor=\#006699
+view.gutter.fgColor=\#3c3c3c
+view.gutter.selectionAreaWidth=12

Copied: jedit/repos/community-staging-any/jedit.sh (from rev 658179, jedit/trunk/jedit.sh)
===================================================================
--- community-staging-any/jedit.sh	                        (rev 0)
+++ community-staging-any/jedit.sh	2020-07-07 12:40:38 UTC (rev 658181)
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Run jEdit - Programmer's Text Editor
+
+# If both $HOME/.jedit and $HOME/.jedit/properties doesn't exist,
+# copy in a default property file.
+if [ ! -e $HOME/.jedit ]; then
+  if [ ! -e $HOME/.jedit/properties ]; then
+    mkdir -p "$HOME/.jedit"
+    cp /usr/share/jedit/default.props "$HOME/.jedit/properties"
+  fi
+fi
+
+# Set the initial and maximum JVM heap size
+JAVA_HEAP_MAX_SIZE=192
+
+# Start jEdit
+exec java -Xmx${JAVA_HEAP_MAX_SIZE}M -Dawt.useSystemAAFontSettings=lcd -jar /usr/share/java/jedit/jedit.jar "$@"

Copied: jedit/repos/community-staging-any/jeditbg.sh (from rev 658180, jedit/trunk/jeditbg.sh)
===================================================================
--- community-staging-any/jeditbg.sh	                        (rev 0)
+++ community-staging-any/jeditbg.sh	2020-07-07 12:40:38 UTC (rev 658181)
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Runs jEdit in background-mode, ready to reuse the running instance
+jedit -background -reuseview "$@"



More information about the arch-commits mailing list