Skip to contentSkip to conversation

pixman build fixes

GIT PULL In review Gerd Hoffmann 5 participants 21 messages Nov 13, 2012 – Nov 14, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw

Hi,

This patch series fixes the build issues with the internal pixman submodule. It also adds licensing info to the qemu-pixman.[ch] files.

please pull,
Gerd

The following changes since commit f5022a135e4309a54d433c69b2a056756b2d0d6b:

aio: fix aio_ctx_prepare with idle bottom halves (2012-11-12 20:02:09 +0400)

are available in the git repository at:
git://git.kraxel.org/qemu pixman.v4

Gerd Hoffmann (6):
pixman: add output dir to include path
pixman: pass tools to configure
pixman: disable gtk
pixman: add pass cflags, add -fPIC
pixman: build internal version early
pixman: add licensing info

 Makefile      |    2 +-
 configure     |   17 +++++++++++------
 qemu-pixman.c |    5 +++++
 qemu-pixman.h |    5 +++++
 4 files changed, 22 insertions(+), 7 deletions(-)
#1 lore raw

PATCH 1/6 pixman: add output dir to include path

Needed to make sure the (generated) pixman-version.h file is found. Based on a patch from Blue Swirl.

---
 configure |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
configure +3 -3
index 7290f50..18faded 100755
@@ -2121,8 +2121,9 @@ else
     echo "      git submodule update --init pixman"
     exit 1
   fi
-  pixman_cflags="-I${source_path}/pixman/pixman"
-  pixman_libs="-Lpixman/pixman/.libs -lpixman-1"
+  mkdir -p pixman/pixman
+  pixman_cflags="-I${source_path}/pixman/pixman -I$(pwd)/pixman/pixman"
+  pixman_libs="-L$(pwd)/pixman/pixman/.libs -lpixman-1"
 fi
 QEMU_CFLAGS="$QEMU_CFLAGS $pixman_cflags"
 libs_softmmu="$libs_softmmu $pixman_libs"
@@ -4154,7 +4155,6 @@ DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas"
 DIRS="$DIRS roms/seabios roms/vgabios"
 DIRS="$DIRS qapi-generated"
 DIRS="$DIRS libcacard libcacard/libcacard libcacard/trace"
-DIRS="$DIRS pixman"
 FILES="Makefile tests/tcg/Makefile qdict-test-data.txt"
 FILES="$FILES tests/tcg/cris/Makefile tests/tcg/cris/.gdbinit"
 FILES="$FILES tests/tcg/lm32/Makefile libcacard/Makefile"
Signature · 1 line
1.7.1
#5 lore raw

PATCH 2/6 pixman: pass tools to configure

In reply to Gerd Hoffmann

Complete the set of compiler tool names in config-host.mak, pass them to pixman configure to make sure cross builds work. Based on a patch from Blue Swirl.

---
 Makefile  |    2 +-
 configure |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
Makefile +1 -1
index ca14a21..7b267c9 100644
@@ -122,7 +122,7 @@ subdir-pixman: pixman/Makefile
 	$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,)
 
 pixman/Makefile: $(SRC_PATH)/pixman/configure
