All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] jpeg: upgrade to 9
@ 2013-02-18 15:47 Constantin Musca
  2013-02-18 16:04 ` Marko Lindqvist
  0 siblings, 1 reply; 6+ messages in thread
From: Constantin Musca @ 2013-02-18 15:47 UTC (permalink / raw)
  To: openembedded-core

License checksum change due to:
- version modification
- links modification
- additional license explanations

fix_for_automake_1.12.1.patch: not needed anymore

fix-jmorecfg-boolean-enum.patch: added
- we have to undef TRUE & FALSE in order to define
the boolean enum

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 .../jpeg/jpeg-8d/fix_for_automake_1.12.1.patch     | 44 ----------------------
 .../{jpeg-8d => jpeg-9}/debian-libjpeg7_7-1.diff   |  0
 .../jpeg/jpeg-9/fix-jmorecfg-boolean-enum.patch    | 19 ++++++++++
 meta/recipes-core/jpeg/{jpeg_8d.bb => jpeg_9.bb}   | 12 +++---
 4 files changed, 25 insertions(+), 50 deletions(-)
 delete mode 100644 meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch
 rename meta/recipes-core/jpeg/{jpeg-8d => jpeg-9}/debian-libjpeg7_7-1.diff (100%)
 create mode 100644 meta/recipes-core/jpeg/jpeg-9/fix-jmorecfg-boolean-enum.patch
 rename meta/recipes-core/jpeg/{jpeg_8d.bb => jpeg_9.bb} (81%)

diff --git a/meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch b/meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch
deleted file mode 100644
index 3a970ea..0000000
--- a/meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Upstream-Status: Pending
-
-The support for automatic de-ANSI-fication has been deprecated in
-automake 1.11.2, and will be removed altogether in automake 1.12
-
-This avoids this error:
-| configure.ac:24: automatic de-ANSI-fication support is deprecated
-| autoreconf: automake failed with exit status: 1
-| ERROR: autoreconf execution failed.
-NOTE: package jpeg-native-8c-r2: task do_configure: Failed
-
-Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
-2011/12/28
-
-
-Index: jpeg-8d/configure.ac
-===================================================================
---- jpeg-8d.orig/configure.ac
-+++ jpeg-8d/configure.ac
-@@ -21,7 +21,7 @@ AC_CANONICAL_TARGET
- 
- # Initialize Automake
- # Don't require all the GNU mandated files
--AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete ansi2knr no-dist foreign])
-+AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete no-dist foreign])
- 
- # Make --enable-silent-rules the default.
- # To get verbose build output you may configure
-@@ -29,7 +29,14 @@ AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obs
- AM_SILENT_RULES([yes])
- 
- # This is required when using the de-ANSI-fication feature.
--AM_C_PROTOTYPES
-+#AM_C_PROTOTYPES
-+# add following to avoid this error:
-+#| automake: warnings are treated as errors
-+#| /srv/home/nitin/builds2/build0/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libjpeg.la': linking libtool libraries using a non-POSIX
-+#| /srv/home/nitin/builds2/build0/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
-+#| Makefile.am:65:   while processing Libtool library 'libjpeg.la'
-+#| autoreconf: automake failed with exit status: 1
-+AM_PROG_AR
- 
- # Add configure option --enable-maintainer-mode which enables
- # dependency checking and generation useful to package maintainers.
diff --git a/meta/recipes-core/jpeg/jpeg-8d/debian-libjpeg7_7-1.diff b/meta/recipes-core/jpeg/jpeg-9/debian-libjpeg7_7-1.diff
similarity index 100%
rename from meta/recipes-core/jpeg/jpeg-8d/debian-libjpeg7_7-1.diff
rename to meta/recipes-core/jpeg/jpeg-9/debian-libjpeg7_7-1.diff
diff --git a/meta/recipes-core/jpeg/jpeg-9/fix-jmorecfg-boolean-enum.patch b/meta/recipes-core/jpeg/jpeg-9/fix-jmorecfg-boolean-enum.patch
new file mode 100644
index 0000000..089eb1d
--- /dev/null
+++ b/meta/recipes-core/jpeg/jpeg-9/fix-jmorecfg-boolean-enum.patch
@@ -0,0 +1,19 @@
+TRUE & FALSE have to be undefined in order to define
+the boolean enum
+
+Upstream-Status: Pending
+Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
+
+Index: jpeg-9/jmorecfg.h
+===================================================================
+--- jpeg-9.orig/jmorecfg.h
++++ jpeg-9/jmorecfg.h
+@@ -260,6 +260,8 @@ typedef void noreturn_t;
+ #define TRUE	1
+ #endif
+ #else
++#undef TRUE
++#undef FALSE
+ typedef enum { FALSE = 0, TRUE = 1 } boolean;
+ #endif
+ 
diff --git a/meta/recipes-core/jpeg/jpeg_8d.bb b/meta/recipes-core/jpeg/jpeg_9.bb
similarity index 81%
rename from meta/recipes-core/jpeg/jpeg_8d.bb
rename to meta/recipes-core/jpeg/jpeg_9.bb
index eba5bf4..8d0f541 100644
--- a/meta/recipes-core/jpeg/jpeg_8d.bb
+++ b/meta/recipes-core/jpeg/jpeg_9.bb
@@ -4,21 +4,21 @@ HOMEPAGE = "http://www.ijg.org/"
 BUGTRACKER = ""
 
 LICENSE ="BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://README;md5=4f46756b064c225fae088903300e5c98"
+LIC_FILES_CHKSUM = "file://README;md5=c7b449f4c8fb865866a8fc0231431526"
 
 SECTION = "libs"
 
 DEPENDS = "libtool-cross"
 DEPENDS_class-native = "libtool-native"
 
-PR = "r1"
+PR = "r0"
 
 SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
-	   file://debian-libjpeg7_7-1.diff \
-           file://fix_for_automake_1.12.1.patch"
+           file://debian-libjpeg7_7-1.diff \
+           file://fix-jmorecfg-boolean-enum.patch"
 
-SRC_URI[md5sum] = "52654eb3b2e60c35731ea8fc87f1bd29"
-SRC_URI[sha256sum] = "00029b1473f0f0ea72fbca3230e8cb25797fbb27e58ae2e46bb8bf5a806fe0b3"
+SRC_URI[md5sum] = "b397211ddfd506b92cd5e02a22ac924d"
+SRC_URI[sha256sum] = "c4e29e9375aaf60b4b79db87a58b063fb5b84f923bee97a88280b3d159e7e535"
 
 inherit autotools 
 
-- 
1.7.11.7




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

* Re: [PATCH] jpeg: upgrade to 9
  2013-02-18 15:47 [PATCH] jpeg: upgrade to 9 Constantin Musca
@ 2013-02-18 16:04 ` Marko Lindqvist
  2013-02-20 15:06   ` Constantin Musca
  0 siblings, 1 reply; 6+ messages in thread
From: Marko Lindqvist @ 2013-02-18 16:04 UTC (permalink / raw)
  To: Constantin Musca; +Cc: openembedded-core

On 18 February 2013 17:47, Constantin Musca <constantinx.musca@intel.com> wrote:
> License checksum change due to:
> - version modification
> - links modification
> - additional license explanations
>
> fix_for_automake_1.12.1.patch: not needed anymore
>
> fix-jmorecfg-boolean-enum.patch: added
> - we have to undef TRUE & FALSE in order to define
> the boolean enum
>
> Signed-off-by: Constantin Musca <constantinx.musca@intel.com>

 Have you tried to build webkit-gtk against this? At one point I had
similar jpeg update in my tree causing webkit-gtk build failure.


 - ML



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

* Re: [PATCH] jpeg: upgrade to 9
  2013-02-18 16:04 ` Marko Lindqvist
