Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (50c5b6c12610555b3b635040576ffd2087ce015a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (50c5b6c12610555b3b635040576ffd2087ce015a)
  • Date: Mon, 18 Jul 2016 17:18:04 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

graphics-libs/mesalib/DEPENDS | 41
+++++++++++++++++++----------------------
graphics-libs/mesalib/DETAILS | 32 ++++++++++++++++----------------
graphics-libs/mesalib/HISTORY | 5 +++++
3 files changed, 40 insertions(+), 38 deletions(-)

New commits:
commit 50c5b6c12610555b3b635040576ffd2087ce015a
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

graphics-libs/mesalib: more codestyling + removal of python3 for scm
branch

diff --git a/graphics-libs/mesalib/DEPENDS b/graphics-libs/mesalib/DEPENDS
index 5e33556..3d467fa 100755
--- a/graphics-libs/mesalib/DEPENDS
+++ b/graphics-libs/mesalib/DEPENDS
@@ -1,7 +1,7 @@
-. "$GRIMOIRE/FUNCTIONS" &&
+. "${GRIMOIRE}/FUNCTIONS" &&

depends smgl-gl_select &&
-depends -sub 'CXX' gcc &&
+depends -sub "CXX" gcc &&
depends bison &&
depends flex &&
depends gettext &&
@@ -14,9 +14,9 @@ depends libx11 &&
depends glproto &&
depends presentproto &&
depends libxshmfence &&
-optional_depends dri3proto '--enable-dri3' '' 'DRI3 support' &&
+optional_depends dri3proto "--enable-dri3" "" "DRI3 support" &&

-case $MESALIB_BUILD in
+case ${MESALIB_BUILD} in
dri)
depends dri2proto &&
depends libxext &&
@@ -26,47 +26,44 @@ case $MESALIB_BUILD in
depends libxcb &&
depends expat &&
optional_depends DEVICE-MANAGER \
- '' \
- '--enable-sysfs' \
- 'Use a device manager instead of sysfs'
+ "" \
+ "--enable-sysfs" \
+ "Use a device manager instead of sysfs"
;;
*)
;;
esac &&

-if [[ -n $MESALIB_GALLIUM ]] && [[ "$MESALIB_GALLIUM" != "none" ]]; then
+if [[ -n ${MESALIB_GALLIUM} ]] && [[ "${MESALIB_GALLIUM}" != "none" ]]; then
depends llvm &&
depends libelf &&
depends mako &&
depends python &&
- if [[ "$MESALIB_BRANCH" == "scm" ]]; then
- depends python3
- fi &&
- if list_find "$MESA_EGL" wayland;then
+ if list_find "${MESA_EGL}" wayland;then
depends wayland
fi &&
- if list_find "$MESALIB_GALLIUM" radeonsi;then
+ if list_find "${MESALIB_GALLIUM}" radeonsi;then
sub_depends libdrm AMD
fi
fi &&

-if ( list_find "$MESALIB_DRIVERS" i915 ) || \
- ( list_find "$MESALIB_DRIVERS" i965); then
+if ( list_find "${MESALIB_DRIVERS}" i915 ) || \
+ ( list_find "${MESALIB_DRIVERS}" i965); then
sub_depends libdrm INTEL
fi &&

-if ( list_find "$MESALIB_DRIVERS" r200) || \
- ( list_find "$MESALIB_DRIVERS" radeon); then
+if ( list_find "${MESALIB_DRIVERS}" r200) || \
+ ( list_find "${MESALIB_DRIVERS}" radeon); then
sub_depends libdrm RADEON
fi &&

-if ( list_find "$MESALIB_DRIVERS" nouveau); then
+if ( list_find "${MESALIB_DRIVERS}" nouveau); then
sub_depends libdrm NOUVEAU
fi &&

