r27834 - in /packages/unstable/gjs/debian: changelog control control.in patches/02_fix_bigendian_test.patch patches/series

bigon at users.alioth.debian.org bigon at users.alioth.debian.org
Mon May 2 11:16:53 UTC 2011


Author: bigon
Date: Mon May  2 11:16:48 2011
New Revision: 27834

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=27834
Log:
* New upstream release.
* debian/patches/02_fix_bigendian_test.patch: Should fix FTBFS on big-endian
  arch (Closes: #610256)
* debian/control: Bump Standards-Version to 3.9.2 (no further changes)

Added:
    packages/unstable/gjs/debian/patches/02_fix_bigendian_test.patch
Modified:
    packages/unstable/gjs/debian/changelog
    packages/unstable/gjs/debian/control
    packages/unstable/gjs/debian/control.in
    packages/unstable/gjs/debian/patches/series

Modified: packages/unstable/gjs/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gjs/debian/changelog?rev=27834&op=diff
==============================================================================
--- packages/unstable/gjs/debian/changelog [utf-8] (original)
+++ packages/unstable/gjs/debian/changelog [utf-8] Mon May  2 11:16:48 2011
@@ -1,3 +1,12 @@
+gjs (0.7.14-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+  * debian/patches/02_fix_bigendian_test.patch: Should fix FTBFS on big-endian
+    arch (Closes: #610256)
+  * debian/control: Bump Standards-Version to 3.9.2 (no further changes)
+
+ -- Laurent Bigonville <bigon at debian.org>  Mon, 02 May 2011 13:12:46 +0200
+
 gjs (0.7.13-2) experimental; urgency=low
 
   * debian/patches/01_remove_rpath_flags.patch:

Modified: packages/unstable/gjs/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gjs/debian/control?rev=27834&op=diff
==============================================================================
--- packages/unstable/gjs/debian/control [utf-8] (original)
+++ packages/unstable/gjs/debian/control [utf-8] Mon May  2 11:16:48 2011
@@ -7,7 +7,7 @@
 Section: interpreters
 Priority: extra
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
-Uploaders: Emilio Pozuelo Monfort <pochu at debian.org>, Frederic Peters <fpeters at debian.org>, Gustavo Noronha Silva <kov at debian.org>, Laurent Bigonville <bigon at debian.org>
+Uploaders: Emilio Pozuelo Monfort <pochu at debian.org>, Gustavo Noronha Silva <kov at debian.org>, Laurent Bigonville <bigon at debian.org>
 Build-Depends: debhelper (>= 8),
                cdbs,
                gnome-pkg-tools,
@@ -24,7 +24,7 @@
                dbus-x11,
                uuid-runtime,
                libcairo2-dev
-Standards-Version: 3.9.1
+Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/packages/experimental/gjs
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/packages/experimental/gjs
 Homepage: http://live.gnome.org/Gjs

Modified: packages/unstable/gjs/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gjs/debian/control.in?rev=27834&op=diff
==============================================================================
--- packages/unstable/gjs/debian/control.in [utf-8] (original)
+++ packages/unstable/gjs/debian/control.in [utf-8] Mon May  2 11:16:48 2011
@@ -19,7 +19,7 @@
                dbus-x11,
                uuid-runtime,
                libcairo2-dev
-Standards-Version: 3.9.1
+Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/packages/experimental/gjs
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/packages/experimental/gjs
 Homepage: http://live.gnome.org/Gjs

Added: packages/unstable/gjs/debian/patches/02_fix_bigendian_test.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gjs/debian/patches/02_fix_bigendian_test.patch?rev=27834&op=file
==============================================================================
--- packages/unstable/gjs/debian/patches/02_fix_bigendian_test.patch (added)
+++ packages/unstable/gjs/debian/patches/02_fix_bigendian_test.patch [utf-8] Mon May  2 11:16:48 2011
@@ -1,0 +1,29 @@
+diff --git a/gi/function.c b/gi/function.c
+index f03b5ff..d26f32b 100644
+--- a/gi/function.c
++++ b/gi/function.c
+@@ -648,6 +648,23 @@ gjs_invoke_c_function(JSContext      *context,
+             gboolean arg_failed;
+ 
+             g_assert_cmpuint(next_rval, <, function->js_out_argc);
++#if G_BYTE_ORDER == G_BIG_ENDIAN
++	    switch (return_tag) {
++	    case GI_TYPE_TAG_INT8:
++		return_value.v_int8 = return_value.v_int;
++		break;
++	    case GI_TYPE_TAG_UINT8:
++		return_value.v_uint8 = return_value.v_uint;
++		break;
++	    case GI_TYPE_TAG_INT16:
++		return_value.v_int16 = return_value.v_int;
++		break;
++	    case GI_TYPE_TAG_UINT16:
++		return_value.v_uint16 = return_value.v_uint;
++	    default:
++		break;
++	    }
++#endif
+             arg_failed = !gjs_value_from_g_argument(context, &return_values[next_rval],
+                                                     &return_info, (GArgument*)&return_value);
+             if (arg_failed)
+

Modified: packages/unstable/gjs/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gjs/debian/patches/series?rev=27834&op=diff
==============================================================================
--- packages/unstable/gjs/debian/patches/series [utf-8] (original)
+++ packages/unstable/gjs/debian/patches/series [utf-8] Mon May  2 11:16:48 2011
@@ -1,1 +1,2 @@
 01_remove_rpath_flags.patch
+02_fix_bigendian_test.patch




More information about the pkg-gnome-commits mailing list