-	(cd pixman; $(SRC_PATH)/pixman/configure --disable-shared --enable-static)
+	(cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" $(SRC_PATH)/pixman/configure --disable-shared --enable-static)
 
 $(SRC_PATH)/pixman/configure:
 	(cd $(SRC_PATH)/pixman; autoreconf -v --install)
configure +4 -0
index 18faded..e7ca78b 100755
@@ -252,8 +252,10 @@ done
 
 cc="${CC-${cross_prefix}gcc}"
 ar="${AR-${cross_prefix}ar}"
+nm="${AR-${cross_prefix}nm}"
 objcopy="${OBJCOPY-${cross_prefix}objcopy}"
 ld="${LD-${cross_prefix}ld}"
+ranlib="${LD-${cross_prefix}ranlib}"
 libtool="${LIBTOOL-${cross_prefix}libtool}"
 strip="${STRIP-${cross_prefix}strip}"
 windres="${WINDRES-${cross_prefix}windres}"
@@ -3635,8 +3637,10 @@ echo "CC_I386=$cc_i386" >> $config_host_mak
 echo "HOST_CC=$host_cc" >> $config_host_mak
 echo "OBJCC=$objcc" >> $config_host_mak
 echo "AR=$ar" >> $config_host_mak
+echo "NM=$nm" >> $config_host_mak
 echo "OBJCOPY=$objcopy" >> $config_host_mak
 echo "LD=$ld" >> $config_host_mak
+echo "RANLIB=$ranlib" >> $config_host_mak
 echo "WINDRES=$windres" >> $config_host_mak
 echo "LIBTOOL=$libtool" >> $config_host_mak
 echo "CFLAGS=$CFLAGS" >> $config_host_mak
Signature · 1 line
1.7.1
#8 lore raw

PATCH 3/6 pixman: disable gtk

In reply to Gerd Hoffmann

gtk isn only needed to build test cases.
Disable it to simplify the build.

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index 7b267c9..0d2ce50 100644
@@ -122,7 +122,7 @@ subdir-pixman: pixman/Makefile
 	$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,)
 
 pixman/Makefile: $(SRC_PATH)/pixman/configure
