summaryrefslogtreecommitdiff
path: root/libre/jedit
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-09-25 20:10:30 -0300
committerDavid P <megver83@parabola.nu>2022-09-25 20:10:49 -0300
commit62aecc94cd460da2ddaab34a846b5dbf43884078 (patch)
treef38f9f85845c3632ede24d1946d2de12e0605b9f /libre/jedit
parent4edfdd5c39ffb5dc842dfbe77152ff73b4475f66 (diff)
remove uneeded [libre] replacements and unused PKGBUILDs
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/jedit')
-rw-r--r--libre/jedit/PKGBUILD87
-rw-r--r--libre/jedit/jedit-fix_build.patch32
-rw-r--r--libre/jedit/jedit.props63
-rw-r--r--libre/jedit/jedit.sh18
-rw-r--r--libre/jedit/jeditbg.sh3
5 files changed, 0 insertions, 203 deletions
diff --git a/libre/jedit/PKGBUILD b/libre/jedit/PKGBUILD
deleted file mode 100644
index 017187ddb..000000000
--- a/libre/jedit/PKGBUILD
+++ /dev/null
@@ -1,87 +0,0 @@
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-pkgname=jedit
-pkgver=5.4.0
-pkgrel=5.parabola1
-pkgdesc='Editor for programmers'
-arch=('any')
-url='http://jedit.org/'
-license=('GPL')
-depends=('java-runtime>=8')
-makedepends=('java-environment=8' 'apache-ant' 'apache-ant-contrib' 'apache-ivy' 'beanshell' 'docbook-xsl-saxon'
- 'gendesk' 'java-hamcrest' 'jsr305' 'junit' 'xerces2-java')
-optdepends=('noto-fonts: usable font')
-options=('!emptydirs')
-source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/jedit${pkgver}source.tar.bz2"
- 'jedit.sh' 'jeditbg.sh' 'jedit.props' 'jedit-fix_build.patch')
-sha256sums=('b42dec6c81936b8974308f03c8f356487586cec782d79659b8ae67953c8edf71'
- '91d9b4b0c4855c9624ceea8c6b40c90b53fb15a020b6d954f4bb6b4b934e0348'
- '5cf267b6ee1f908ee7e9a830dc98f03a3a4a53db2822fce6a2cb5ed02d444c69'
- 'dc5fe0050321d4f34bce556895fbc39cc6f7df194e14eb4f6ea53166a4d82347'
- '1d747fb3d4b0d4af3d3e752d92858067e02e8160d4d22cf820bd9f45c0fff90b')
-
-prepare() {
- gendesk -f -n \
- --pkgname "$pkgname" \
- --pkgdesc "$pkgdesc" \
- --exec 'jeditbg %U' \
- --name jEdit \
- --genericname Editor
-
- cd jEdit
- mkdir -p lib/{ant-contrib,compile,docbook,ivy,default-plugins,scripting,test}
- ln -sf /usr/share/java/ant-contrib.jar lib/ant-contrib/ant-contrib.jar
- ln -sf /usr/share/java/apache-ivy/ivy.jar lib/ivy/ivy.jar
- ln -sf /usr/share/java/bsh.jar lib/ant-contrib/bsh.jar
- ln -sf /usr/share/java/docbook-xsl-saxon.jar lib/docbook/docbook-xsl-saxon.jar
- ln -sf /usr/share/java/saxon.jar lib/docbook/saxon.jar
- ln -sf /usr/share/java/xercesImpl.jar lib/docbook/xercesImpl.jar
- ln -sf /usr/share/java/hamcrest-core.jar lib/test/hamcrest-core.jar
- ln -sf /usr/share/java/hamcrest-library.jar lib/test/hamcrest-library.jar
- ln -sf /usr/share/java/jsr305.jar lib/compile/jsr305.jar
- ln -sf /usr/share/java/junit.jar lib/test/junit.jar
- patch -Np1 -i "${srcdir}/jedit-fix_build.patch"
-}
-
-build() {
- cd jEdit
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
- ant build docs-html \
- -Divy.done=true
-}
-
-package() {
- cd jEdit
-
- # Install documentation
- install -d "$pkgdir/usr/share/java/$pkgname"
- cp -r build/doc "$pkgdir/usr/share/java/$pkgname"
-
- # Install jars
- install -D -m644 build/$pkgname.jar "$pkgdir/usr/share/java/$pkgname/$pkgname.jar"
-
- # Install keymaps
- cp -r build/keymaps "${pkgdir}/usr/share/java/${pkgname}"
-
- # Install macros
- cp -r build/macros "${pkgdir}/usr/share/java/${pkgname}"
-
- # Install modes
- cp -r build/modes "${pkgdir}/usr/share/java/${pkgname}"
-
- # Install properties
- cp -r build/properties "${pkgdir}/usr/share/java/${pkgname}"
-
- # Install startup
- cp -r build/startup "${pkgdir}/usr/share/java/${pkgname}"
-
- # Man pages
- install -Dm644 package-files/linux/$pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
-
- install -d "$pkgdir/usr/bin"
- install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
- install -Dm755 "$srcdir/${pkgname}bg.sh" "$pkgdir/usr/bin/${pkgname}bg"
- install -Dm644 "$srcdir/$pkgname.props" "$pkgdir/usr/share/$pkgname/default.props"
- install -Dm644 doc/$pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
- install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
-}
diff --git a/libre/jedit/jedit-fix_build.patch b/libre/jedit/jedit-fix_build.patch
deleted file mode 100644
index 15d2da728..000000000
--- a/libre/jedit/jedit-fix_build.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- jEdit.orig/build.xml 2015-10-20 12:56:08.000000000 -0500
-+++ jEdit/build.xml 2016-07-02 10:14:37.488512109 -0500
-@@ -119,7 +119,7 @@
-
- <target name="retrieve"
- description="retrieve the dependencies"
-- depends="init,init-ivy"
-+ depends="init"
- unless="ivy.done">
- <ivy:retrieve sync="true"/>
- <ivy:retrieve pattern="${lib.dir}/ivy/[artifact]-[revision].[ext]"
-@@ -629,8 +629,6 @@
-
- <target name="unpack-docbook-xsl"
- depends="init,retrieve">
-- <unzip src="${lib.dir}/docbook/docbook-xsl-resources.zip"
-- dest="${build.dir}/docbook-xsl/"/>
- </target>
-
- <presetdef name="dependset.build">
-@@ -660,9 +657,9 @@
- <factory name="com.icl.saxon.TransformerFactoryImpl"/>
- <xmlcatalog>
- <entity publicid="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
-- location="${build.dir}/docbook-xsl/docbook/html/chunk.xsl"/>
-+ location="/usr/share/xml/docbook/xsl-stylesheets-1.79.2/html/chunk.xsl"/>
- <entity publicid="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
-- location="${build.dir}/docbook-xsl/docbook/fo/docbook.xsl"/>
-+ location="/usr/share/xml/docbook/xsl-stylesheets-1.79.2/fo/docbook.xsl"/>
- </xmlcatalog>
- <sysproperty key="javax.xml.parsers.DocumentBuilderFactory"
- value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
diff --git a/libre/jedit/jedit.props b/libre/jedit/jedit.props
deleted file mode 100644
index a712b9686..000000000
--- a/libre/jedit/jedit.props
+++ /dev/null
@@ -1,63 +0,0 @@
-# --- 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
diff --git a/libre/jedit/jedit.sh b/libre/jedit/jedit.sh
deleted file mode 100644
index df16cfa6a..000000000
--- a/libre/jedit/jedit.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# Runs 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.prop"s "$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" "$@"
diff --git a/libre/jedit/jeditbg.sh b/libre/jedit/jeditbg.sh
deleted file mode 100644
index f4d08ed27..000000000
--- a/libre/jedit/jeditbg.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-# Runs jEdit in background-mode, ready to reuse the running instance
-jedit -background -reuseview "$@"