From b20ee5fd9bee908088c6a9cb6da01b7976e60375 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 14 Jan 2012 08:59:56 +0100 Subject: [PATCH] gjs: update to 1.30.1. --- .../gjs/patches/regress_missing_glib_symbols.patch | 13 +++++++++++++ srcpkgs/gjs/template | 12 +++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/gjs/patches/regress_missing_glib_symbols.patch diff --git a/srcpkgs/gjs/patches/regress_missing_glib_symbols.patch b/srcpkgs/gjs/patches/regress_missing_glib_symbols.patch new file mode 100644 index 0000000000..f7d70410ae --- /dev/null +++ b/srcpkgs/gjs/patches/regress_missing_glib_symbols.patch @@ -0,0 +1,13 @@ +--- Makefile-test.am.orig 2012-01-14 08:54:37.862659814 +0100 ++++ Makefile-test.am 2012-01-14 08:55:24.061568378 +0100 +@@ -69,8 +69,8 @@ testlibdir = $(prefix)/unused + install-testlibLTLIBRARIES: # prevent it from being installed + + nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h +-libregress_la_CFLAGS = $(GJS_CFLAGS) $(GJS_CAIRO_CFLAGS) +-libregress_la_LDFLAGS = -avoid-version $(GJS_LIBS) $(GJS_CAIRO_LIBS) ++libregress_la_CFLAGS = $(GJS_CFLAGS) $(GJS_CAIRO_CFLAGS) $(GJS_GDBUS_CFLAGS) ++libregress_la_LDFLAGS = -avoid-version $(GJS_LIBS) $(GJS_CAIRO_LIBS) $(GJS_GDBUS_LIBS) + nodist_libgimarshallingtests_la_SOURCES = $(GI_DATADIR)/tests/gimarshallingtests.c $(GI_DATADIR)/tests/gimarshallingtests.h + libgimarshallingtests_la_CFLAGS = $(GJS_CFLAGS) + libgimarshallingtests_la_LDFLAGS = -avoid-version $(GJS_LIBS) diff --git a/srcpkgs/gjs/template b/srcpkgs/gjs/template index 1b40cfb317..bedd7970f1 100644 --- a/srcpkgs/gjs/template +++ b/srcpkgs/gjs/template @@ -1,12 +1,13 @@ # Template file for 'gjs' pkgname=gjs -version=1.30.0 +version=1.30.1 +homepage="http://live.gnome.org/Gjs" distfiles="${GNOME_SITE}/$pkgname/1.30/$pkgname-$version.tar.xz" build_style=gnu-configure -revision=1 short_desc="Mozilla-based javascript bindings for the GNOME platform" maintainer="Juan RP " -checksum=ffe01980dd183abd96b2cc861d2e86ef12751d0a1af86daa4c491b82c74ac7b9 +license="MPL-1.1, LGPL-2.1, GPL-2" +checksum=f5db07ddf70458a33a5d0bdf83f84070fc234237ecb0d49a8676e67b52119a05 long_desc=" Makes it possible for applications to use all of GNOME's platform libraries using the Javascript language. It's mainly based on the Mozilla javascript @@ -14,6 +15,7 @@ long_desc=" subpackages="gjs-devel" +Add_dependency build automake Add_dependency build pkg-config Add_dependency build intltool Add_dependency build libffi-devel @@ -23,3 +25,7 @@ Add_dependency build cairo-devel Add_dependency build readline-devel Add_dependency build js-devel Add_dependency build gobject-introspection + +pre_configure() { + autoreconf -fi +}