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
9000c00d
Commit
9000c00d
authored
Feb 14, 2015
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move all config files from $(srcbase)/debian/ into $(srcbase)/etc/ folder.
Affected packagings scripts: debian/roll-tarballs.sh debian/rules nx-libs.spec
parent
53329e60
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
27 deletions
+0
-27
roll-tarballs.sh
debian/roll-tarballs.sh
+0
-12
rules
debian/rules
+0
-7
keystrokes.cfg
etc/keystrokes.cfg
+0
-0
nxagent.keyboard
etc/nxagent.keyboard
+0
-0
rgb
etc/rgb
+0
-0
x2goagent.keyboard
etc/x2goagent.keyboard
+0
-0
nx-libs.spec
nx-libs.spec
+0
-8
No files found.
debian/roll-tarballs.sh
View file @
9000c00d
...
...
@@ -86,10 +86,6 @@ if [ "x$MODE" = "xfull" ]; then
cp
-v
debian/patches/
$file
doc/applied-patches
echo
${
file
##*/
}
>>
doc/applied-patches/series
done
mkdir
-p
./etc/
cp
-v
debian/rgb ./etc/
cp
-v
debian/nxagent.keyboard ./etc/
cp
-v
debian/x2goagent.keyboard ./etc/
else
rm
-Rf
"nxcompshad"
*
rm
-Rf
"nxcompext"
*
...
...
@@ -101,8 +97,6 @@ else
done
fi
cp
-v
debian/COPYING.full+lite COPYING
cp
-v
debian/nxagent.keyboard nxagent.keyboard
cp
-v
debian/x2goagent.keyboard x2goagent.keyboard
# apply all patches shipped in debian/patches and create a copy of them that we ship with the tarball
if
[
-s
"doc/applied-patches/series"
]
;
then
...
...
@@ -116,12 +110,6 @@ for f in $(ls README* 2>/dev/null); do
mv
-v
$f
doc/
;
done
if
[
"
$MODE
"
=
"full"
]
;
then
# provide a default keystrokes.cfg file
mkdir
-p
etc
test
-f
etc/keystrokes.cfg
||
test
-f
debian/keystrokes.cfg
&&
cp
-v
debian/keystrokes.cfg etc/keystrokes.cfg
fi
# remove folders that we do not want to roll into the tarball
rm
-Rf
".pc/"
rm
-Rf
"debian/"
...
...
debian/rules
View file @
9000c00d
...
...
@@ -20,7 +20,6 @@ override_dh_auto_clean:
override_dh_clean:
rm -f nx*/configure
. ./replace.sh; set -x; ls debian/*.install.in | while read file; do rm -f $$(string_rep $$file .install.in .install); done
rm -fR etc/rgb etc/keystrokes.cfg etc/nxagent.keyboard etc/x2goagent.keyboard
rm -f debian/libnx-xinerama1.postinst
rm -fR .preserve/
dh_clean
...
...
@@ -78,12 +77,6 @@ override_dh_auto_install:
override_dh_auto_build:
mkdir -p etc/
ln -s ../debian/keystrokes.cfg etc/keystrokes.cfg
ln -s ../debian/rgb etc/rgb
ln -s ../debian/nxagent.keyboard etc/nxagent.keyboard
ln -s ../debian/x2goagent.keyboard etc/x2goagent.keyboard
# let's prep the libnx-xinerama1.postinst script with the value of the build systems's DEB_BUILD_MULTIARCH variable
sed debian/libnx-xinerama1.postinst.in -e 's/#DEB_BUILD_MULTIARCH#/$(DEB_BUILD_MULTIARCH)/' > debian/libnx-xinerama1.postinst
...
...
debian
/keystrokes.cfg
→
etc
/keystrokes.cfg
View file @
9000c00d
File moved
debian
/nxagent.keyboard
→
etc
/nxagent.keyboard
View file @
9000c00d
File moved
debian
/rgb
→
etc
/rgb
View file @
9000c00d
File moved
debian
/x2goagent.keyboard
→
etc
/x2goagent.keyboard
View file @
9000c00d
File moved
nx-libs.spec
View file @
9000c00d
...
...
@@ -659,14 +659,6 @@ information on NX.
%prep
%setup -q
# copy files from the debian/ folder to designated places in the source tree,
# taken from roll-tarball.sh:
mkdir etc/
cp -v debian/keystrokes.cfg etc/keystrokes.cfg
cp -v debian/rgb etc/rgb
cp -v debian/nxagent.keyboard etc/nxagent.keyboard
cp -v debian/x2goagent.keyboard etc/x2goagent.keyboard
# remove build cruft that is in Git (also taken from roll-tarball.sh)
rm -Rf nx*/configure nx*/autom4te.cache*
# Install into /usr
...
...
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