Hello community,

here is the log from the commit of package Mesa for openSUSE:Factory checked in 
at 2018-01-16 09:39:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Mesa (Old)
 and      /work/SRC/openSUSE:Factory/.Mesa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Mesa"

Tue Jan 16 09:39:12 2018 rev:309 rq:565814 version:unknown

Changes:
--------
New Changes file:

--- /dev/null   2018-01-05 12:14:39.755488130 +0100
+++ /work/SRC/openSUSE:Factory/.Mesa.new/Mesa-drivers.changes   2018-01-16 
09:39:14.326484711 +0100
@@ -0,0 +1,4801 @@
+-------------------------------------------------------------------
+Mon Jan 15 15:08:13 UTC 2018 - [email protected]
+
+- U_intel-Add-more-Coffee-Lake-PCI-IDs.patch
+  * Add more Coffeelake PCI IDs (request by Intel)
+
+-------------------------------------------------------------------
+Wed Jan 10 08:28:09 UTC 2018 - [email protected]
+
+- Update to 17.3.2
+  * Multiple fixes in the RADV Vulkan driver, workaround when using
+    slibtool and a GLSL workaround for various titles using Unreal
+    Engine 4.
+- Drop upstreamed u_r600-Add-support-for-B5G5R5A1.patch
+- Modify u_mesa-python3-only.patch to not break python 2.
+
+-------------------------------------------------------------------
+Mon Jan  8 14:44:46 UTC 2018 - [email protected]
+
+- Update to 17.3.1
+  * Multiple fixes and improvements of the GLSL shader cache. The
+    RADV driver no longer advertises VK_EXT_debug_report - there is
+    no support for it.
+  * The i965, radeonsi, nvc0 and freedreno drivers have received a
+    few small fixes each.
+  * A number of big endian fixes have been merged.
+
+-------------------------------------------------------------------
+Thu Jan  8 14:26:50 UTC 2018 - [email protected]
+
+- Switch to python3 during build instead of python2
+  * Add patch u_mesa-python3-only.patch
+
+-------------------------------------------------------------------
+Mon Jan  8 07:55:49 UTC 2018 - [email protected]
+
+- Add Mesa-dri and Mesa-gallium to baselibs.conf.
+- Require llvm >= 3.9.0
+  * The build fails otherwise because it is required for multiple
+    Mesa components.
+
+-------------------------------------------------------------------
+Fri Jan  5 11:46:52 UTC 2018 - [email protected]
+
+- Drop some redundant wording from descriptions.
+  Drop redundant %if guard around a %post section.
+
+-------------------------------------------------------------------
+Wed Dec 13 15:13:14 UTC 2017 - [email protected]
+
+- Use different form of split for faster build (bnc#1071297)
+  * Mesa.spec does not use llvm and builds most of the *-devel
+    subpackages.
+  * Mesa-drivers.spec uses llvm and builds extra things installable
+    in addition to packages from Mesa.spec. These packages are
+    required for actual rendering.
+
+-------------------------------------------------------------------
+Fri Dec  8 16:47:00 UTC 2017 - [email protected]
+
+- update to 17.3.0
+- drop U_configure.ac-rework-llvm-libs-handling-for-3.9.patch
+  * new major release comitng with changes in RADV, intel ANV,
+     S3TC support, RadeonSI driver with RX Vega. On-disk shader cache
+
+-------------------------------------------------------------------
+Wed Dec  6 12:37:01 UTC 2017 - [email protected]
+
+- Split Mesa into Mesa and Mesa-mini. Mesa-mini does not depend on
+  llvm and its purpose is to build fast and allow other packages
+  that BuildRequire Mesa to be build independently on llvm.
+  Packages built against Mesa-mini should work correctly when
+  installed with full Mesa package. (bsc#1071297)
+
+-------------------------------------------------------------------
+Sun Nov 26 16:03:29 UTC 2017 - [email protected]
+
+- update to 17.2.6
+  * Core: fix to keep a program alive when re-linking and prevent
+    an use-after-free.
+  * GLSL compiler: several fixes, including one to prevent a
+    SIGSEV when calling an undeclared subroutine in certain
+    conditions and another to mark the xfb buffers as active only
+    if a variable uses them.
+  * SPIR-V compiler: fixed seveal problems involving the usage of
+    separate images and texture/samplers.
+  * Intel drivers: many new fixes, specially for i965. Several are
+    focused on improving SIMD32 and little-core. It also includes a
+    fix for a GPU hang which was detected while playing HW
+    accelerated video with mpv.
+  * AMD drivers: radv has seen plugged 2 memory leaks while r600
+    has gotten a fix through reversing the tess factor components
+    for isolines.
+  * swr driver: fixes for two performance regressions (one for 
+    avx512 platforms and the other for the avx/avx2 platforms).
+  * ddebug gallium driver: fix for an use-after-free.
+  * EGL: Wayland platform of the the DRI2 drivers got a fix to
+    prevent crashing in ancient systems.
+  * GLX has also received corrections to prevent a couple of errors
+    when creating and binding a context in DRI3 and DRISW,
+    respectively.
+  * Build and integration: allow building libglvnd when EGL is present
+    but not GLX. Enable building targets which don't need X11, such
+    as omx and va, when XCB is not present. You can now specify
+    the prefix installation for the OpenCL icd file.
+
+-------------------------------------------------------------------
+Sat Nov 11 03:46:49 UTC 2017 - [email protected]
+
+- update to 17.2.5
+  * In Core, a GL error related to the ARB_ES3_1_compatibility spec
+    noticed with the GFXBench 5 Aztec Ruins has been corrected. 
+  * The GLSL compiler is not giving a linker error for mismatching
+    uniform precision with GLSL ES 1.00 any more. This enables,
+    specially, several Android applications which violate this rule,
+    e.g., Forge of Empires.
+  * The SPIR-V compiler has corrected an assert triggered when
+    support for the simple memory model was claimed.
+  * NIR has also received a correction related with
+    gl_SubGroupG{e,t}MaskARB.
+  * Intel drivers, specially i965, got several fixes, including a
+    plug for a memory leak and another one in the compiler to avoid
+    GPU hangs on Broxton.
+  * The gallium i915g driver for Intel has seen an important fix.
+  * AMD drivers (mostly radv) have received several fixes, including a
+    correction for a DCC corruption that was visible with Rust,
+    breaking an endless loop in r600, avoiding a GPU hang with vulkan
+    dota2 in VR mode and a plug for a memory leak.
+  * Broadcom's vc4 gotten a fix to exclude some code that shouldn't
+    be there in release builds.
+
+-------------------------------------------------------------------
+Tue Oct 31 04:55:54 UTC 2017 - [email protected]
+
+- update to 17.2.4
+ * Mesa Core includes a change to prevent KOTOR from breaking when
+   in combination with the ATI fragment shader extension. 
+ * Additionally, NIR has also received a correction.
+ * Mesa's state tracker has gotten a patch to avoid leaks in
+   certain situations such as resizing a window.
+ * Intel drivers have received fixes. The compiler has
+   gotten a couple, while anv also received one.
+ * i965 got a patch to avoid VA-API, Beignet and other contexts
+   in the system to break when in combination with previous versions of Mesa 
17.2.x.
+ * AMD's compiler received fixes. `radv` has also
+   received another couple, including one to avoid a hang due to
+   overflow on huge textures.
+ * Broadcom's vc4 has corrected a problem when compiling with
+   Android's clang.
+ * Clover compilation issue fixed (affecting a specific clang revision)
+ * Fixed Vulkan's WSI memory leak in X11.
+
+-------------------------------------------------------------------
+Mon Oct 23 09:26:42 UTC 2017 - [email protected]
+
+- update to 17.2.3
+  * The Vulkan drivers ANV and RADV have multiple small fixes.
+  * The EGL code has improved handling of the new wl_dmabuf codepath.
+  * SWR no longer crashes when checking environment variables.
+  * Other gallium drivers have also seen updates - freedreno, nouveau and
+    radeonsi. The gallivm module, used by llvmpipe et al. has gained little
+    endian PPC64 fixes.
+  * The VA and VDPAU state-trackers have seems improvements handling
+    interlaced videos.
+  * We're using python3 compatible constructs which gives us SCons 3.0
+    support.
+
+-------------------------------------------------------------------
+Tue Oct 17 13:55:17 UTC 2017 - [email protected]
+
+- U_configure.ac-rework-llvm-libs-handling-for-3.9.patch
+  * llvm-config 3.9 and higher works properly, use its values
+    instead of guessing. Fixes build against llvm built as single
+    shared library.
+
+-------------------------------------------------------------------
+Thu Oct 12 12:29:38 UTC 2017 - [email protected]
+
+- svga is x86-only
+- u_svga-Fix-build-on-ppc64le.patch: Remove
+
+-------------------------------------------------------------------
+Wed Oct 11 13:26:07 UTC 2017 - [email protected]
+
+- Add build dependency on clang-devel-static.
+  * Required with new llvm4 build mode (bnc#1049703).
+  * Also rename dependency llvm-clang-devel to clang-devel. The
+    llvm-clang-devel is old name kept around for compatibility.
+
+-------------------------------------------------------------------
+Wed Oct  4 09:51:03 UTC 2017 - [email protected]
+
+- update to 17.2.2
+  * several Vulkan ANV/RADV driver fixes including Wayland WSI 
+    improvements, RadeonSI / i965 / VC4 OpenGL fixes among other
+    work, some fixes to common Gallium3D code, support for LLVM 5.0
+    in Gallium3D when using the SCons build system, and a range of
++++ 4604 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.Mesa.new/Mesa-drivers.changes
--- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes        2017-12-02 
13:11:12.753188168 +0100
+++ /work/SRC/openSUSE:Factory/.Mesa.new/Mesa.changes   2018-01-16 
09:39:14.658469171 +0100
@@ -1,0 +2,74 @@
+Mon Jan 15 15:08:13 UTC 2018 - [email protected]
+
+- U_intel-Add-more-Coffee-Lake-PCI-IDs.patch
+  * Add more Coffeelake PCI IDs (request by Intel)
+
+-------------------------------------------------------------------
+Wed Jan 10 08:28:09 UTC 2018 - [email protected]
+
+- Update to 17.3.2
+  * Multiple fixes in the RADV Vulkan driver, workaround when using
+    slibtool and a GLSL workaround for various titles using Unreal
+    Engine 4.
+- Drop upstreamed u_r600-Add-support-for-B5G5R5A1.patch
+- Modify u_mesa-python3-only.patch to not break python 2.
+
+-------------------------------------------------------------------
+Mon Jan  8 14:44:46 UTC 2018 - [email protected]
+
+- Update to 17.3.1
+  * Multiple fixes and improvements of the GLSL shader cache. The
+    RADV driver no longer advertises VK_EXT_debug_report - there is
+    no support for it.
+  * The i965, radeonsi, nvc0 and freedreno drivers have received a
+    few small fixes each.
+  * A number of big endian fixes have been merged.
+
+-------------------------------------------------------------------
+Thu Jan  8 14:26:50 UTC 2018 - [email protected]
+
+- Switch to python3 during build instead of python2
+  * Add patch u_mesa-python3-only.patch
+
+-------------------------------------------------------------------
+Mon Jan  8 07:55:49 UTC 2018 - [email protected]
+
+- Add Mesa-dri and Mesa-gallium to baselibs.conf.
+- Require llvm >= 3.9.0
+  * The build fails otherwise because it is required for multiple
+    Mesa components.
+
+-------------------------------------------------------------------
+Fri Jan  5 11:46:52 UTC 2018 - [email protected]
+
+- Drop some redundant wording from descriptions.
+  Drop redundant %if guard around a %post section.
+
+-------------------------------------------------------------------
+Wed Dec 13 15:13:14 UTC 2017 - [email protected]
+
+- Use different form of split for faster build (bnc#1071297)
+  * Mesa.spec does not use llvm and builds most of the *-devel
+    subpackages.
+  * Mesa-drivers.spec uses llvm and builds extra things installable
+    in addition to packages from Mesa.spec. These packages are
+    required for actual rendering.
+
+-------------------------------------------------------------------
+Fri Dec  8 16:47:00 UTC 2017 - [email protected]
+
+- update to 17.3.0
+- drop U_configure.ac-rework-llvm-libs-handling-for-3.9.patch
+  * new major release comitng with changes in RADV, intel ANV,
+     S3TC support, RadeonSI driver with RX Vega. On-disk shader cache
+
+-------------------------------------------------------------------
+Wed Dec  6 12:37:01 UTC 2017 - [email protected]
+
+- Split Mesa into Mesa and Mesa-mini. Mesa-mini does not depend on
+  llvm and its purpose is to build fast and allow other packages
+  that BuildRequire Mesa to be build independently on llvm.
+  Packages built against Mesa-mini should work correctly when
+  installed with full Mesa package. (bsc#1071297)
+
+-------------------------------------------------------------------

Old:
----
  U_configure.ac-rework-llvm-libs-handling-for-3.9.patch
  mesa-17.2.6.tar.xz
  mesa-17.2.6.tar.xz.sig
  u_r600-Add-support-for-B5G5R5A1.patch

New:
----
  Mesa-drivers-rpmlintrc
  Mesa-drivers.changes
  Mesa-drivers.spec
  U_intel-Add-more-Coffee-Lake-PCI-IDs.patch
  mesa-17.3.2.tar.xz
  mesa-17.3.2.tar.xz.sig
  pre_checkin.sh
  u_mesa-python3-only.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Mesa-drivers.spec ++++++
++++ 1256 lines (skipped)

++++++ Mesa.spec ++++++
++++ 953 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/Mesa/Mesa.spec
++++ and /work/SRC/openSUSE:Factory/.Mesa.new/Mesa.spec

++++++ Mesa-drivers-rpmlintrc ++++++
# Want to allow for multiple vendors
addFilter("shlib-policy-name-error")

++++++ U_intel-Add-more-Coffee-Lake-PCI-IDs.patch ++++++
>From fe668b5c155aee4443dde0748065241e09293302 Mon Sep 17 00:00:00 2001
From: Anuj Phogat <[email protected]>
Date: Fri, 5 Jan 2018 09:17:36 -0800
Subject: [PATCH] intel: Add more Coffee Lake PCI IDs

More Coffee Lake PCI IDs have been added to the spec.

Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
---
 include/pci_ids/i965_pci_ids.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/include/pci_ids/i965_pci_ids.h b/include/pci_ids/i965_pci_ids.h
index 0dd01a4343..9616f7de21 100644
--- a/include/pci_ids/i965_pci_ids.h
+++ b/include/pci_ids/i965_pci_ids.h
@@ -167,15 +167,23 @@ CHIPSET(0x3184, glk,     "Intel(R) HD Graphics 
(Geminilake)")
 CHIPSET(0x3185, glk_2x6, "Intel(R) HD Graphics (Geminilake 2x6)")
 CHIPSET(0x3E90, cfl_gt1, "Intel(R) HD Graphics (Coffeelake 2x6 GT1)")
 CHIPSET(0x3E93, cfl_gt1, "Intel(R) HD Graphics (Coffeelake 2x6 GT1)")
+CHIPSET(0x3E99, cfl_gt1, "Intel(R) HD Graphics (Coffeelake 2x6 GT1)")
+CHIPSET(0x3EA1, cfl_gt1, "Intel(R) HD Graphics (Coffeelake 2x6 GT1)")
+CHIPSET(0x3EA4, cfl_gt1, "Intel(R) HD Graphics (Coffeelake 2x6 GT1)")
 CHIPSET(0x3E91, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
 CHIPSET(0x3E92, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
 CHIPSET(0x3E96, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
+CHIPSET(0x3E9A, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
 CHIPSET(0x3E9B, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
 CHIPSET(0x3E94, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
+CHIPSET(0x3EA0, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
+CHIPSET(0x3EA3, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
+CHIPSET(0x3EA9, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)")
+CHIPSET(0x3EA2, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)")
+CHIPSET(0x3EA5, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)")
 CHIPSET(0x3EA6, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)")
 CHIPSET(0x3EA7, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)")
 CHIPSET(0x3EA8, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)")
-CHIPSET(0x3EA5, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)")
 CHIPSET(0x5A49, cnl_2x8, "Intel(R) HD Graphics (Cannonlake 2x8 GT0.5)")
 CHIPSET(0x5A4A, cnl_2x8, "Intel(R) HD Graphics (Cannonlake 2x8 GT0.5)")
 CHIPSET(0x5A41, cnl_3x8, "Intel(R) HD Graphics (Cannonlake 3x8 GT1)")
-- 
2.13.6

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.Fcu9CV/_old  2018-01-16 09:39:18.374295241 +0100
+++ /var/tmp/diff_new_pack.Fcu9CV/_new  2018-01-16 09:39:18.374295241 +0100
@@ -1,4 +1,9 @@
 Mesa
+       # Include this special README file so dummy Mesa-<targettype> gets
+        # build and other arch packages can supplement it.
+       +/usr/share/doc/packages/Mesa/README.package.*
+       # Must require the base Mesa package to get /etc/drirc configuration 
file.
+       requires "Mesa = <version>"
        obsoletes "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
        provides  "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
        provides "Mesa-libIndirectGL1-<targettype> = <version>"
@@ -28,7 +33,7 @@
        requires "Mesa-libEGL1-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
 Mesa-libGL1
-       requires "Mesa-<targettype>"
+       requires "Mesa-<targettype> = <version>"
        requires "libglvnd-<targettype> >= 0.1.0"
 Mesa-libGL-devel
        requires "Mesa-libGL1-<targettype> = <version>"
@@ -99,3 +104,7 @@
 libvdpau_radeonsi
 libwayland-egl1
 Mesa-dri-nouveau
+Mesa-dri
+       supplements "Mesa-<targettype> = <version>"
+Mesa-gallium
+       supplements "Mesa-<targettype> = <version>"

++++++ mesa-17.2.6.tar.xz -> mesa-17.3.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/Mesa/mesa-17.2.6.tar.xz 
/work/SRC/openSUSE:Factory/.Mesa.new/mesa-17.3.2.tar.xz differ: char 25, line 1

++++++ pre_checkin.sh ++++++
#!/bin/sh

# This script is based on libcdio_spec-prepare.sh (thanks to [email protected])
# create a -drivers spec for systemd for bootstrapping

ORIG_SPEC=Mesa
EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. 
Use the ${ORIG_SPEC}.spec! #####\n"
sed "s/^%define drivers .*$/${EDIT_WARNING}%define drivers 1/;
     s/^Name:.*/&-drivers/
              " < ${ORIG_SPEC}.spec > ${ORIG_SPEC}-drivers.spec
cp ${ORIG_SPEC}.changes ${ORIG_SPEC}-drivers.changes
cp ${ORIG_SPEC}-rpmlintrc ${ORIG_SPEC}-drivers-rpmlintrc

osc service localrun format_spec_file
++++++ u_mesa-python3-only.patch ++++++
diff --git a/src/gallium/drivers/r600/egd_tables.py 
b/src/gallium/drivers/r600/egd_tables.py
index d7b78c7fb1..7bda44ce83 100644
--- a/src/gallium/drivers/r600/egd_tables.py
+++ b/src/gallium/drivers/r600/egd_tables.py
@@ -1,4 +1,4 @@
-
+#!/usr/bin/python3
 CopyRight = '''
 /*
  * Copyright 2015 Advanced Micro Devices, Inc.
@@ -60,7 +60,7 @@ class StringTable:
         """
         fragments = [
             '"%s\\0" /* %s */' % (
-                te[0].encode('string_escape'),
+                te[0].encode('unicode_escape'),
                 ', '.join(str(idx) for idx in te[2])
             )
             for te in self.table
@@ -217,10 +217,10 @@ def write_tables(regs, packets):
     strings = StringTable()
     strings_offsets = IntTable("int")
 
-    print '/* This file is autogenerated by egd_tables.py from evergreend.h. 
Do not edit directly. */'
-    print
-    print CopyRight.strip()
-    print '''
+    print('/* This file is autogenerated by egd_tables.py from evergreend.h. 
Do not edit directly. */')
+    print('')
+    print(CopyRight.strip())
+    print('''
 #ifndef EG_TABLES_H
 #define EG_TABLES_H
 
@@ -242,20 +242,20 @@ struct eg_packet3 {
         unsigned name_offset;
         unsigned op;
 };
-'''
+''')
 
-    print 'static const struct eg_packet3 packet3_table[] = {'
+    print('static const struct eg_packet3 packet3_table[] = {')
     for pkt in packets:
-        print '\t{%s, %s},' % (strings.add(pkt[5:]), pkt)
-    print '};'
-    print
+        print('\t{%s, %s},' % (strings.add(pkt[5:]), pkt))
+    print('};')
+    print('')
 
-    print 'static const struct eg_field egd_fields_table[] = {'
+    print('static const struct eg_field egd_fields_table[] = {')
 
     fields_idx = 0
     for reg in regs:
         if len(reg.fields) and reg.own_fields:
-            print '\t/* %s */' % (fields_idx)
+            print('\t/* %s */' % (fields_idx))
 
             reg.fields_idx = fields_idx
 
@@ -266,34 +266,34 @@ struct eg_packet3 {
                         while value[1] >= len(values_offsets):
                             values_offsets.append(-1)
                         values_offsets[value[1]] = 
strings.add(strip_prefix(value[0]))
-                    print '\t{%s, %s(~0u), %s, %s},' % (
+                    print('\t{%s, %s(~0u), %s, %s},' % (
                         strings.add(field.name), field.s_name,
-                        len(values_offsets), 
strings_offsets.add(values_offsets))
+                        len(values_offsets), 
strings_offsets.add(values_offsets)))
                 else:
-                    print '\t{%s, %s(~0u)},' % (strings.add(field.name), 
field.s_name)
+                    print('\t{%s, %s(~0u)},' % (strings.add(field.name), 
field.s_name))
                 fields_idx += 1
 
-    print '};'
-    print
+    print('};')
+    print('')
 
-    print 'static const struct eg_reg egd_reg_table[] = {'
+    print('static const struct eg_reg egd_reg_table[] = {')
     for reg in regs:
         if len(reg.fields):
-            print '\t{%s, %s, %s, %s},' % (strings.add(reg.name), reg.r_name,
-                len(reg.fields), reg.fields_idx if reg.own_fields else 
reg.fields_owner.fields_idx)
+            print('\t{%s, %s, %s, %s},' % (strings.add(reg.name), reg.r_name,
+                len(reg.fields), reg.fields_idx if reg.own_fields else 
reg.fields_owner.fields_idx))
         else:
-            print '\t{%s, %s},' % (strings.add(reg.name), reg.r_name)
-    print '};'
-    print
+            print('\t{%s, %s},' % (strings.add(reg.name), reg.r_name))
+    print('};')
+    print('')
 
     strings.emit(sys.stdout, "egd_strings")
 
-    print
+    print('')
 
     strings_offsets.emit(sys.stdout, "egd_strings_offsets")
 
-    print
-    print '#endif'
+    print('')
+    print('#endif')
 
 
 def main():

Reply via email to