-	(cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" $(SRC_PATH)/pixman/configure --disable-shared --enable-static)
+	(cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" $(SRC_PATH)/pixman/configure --disable-gtk --disable-shared --enable-static)
 
 $(SRC_PATH)/pixman/configure:
 	(cd $(SRC_PATH)/pixman; autoreconf -v --install)
Signature · 1 line
1.7.1
#10 lore raw

PATCH 4/6 pixman: add pass cflags, add -fPIC

In reply to Gerd Hoffmann

Pass on CFLAGS to the pixman configure script.
Add -fPIC to the cflags, needed to make the final link succeed.

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index 0d2ce50..ae4e994 100644
@@ -122,7 +122,7 @@ subdir-pixman: pixman/Makefile
 	$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,)
 
 pixman/Makefile: $(SRC_PATH)/pixman/configure
-	(cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" $(SRC_PATH)/pixman/configure --disable-gtk --disable-shared --enable-static)
+	(cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" CFLAGS="$(CFLAGS) -fPIC" $(SRC_PATH)/pixman/configure --disable-gtk --disable-shared --enable-static)
 
 $(SRC_PATH)/pixman/configure:
 	(cd $(SRC_PATH)/pixman; autoreconf -v --install)
Signature · 1 line
1.7.1
#12 lore raw

PATCH 5/6 pixman: build internal version early

In reply to Gerd Hoffmann

Patch by Eric Johnson.

---
 configure |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
configure +4 -3
index e7ca78b..fb5f002 100755
@@ -3953,9 +3953,6 @@ if test "$target_softmmu" = "yes" ; then
   if test "$smartcard_nss" = "yes" ; then
     echo "subdir-$target: subdir-libcacard" >> $config_host_mak
   fi
-  if test "$pixman" = "internal" ; then
-    echo "subdir-$target: subdir-pixman" >> $config_host_mak
-  fi
   case "$target_arch2" in
     i386|x86_64)
       echo "CONFIG_HAVE_CORE_DUMP=y" >> $config_target_mak
@@ -4153,6 +4150,10 @@ echo "QEMU_INCLUDES+=$includes" >> $config_target_mak
 
 done # for target in $targets
 
+if [ "$pixman" = "internal" ]; then
+  echo "config-host.h: subdir-pixman" >> $config_host_mak
+fi
+
 # build tree in object directory in case the source is not in the current directory
 DIRS="tests tests/tcg tests/tcg/cris tests/tcg/lm32"
 DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas"
Signature · 1 line
1.7.1
#17 lore raw

PATCH 6/6 pixman: add licensing info

In reply to Gerd Hoffmann
---
 qemu-pixman.c |    5 +++++
 qemu-pixman.h |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)
qemu-pixman.c +5 -0
index 7547ed7..063b52d 100644
@@ -1,3 +1,8 @@
+/*
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
 #include "qemu-pixman.h"
 
 int qemu_pixman_get_type(int rshift, int gshift, int bshift)
qemu-pixman.h +5 -0
index 7652c41..783a392 100644
@@ -1,3 +1,8 @@
+/*
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
 #ifndef QEMU_PIXMAN_H
 #define QEMU_PIXMAN_H
 
Signature · 1 line
1.7.1
Reviewed-by
#18 lore raw
In reply to Gerd Hoffmann
Quoted 2 lines · Gerd Hoffmann

This patch series fixes the build issues with the internal pixman submodule. It also adds licensing info to the qemu-pixman.[ch] files.

These look OK (and I've tested that we can crosscompile using internal pixman in a separate builddirectory).

One remaining problem it would be nice to fix (probably as a separate patch given this lot is at the pullreq stage):
"make distclean" in qemu doesn't do a distclean in the pixman/
directory.

-- PMM

#6 lore raw

Re: [Qemu-devel] [PATCH 2/6] pixman: pass tools to configure

In reply to Gerd Hoffmann

Am 13.11.2012 09:42, schrieb Gerd Hoffmann:

Quoted 15 lines

Complete the set of compiler tool names in config-host.mak, pass them to pixman configure to make sure cross builds work. Based on a patch from Blue Swirl.

---
  Makefile  |    2 +-
  configure |    4 ++++
  2 files changed, 5 insertions(+), 1 deletions(-)
Makefile +0 -0
index ca14a21..7b267c9 100644

Makefile subdir-pixman: pixman/Makefile · line 125

Quoted 5 lines
Makefile +1 -1
@@ -122,7 +122,7 @@ subdir-pixman: pixman/Makefile
  	$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,)
 
  pixman/Makefile: $(SRC_PATH)/pixman/configure
-	(cd pixman; $(SRC_PATH)/pixman/configure --disable-shared --enable-static)
+	(cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" $(SRC_PATH)/pixman/configure --disable-shared --enable-static)

An alternate solution (which works in my build environment) is passing --host=... (value derived from QEMU cross_prefix) to the pixman configure.

configure done · line 255

Quoted 12 lines
Makefile +0 -0
  $(SRC_PATH)/pixman/configure:
  	(cd $(SRC_PATH)/pixman; autoreconf -v --install)
configure +1 -0
index 18faded..e7ca78b 100755
@@ -252,8 +252,10 @@ done
 
  cc="${CC-${cross_prefix}gcc}"
  ar="${AR-${cross_prefix}ar}"
+nm="${AR-${cross_prefix}nm}"

NM instead of AR?

configure done · line 258

Quoted 3 lines
configure +1 -0
  objcopy="${OBJCOPY-${cross_prefix}objcopy}"
  ld="${LD-${cross_prefix}ld}"
+ranlib="${LD-${cross_prefix}ranlib}"

RANLIB instead of LD?

Quoted 14 lines
configure +2 -0
  libtool="${LIBTOOL-${cross_prefix}libtool}"
  strip="${STRIP-${cross_prefix}strip}"
  windres="${WINDRES-${cross_prefix}windres}"
@@ -3635,8 +3637,10 @@ echo "CC_I386=$cc_i386" >> $config_host_mak
  echo "HOST_CC=$host_cc" >> $config_host_mak
  echo "OBJCC=$objcc" >> $config_host_mak
  echo "AR=$ar" >> $config_host_mak
+echo "NM=$nm" >> $config_host_mak
  echo "OBJCOPY=$objcopy" >> $config_host_mak
  echo "LD=$ld" >> $config_host_mak
+echo "RANLIB=$ranlib" >> $config_host_mak
  echo "WINDRES=$windres" >> $config_host_mak
  echo "LIBTOOL=$libtool" >> $config_host_mak
  echo "CFLAGS=$CFLAGS" >> $config_host_mak
#2 lore raw

Re: [Qemu-devel] [PATCH 1/6] pixman: add output dir to include path

In reply to Gerd Hoffmann

Am 13.11.2012 09:42, schrieb Gerd Hoffmann:

Quoted 13 lines

Needed to make sure the (generated) pixman-version.h file is found. Based on a patch from Blue Swirl.

---
  configure |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)
configure +0 -0
index 7290f50..18faded 100755

configure else · line 2126

Quoted 8 lines
configure +3 -2
@@ -2121,8 +2121,9 @@ else
      echo "      git submodule update --init pixman"
      exit 1
    fi
-  pixman_cflags="-I${source_path}/pixman/pixman"
-  pixman_libs="-Lpixman/pixman/.libs -lpixman-1"
+  mkdir -p pixman/pixman
+  pixman_cflags="-I${source_path}/pixman/pixman -I$(pwd)/pixman/pixman"
+  pixman_libs="-L$(pwd)/pixman/pixman/.libs -lpixman-1"

I'd prefer \$(BUILD_DIR) instead of $(pwd) for cflags and libs because it allows moving the build directory.

\$(SRC_PATH) could be used instead of $(source_path). This would also avoid hardcoded paths in the generated Makefile code and match better to other include parameters.

Quoted 11 lines
configure +0 -1
  fi
  QEMU_CFLAGS="$QEMU_CFLAGS $pixman_cflags"
  libs_softmmu="$libs_softmmu $pixman_libs"
@@ -4154,7 +4155,6 @@ DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas"
  DIRS="$DIRS roms/seabios roms/vgabios"
  DIRS="$DIRS qapi-generated"
  DIRS="$DIRS libcacard libcacard/libcacard libcacard/trace"
-DIRS="$DIRS pixman"
  FILES="Makefile tests/tcg/Makefile qdict-test-data.txt"
  FILES="$FILES tests/tcg/cris/Makefile tests/tcg/cris/.gdbinit"
  FILES="$FILES tests/tcg/lm32/Makefile libcacard/Makefile"
Reviewed-by
#19 lore raw
In reply to Peter Maydell

Am 13.11.2012 18:31, schrieb Peter Maydell:

Quoted 5 lines · Gerd Hoffmann
Quoted 2 lines

This patch series fixes the build issues with the internal pixman submodule. It also adds licensing info to the qemu-pixman.[ch] files.

These look OK (and I've tested that we can crosscompile using internal pixman in a separate builddirectory).

Quoted 8 lines

One remaining problem it would be nice to fix (probably as a separate patch given this lot is at the pullreq stage):
"make distclean" in qemu doesn't do a distclean in the pixman/
directory.

-- PMM

I just sent reviews for patches 1 and 2.

IMHO patch 2 needs some small corrections, and patch 1 can optionally be improved.

With at least the corrections, you may add

The patch series clearly improves the current build code. As Peter noted, more problems can be addressed later.

Cheers
Stefan

#9 lore raw

Re: [Qemu-devel] [PATCH 3/6] pixman: disable gtk

In reply to Gerd Hoffmann
Quoted 1 line · Gerd Hoffmann

gtk isn only needed to build test cases.

Since we're going to get a v2 of this patch set, you could correct the typo here: s/isn/is/.

Quoted 6 lines

Disable it to simplify the build.

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- PMM

#11 lore raw

Re: [Qemu-devel] [PATCH 4/6] pixman: add pass cflags, add -fPIC

In reply to Gerd Hoffmann
Quoted 2 lines · Gerd Hoffmann

Pass on CFLAGS to the pixman configure script.
Add -fPIC to the cflags, needed to make the final link succeed.

In Subject, s/add pass/pass/.

-- PMM

#13 lore raw

Re: [Qemu-devel] [PATCH 5/6] pixman: build internal version early

In reply to Gerd Hoffmann
Quoted 3 lines · Gerd Hoffmann

Patch by Eric Johnson.

Does this need a Signed-off-by: from Eric? It's a pretty trivial patch but I guess it would be nice...

thanks
-- PMM

Quoted 33 lines
---
 configure |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
configure +4 -4
index e7ca78b..fb5f002 100755
@@ -3953,9 +3953,6 @@ if test "$target_softmmu" = "yes" ; then
   if test "$smartcard_nss" = "yes" ; then
     echo "subdir-$target: subdir-libcacard" >> $config_host_mak
   fi
-  if test "$pixman" = "internal" ; then
-    echo "subdir-$target: subdir-pixman" >> $config_host_mak
-  fi
   case "$target_arch2" in
     i386|x86_64)
       echo "CONFIG_HAVE_CORE_DUMP=y" >> $config_target_mak
@@ -4153,6 +4150,10 @@ echo "QEMU_INCLUDES+=$includes" >> $config_target_mak
 
 done # for target in $targets
 
+if [ "$pixman" = "internal" ]; then
+  echo "config-host.h: subdir-pixman" >> $config_host_mak
+fi
+
 # build tree in object directory in case the source is not in the current directory
 DIRS="tests tests/tcg tests/tcg/cris tests/tcg/lm32"
 DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas"
--

1.7.1

#14 lore raw

Re: [Qemu-devel] [PATCH 5/6] pixman: build internal version early

It's OK to add.

I wasn't sure how to submit a patch to an unsubmitted patch. I haven't had a chance to review the patch submission doc to see if that is covered. It would still be useful info. I intend to recreate and supply my local sed replacement of $(BUILD_DIR) and $(SRC_PATH) in $(QEMU_CFLAGS) patch to configure for patch 1 in this series to address Stefan's feedback. I had done that patch locally prior to noticing Blue's and Gerd's patches on the list. And discarded since trying Gerd's patch. It is trivial to recreate.

-Eric

Quoted 53 lines

-----Original Message-----
From: Peter Maydell [mailto:[email protected]]
Sent: Tuesday, November 13, 2012 10:30 AM
To: Gerd Hoffmann
Cc: [email protected]; Johnson, Eric
Subject: Re: [Qemu-devel] [PATCH 5/6] pixman: build internal version early

Quoted 3 lines · Gerd Hoffmann

Patch by Eric Johnson.

Does this need a Signed-off-by: from Eric? It's a pretty trivial patch but I guess it would be nice...

thanks
-- PMM

configure echo "QEMU_INCLUDES+=$includes" >>

Quoted 19 lines
---
 configure |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
configure +0 -3
index e7ca78b..fb5f002 100755
@@ -3953,9 +3953,6 @@ if test "$target_softmmu" = "yes" ; then
   if test "$smartcard_nss" = "yes" ; then
     echo "subdir-$target: subdir-libcacard" >> $config_host_mak
   fi
-  if test "$pixman" = "internal" ; then
-    echo "subdir-$target: subdir-pixman" >> $config_host_mak
-  fi
   case "$target_arch2" in
     i386|x86_64)
       echo "CONFIG_HAVE_CORE_DUMP=y" >> $config_target_mak
@@ -4153,6 +4150,10 @@ echo "QEMU_INCLUDES+=$includes" >>

$config_target_mak

configure echo "QEMU_INCLUDES+=$includes" >> $config_target_mak

Quoted 8 lines
configure +4 -0
 done # for target in $targets
 
+if [ "$pixman" = "internal" ]; then
+  echo "config-host.h: subdir-pixman" >> $config_host_mak
+fi
+
 # build tree in object directory in case the source is not in the

current directory

Quoted 6 lines
configure +0 -1
 DIRS="tests tests/tcg tests/tcg/cris tests/tcg/lm32"
 DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas"
--

1.7.1

#7 lore raw

Re: [Qemu-devel] [PATCH 2/6] pixman: pass tools to configure

In reply to Stefan Weil

Hi,

Quoted 2 lines

An alternate solution (which works in my build environment) is passing --host=... (value derived from QEMU cross_prefix) to the pixman configure.

Sounds reasonable, I'll try.

Quoted 5 lines
Quoted 1 line

+nm="${AR-${cross_prefix}nm}"

NM instead of AR?

RANLIB instead of LD?

Indeed. /me wonders why the test builds worked nevertheless.

cheers,
Gerd

#3 lore raw

Re: [Qemu-devel] [PATCH 1/6] pixman: add output dir to include path

In reply to Stefan Weil
Quoted 9 lines · Stefan Weil

Am 13.11.2012 09:42, schrieb Gerd Hoffmann:

Quoted 8 lines

Needed to make sure the (generated) pixman-version.h file is found. Based on a patch from Blue Swirl.

---
  configure |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)
Quoted 16 lines

configure else · line 2126

Quoted 13 lines
configure +3 -2
index 7290f50..18faded 100755
@@ -2121,8 +2121,9 @@ else
      echo "      git submodule update --init pixman"
      exit 1
    fi
-  pixman_cflags="-I${source_path}/pixman/pixman"
-  pixman_libs="-Lpixman/pixman/.libs -lpixman-1"
+  mkdir -p pixman/pixman
+  pixman_cflags="-I${source_path}/pixman/pixman -I$(pwd)/pixman/pixman"
+  pixman_libs="-L$(pwd)/pixman/pixman/.libs -lpixman-1"

I'd prefer \$(BUILD_DIR) instead of $(pwd) for cflags and libs because it allows moving the build directory.

It isn't that simple. Blue Swirl had it that way initially. The problem is that pixman_cflags is added to QEMU_CFLAGS, which in turn is used by configure script checks too, which then blow up because make and shell interpret "$(BUILD_DIR)" in different ways ...

cheers,
Gerd

#4 lore raw

Re: [Qemu-devel] [PATCH 1/6] pixman: add output dir to include path

Quoted 11 lines · Gerd Hoffmann
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

configure else · line 2126

Quoted 2 lines
configure +2 -0
+  pixman_cflags="-I${source_path}/pixman/pixman -I$(pwd)/pixman/pixman"
+  pixman_libs="-L$(pwd)/pixman/pixman/.libs -lpixman-1"

I'd prefer \$(BUILD_DIR) instead of $(pwd) for cflags and libs because it allows moving the build directory.

It isn't that simple. Blue Swirl had it that way initially. The problem is that pixman_cflags is added to QEMU_CFLAGS, which in turn is used by configure script checks too, which then blow up because make and shell interpret "$(BUILD_DIR)" in different ways ...

Moving the lines which update QEMU_CFLAGS down the road, after all configure checks works though.

cheers,
Gerd

#15 lore raw

Re: [Qemu-devel] [PATCH 5/6] pixman: build internal version early

In reply to Johnson, Eric
Quoted 2 lines · Eric

It's OK to add.

Updated patch.

Quoted 1 line

I wasn't sure how to submit a patch to an unsubmitted patch.

As usual: "git commit -s" + "git format-patch" + "git send-email", especially as this one stands on its own and has no dependency on the unsubmitted patch, but it is fine for incremental fixes too.

Then I can simply "git am -s" the patch and either carry it on as is or squash in the incremental fix on a case-by-case basis. I tend to carry patches as is, but in some cases squashing can be better for bisectability.

cheers,
Gerd

#20 lore raw
In reply to Gerd Hoffmann
Quoted 8 lines · Gerd Hoffmann

Hi,

This patch series fixes the build issues with the internal pixman submodule. It also adds licensing info to the qemu-pixman.[ch] files.

please pull,
Gerd

Quoted 6 lines

The following changes since commit f5022a135e4309a54d433c69b2a056756b2d0d6b:

aio: fix aio_ctx_prepare with idle bottom halves (2012-11-12 20:02:09 +0400)

are available in the git repository at:
git://git.kraxel.org/qemu pixman.v4

Pulled. Thanks.

Regards,

Anthony Liguori

Quoted 14 lines

Gerd Hoffmann (6):
pixman: add output dir to include path
pixman: pass tools to configure
pixman: disable gtk
pixman: add pass cflags, add -fPIC
pixman: build internal version early
pixman: add licensing info

 Makefile      |    2 +-
 configure     |   17 +++++++++++------
 qemu-pixman.c |    5 +++++
 qemu-pixman.h |    5 +++++
 4 files changed, 22 insertions(+), 7 deletions(-)
#16 lore raw

Re: [Qemu-devel] [PATCH 5/6] pixman: build internal version early

In reply to Gerd Hoffmann
Quoted 3 lines

-----Original Message-----
From: Gerd Hoffmann [mailto:[email protected]]
Sent: Wednesday, November 14, 2012 4:42 AM

[...]

Quoted 1 line · Eric

[...]

Quoted 5 lines
Quoted 1 line

I wasn't sure how to submit a patch to an unsubmitted patch.

As usual: "git commit -s" + "git format-patch" + "git send-email", especially as this one stands on its own and has no dependency on the unsubmitted patch, but it is fine for incremental fixes too.

Thanks.

I found portability issues with my simple sed replacement that I could not resolve to my satisfaction. The patch you made to deal with \$(BUILD_DIR) and \$(SRC_PATH) is cleaner and simpler anyway.

-Eric