diff options
author | Ulrich Müller <ulm@gentoo.org> | 2010-02-02 17:55:13 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2010-02-02 17:55:13 +0000 |
commit | 47e0cf4d8df4ec039f1521433f7af9b6841b5c04 (patch) | |
tree | 9ceca792908bb1e145ee9ed3e7e06e44ca686669 /app-emacs/jde | |
parent | Unneeded code black for old apbs support removed, thanks alexxy for reporting... (diff) | |
download | historical-47e0cf4d8df4ec039f1521433f7af9b6841b5c04.tar.gz historical-47e0cf4d8df4ec039f1521433f7af9b6841b5c04.tar.bz2 historical-47e0cf4d8df4ec039f1521433f7af9b6841b5c04.zip |
Version bump. Add prefix keywords, change EAPI to 3.
Package-Manager: portage-2.2_rc62/cvs/Linux i686
Diffstat (limited to 'app-emacs/jde')
-rw-r--r-- | app-emacs/jde/ChangeLog | 13 | ||||
-rw-r--r-- | app-emacs/jde/Manifest | 22 | ||||
-rw-r--r-- | app-emacs/jde/files/70jde-gentoo-2.3.5.1.el | 2 | ||||
-rw-r--r-- | app-emacs/jde/files/70jde-gentoo-2.3.6_pre20081208.el | 12 | ||||
-rw-r--r-- | app-emacs/jde/files/70jde-gentoo.el | 12 | ||||
-rw-r--r-- | app-emacs/jde/files/jde-2.4.0.1-classpath-gentoo.patch | 69 | ||||
-rw-r--r-- | app-emacs/jde/files/jde-2.4.0.1-fix-paths-gentoo.patch | 218 | ||||
-rw-r--r-- | app-emacs/jde/jde-2.3.5.1-r2.ebuild | 6 | ||||
-rw-r--r-- | app-emacs/jde/jde-2.3.6_pre20081208.ebuild | 9 | ||||
-rw-r--r-- | app-emacs/jde/jde-2.4.0.1.ebuild | 70 |
10 files changed, 398 insertions, 35 deletions
diff --git a/app-emacs/jde/ChangeLog b/app-emacs/jde/ChangeLog index c0338d06343c..49b885482790 100644 --- a/app-emacs/jde/ChangeLog +++ b/app-emacs/jde/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-emacs/jde -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/ChangeLog,v 1.36 2009/04/06 21:00:11 ulm Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/ChangeLog,v 1.37 2010/02/02 17:55:13 ulm Exp $ + +*jde-2.4.0.1 (02 Feb 2010) + + 02 Feb 2010; Ulrich Mueller <ulm@gentoo.org> jde-2.3.5.1-r2.ebuild, + +files/70jde-gentoo-2.3.5.1.el, files/70jde-gentoo.el, + jde-2.3.6_pre20081208.ebuild, -files/70jde-gentoo-2.3.6_pre20081208.el, + +jde-2.4.0.1.ebuild, +files/jde-2.4.0.1-classpath-gentoo.patch, + +files/jde-2.4.0.1-fix-paths-gentoo.patch: + Version bump. Add prefix keywords, change EAPI to 3. 06 Apr 2009; Ulrich Mueller <ulm@gentoo.org> -jde-2.3.5.1.ebuild: Remove old. diff --git a/app-emacs/jde/Manifest b/app-emacs/jde/Manifest index 91e92483f11c..591f4cb25024 100644 --- a/app-emacs/jde/Manifest +++ b/app-emacs/jde/Manifest @@ -1,22 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX 70jde-gentoo-2.3.6_pre20081208.el 406 RMD160 e418645c03e7bc6e679713285d3c1a3464da3f7e SHA1 9c51bc3e07dc7c841b3b923b05abb57ba0eadb1d SHA256 0db22c5282e07cd55395dab2c1175d5b8d4c69f0bebec65a0bce2b4e57fc3134 -AUX 70jde-gentoo.el 101 RMD160 927bbbf452562db0fdfb21540e39d1c128d53637 SHA1 cec193709142f6bf3a6843c8a350e03689f2e200 SHA256 3aa98e237f164406ac0d1ad94afb09473008d8d2b264bf0cd9069a641c081df8 +AUX 70jde-gentoo-2.3.5.1.el 67 RMD160 a38b81029a269d12878f1de0d440c77473cc0d64 SHA1 984f8a79e9ec6ed94886e0cf09076f6c6a253c49 SHA256 d064070687999fddee94b820dc237cf9e67a428dc7f84648a9f68439e64cc326 +AUX 70jde-gentoo.el 372 RMD160 0ad1c8b7714cfcc410e7368371ad76d656bfdf82 SHA1 9f5d888101103e94e8e9a185563ebbb4b88ceb02 SHA256 f6bc7459e45d35fefb45e5cb6ade99950a67d6ebe0bb7e63e445244686daf147 AUX jde-2.3.5.1-fix-efc.patch 1242 RMD160 b162982441b98945c0bc8e76e10dc773960b5e01 SHA1 fbaf50a9b646d66f92896d922d4a9655b267b6a8 SHA256 a401b051cc143c79fb38b5175bd5fb69c934d90f6b7468bd2a190e713d6cb1d9 AUX jde-2.3.5.1-import.patch 1537 RMD160 4f002ccb420e8ef150911eda2a309356d351efcc SHA1 b7c170d3866f663d3e517df847630dd28393e785 SHA256 f607a9f89876adf73944d73c892be36e1817419b541f71bf901f1d4255b08823 AUX jde-2.3.6_pre20081208-classpath-gentoo.patch 2557 RMD160 33aec9105ce71fe8c1a6c6aea4c1925ff034a252 SHA1 4067e02b252c581be269d9aeee9910e9cb054497 SHA256 fb1df43a13f5a429d18eba28ddf33dcc3157c06044c6460644a47053811cfdb2 AUX jde-2.3.6_pre20081208-fix-paths-gentoo.patch 7584 RMD160 e96e80afc6fd35d10cbf74730044e8fbb2d00866 SHA1 bf82d7c7f06de09a80ca8e6f380910917ccdf5c0 SHA256 9881d62bc7be619b9fed691e3563a9d818cc905ff017cf123019804890a36792 +AUX jde-2.4.0.1-classpath-gentoo.patch 2291 RMD160 25094cf5a30a56c7fa1f46a6aa8151c505aab8a7 SHA1 82375042e10ac7180140e6e689df018961930faf SHA256 2b771ddecbed5ada026a1621ba92bcad29b0155549fa6a1a0495348c0c252504 +AUX jde-2.4.0.1-fix-paths-gentoo.patch 7175 RMD160 41cbfe19933706dd2cc852cc837f373162ee34c1 SHA1 ac50eb87cf1c9abdde849d9dc6bea17c8f6cbaf9 SHA256 aad7376741dfca76781d2e0d4e93a05f6e1b50fad60d2eb826da6550d7d192f0 DIST jde-2.3.5.1.tar.gz 3717565 RMD160 e505dcb11b4177857bafeb48236f9cf850172917 SHA1 4fe73ee61ca0bc6a76fef808313b3e4610c09143 SHA256 8e1643444637853ed8fb7969055c1518f318166a7d1b4222f682e212868c19bf DIST jde-2.3.6_pre20081208.tar.bz2 3688041 RMD160 0b729315ff13e352e95babb6b92e0bb92a539179 SHA1 b663143adc8c26b001cc46d757507889a4115c24 SHA256 4e339a798ef3e91c01bdc70c3e54cf59b2203628b10e2e1a5c67ddbe9205914d -EBUILD jde-2.3.5.1-r2.ebuild 1353 RMD160 1afa489415b5556a2201a3c3597ce27a7f82814f SHA1 5ab70be8fa22b5bfdf5d6b5c1d5dbdfd322c7bfc SHA256 ce1ac033d5c3f1b8dee24805493e6b867f79ab1968cfe92c223f0ee597816e5f -EBUILD jde-2.3.6_pre20081208.ebuild 1871 RMD160 a6f39b46494bae090e7239cdd5fb0bbb039393ee SHA1 21406db13ecb26269d3cd14160a8dcf78e1b9efa SHA256 f3729891ec5996f159ca09a2ed66312dd2d0ea4fed3f56f08dfb5787253d65ee -MISC ChangeLog 5914 RMD160 a4dbf4b6ae8f853d0ad5085b49a0de7c9b77cf5b SHA1 81e18b8423c9add4cd9817f5bf8f3f25e4ec28b4 SHA256 1a24660ee06b994f8c7946ecb36a82f71adc7d98fbcc2b2361814240154ad0db +DIST jde-2.4.0.1.tar.bz2 3719643 RMD160 1054ee460ecb967c60b27aa880455d8ff2b25c6f SHA1 07ebaf7882d8f49073865083efe17a04d8bd03bb SHA256 1481962464e18a11e6dc52a175200d726b0731cca5e09367f510266a424f822a +EBUILD jde-2.3.5.1-r2.ebuild 1356 RMD160 0eef73005f7ac8a91ab691abd620053418c11f6e SHA1 88bbcf90f4549f76b09dfaad0c0b74606775fe7a SHA256 732ddb35ab40a42d5bb08ea5076ade1a017fbfc12dc05deedb821ded15d40ec5 +EBUILD jde-2.3.6_pre20081208.ebuild 1852 RMD160 4c1a98585f53fa65388ca0bda24069bb17441d97 SHA1 0dae0eb11e40eff7d879568ef4bb04589b7553f8 SHA256 4d62776916680034c42616d10238cd68bb47948c187c50315c8d794c79c6b69c +EBUILD jde-2.4.0.1.ebuild 1888 RMD160 6b0bbc41db4de8bb54dba70088b110aba9183c51 SHA1 3949c34e95c8b4e32533735e9b8aee41719a50e8 SHA256 cf32cc998f27da33e95a39e7643c5338b3d5c56ae2792a7f978b1cd879585e1f +MISC ChangeLog 6310 RMD160 960ffea0bf4522363df6e46530250a68bf67c78d SHA1 54d43556abf7a002ba986f0cf94c2ce64a7c807b SHA256 ddb730c13bb10acb3effc11af0217365a1082f212d094c0148cad2eca1583707 MISC metadata.xml 737 RMD160 1ffe7fbd32a23f6167b4d233b5917c8daca2ec7a SHA1 7577584fcc9f9af7eb5a4c2ae205181862ae9fe9 SHA256 0be32d412b86728bc6f77b96859d0f0f786f9bdbe82dc7f719efb1233dbd82ce -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.9 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAknabbUACgkQOeoy/oIi7uwdogCaAiCu1EWZ/dNzARRp4nFD2+1V -TdcAn3Us3tClDC9eGdBZMO5XuUtpOmAL -=jNun +iEYEARECAAYFAktoZxkACgkQOeoy/oIi7uyHnwCg66K3rzPnmx1mVdBaCoq13cRw +77YAnAogmSCgyPpJ1f920GJZtxrZCoC+ +=c7EJ -----END PGP SIGNATURE----- diff --git a/app-emacs/jde/files/70jde-gentoo-2.3.5.1.el b/app-emacs/jde/files/70jde-gentoo-2.3.5.1.el new file mode 100644 index 000000000000..e327ecf14d95 --- /dev/null +++ b/app-emacs/jde/files/70jde-gentoo-2.3.5.1.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@/lisp") +(require 'jde-autoload) diff --git a/app-emacs/jde/files/70jde-gentoo-2.3.6_pre20081208.el b/app-emacs/jde/files/70jde-gentoo-2.3.6_pre20081208.el deleted file mode 100644 index b18e3c5c6911..000000000000 --- a/app-emacs/jde/files/70jde-gentoo-2.3.6_pre20081208.el +++ /dev/null @@ -1,12 +0,0 @@ - -;;; jde site-lisp configuration - -(add-to-list 'load-path "@SITELISP@") -(require 'jde-autoload) - -(setq jde-java-directory "/usr/share/jde") -(setq jde-bsh-jar-file "@BSH_JAR@") -(setq jde-checkstyle-jar-file "@CHECKSTYLE_JAR@") -(setq jde-checkstyle-style "/usr/share/checkstyle/checks/sun_checks.xml") -(setq jde-html-directory "/usr/share/doc/@PF@/html") -(setq bsh-html-directory "/usr/share/doc/@PF@/html") diff --git a/app-emacs/jde/files/70jde-gentoo.el b/app-emacs/jde/files/70jde-gentoo.el index 35cd6d2e6823..bff1c9d5b858 100644 --- a/app-emacs/jde/files/70jde-gentoo.el +++ b/app-emacs/jde/files/70jde-gentoo.el @@ -1,5 +1,9 @@ - -;;; jde site-lisp configuration - -(add-to-list 'load-path "@SITELISP@/lisp") +(add-to-list 'load-path "@SITELISP@") (require 'jde-autoload) + +(setq jde-java-directory "/usr/share/jde") +(setq jde-bsh-jar-file "@BSH_JAR@") +(setq jde-checkstyle-jar-file "@CHECKSTYLE_JAR@") +(setq jde-checkstyle-style "/usr/share/checkstyle/checks/sun_checks.xml") +(setq jde-html-directory "/usr/share/doc/@PF@/html") +(setq bsh-html-directory "/usr/share/doc/@PF@/html") diff --git a/app-emacs/jde/files/jde-2.4.0.1-classpath-gentoo.patch b/app-emacs/jde/files/jde-2.4.0.1-classpath-gentoo.patch new file mode 100644 index 000000000000..47fdd4e11e47 --- /dev/null +++ b/app-emacs/jde/files/jde-2.4.0.1-classpath-gentoo.patch @@ -0,0 +1,69 @@ +Initialise classpath for beanshell and checkstyle using java-config. +Gentoo specific patch. + +--- jde-orig/lisp/beanshell.el ++++ jde/lisp/beanshell.el +@@ -809,6 +809,14 @@ + "BeanShell intended to be used independently of any other + Emacs package.") + ++(defun bsh-get-gentoo-classpath () ++ (or bsh-classpath ++ (with-temp-buffer ++ (call-process "java-config" nil t nil "-d" "-p" "bsh") ++ (skip-chars-backward "\n") ++ (setq bsh-classpath ++ (split-string (buffer-substring (point-min) (point)) ":+"))))) ++ + (defmethod initialize-instance ((this bsh-standalone-bsh) &rest fields) + "Constructor for the standard bsh BeanShell instance." + (call-next-method) +@@ -845,7 +853,7 @@ + bsh-vm) + (executable-find (if (eq system-type 'windows-nt) "javaw" "java")))) + +- (oset this cp bsh-classpath) ++ (oset this cp (bsh-get-gentoo-classpath)) + + (oset this startup-dir bsh-startup-directory)) + +--- jde-orig/lisp/jde-bsh.el ++++ jde/lisp/jde-bsh.el +@@ -187,7 +187,7 @@ + (jde-get-tools-jar) + (if ant-home (expand-file-name "lib" ant-home))) + (jde-pi-get-bsh-classpath) +- bsh-classpath ++ (bsh-get-gentoo-classpath) + (jde-expand-classpath (jde-get-global-classpath))))))) + + ;; Create the BeanShell wrapper object. +--- jde-orig/lisp/jde-checkstyle.el ++++ jde/lisp/jde-checkstyle.el +@@ -305,6 +305,14 @@ + (format "-D%s=%s" (car prop) (cdr prop))) + jde-checkstyle-expanded-properties)) + ++(defun jde-checkstyle-get-gentoo-classpath () ++ (or jde-checkstyle-classpath ++ (with-temp-buffer ++ (call-process "java-config" nil t nil "-d" "-p" "checkstyle") ++ (skip-chars-backward "\n") ++ (setq jde-checkstyle-classpath ++ (split-string (buffer-substring (point-min) (point)) ":+"))))) ++ + (defmethod jde-checkstyle-exec ((this jde-checkstyle-checker)) + + (jde-checkstyle-create-checker-buffer this) +@@ -327,9 +335,8 @@ + (jde-checkstyle-get-property-args this)) + (oref this :interactive-args) + (list "-classpath" +- (if jde-checkstyle-classpath +- (jde-build-classpath jde-checkstyle-classpath) +- (jde-normalize-path jde-checkstyle-jar-file))) ++ (jde-build-classpath ++ (jde-checkstyle-get-gentoo-classpath))) + (list jde-checkstyle-class) + (list "-c" + (if jde-checkstyle-style diff --git a/app-emacs/jde/files/jde-2.4.0.1-fix-paths-gentoo.patch b/app-emacs/jde/files/jde-2.4.0.1-fix-paths-gentoo.patch new file mode 100644 index 000000000000..a129b588587c --- /dev/null +++ b/app-emacs/jde/files/jde-2.4.0.1-fix-paths-gentoo.patch @@ -0,0 +1,218 @@ +Make paths of directories and jar files configurable. + +Part of this patch was taken from Debian and heavily modified, see: +http://patch-tracking.debian.net/patch/series/view/jde/2.3.5.1-5/0005-Set-the-location-of-needed-files-for-beanshell.el-an.patch + +--- jde-orig/lisp/beanshell.el ++++ jde/lisp/beanshell.el +@@ -891,14 +891,21 @@ + + (add-to-list 'auto-mode-alist '("\\.bsh\\'" . bsh-script-mode)) + ++(defcustom bsh-html-directory ++ (let ((jde-dir (jde-find-jde-doc-directory))) ++ (if jde-dir ++ (expand-file-name "doc/html/bsh-ug" jde-dir))) ++ "Directory of the beanshell HTML documentation." ++ :group 'bsh ++ :type 'directory) ++ + ;;;###autoload + (defun bsh-script-help () + "Display BeanShell User's Guide." + (interactive) +- (let* ((jde-dir (jde-find-jde-doc-directory)) +- (bsh-help +- (if jde-dir +- (expand-file-name "doc/html/bsh-ug/bsh-ug.html" jde-dir)))) ++ (let ((bsh-help ++ (if bsh-html-directory ++ (expand-file-name "bsh-ug.html" bsh-html-directory)))) + (if (and + bsh-help + (file-exists-p bsh-help)) +--- jde-orig/lisp/jde-bsh.el ++++ jde/lisp/jde-bsh.el +@@ -91,22 +91,59 @@ + "The single instance of the JDEE's BeanShell.")) + "Class of JDEE BeanShells. There is only one per Emacs session.") + ++(defcustom jde-java-directory ++ (expand-file-name "java" (jde-find-jde-data-directory)) ++ "Top-level directory of JDE Java files." ++ :group 'jde-project ++ :type 'directory) ++ ++(defcustom jde-bsh-commands-directory ++ (expand-file-name "bsh-commands" jde-java-directory) ++ "Directory of beanshell commands." ++ :group 'bsh ++ :type 'directory) ++ ++(defcustom jde-classes-directory ++ (expand-file-name "classes" jde-java-directory) ++ "Directory of JDE classes." ++ :group 'jde-project ++ :type 'directory) ++ ++(defcustom jde-checkstyle-jar-file ++ (expand-file-name "lib/checkstyle-all.jar" jde-java-directory) ++ "Path of the checkstyle-jar file." ++ :group 'jde-project ++ :type 'file) ++ ++(defcustom jde-regexp-jar-file ++ (expand-file-name "lib/jakarta-regexp.jar" jde-java-directory) ++ "Path of the regexp-jar file." ++ :group 'jde-project ++ :type 'file) ++ ++(defcustom jde-jde-jar-file ++ (expand-file-name "lib/jde.jar" jde-java-directory) ++ "Path of the jde-jar file." ++ :group 'jde-project ++ :type 'file) ++ ++(defcustom jde-bsh-jar-file ++ (expand-file-name "lib/bsh.jar" jde-java-directory) ++ "Path of the bsh-jar file." ++ :group 'jde-project ++ :type 'file) ++ + (defmethod initialize-instance ((this jde-bsh) &rest fields) + "Constructor for the JDEE BeanShell instance." + (call-next-method) +- (let* ((jde-java-directory +- (concat +- (jde-find-jde-data-directory) +- "java/"))) +- +- (oset this bsh-cmd-dir (expand-file-name "bsh-commands" jde-java-directory)) +- (oset this checkstyle-jar (expand-file-name "lib/checkstyle-all.jar" jde-java-directory)) +- (oset this regexp-jar (expand-file-name "lib/jakarta-regexp.jar" jde-java-directory)) +- (oset this jde-classes-dir (expand-file-name "classes" jde-java-directory)) +- (oset this jde-jar (expand-file-name "lib/jde.jar" jde-java-directory)) +- (oset this jar (expand-file-name "lib/bsh.jar" jde-java-directory)) +- (oset this separate-error-buffer jde-bsh-separate-buffer) +- (oset-default 'jde-bsh the-bsh this))) ++ (oset this bsh-cmd-dir jde-bsh-commands-directory) ++ (oset this checkstyle-jar jde-checkstyle-jar-file) ++ (oset this regexp-jar jde-regexp-jar-file) ++ (oset this jde-classes-dir jde-classes-directory) ++ (oset this jde-jar jde-jde-jar-file) ++ (oset this jar jde-bsh-jar-file) ++ (oset this separate-error-buffer jde-bsh-separate-buffer) ++ (oset-default 'jde-bsh the-bsh this)) + + (defmethod bsh-create-buffer ((this jde-bsh)) + "Creates the JDEE's beanshell buffer." +@@ -150,6 +187,7 @@ + (jde-get-tools-jar) + (if ant-home (expand-file-name "lib" ant-home))) + (jde-pi-get-bsh-classpath) ++ bsh-classpath + (jde-expand-classpath (jde-get-global-classpath))))))) + + ;; Create the BeanShell wrapper object. +--- jde-orig/lisp/jde-bug.el ++++ jde/lisp/jde-bug.el +@@ -2438,10 +2438,10 @@ + (defun jde-bug-help () + "Displays the JDEbug User's Guide." + (interactive) +- (let* ((jde-dir (jde-find-jde-doc-directory)) +- (jdebug-help +- (if jde-dir +- (expand-file-name "doc/html/jdebug-ug/jdebug-ug.html" jde-dir)))) ++ (let ((jdebug-help ++ (if jde-html-directory ++ (expand-file-name "jdebug-ug/jdebug-ug.html" ++ jde-html-directory)))) + (if (and + jdebug-help + (file-exists-p jdebug-help)) +--- jde-orig/lisp/jde-checkstyle.el ++++ jde/lisp/jde-checkstyle.el +@@ -322,10 +322,6 @@ + (vm-path (oref (jde-run-get-vm) :path)) + (source-file + (concat (file-name-nondirectory buffer-file-name))) +- (jde-java-directory +- (concat +- (jde-find-jde-data-directory) +- "java/")) + (args (append + (unless jde-checkstyle-expanded-properties-file + (jde-checkstyle-get-property-args this)) +@@ -333,13 +329,13 @@ + (list "-classpath" + (if jde-checkstyle-classpath + (jde-build-classpath jde-checkstyle-classpath) +- (jde-normalize-path +- (expand-file-name "lib/checkstyle-all.jar" jde-java-directory)))) ++ (jde-normalize-path jde-checkstyle-jar-file))) + (list jde-checkstyle-class) + (list "-c" + (if jde-checkstyle-style + (jde-normalize-path jde-checkstyle-style) +- (concat (jde-find-jde-data-directory) "java/lib/sun_checks.xml"))) ++ (expand-file-name "lib/sun_checks.xml" ++ jde-java-directory))) + (if jde-checkstyle-expanded-properties-file + (list "-p" (jde-normalize-path jde-checkstyle-expanded-properties-file))) + (if jde-checkstyle-module-package-names-file +--- jde-orig/lisp/jde-dbs.el ++++ jde/lisp/jde-dbs.el +@@ -907,9 +907,6 @@ + (jde-normalize-path 'jde-run-working-directory) + source-directory)) + (vm (oref (jde-run-get-vm) :path)) +- (jde-java-directory +- (expand-file-name "java" +- (jde-find-jde-data-directory))) + (vm-args + (let (args) + (setq args +--- jde-orig/lisp/jde.el ++++ jde/lisp/jde.el +@@ -1722,14 +1722,19 @@ + jde.el." + (jde-find-jde-data-directory)) + ++(defcustom jde-html-directory ++ (expand-file-name "doc/html" (jde-find-jde-doc-directory)) ++ "Directory of the JDE HTML documentation." ++ :group 'jde-project ++ :type 'directory) ++ + ;;;###autoload + (defun jde-show-help () + "Displays the JDE User's Guide in a browser." + (interactive) +- (let* ((jde-dir (jde-find-jde-doc-directory)) +- (jde-help +- (if jde-dir +- (expand-file-name "doc/html/jde-ug/jde-ug.html" jde-dir)))) ++ (let ((jde-help ++ (if jde-html-directory ++ (expand-file-name "jde-ug/jde-ug.html" jde-html-directory)))) + (if (and + jde-help + (file-exists-p jde-help)) +--- jde-orig/lisp/jde-jdb.el ++++ jde/lisp/jde-jdb.el +@@ -1459,10 +1459,10 @@ + + (defun jde-jdb-help () + (interactive) +- (let* ((jde-dir (jde-find-jde-doc-directory)) +- (jdb-ug-path +- (if jde-dir +- (expand-file-name "doc/html/jdb-ug/jdb-ug-frame.html" jde-dir)))) ++ (let ((jdb-ug-path ++ (if jde-html-directory ++ (expand-file-name "jdb-ug/jdb-ug-frame.html" ++ jde-html-directory)))) + (if (and + jdb-ug-path + (file-exists-p jdb-ug-path)) diff --git a/app-emacs/jde/jde-2.3.5.1-r2.ebuild b/app-emacs/jde/jde-2.3.5.1-r2.ebuild index f3d8e64d4aba..9280c041db4d 100644 --- a/app-emacs/jde/jde-2.3.5.1-r2.ebuild +++ b/app-emacs/jde/jde-2.3.5.1-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/jde-2.3.5.1-r2.ebuild,v 1.4 2009/04/06 20:44:59 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/jde-2.3.5.1-r2.ebuild,v 1.5 2010/02/02 17:55:13 ulm Exp $ inherit elisp eutils @@ -18,7 +18,7 @@ DEPEND="app-emacs/elib RDEPEND="${DEPEND} >=virtual/jdk-1.3" -SITEFILE="70${PN}-gentoo.el" +SITEFILE="70${PN}-gentoo-${PV}.el" src_unpack() { unpack ${A} diff --git a/app-emacs/jde/jde-2.3.6_pre20081208.ebuild b/app-emacs/jde/jde-2.3.6_pre20081208.ebuild index 3f983ded13b6..85681a530ce3 100644 --- a/app-emacs/jde/jde-2.3.6_pre20081208.ebuild +++ b/app-emacs/jde/jde-2.3.6_pre20081208.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/jde-2.3.6_pre20081208.ebuild,v 1.1 2009/03/28 18:41:17 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/jde-2.3.6_pre20081208.ebuild,v 1.2 2010/02/02 17:55:13 ulm Exp $ EAPI=2 WANT_ANT_TASKS="ant-nodeps" @@ -36,9 +36,8 @@ src_prepare() { local bshjar csjar bshjar=$(java-pkg_getjar --build-only bsh bsh.jar) || die csjar=$(java-pkg_getjar --build-only checkstyle checkstyle.jar) || die - sed -e "s:@BSH_JAR@:${bshjar}:;s:@CHECKSTYLE_JAR@:${csjar}:" \ - -e "s:@PF@:${PF}:" "${FILESDIR}/${SITEFILE/.el/-${PV}.el}" \ - >"${SITEFILE}" || die + sed -e "s:@BSH_JAR@:${bshjar}:;s:@CHECKSTYLE_JAR@:${csjar}:" \ + -e "s:@PF@:${PF}:" "${FILESDIR}/${SITEFILE}" >"${SITEFILE}" || die cd java/lib || die java-pkg_jar-from --build-only checkstyle checkstyle.jar checkstyle-all.jar diff --git a/app-emacs/jde/jde-2.4.0.1.ebuild b/app-emacs/jde/jde-2.4.0.1.ebuild new file mode 100644 index 000000000000..0f9274eda09a --- /dev/null +++ b/app-emacs/jde/jde-2.4.0.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/jde-2.4.0.1.ebuild,v 1.1 2010/02/02 17:55:13 ulm Exp $ + +EAPI=3 + +WANT_ANT_TASKS="ant-nodeps ant-contrib" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 elisp eutils + +DESCRIPTION="Java Development Environment for Emacs" +HOMEPAGE="http://jdee.sourceforge.net/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +DEPEND=">=virtual/jdk-1.3 + app-emacs/elib + >=app-emacs/cedet-1.0_beta3 + dev-java/bsh + dev-java/junit:0 + dev-util/checkstyle" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" +SITEFILE="70${PN}-gentoo.el" + +src_prepare() { + epatch "${FILESDIR}/${P}-fix-paths-gentoo.patch" + epatch "${FILESDIR}/${P}-classpath-gentoo.patch" + + local bshjar csjar + bshjar=$(java-pkg_getjar --build-only bsh bsh.jar) || die + csjar=$(java-pkg_getjar --build-only checkstyle checkstyle.jar) || die + sed -e "s:@BSH_JAR@:${bshjar}:;s:@CHECKSTYLE_JAR@:${csjar}:" \ + -e "s:@PF@:${PF}:" "${FILESDIR}/${SITEFILE}" >"${SITEFILE}" || die + + cd java/lib || die + java-pkg_jar-from --build-only checkstyle checkstyle.jar checkstyle-all.jar + java-pkg_jar-from junit + java-pkg_jar-from bsh +} + +src_compile() { + eant bindist \ + -Dcedet.dir="${EPREFIX}${SITELISP}/cedet" \ + -Delib.dir="${EPREFIX}${SITELISP}/elib" + + use doc && eant source-doc +} + +src_install() { + java-pkg_dojar dist/jdee-${PV}/java/lib/jde.jar + insinto "${JAVA_PKG_SHAREPATH}" + doins -r java/bsh-commands || die + + use source && java-pkg_dosrc java/src/* + use doc && java-pkg_dojavadoc dist/jdee-${PV}/doc/java/api + + elisp-install ${PN} dist/jdee-${PV}/lisp/*.{el,elc} || die + elisp-site-file-install "${SITEFILE}" || die + + dobin dist/jdee-${PV}/lisp/jtags || die + + dohtml -r doc/html/* || die +} |