[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freewrt-commits
Subject:    [FreeWRT-commits] r3889 - branches/freewrt_1_0/package/joe
From:       tg () freewrt ! org
Date:       2009-10-18 18:54:14
Message-ID: 20091018185414.CBFB91C007 () frozenfish ! freewrt ! org
[Download RAW message or body]

Author: tg
Date: 2009-10-18 20:54:09 +0200 (Sun, 18 Oct 2009)
New Revision: 3889

Modified:
   branches/freewrt_1_0/package/joe/Config.in
   branches/freewrt_1_0/package/joe/Makefile
   trunk/freewrt/package/joe/Config.in
   trunk/freewrt/package/joe/Makefile
Log:
new jupp (with an option to shrink it down, although no selection
WHICH of the five (rjoe is skipped already) offered editors we only
need still…)


Modified: branches/freewrt_1_0/package/joe/Config.in
===================================================================
--- branches/freewrt_1_0/package/joe/Config.in	2009-10-17 22:38:49 UTC (rev 3888)
+++ branches/freewrt_1_0/package/joe/Config.in	2009-10-18 18:54:09 UTC (rev 3889)
@@ -8,7 +8,16 @@
 	  well-known editors, such as WordStar(tm)-compaible (jstar, jupp),
 	  pico/nano (jpico), emacs (jmacs).
 	  This is the joe-3.1 based, more current, version with UTF-8 support
-	  and other improvements. It is rather large, though.
+	  and other improvements.
 
 	  http://mirbsd.de/jupp
 	  http://joe-editor.sf.net/
+
+config FWRT_PACKAGE_JOE_FULL
+	bool "  Include all features"
+	depends FWRT_PACKAGE_JOE
+	default y
+	help
+	  Enable the klingon charmap, syntax highlighting help files, etc.
+	  This may easily cost 40 KiB compressed, because it also strips
+	  comments from the *rc files.

Modified: branches/freewrt_1_0/package/joe/Makefile
===================================================================
--- branches/freewrt_1_0/package/joe/Makefile	2009-10-17 22:38:49 UTC (rev 3888)
+++ branches/freewrt_1_0/package/joe/Makefile	2009-10-18 18:54:09 UTC (rev 3889)
@@ -7,9 +7,9 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME=		joe
-PKG_VERSION=		3.1jupp11
+PKG_VERSION=		3.1jupp12
 PKG_RELEASE=		1
-PKG_MD5SUM=		1e2f21a6fdebe678b125e96806267f33
+PKG_MD5SUM=		4f11eb7ded5b43e4055e7c69000ac169
 
 PKG_SOURCE_URL=		http://www.mirbsd.org/MirOS/dist/jupp/ \
 			http://pub.allbsd.org/MirOS/dist/jupp/
@@ -55,11 +55,22 @@
 	install -d -m 0755 $(IDIR_JOE)/usr/{bin,share/joe/{charmaps,syntax}}
 	$(CP) $(WRKINST)/usr/bin/joe $(IDIR_JOE)/usr/bin/
 	$(CP) $(WRKINST)/usr/share/joe/j*rc $(IDIR_JOE)/usr/share/joe/
+ifneq ($(strip ${FWRT_PACKAGE_JOE_FULL}),)
 	${CP} ${WRKINST}/usr/share/joe/charmaps/* \
 	    ${IDIR_JOE}/usr/share/joe/charmaps/
 	${CP} ${WRKINST}/usr/share/joe/syntax/* \
 	    ${IDIR_JOE}/usr/share/joe/syntax/
+endif
 	(cd $(IDIR_JOE)/usr/bin; for a in jmacs jpico jstar jupp; do \
 		ln -sf joe $$a; done)
+ifeq ($(strip ${FWRT_PACKAGE_JOE_FULL}),)
+	# can remove jupprc since it's built-in since joe-3.1jupp12 in
+	# a size-reduced version (e.g. no syntax highlighting)
+	cd ${IDIR_JOE}/usr/share/joe && rm -rf charmaps syntax jupprc
+	# strip comments from rc files
+	for a in ${IDIR_JOE}/usr/share/joe/*rc; do \
+		printf ',g/^[	 ]/d\n,g/^$$/d\nw\nq\n' | ed -s $$a; \
+	done
+endif
 	$(RSTRIP) $(IDIR_JOE)
 	$(IPKG_BUILD) $(IDIR_JOE) $(PACKAGE_DIR)

Modified: trunk/freewrt/package/joe/Config.in
===================================================================
--- trunk/freewrt/package/joe/Config.in	2009-10-17 22:38:49 UTC (rev 3888)
+++ trunk/freewrt/package/joe/Config.in	2009-10-18 18:54:09 UTC (rev 3889)
@@ -8,7 +8,16 @@
 	  well-known editors, such as WordStar(tm)-compaible (jstar, jupp),
 	  pico/nano (jpico), emacs (jmacs).
 	  This is the joe-3.1 based, more current, version with UTF-8 support
-	  and other improvements. It is rather large, though.
+	  and other improvements.
 
 	  http://mirbsd.de/jupp
 	  http://joe-editor.sf.net/
+
+config FWRT_PACKAGE_JOE_FULL
+	bool "  Include all features"
+	depends FWRT_PACKAGE_JOE
+	default y
+	help
+	  Enable the klingon charmap, syntax highlighting help files, etc.
+	  This may easily cost 40 KiB compressed, because it also strips
+	  comments from the *rc files.

Modified: trunk/freewrt/package/joe/Makefile
===================================================================
--- trunk/freewrt/package/joe/Makefile	2009-10-17 22:38:49 UTC (rev 3888)
+++ trunk/freewrt/package/joe/Makefile	2009-10-18 18:54:09 UTC (rev 3889)
@@ -7,9 +7,9 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME=		joe
-PKG_VERSION=		3.1jupp11
+PKG_VERSION=		3.1jupp12
 PKG_RELEASE=		1
-PKG_MD5SUM=		1e2f21a6fdebe678b125e96806267f33
+PKG_MD5SUM=		4f11eb7ded5b43e4055e7c69000ac169
 
 MASTER_SITES=		http://www.mirbsd.org/MirOS/dist/jupp/ \
 			http://pub.allbsd.org/MirOS/dist/jupp/
@@ -35,5 +35,14 @@
 	cd ${IDIR_JOE}/usr/bin; for a in jmacs jpico jstar jupp; do \
 		ln -sf joe $$a; \
 	done
+ifeq ($(strip ${FWRT_PACKAGE_JOE_FULL}),)
+	# can remove jupprc since it's built-in since joe-3.1jupp12 in
+	# a size-reduced version (e.g. no syntax highlighting)
+	cd ${IDIR_JOE}/usr/share/joe && rm -rf charmaps syntax jupprc
+	# strip comments from rc files
+	for a in ${IDIR_JOE}/usr/share/joe/*rc; do \
+		printf ',g/^[	 ]/d\n,g/^$$/d\nw\nq\n' | ed -s $$a; \
+	done
+endif
 
 include ${TOPDIR}/mk/pkg-bottom.mk

_______________________________________________
freewrt-commits mailing list
freewrt-commits@freewrt.org
https://www.freewrt.org/lists/listinfo/freewrt-commits

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic