all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: julien lepiller <julien@lepiller.eu>
To: 28663@debbugs.gnu.org
Subject: [bug#28663] [PATCH 03/22] gnu: Add java-microemulator.
Date: Tue, 03 Oct 2017 10:27:05 +0200	[thread overview]
Message-ID: <e8fb3a64b455a1f7c8ab2fe95640d1da@lepiller.eu> (raw)
In-Reply-To: <87r2uksm3m.fsf@gnu.org>

Le 2017-10-03 09:54, Roel Janssen a écrit :
> julien@lepiller.eu writes:
> 
>> From: Julien Lepiller <julien@lepiller.eu>
>> 
>> * gnu/packages/java.scm (java-microemulator): New variable.
>> ---
>>  gnu/packages/java.scm | 58 
>> +++++++++++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 58 insertions(+)
>> 
>> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
>> index 806f13ab8..6973840c1 100644
>> --- a/gnu/packages/java.scm
>> +++ b/gnu/packages/java.scm
>> @@ -4716,3 +4716,61 @@ complex transformations and code analysis 
>> tools.")
>>               #t)))))
>>      (native-inputs
>>       `(("java-junit" ,java-junit)))))
>> +
>> +(define java-asm-old
>> +  (package
>> +    (inherit java-asm)
>> +    (version "3.3.1")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (string-append 
>> "http://download.forge.ow2.org/asm/asm-"
>> +                                  version ".tar.gz"))
>> +              (sha256
>> +               (base32
>> +                
>> "1xcp06wbqqq4jm93pafjw5jc08vy30qiw9s7kff9gmw23ka279b9"))))))
>> +
>> +;; FIXME: This is an old project, and the sourceforge page says it 
>> moved to
>> +;; googlecode, which is dead...
> 
> It looks like it's on Github now:
> https://github.com/barteo/microemu
> 
> The last commit there was in May 2013, while the last commit on
> Sourceforge was in November 2009.
> 
>> +(define-public java-microemulator
>> +  (package
>> +    (name "java-microemulator")
>> +    (version "2.0.4")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (string-append 
>> "mirror://sourceforge/microemulator/microemulator/"
>> +                                  version "/microemulator-" version 
>> ".zip"))
>> +              (sha256
>> +               (base32
>> +                
>> "0x9a4xqw6747c130y2znfwg945jgpjnd4bzj5gdamxmi7848dslb"))))
>> +    (build-system ant-build-system)
>> +    (arguments
>> +     `(#:jar-name "microemulator.jar"
>> +       #:source-dir "src"
>> +       #:tests? #f; no tests
>> +       #:phases
>> +       (modify-phases %standard-phases
>> +         ;; The archive contains the sources as a jar file
>> +         (add-before 'configure 'unpack-jar
>> +           (lambda _
>> +             (mkdir-p "src")
>> +             (with-directory-excursion "src"
>> +               (zero? (system* "jar" "xf" 
>> "../microemulator-sources.jar")))))
>> +         (add-before 'configure 'remove-old-dep
>> +           (lambda _
>> +             ;; requires netscape.javascript for which I can't find a 
>> free implementation
>> +             (delete-file 
>> "src/org/microemu/applet/CookieRecordStoreManager.java")
>> +             ;; requires an old version of swt
>> +             (delete-file "src/org/microemu/app/Swt.java"))))))
>> +    (inputs
>> +     `(("java-swt" ,java-swt)
>> +       ("asm" ,java-asm-old)))
>> +    (native-inputs
>> +     `(("unzip" ,unzip)))
>> +    (home-page "https://sourceforge.net/projects/microemulator/")
>> +    (synopsis "J2ME CLDC/MIDP emulator")
>> +    (description "Microemulator is a Java 2 Micro Edition (J2ME) 
>> CLDC/MIDP
>> +Emulator.  It allows to demonstrate MIDlet based applications in web 
>> browser
>> +applet and can be run as a standalone java application.")
>> +    (license (list license:asl2.0
>> +                   ;; or altenatively:
>> +                   license:lgpl2.1+)))
> 
> So maybe we can try the latest version as can be found on Github?

Looking at github, I can see the latest version is still 2.0.4, but I 
guess it's more future-proof to use the github url. Will update 
accordingly.

Thank you for the review!

> 
> Kind regards,
> Roel Janssen

  reply	other threads:[~2017-10-03  8:28 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-01 17:44 [bug#28663] [PATCH] New java packages Julien Lepiller
2017-10-01 17:53 ` [bug#28663] [PATCH 01/22] guix: ant-build-system: Add main-class support julien
2017-10-01 17:53   ` [bug#28663] [PATCH 02/22] guix: ant-build-system: Add #:test-include and #:test-exclude arguments julien
2017-10-03  8:31     ` Roel Janssen
2017-10-03  9:14     ` Ricardo Wurmus
2017-10-01 17:53   ` [bug#28663] [PATCH 03/22] gnu: Add java-microemulator julien
2017-10-03  7:54     ` Roel Janssen
2017-10-03  8:27       ` julien lepiller [this message]
2017-10-01 17:53   ` [bug#28663] [PATCH 04/22] gnu: Add java-datanucleus-javax-persistence julien
2017-10-01 17:53   ` [bug#28663] [PATCH 05/22] gnu: Add java-osgi-cmpn julien
2017-10-01 17:53   ` [bug#28663] [PATCH 06/22] gnu: Add java-osgi-service-component-annotations julien
2017-10-01 17:53   ` [bug#28663] [PATCH 07/22] gnu: Add java-osgi-dto julien
2017-10-01 17:53   ` [bug#28663] [PATCH 08/22] gnu: Add java-osgi-resource julien
2017-10-01 17:53   ` [bug#28663] [PATCH 09/22] gnu: Add java-osgi-namespace-contract julien
2017-10-01 17:53   ` [bug#28663] [PATCH 10/22] gnu: Add java-osgi-namespace-extender julien
2017-10-01 17:53   ` [bug#28663] [PATCH 11/22] gnu: Add java-osgi-namespace-service julien
2017-10-01 17:53   ` [bug#28663] [PATCH 12/22] gnu: Add java-osgi-util-function julien
2017-10-01 17:53   ` [bug#28663] [PATCH 13/22] gnu: Add java-osgi-util-promise julien
2017-10-01 17:53   ` [bug#28663] [PATCH 14/22] gnu: Add java-osgi-service-metatype-annotations julien
2017-10-01 17:53   ` [bug#28663] [PATCH 15/22] gnu: Add java-osgi-service-repository julien
2017-10-01 17:53   ` [bug#28663] [PATCH 16/22] gnu: Add java-osgi-framework julien
2017-10-01 17:53   ` [bug#28663] [PATCH 17/22] gnu: Add java-osgi-service-log julien
2017-10-01 17:53   ` [bug#28663] [PATCH 18/22] gnu: Add java-osgi-service-jdbc julien
2017-10-03  7:52     ` julien lepiller
2017-10-01 17:53   ` [bug#28663] [PATCH 19/22] gnu: Add java-osgi-service-resolver julien
2017-10-01 17:53   ` [bug#28663] [PATCH 20/22] gnu: Add java-osgi-util-tracker julien
2017-10-01 17:53   ` [bug#28663] [PATCH 21/22] gnu: Add java-osgi-service-cm julien
2017-10-01 17:53   ` [bug#28663] [PATCH 22/22] gnu: Add java-osgi-service-packageadmin julien
2017-10-03  7:44   ` [bug#28663] [PATCH 01/22] guix: ant-build-system: Add main-class support Roel Janssen
2017-10-03  9:09   ` Ricardo Wurmus
2017-10-03  9:50     ` julien lepiller
2017-10-03  8:38 ` [bug#28663] [PATCH] New java packages Roel Janssen
2017-10-03 19:48   ` bug#28663: " Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e8fb3a64b455a1f7c8ab2fe95640d1da@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=28663@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.