Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
2c9effed
You need to sign in or sign up before continuing.
Commit
2c9effed
authored
Feb 20, 2017
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mesa subtree: Add quilt based patch system for bundled Mesa.
parent
2767d32c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
+37
-0
Makefile
Makefile
+3
-0
mesa-quilt
mesa-quilt
+34
-0
No files found.
Makefile
View file @
2c9effed
...
...
@@ -36,6 +36,8 @@ SHELL:=/bin/bash
# clean auto-generated nxversion.def file \
if
[
"x$@"
==
"xclean"
]
||
[
"x$@"
=
"xdistclean"
];
then
\
./mesa-quilt
pop
-a;
\
rm
-Rf
nx-X11/extras/Mesa/.pc/;
\
rm
-f
nx-X11/config/cf/nxversion.def;
\
rm
-f
bin/nxagent;
\
rm
-f
bin/nxproxy;
\
...
...
@@ -72,6 +74,7 @@ build-full:
cd
nxcompshad
&&
autoconf
&&
(${CONFIGURE})
&&
${MAKE}
./mesa-quilt
push
-a
cd
nx-X11
&&
${MAKE}
World
USRLIBDIR
=
$(USRLIBDIR)
SHLIBDIR
=
$(SHLIBDIR)
cd
nxproxy
&&
autoconf
&&
(${CONFIGURE})
&&
${MAKE}
...
...
mesa-quilt
0 → 100755
View file @
2c9effed
#!/bin/bash
# Copyright (C) 2017 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
d
=
.
;
while
[
!
-d
"
$d
/nx-X11/extras"
]
&&
[
"
$(
readlink
-e
"
$d
"
)
"
!=
"/"
]
;
do
d
=
"
$d
/.."
;
done
if
[
-d
"
$d
/nx-X11/extras"
]
&&
[
-z
"
$QUILT_PATCHES
"
]
;
then
# if in nx-libs tree with unset $QUILT_PATCHES
export
QUILT_PATCHES
=
"../Mesa.patches"
export
QUILT_PATCH_OPTS
=
"--reject-format=unified"
export
QUILT_DIFF_ARGS
=
"-p ab --no-timestamps --no-index --color=auto"
export
QUILT_REFRESH_ARGS
=
"-p ab --no-timestamps --no-index"
export
QUILT_COLORS
=
"diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33"
if
!
[
-d
"
$d
/nx-X11/extras/Mesa.patches"
]
;
then
mkdir
"
$d
/nx-X11/extras/Mesa.patches"
;
fi
cd
"
$d
/nx-X11/extras/Mesa/"
fi
quilt
"
$@
"
cd
- 1> /dev/null
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment