New commits:
commit 37f3ed2e35a04afe59938d1ace0c6b3bdb1f6997
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
glselect.function: just call smgl-gl_select
commit 336c4381cea320eeb317ad9933feada0868b7204
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
xorg-server: depends smgl-gl_select
commit 7d6675f192935fce09e450c37f00184c70b074bc
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
mpv: properly depend on smgl-gl_select
commit 091747b8ebe0fedc72b89b48d3fc2f8d848da09e
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
openscenegraph: depend on smgl-gl_select
commit 85f6886ba199120f95b45c7f11ec567d0f2cfcda
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
mesalib: depend on smgl-gl_select and actually select GL in FINAL
diff --git a/ChangeLog b/ChangeLog
index a35f283..1c62844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-05-05 Thomas Orgis <sobukus AT sourcemage.org>
+ * glselect.function: Call out to smgl-gl_select to avoid
+ code duplication; spells having to depend on that
+ Spells might call smgl-gl_select in future and this function
+ might be removed.
+
2015-05-05 Vlad Glagolev <stealth AT sourcemage.org>
* python-pypi/python-pgpdump: new spell, version 1.5
diff --git a/glselect.function b/glselect.function
index b2dddd5..1e7cb21 100755
--- a/glselect.function
+++ b/glselect.function
@@ -1,6 +1,7 @@
#---
## glselect - select default libGL provider
## rewritten from smgl-gl_select
+## then modified to call the latter instead, duplication == BAD
##
## this is run in FINAL and will always set the provider
## based on the final spell cast that calls this.
@@ -10,110 +11,6 @@
#---
diff --git a/video/mpv/DEPENDS b/video/mpv/DEPENDS
index 92db750..4fe5b7b 100755
--- a/video/mpv/DEPENDS
+++ b/video/mpv/DEPENDS
@@ -201,7 +201,7 @@ else
fi &&
if is_depends_enabled $SPELL $(get_spell_provider $SPELL OPENGL); then
- suggest_depends smgl-gl_select "" "" "to switch between OPENGL providers
in userspace"
+ depends smgl-gl_select
fi &&
if is_depends_enabled $SPELL $(get_spell_provider $SPELL LUA); then
diff --git a/video/mpv/HISTORY b/video/mpv/HISTORY
index 234e04f..7848fe5 100644
--- a/video/mpv/HISTORY
+++ b/video/mpv/HISTORY
@@ -1,3 +1,6 @@
+2015-05-05 Thomas Orgis <sobukus AT sourcemage.org>
+ * DEPENDS: definitely depend on smgl-gl_select
+
2015-04-26 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: updated spell to 0.9.0, waf 1.8.9
* BUILD: uses waf_build from FUNCTIONS again
diff --git a/xorg-xserver/xorg-server/DEPENDS
b/xorg-xserver/xorg-server/DEPENDS
index 0ffa9f1..a03bfdf 100755
--- a/xorg-xserver/xorg-server/DEPENDS
+++ b/xorg-xserver/xorg-server/DEPENDS
@@ -156,6 +156,7 @@ depends pkgconfig &&
depends libtool &&
depends AWK &&
depends mesalib &&
+depends smgl-gl_select &&
depends rgb &&
depends font-cursor-misc &&
depends font-misc-misc &&
diff --git a/xorg-xserver/xorg-server/HISTORY
b/xorg-xserver/xorg-server/HISTORY
index d7a7fcd..b48e003 100644
--- a/xorg-xserver/xorg-server/HISTORY
+++ b/xorg-xserver/xorg-server/HISTORY
@@ -1,3 +1,6 @@
+2015-05-05 Thomas Orgis <sobukus AT sourcemage.org>
+ * DEPENDS: on smgl-gl_select
+
2015-04-26 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* PRE_BUILD, xorg-server-1.17.1-gcc5_fixes-1.patch: add patch from
LFS to fix build with gcc 5
[SM-Commit] GIT changes to master grimoire by Thomas Orgis (a7dc593acb1050287772909d73b2e1da6b70ff30),
Thomas Orgis, 05/05/2015