Use java-pkg_dolauncher too.
authorSamuli Suominen <ssuominen@gentoo.org>
Wed, 26 Oct 2011 19:06:38 +0000 (19:06 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Wed, 26 Oct 2011 19:06:38 +0000 (19:06 +0000)
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64

x11-misc/lxmed/ChangeLog
x11-misc/lxmed/Manifest
x11-misc/lxmed/lxmed-20110717.ebuild

index 219e68cb32b532a7dabde2dab69b512d439c4788..a4745d43a6c57c4220b2ca483d8d136e2cb68f2c 100644 (file)
@@ -1,9 +1,10 @@
 # ChangeLog for x11-misc/lxmed
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/ChangeLog,v 1.2 2011/10/26 18:55:55 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/ChangeLog,v 1.3 2011/10/26 19:06:38 ssuominen Exp $
 
   26 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> lxmed-20110717.ebuild:
-  Change virtual/jre RDEPEND to >=virtual/jre-1.5 wrt #388517
+  Change virtual/jre RDEPEND to >=virtual/jre-1.5 and use java-pkg_dolauncher
+  wrt #388517
 
 *lxmed-20110717 (22 Oct 2011)
 
index dcb91b71862748cfa789985d3e6f1661681c182d..d7939d6a2ab7b68df94af967b28923d1ac23ad05 100644 (file)
@@ -2,17 +2,17 @@
 Hash: SHA1
 
 DIST lxmed-20110717.tar.gz 68514 RMD160 37abb8ea773b84ebe601fd1ff7d1286bed64836b SHA1 0ff06836218ee507a7daee915142d8a9429c8758 SHA256 d38645de3f133e3ec9f49cc1c56923fda930a09a33244649f6850147d7f4c74e
-EBUILD lxmed-20110717.ebuild 844 RMD160 bf161386771c8e149079ef7da3c27feba416b718 SHA1 8ebfe5c1368dfacd1f0cb9f2033c8fb69e02fbb7 SHA256 b98e3891b2ae15f6c2390f369602c151083de98ceaa7968c999f1c5f8f7e4bd2
-MISC ChangeLog 472 RMD160 2ec5e187dd6f15cdf1b7e3cffea95cf4027a4534 SHA1 ffa2fa7e84d5ceb4c836620ad3f99722461a7bac SHA256 552b633452317ac4f7cf9f96eadbb2a6eb1e64b43c27fc658232b504c39c297e
+EBUILD lxmed-20110717.ebuild 770 RMD160 cbd6e216ad5eb2b3586efcf722359026d557ae44 SHA1 c645d6d25a7f7bc6024629f7fb036010b8577267 SHA256 8b65d0c738d73da126f8ee6b02b42746c2235229f2800c69fd4dc4b0738e4715
+MISC ChangeLog 502 RMD160 5e67ff1527063341521aad908cda560517bdd692 SHA1 f002d01e512e0594d89cfd932a92a954ff07e41e SHA256 8d5d9975541dbcda53df11337ff70d40dbc931850e7f8a6a6eafaad7bd8ba426
 MISC metadata.xml 271 RMD160 f5550f51d7c9f7bb15177eeb66d3de3f6511f45a SHA1 13cd5d11fbd7f0dfd5967b8757efd71d4d273e23 SHA256 b0ab8f8a76df2649ab818da3d391589e88d0befc9607eb6c3be7f1746b2d4392
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQEcBAEBAgAGBQJOqFd+AAoJEEdUh39IaPFNQ58IAJePUU29fuTGpOwH7OLfaeDu
-XcD6MhVRR5s8CuctumGEFHuZjy2aEP8NDIocvzRVv0OOYdRqAXWGpBxE+f7JfbVG
-ws1tVbz43/O4i4bCkbvCKVXU7/lQeb7jgJwNs1T8a6D6LU7a22gqP9xMTf25fk+n
-DwyEdunXsnuPdFimcFe3WBWC3qKCn2N5BgUpQX3tuQqVxTGJHvnRtsPpyl7Qq1GM
-mZkrmeMcHUKUqYhZ2/U5kyoUdgwGvHAF7Rd8Bt4lvha+i//olS1QYvo6mfBNzdGx
-K3/vTGkdIMa2BbvTnvcdIDYYrd6tJfWoAkXiN4eWUOw6j7vVmXo0uPuoIIvACpw=
-=SqNd
+iQEcBAEBAgAGBQJOqFoBAAoJEEdUh39IaPFNyyUH/2civflQkv4ikbMaCQCRvF8N
+rOCwR4c70s+a/vAoOnstXyFNlbLymZXxsqJsDsfBAorLJeMtY/w4mNnGA83TvjM6
+5nKSrX5j/wi5l/y0jVbh2fbf9KzxcE33iSVCGrQ6MHmJUlDGr6hQNibMOMCHevFA
+ufNzeYzoCIhT2gm8G9MV895KeZGmmwiqiQHXNU/TgsDPiz8w5spyY4PH89fUVeM0
+U1cK3Ese1m8e4LTmD2tbxdjx4vSVp+P8Jbv1wxRklaRaFdPsLa5usrOxYioloDAA
+LyTuhb15tjo8nfe43ZK9dauS3DY1VuHGVCznBhBU6NLMppfoVxxZfjLrLkL5K1Y=
+=JLk7
 -----END PGP SIGNATURE-----
index c3026a0eeb1d5dba85424d36f63041030ac5d95c..d9a580dba9d99ffb07a929e699d886813f2c848b 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/lxmed-20110717.ebuild,v 1.3 2011/10/26 18:55:55 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/lxmed-20110717.ebuild,v 1.4 2011/10/26 19:06:38 ssuominen Exp $
 
 EAPI=4
 inherit eutils java-utils-2
@@ -26,14 +26,7 @@ src_prepare() {
 
 src_install() {
        java-pkg_dojar LXMenuEditor.jar
-
-       cat <<-EOF > "${T}"/lxmed
-       #!/bin/bash
-       gksu 'java -jar /usr/share/lxmed/lib/LXMenuEditor.jar'
-       EOF
-
-       dobin "${T}"/lxmed
-
+       java-pkg_dolauncher lxmed --jar LXMenuEditor.jar
        doicon lxmed.png
        domenu lxmed.desktop
 }