version bump
authorMichael Sterrett <mr_bones_@gentoo.org>
Mon, 19 Jan 2015 05:50:12 +0000 (05:50 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Mon, 19 Jan 2015 05:50:12 +0000 (05:50 +0000)
Package-Manager: portage-2.2.14/cvs/Linux x86_64

games-kids/gcompris/ChangeLog
games-kids/gcompris/Manifest
games-kids/gcompris/files/gcompris-13.11-build.patch
games-kids/gcompris/files/gcompris-14.12-build.patch [new file with mode: 0644]
games-kids/gcompris/gcompris-13.11.ebuild
games-kids/gcompris/gcompris-14.12.ebuild [new file with mode: 0644]

index dffd30a646ef3a549760443bc8575a4d557c1030..2913c9db9ad5aef1084ea63c6cf14da2972dc520 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for games-kids/gcompris
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.101 2014/02/15 22:06:43 mr_bones_ Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.102 2015/01/19 05:50:07 mr_bones_ Exp $
+
+*gcompris-14.12 (19 Jan 2015)
+
+  19 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org>
+  +files/gcompris-14.12-build.patch, +gcompris-14.12.ebuild,
+  files/gcompris-13.11-build.patch, gcompris-13.11.ebuild:
+  version bump
 
   15 Feb 2014; Michael Sterrett <mr_bones_@gentoo.org> gcompris-13.11.ebuild:
   latest librsvg has dropped the gtk use flag (bug #501418)
index a6a9ada5bfa5f84f5e41ce4117527206e1cca099..6d64fe20e7186231c469b50f93bac574e7cf9e5f 100644 (file)
@@ -1,5 +1,8 @@
-AUX gcompris-13.11-build.patch 3270 SHA256 0b76fe744a8f5b3cd25a504ca4168268a295c623ae6b73424b977bf5dce8cc9a SHA512 01d1027a831950f903a30e7f31c6b3a79bd4e8fd5ad35252f9809e74d6f8a2b504c2d770bf332d0ba16937e926e1e410188e31c61d78cfc6c904b9e7c5ff48d4 WHIRLPOOL cf0c1f8b9edcc86c5d613ae022fed7da58d402a42e5b5f49b864f149a4e24192720c02e5a83f6ebee3a75b9b317e3ab828f2759b2ba4b7fa803454e090ffbfea
+AUX gcompris-13.11-build.patch 2824 SHA256 df4213b104a3e35c8c6219e3b920a31c3a4f103fbcd9bd9fc68b5737938cf834 SHA512 521eb3f79424b7b7678984d9175cd4c20ec15c541ac52f012fba426163c284a6c6ccae622f05ef4ef7da0d5bcf16ddfc8cc9b5ad2d48aeca9a7f7a112209929d WHIRLPOOL 27afea1cf8294a8e8e3c2417d0b0fcd289bc46c397ee18ebc8b081601ea632ac3a7175efc1a56d11288577f94115d4c2ee71075ad85b4dbb240f02c6b08988b2
+AUX gcompris-14.12-build.patch 2824 SHA256 df4213b104a3e35c8c6219e3b920a31c3a4f103fbcd9bd9fc68b5737938cf834 SHA512 521eb3f79424b7b7678984d9175cd4c20ec15c541ac52f012fba426163c284a6c6ccae622f05ef4ef7da0d5bcf16ddfc8cc9b5ad2d48aeca9a7f7a112209929d WHIRLPOOL 27afea1cf8294a8e8e3c2417d0b0fcd289bc46c397ee18ebc8b081601ea632ac3a7175efc1a56d11288577f94115d4c2ee71075ad85b4dbb240f02c6b08988b2
 DIST gcompris-13.11.tar.bz2 264431313 SHA256 418dad2c8f0fc90e16e97ab67b6700e3af5f33ae05d83f28f3b1117183f88c57 SHA512 c74abb948559944cb8552ee8d3f760d598b04e9962f3650fb356775df568a27f5f9436fec9fc1348af1d0802434337494a0be909ffc7adfa6873e74dcbc9cbee WHIRLPOOL d25e3d3e4504e05a43ec95457c7ac6a194738e07339c9372619f76332aefa2efc9d82e2d3583cb72e113a2f3126bca96655fc0f62a61ce86133c66a9a8405bf0
-EBUILD gcompris-13.11.ebuild 2344 SHA256 1557be7a6888f8017b659f22e5c7a46d7194607f6b1f8988d7adc6d807764b01 SHA512 a1651a2efb05c8b36edf9768f7c069e86908e068ecf01b9a08d08216cdd0f68b21087e0085564dd2493cb2a4640776655e660b9576aceaada6b4d85988584585 WHIRLPOOL 0ae746a0074ed38870f0a11eb30befc538329c7fd04d922e3b9cc89ed50f280e794eafd0938004c0815b4741a65697ca5a7e351872a1cbf8c32f570d2b91cf7d
-MISC ChangeLog 14739 SHA256 66073ef5d1a3fdeadc249768bae6a10ebd53212dcaee0380bb52c2ee8167f152 SHA512 f073b6aa4acb2942fff33076c65dc1e25a6bd391f3cc27de7aa63d02ac75f38e3b6dc79f62f9d1365f24247b8c2685d10c6583ae8f847cb49fdb5b662e42bb8a WHIRLPOOL eca79f5ea7042b0be31b21b8af96681c176a88a49269a48084a901eeda4624aaa8f1fb2dc76e8cd2a621658b5c756117ea9ba75643251c01f0cd2b30ebcc42c1
+DIST gcompris-14.12.tar.bz2 272767636 SHA256 bf0beafb03c0f4ffe05bbfcda54b91a5e8a034b5d813cb4492d6f59a21f9cdcf SHA512 b0948fcf303b335a231318dd57ef84d83cda7839e82542e5c4b9e794745561c24d64e7e76a96c63d1b0eb5a44377f2bf05b1d89f3bcab75dd2c32075e2ba5258 WHIRLPOOL 0d49a59e5fddd5e24e6e593ad53d99c7a8714b6b48dd2e3f776600366f61886c4ea15428f056cb8ae69e26024a88f3264814f80ce9e11e9d82d4f9d0adb8b056
+EBUILD gcompris-13.11.ebuild 2334 SHA256 e06ccc4e0ab0f77a14054411fbcce477b33af1bf80d06698811817d992b13c3c SHA512 532ec03edf1d2d0226db94a6be7ff321959137248c3a28654b794ccd3e101c3410233d85cc08c5af66dbada51a9f0036cc91986c05cad1614b2b5482f151e0c9 WHIRLPOOL c4c13e289f25477ab08b804f013d54034dbc40662a30b6d1c2f5e0e15d238ba30954ab057438af4a5bdcff50379640a112a4ae2f1db8d268115021470ec40907
+EBUILD gcompris-14.12.ebuild 2337 SHA256 4d9522e1e9a5c53e62765213b9b23a6051bcda40ce4f8672fd68ef1328728daf SHA512 b75b21d780a4bcd6b90b17e3c50a2851bc5a9c99ef47ea9baf1da749d1e2bf3938c507e66a6a17c6d5b8f4cd0b405a56deea8641a0989de560764cc6d872f6ec WHIRLPOOL c0b151e178fa2932d729d1d2240e56be832e5b4942ccd5b9f881eafe35ee8638bc615891ae643e55cf1ba01a3493a04b7d27d76a0a74061cf4d04dea4093aee1
+MISC ChangeLog 14961 SHA256 7915dd2223e744d87867aca10c7d3e36c7f30d3e3a5f2c02969586cd83f32f2a SHA512 acaf821075ed69abf8d465ed3ae7d5c6cb3fe902d5aac76c5f339119fcafa97773ed85718797f1800d7bd098b67e3e6c637b936c9cb20dcb827d71c7553a7b7b WHIRLPOOL bf4f85d08fe73a1475ed832f6aebc4ec488f9c3a19919f95f4231a0d447659d29c4cfc7fdf216b2724e1276627861bacd72ad9e1a00a7ec2b0f01286cde1a8dc
 MISC metadata.xml 160 SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d SHA512 e5ae2b384aa96a402995bf0e8b4c29d38d57f1ebc44eeca71d7eda9a29431b7737c3c3a5df053e868a21c21abb457658344e7fb7c2102d4625a160273048c2db WHIRLPOOL b626c8afedc54ba9adb429cb53f860c0165702b1cea15f5c84c4e458cc94f28755ec66c5b73d9ecc155c1de70c82e1d79ba859c2124d0a78437681f2786e1246
index 60b3ab5345bcb7cf78e41f0ee809a8e11da71199..077d1f6baf1a5fa0281cb1338bf90f1410d6e960 100644 (file)
@@ -1,6 +1,5 @@
-diff -ru gcompris-13.11.orig/Makefile.am gcompris-13.11/Makefile.am
---- gcompris-13.11.orig/Makefile.am    2013-08-31 05:21:59.000000000 -0400
-+++ gcompris-13.11/Makefile.am 2013-11-05 18:37:58.851772740 -0500
+--- gcompris-13.11.orig/Makefile.am
++++ gcompris-13.11/Makefile.am
 @@ -7,7 +7,7 @@
  # endif
  
@@ -19,9 +18,8 @@ diff -ru gcompris-13.11.orig/Makefile.am gcompris-13.11/Makefile.am
  Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in
  Applications_DATA = gcompris.desktop gcompris-edit.desktop
  endif
-diff -ru gcompris-13.11.orig/configure.ac gcompris-13.11/configure.ac
---- gcompris-13.11.orig/configure.ac   2013-11-03 18:13:54.000000000 -0500
-+++ gcompris-13.11/configure.ac        2013-11-05 18:44:21.210250234 -0500
+--- gcompris-13.11.orig/configure.ac
++++ gcompris-13.11/configure.ac
 @@ -57,7 +57,8 @@
    gtk+-2.0 >= $GTK_REQUIRED \
    librsvg-2.0 >= $LIBRSVG_REQUIRED \
@@ -70,9 +68,8 @@ diff -ru gcompris-13.11.orig/configure.ac gcompris-13.11/configure.ac
    AC_SUBST(PYTHON_PLUGIN_DIR)
  
    dnl System GCompris config directory
-diff -ru gcompris-13.11.orig/src/gcompris/gcompris.c gcompris-13.11/src/gcompris/gcompris.c
---- gcompris-13.11.orig/src/gcompris/gcompris.c        2013-10-02 18:13:32.000000000 -0400
-+++ gcompris-13.11/src/gcompris/gcompris.c     2013-11-05 18:43:42.907603900 -0500
+--- gcompris-13.11.orig/src/gcompris/gcompris.c
++++ gcompris-13.11/src/gcompris/gcompris.c
 @@ -1322,7 +1322,7 @@
      properties->package_plugin_dir = g_strconcat(pkg_clib_dir, "/gcompris", NULL);
      properties->package_python_plugin_dir = g_strconcat(pkg_data_dir, "/gcompris/python",
diff --git a/games-kids/gcompris/files/gcompris-14.12-build.patch b/games-kids/gcompris/files/gcompris-14.12-build.patch
new file mode 100644 (file)
index 0000000..077d1f6
--- /dev/null
@@ -0,0 +1,81 @@
+--- gcompris-13.11.orig/Makefile.am
++++ gcompris-13.11/Makefile.am
+@@ -7,7 +7,7 @@
+ # endif
+ 
+ 
+-icondir=$(datadir)/pixmaps
++icondir=/usr/share/pixmaps
+ icon_DATA = gcompris.png gcompris-edit.png
+ 
+ if BUILD_MINGW32
+@@ -15,7 +15,7 @@
+ Applications_in_files =
+ Applications_DATA =
+ else
+-Applicationsdir = $(datadir)/applications/
++Applicationsdir = /usr/share/applications/
+ Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in
+ Applications_DATA = gcompris.desktop gcompris-edit.desktop
+ endif
+--- gcompris-13.11.orig/configure.ac
++++ gcompris-13.11/configure.ac
+@@ -57,7 +57,8 @@
+   gtk+-2.0 >= $GTK_REQUIRED \
+   librsvg-2.0 >= $LIBRSVG_REQUIRED \
+   libxml-2.0 >= $LIBXML_REQUIRED \
+-  gthread-2.0 )
++  gthread-2.0 \
++  gmodule-2.0 )
+ 
+ AC_SUBST(GCOMPRIS_CFLAGS)
+ AC_SUBST(GCOMPRIS_LIBS)
+@@ -204,10 +205,8 @@
+           USE_DEBUG="$enableval", USE_DEBUG="no")
+ if test "x$USE_DEBUG" == "xyes" ; then
+     AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.")
+-    CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -g"
+-else
+-    CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -O2"
+ fi
++CFLAGS="$CFLAGS $OSX_CFLAGS -Wall"
+ 
+ dnl disable activation code
+ AC_ARG_ENABLE(disable-activation-code,
+@@ -336,21 +335,21 @@
+   fi
+ else
+   dnl Set PACKAGE_LOCALE_DIR in config.h.
+-  AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${myprefix}/${DATADIRNAME}/locale", [GCompris locale directory])
++  AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "/usr/share/locale", [GCompris locale directory])
+ 
+   dnl Set PACKAGE_DATA_DIR
+   PACKAGE_DATA_DIR="boards"
+   AC_SUBST(PACKAGE_DATA_DIR)
+-  AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${myprefix}/${DATADIRNAME}", [GCompris data directory])
++  AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", [GCompris data directory])
+ 
+   dnl Plugin Directory
+   my_libdir=`eval echo "${libdir}"`
+-  AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${my_libdir}", [Gcompris plugins directory])
++  AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${libdir}", [Gcompris plugins directory])
+   plugindir=$libdir/gcompris
+   AC_SUBST(plugindir)
+ 
+   dnl Python plugin Directory
+-  PYTHON_PLUGIN_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/python"
++  PYTHON_PLUGIN_DIR="${datadir}/${PACKAGE}/python"
+   AC_SUBST(PYTHON_PLUGIN_DIR)
+ 
+   dnl System GCompris config directory
+--- gcompris-13.11.orig/src/gcompris/gcompris.c
++++ gcompris-13.11/src/gcompris/gcompris.c
+@@ -1322,7 +1322,7 @@
+     properties->package_plugin_dir = g_strconcat(pkg_clib_dir, "/gcompris", NULL);
+     properties->package_python_plugin_dir = g_strconcat(pkg_data_dir, "/gcompris/python",
+                                                       NULL);
+-    properties->system_icon_dir = g_strconcat(pkg_data_dir, "/pixmaps", NULL);
++    properties->system_icon_dir = g_strconcat("/usr/share", "/pixmaps", NULL);
+     properties->menu_dir = g_strdup(properties->package_data_dir);
+     g_free(pkg_data_dir);
+     g_free(pkg_clib_dir);
index a004337833eb93211d7136aa5b4efd53ac4fb288..cd65d479aa90b3b49ac7b44846ff09a1dd103b0c 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-13.11.ebuild,v 1.5 2014/02/15 22:06:43 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-13.11.ebuild,v 1.6 2015/01/19 05:50:07 mr_bones_ Exp $
 
 EAPI=5