-if list_find "$MESA_EGL" wayland;then
+if list_find "${MESA_EGL}" wayland;then
depends wayland
fi &&
-optional_depends libva '' '' 'video acceleration support' &&
-optional_depends libvdpau '' '' 'VDPAU support' &&
-optional_depends libxvmc '--enable-xvmc' '--disable-xvmc' 'XvMC support
(obsolete)'
+optional_depends libva "" "" "video acceleration support" &&
+optional_depends libvdpau "" "" "VDPAU support" &&
+optional_depends libxvmc "--enable-xvmc" "--disable-xvmc" "XvMC support
(obsolete)"
diff --git a/graphics-libs/mesalib/DETAILS b/graphics-libs/mesalib/DETAILS
index 39b062e..62f498b 100755
--- a/graphics-libs/mesalib/DETAILS
+++ b/graphics-libs/mesalib/DETAILS
@@ -1,27 +1,27 @@
-. $GRIMOIRE/FUNCTIONS
- SPELL=mesalib
-if [[ "$MESALIB_BRANCH" == "scm" ]]; then
+. ${GRIMOIRE}/FUNCTIONS
+ SPELL="mesalib"
+if [[ "${MESALIB_BRANCH}" == "scm" ]]; then
VERSION=$(get_scm_version)
- SOURCE=${SPELL}-git.tar.xz
+ SOURCE="${SPELL}-git.tar.xz"
FORCE_DOWNLOAD="on"
- SOURCE_URL[0]=git://anongit.freedesktop.org/git/mesa/mesa:mesalib-git
-SOURCE_DIRECTORY=${BUILD_DIRECTORY}/mesalib-git
- SOURCE_IGNORE=volatile
+ SX="${SPELL}-git"
+ SOURCE_URL[0]="git://anongit.freedesktop.org/git/mesa/mesa:${SX}"
+ SOURCE_IGNORE="volatile"
else
- VERSION=12.0.1
-
SOURCE_HASH=sha512:11898336478d1f5bd3946d695b9599647c0b9084ad8890b4fa89daa922a217e5ca6d8b72f5801e362c3dd7723382f2daaa655b54f65a6d088ad8cfdb85f10023
+ VERSION="12.0.1"
+
SOURCE_HASH="sha512:11898336478d1f5bd3946d695b9599647c0b9084ad8890b4fa89daa922a217e5ca6d8b72f5801e362c3dd7723382f2daaa655b54f65a6d088ad8cfdb85f10023"
PATCHLEVEL=0
# VX=`echo $VERSION | cut -d. -f-2`
- SX=mesa-${VERSION}
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SX}
- SOURCE=${SX}.tar.xz
- SOURCE_URL[0]=ftp://ftp.freedesktop.org/pub/mesa/${VERSION}/${SOURCE}
+ SX="mesa-${VERSION}"
+ SOURCE="${SX}.tar.xz"
+ SOURCE_URL[0]="ftp://ftp.freedesktop.org/pub/mesa/${VERSION}/${SOURCE}";
fi
- LICENSE[0]=GPL
- WEB_SITE=http://www.mesa3d.org/
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SX}"
+ LICENSE[0]="GPL"
+ WEB_SITE="http://www.mesa3d.org/";
KEYWORDS="graphics libs"
ENTERED=20140414
- STAGED_INSTALL=off
+ STAGED_INSTALL="off"
SHORT="Mesa implementation of the OpenGL(TM) API"
cat << EOF
Mesa is a 3-D graphics library with an API which is very similar to
diff --git a/graphics-libs/mesalib/HISTORY b/graphics-libs/mesalib/HISTORY
index 5a068b5..1e7ab99 100644
--- a/graphics-libs/mesalib/HISTORY
+++ b/graphics-libs/mesalib/HISTORY
@@ -1,3 +1,8 @@
+2016-07-18 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: more cleanups, reusability++
+ * DEPENDS: removed python3 for scm branch, upstream rolled back to
+ python2, ' -> ", escaping++
+
2016-07-16 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: fixed scm branch version (2), corrected variables'
escaping and reusability



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (50c5b6c12610555b3b635040576ffd2087ce015a), Pavel Vinogradov, 07/18/2016

Archive powered by MHonArc 2.6.24.

Top of Page