Merge lp:~ignacio-nin/percona-server/5.5-debian---source into lp:percona-server/5.5

Proposed by Ignacio Nin
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 511
Proposed branch: lp:~ignacio-nin/percona-server/5.5-debian---source
Merge into: lp:percona-server/5.5
Prerequisite: lp:~ignacio-nin/percona-server/5.5-debian---epoch
Diff against target: 107 lines (+16/-16)
3 files modified
build/build-dpkg.sh (+12/-11)
build/debian/control (+2/-3)
build/debian/rules (+2/-2)
To merge this branch: bzr merge lp:~ignacio-nin/percona-server/5.5-debian---source
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+162050@code.launchpad.net

Description of the change

Merge changes from corresponding branch for 5.1.

Change the behaviour of debian/rules: BUILD_DEBUG_BINARY changes to SKIP_DEBUG_BINARY (the logical complement). Please refer to explanation in revno 464.

Revno 465 is a merge from the already-approved prerrequisite branch.

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'build/build-dpkg.sh'
2--- build/build-dpkg.sh 2013-05-02 08:43:33 +0000
3+++ build/build-dpkg.sh 2013-05-02 08:43:34 +0000
4@@ -12,16 +12,16 @@
5 set -ue
6
7 # Examine parameters
8-go_out="$(getopt --options "k:Ke:bD" \
9- --longoptions key:,nosign,epoch:,binary,nodebug \
10+go_out="$(getopt --options "k:Ke:bDS" \
11+ --longoptions key:,nosign,epoch:,binary,nodebug,source \
12 --name "$(basename "$0")" -- "$@")"
13 test $? -eq 0 || exit 1
14 eval set -- $go_out
15
16 BUILDPKG_KEY=''
17 EPOCH=''
18-BINARY=''
19-DEBUG='yes'
20+DPKG_BINSRC=''
21+SKIPDEBUG=''
22
23 for arg
24 do
25@@ -30,8 +30,9 @@
26 -k | --key ) shift; BUILDPKG_KEY="-pgpg -k$1"; shift;;
27 -K | --nosign ) shift; BUILDPKG_KEY="-uc -us";;
28 -e | --epoch ) shift; EPOCH="$1:"; shift;;
29- -b | --binary ) shift; BINARY='-b';;
30- -D | --nodebug ) shift; DEBUG='';;
31+ -b | --binary ) shift; DPKG_BINSRC='-b';;
32+ -D | --nodebug ) shift; SKIPDEBUG='yes';;
33+ -S | --source ) shift; DPKG_BINSRC='-S';;
34 esac
35 done
36
37@@ -78,7 +79,7 @@
38
39 # Build information
40 export BB_PERCONA_REVISION="$(cd "$SOURCEDIR"; bzr revno)"
41-export DEB_BUILD_OPTIONS='debug nocheck'
42+export DEB_BUILD_OPTIONS='debug'
43
44 # Compilation flags
45 export CC=${CC:-gcc}
46@@ -107,8 +108,8 @@
47 cp -R "$SOURCEDIR/build/debian" .
48 chmod +x debian/rules
49
50- # If debug is not set, do not ship mysql-debug
51- if test "x$DEBUG" = "x"
52+ # If nodebug is set, do not ship mysql-debug
53+ if test "x$SKIPDEBUG" = "xyes"
54 then
55 sed -i '/mysqld-debug/d' debian/percona-server-server-5.5.install
56 fi
57@@ -117,8 +118,8 @@
58 dch -m -D "$DEBIAN_VERSION" --force-distribution -v "$EPOCH$MYSQL_VERSION-$PERCONA_SERVER_VERSION-$BB_PERCONA_REVISION.$DEBIAN_VERSION" 'Update distribution'
59
60 DEB_CFLAGS_APPEND="$CFLAGS" DEB_CXXFLAGS_APPEND="$CXXFLAGS" \
61- BUILD_DEBUG_BINARY="$DEBUG" \
62- dpkg-buildpackage $BINARY -rfakeroot $BUILDPKG_KEY
63+ SKIP_DEBUG_BINARY="$SKIPDEBUG" \
64+ dpkg-buildpackage $DPKG_BINSRC -rfakeroot $BUILDPKG_KEY
65
66 )
67
68
69=== modified file 'build/debian/control'
70--- build/debian/control 2013-04-10 06:08:00 +0000
71+++ build/debian/control 2013-05-02 08:43:34 +0000
72@@ -2,12 +2,11 @@
73 Section: database
74 Priority: extra
75 Maintainer: Percona Server Development Team <mysql-dev@percona.com>
76-Uploaders: Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com>
77+Uploaders: Ignacio Nin <ignacio.nin@percona.com>
78 Build-Depends: debhelper (>= 7.0.50), cmake, libtool, autoconf, libncurses5-dev, perl, bison, fakeroot, devscripts, libaio-dev, libpam-dev, dpatch, automake
79 Standards-Version: 7.0.0
80 Homepage: http://www.percona.com/software/percona-server/
81-Vcs-Bzr: bzr+ssh://bazaar.launchpad.net/~percona-dev/percona-server/release-5.5.8-20/
82-Vcs-Browser: http://bazaar.launchpad.net/~percona-dev/percona-server/release-5.5.8-20/files
83+Vcs-Bzr: lp:percona-server/5.5
84
85 Package: libmysqlclient18
86 Section: libs
87
88=== modified file 'build/debian/rules'
89--- build/debian/rules 2013-04-15 04:38:50 +0000
90+++ build/debian/rules 2013-05-02 08:43:34 +0000
91@@ -21,7 +21,7 @@
92 rm -rf CMakeFiles
93
94 override_dh_auto_configure: patch
95-ifneq ($(BUILD_DEBUG_BINARY),)
96+ifeq ($(SKIP_DEBUG_BINARY),)
97 # Make a debug binary
98 mkdir debug
99 cd debug && \
100@@ -50,7 +50,7 @@
101 -DWITH_PAM=ON
102
103 override_dh_auto_build:
104-ifneq ($(BUILD_DEBUG_BINARY),)
105+ifeq ($(SKIP_DEBUG_BINARY),)
106 cd debug && make $(MAKE_JFLAG)
107 endif
108

Subscribers

People subscribed via source and target branches