-PYTHON_COMPAT=( python2_6 python2_7 )
+PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE="sqlite,threads"
 
 inherit autotools eutils python-single-r1 games
diff --git a/games-kids/gcompris/gcompris-14.12.ebuild b/games-kids/gcompris/gcompris-14.12.ebuild
new file mode 100644 (file)
index 0000000..75bf60b
--- /dev/null
@@ -0,0 +1,96 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-14.12.ebuild,v 1.1 2015/01/19 05:50:07 mr_bones_ Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite,threads"
+
+inherit autotools eutils python-single-r1 games
+
+DESCRIPTION="full featured educational application for children from 2 to 10"
+HOMEPAGE="http://gcompris.net/"
+SRC_URI="http://gcompris.net/download/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gstreamer"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="x11-libs/gtk+:2
+       gnome-base/librsvg[gtk(+)]
+       gstreamer? (
+               media-libs/gstreamer:0.10
+               media-libs/gst-plugins-good:0.10
+               media-plugins/gst-plugins-ogg:0.10
+               media-plugins/gst-plugins-alsa:0.10
+               media-plugins/gst-plugins-vorbis:0.10 )
+       !gstreamer? (
+               media-libs/sdl-mixer
+               media-libs/libsdl:0 )
+       dev-libs/libxml2
+       dev-libs/popt
+       virtual/libintl
+       dev-db/sqlite:3
+       dev-python/pygtk[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       gnome-base/gnome-common
+       dev-perl/XML-Parser
+       sys-devel/gettext
+       sys-apps/texinfo
+       app-text/texi2html
+       virtual/pkgconfig"
+RDEPEND="${RDEPEND}
+       media-gfx/tuxpaint
+       sci-electronics/gnucap"
+
+pkg_setup() {
+       python-single-r1_pkg_setup
+       games_pkg_setup
+}
+
+src_prepare() {
+       # Drop DEPRECATED flags, bug #387817
+       sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+               src/gcompris/Makefile.am src/gcompris/Makefile.in \
+               src/goocanvas/src/Makefile.am src/goocanvas/src/Makefile.in \
+               || die
+
+       epatch "${FILESDIR}"/${P}-build.patch
+       cp /usr/share/gettext/config.rpath .
+       eautoreconf
+       sed -i \
+               -e 's#^itlocaledir =.*$#itlocaledir = @localedir@#' \
+               po/Makefile.in.in || die
+
+       # Fix desktop files
+       sed -i \
+               -e '/Encoding/d' \
+               gcompris.desktop.in \
+               gcompris-edit.desktop.in || die
+}
+
+src_configure() {
+       GNUCHESS="${GAMES_BINDIR}/gcompris-gnuchess" \
+       egamesconf \
+               --datarootdir="${GAMES_DATADIR}" \
+               --datadir="${GAMES_DATADIR}" \
+               --localedir=/usr/share/locale \
+               --infodir=/usr/share/info \
+               --with-python="${PYTHON}" \
+               $(use_enable !gstreamer sdlmixer) \
+               --enable-sqlite \
+               --enable-py-build-only
+}
+
+src_compile() {
+       emake -j1
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       prune_libtool_files --modules
+       dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+       prepgamesdirs
+}