all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* java-swt and tuxguitar
@ 2016-06-24 15:00 Andreas Enge
  2016-06-24 15:38 ` Andreas Enge
  2016-06-24 17:42 ` Ricardo Wurmus
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Enge @ 2016-06-24 15:00 UTC (permalink / raw)
  To: guix-devel

Hello,

after switching to GuixSD, I realised I need to do a little bit of android
development, and tried to install the android sdk. Running the android
script failed, since swt-pi-gtk-3550 could not be found. Something like
this is provided by java-swt, but this package could not be built since
its source has disappeared from the download location. So I updated from
4.5 to 4.6. Since the package provides libswt-pi-gtk-4623.so, I suppose I
would have needed to downgrade to 3.5 instead...

The upgrade broke the build of (the only dependent package) tuxguitar.
The latter has seen a new release recently, but this does not build with the
current recipe (the patched GNUmakefile does not exist any more). Ricardo,
would you like to look into this, or should I simply revert the upgrade
of java-swt and look for a location for its source?

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: java-swt and tuxguitar
  2016-06-24 15:00 java-swt and tuxguitar Andreas Enge
@ 2016-06-24 15:38 ` Andreas Enge
  2016-06-24 17:42 ` Ricardo Wurmus
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2016-06-24 15:38 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

Hi again,

I propose the attached two patches to go back and fix the download
location to something that looks permanent. Surprisingly enough,
tuxguitar still does not build for me on x86_64.

After that, we could upgrade to 4.6 or only to 4.5.2.

Andreas


[-- Attachment #2: 0001-Revert-gnu-java-swt-Update-to-4.6.patch --]
[-- Type: text/plain, Size: 1848 bytes --]

From 6b8fe0a0f81cc10b6232b6665d81324e49344a86 Mon Sep 17 00:00:00 2001
From: Andreas Enge <andreas@enge.fr>
Date: Fri, 24 Jun 2016 17:31:36 +0200
Subject: [PATCH 1/2] Revert "gnu: java-swt: Update to 4.6."

This reverts commit b8a680f778c021c91eaaaab4798bdcc7d417dce2.
---
 gnu/packages/java.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 753fb77..e165193 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -58,15 +58,15 @@
 (define-public java-swt
   (package
     (name "java-swt")
-    (version "4.6")
+    (version "4.5")
     (source
      ;; The types of many variables and procedures differ in the sources
      ;; dependent on whether the target architecture is a 32-bit system or a
      ;; 64-bit system.  Instead of patching the sources on demand in a build
      ;; phase we download either the 32-bit archive (which mostly uses "int"
      ;; types) or the 64-bit archive (which mostly uses "long" types).
-     (let ((hash32 "0jmx1h65wqxsyjzs64i2z6ryiynllxzm13cq90fky2qrzagcw1ir")
-           (hash64 "0wnd01xssdq9pgx5xqh5lfiy3dmk60dzzqdxzdzf883h13692lgy")
+     (let ((hash32 "03mhzraikcs4fsz7d3h5af9pw1bbcfd6dglsvbk2ciwimy9zj30q")
+           (hash64 "1qq0pjll6030v4ml0hifcaaik7sx3fl7ghybfdw95vsvxafwp2ff")
            (file32 "x86")
            (file64 "x86_64"))
        (let-values (((hash file)
@@ -78,7 +78,7 @@
            (uri (string-append
                  "http://ftp-stud.fht-esslingen.de/pub/Mirrors/"
                  "eclipse/eclipse/downloads/drops4/R-" version
-                 "-201606061100/swt-" version "-gtk-linux-" file ".zip"))
+                 "-201506032000/swt-" version "-gtk-linux-" file ".zip"))
            (sha256 (base32 hash))))))
     (build-system ant-build-system)
     (arguments
-- 
2.9.0


[-- Attachment #3: 0002-gnu-java-swt-Fix-source-location.patch --]
[-- Type: text/plain, Size: 983 bytes --]

From d850d2007b45aff90cd977c4c4a4c36337fad442 Mon Sep 17 00:00:00 2001
From: Andreas Enge <andreas@enge.fr>
Date: Fri, 24 Jun 2016 17:33:12 +0200
Subject: [PATCH 2/2] gnu: java-swt: Fix source location.

* gnu/packages/java.scm (java-swt)[source]: Fix URI.
---
 gnu/packages/java.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e165193..73cebbe 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -76,8 +76,8 @@
          (origin
            (method url-fetch)
            (uri (string-append
-                 "http://ftp-stud.fht-esslingen.de/pub/Mirrors/"
-                 "eclipse/eclipse/downloads/drops4/R-" version
+                 "http://archive.eclipse.org/eclipse/downloads/drops4/"
+                 "R-" version
                  "-201506032000/swt-" version "-gtk-linux-" file ".zip"))
            (sha256 (base32 hash))))))
     (build-system ant-build-system)
-- 
2.9.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: java-swt and tuxguitar
  2016-06-24 15:00 java-swt and tuxguitar Andreas Enge
  2016-06-24 15:38 ` Andreas Enge
@ 2016-06-24 17:42 ` Ricardo Wurmus
  2016-06-24 19:29   ` Andreas Enge
  1 sibling, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2016-06-24 17:42 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel


Andreas Enge <andreas@enge.fr> writes:

> Hello,
>
> after switching to GuixSD, I realised I need to do a little bit of android
> development, and tried to install the android sdk. Running the android
> script failed, since swt-pi-gtk-3550 could not be found. Something like
> this is provided by java-swt, but this package could not be built since
> its source has disappeared from the download location. So I updated from
> 4.5 to 4.6. Since the package provides libswt-pi-gtk-4623.so, I suppose I
> would have needed to downgrade to 3.5 instead...
>
> The upgrade broke the build of (the only dependent package) tuxguitar.
> The latter has seen a new release recently, but this does not build with the
> current recipe (the patched GNUmakefile does not exist any more). Ricardo,
> would you like to look into this, or should I simply revert the upgrade
> of java-swt and look for a location for its source?

Tuxguitar has been broken for a while, actually.  Even when the build
would succeed the programme wouldn’t work properly.

I have a WIP commit here with a rewrite of the Tuxguitar recipe using
the ant-build-system.  This actually worked for me last time I played
with it.  In a couple of days I’ll try to clean it up and submit it for
review.

There’s no need to revert your changes to java-swt.

~~ Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: java-swt and tuxguitar
  2016-06-24 17:42 ` Ricardo Wurmus
@ 2016-06-24 19:29   ` Andreas Enge
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2016-06-24 19:29 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

On Fri, Jun 24, 2016 at 07:42:28PM +0200, Ricardo Wurmus wrote:
> There’s no need to revert your changes to java-swt.

Okay, thanks. If the source disappears again, we might wish to use the
eclipse location then instead of the mirror.

For the android sdk, we would need version 3.5.x, which itself depends on an
outdated gnome library. Nightmares, these distributions of binaries!

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-24 19:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-24 15:00 java-swt and tuxguitar Andreas Enge
2016-06-24 15:38 ` Andreas Enge
2016-06-24 17:42 ` Ricardo Wurmus
2016-06-24 19:29   ` Andreas Enge

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.