@ 2013-02-20 15:06   ` Constantin Musca
  2013-02-20 15:50     ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Constantin Musca @ 2013-02-20 15:06 UTC (permalink / raw)
  To: Marko Lindqvist; +Cc: openembedded-core

On 02/18/2013 06:04 PM, Marko Lindqvist wrote:
> On 18 February 2013 17:47, Constantin Musca <constantinx.musca@intel.com> wrote:
>> License checksum change due to:
>> - version modification
>> - links modification
>> - additional license explanations
>>
>> fix_for_automake_1.12.1.patch: not needed anymore
>>
>> fix-jmorecfg-boolean-enum.patch: added
>> - we have to undef TRUE & FALSE in order to define
>> the boolean enum
>>
>> Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
>   Have you tried to build webkit-gtk against this? At one point I had
> similar jpeg update in my tree causing webkit-gtk build failure.
>
>
>   - ML
You are right. The problem is that I can't upgrade webkit-gtk because 
the new version requires ruby.

Cheers,
Constantin



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

* Re: [PATCH] jpeg: upgrade to 9
  2013-02-20 15:06   ` Constantin Musca
@ 2013-02-20 15:50     ` Burton, Ross
  2013-02-20 23:13       ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Burton, Ross @ 2013-02-20 15:50 UTC (permalink / raw)
  To: Constantin Musca; +Cc: openembedded-core

On 20 February 2013 15:06, Constantin Musca <constantinx.musca@intel.com> wrote:
>>   Have you tried to build webkit-gtk against this? At one point I had
>> similar jpeg update in my tree causing webkit-gtk build failure.
>
> You are right. The problem is that I can't upgrade webkit-gtk because the
> new version requires ruby.

But we can cherry-pick any libjpeg fixes until we've bitten the bullet
and integrated ruby.

Ross



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

* Re: [PATCH] jpeg: upgrade to 9
  2013-02-20 15:50     ` Burton, Ross
@ 2013-02-20 23:13       ` Martin Jansa
  2013-02-21 10:32         ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2013-02-20 23:13 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-core

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

On Wed, Feb 20, 2013 at 03:50:09PM +0000, Burton, Ross wrote:
> On 20 February 2013 15:06, Constantin Musca <constantinx.musca@intel.com> wrote:
> >>   Have you tried to build webkit-gtk against this? At one point I had
> >> similar jpeg update in my tree causing webkit-gtk build failure.
> >
> > You are right. The problem is that I can't upgrade webkit-gtk because the
> > new version requires ruby.
> 
> But we can cherry-pick any libjpeg fixes until we've bitten the bullet
> and integrated ruby.

ruby-native is already in meta-ruby

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH] jpeg: upgrade to 9
  2013-02-20 23:13       ` Martin Jansa
@ 2013-02-21 10:32         ` Burton, Ross
  0 siblings, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2013-02-21 10:32 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On 20 February 2013 23:13, Martin Jansa <martin.jansa@gmail.com> wrote:
>> But we can cherry-pick any libjpeg fixes until we've bitten the bullet
>> and integrated ruby.
>
> ruby-native is already in meta-ruby

Yes, "biting the bullet" means either committing to building WebKit in
oe-core or not.

Ross



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

end of thread, other threads:[~2013-02-21 10:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18 15:47 [PATCH] jpeg: upgrade to 9 Constantin Musca
2013-02-18 16:04 ` Marko Lindqvist
2013-02-20 15:06   ` Constantin Musca
2013-02-20 15:50     ` Burton, Ross
2013-02-20 23:13       ` Martin Jansa
2013-02-21 10:32         ` Burton, Ross

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.