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
=== modified file 'build/build-dpkg.sh'
--- build/build-dpkg.sh 2013-05-02 08:43:33 +0000
+++ build/build-dpkg.sh 2013-05-02 08:43:34 +0000
@@ -12,16 +12,16 @@
12set -ue12set -ue
1313
14# Examine parameters14# Examine parameters
15go_out="$(getopt --options "k:Ke:bD" \15go_out="$(getopt --options "k:Ke:bDS" \
16 --longoptions key:,nosign,epoch:,binary,nodebug \16 --longoptions key:,nosign,epoch:,binary,nodebug,source \
17 --name "$(basename "$0")" -- "$@")"17 --name "$(basename "$0")" -- "$@")"
18test $? -eq 0 || exit 118test $? -eq 0 || exit 1
19eval set -- $go_out19eval set -- $go_out
2020
21BUILDPKG_KEY=''21BUILDPKG_KEY=''
22EPOCH=''22EPOCH=''
23BINARY=''23DPKG_BINSRC=''
24DEBUG='yes'24SKIPDEBUG=''
2525
26for arg26for arg
27do27do
@@ -30,8 +30,9 @@
30 -k | --key ) shift; BUILDPKG_KEY="-pgpg -k$1"; shift;;30 -k | --key ) shift; BUILDPKG_KEY="-pgpg -k$1"; shift;;
31 -K | --nosign ) shift; BUILDPKG_KEY="-uc -us";;31 -K | --nosign ) shift; BUILDPKG_KEY="-uc -us";;
32 -e | --epoch ) shift; EPOCH="$1:"; shift;;32 -e | --epoch ) shift; EPOCH="$1:"; shift;;
33 -b | --binary ) shift; BINARY='-b';;33 -b | --binary ) shift; DPKG_BINSRC='-b';;
34 -D | --nodebug ) shift; DEBUG='';;34 -D | --nodebug ) shift; SKIPDEBUG='yes';;
35 -S | --source ) shift; DPKG_BINSRC='-S';;
35 esac36 esac
36done37done
3738
@@ -78,7 +79,7 @@
7879
79# Build information80# Build information
80export BB_PERCONA_REVISION="$(cd "$SOURCEDIR"; bzr revno)"81export BB_PERCONA_REVISION="$(cd "$SOURCEDIR"; bzr revno)"
81export DEB_BUILD_OPTIONS='debug nocheck'82export DEB_BUILD_OPTIONS='debug'
8283
83# Compilation flags84# Compilation flags
84export CC=${CC:-gcc}85export CC=${CC:-gcc}
@@ -107,8 +108,8 @@
107 cp -R "$SOURCEDIR/build/debian" .108 cp -R "$SOURCEDIR/build/debian" .
108 chmod +x debian/rules109 chmod +x debian/rules
109110
110 # If debug is not set, do not ship mysql-debug111 # If nodebug is set, do not ship mysql-debug
111 if test "x$DEBUG" = "x"112 if test "x$SKIPDEBUG" = "xyes"
112 then113 then
113 sed -i '/mysqld-debug/d' debian/percona-server-server-5.5.install114 sed -i '/mysqld-debug/d' debian/percona-server-server-5.5.install
114 fi115 fi
@@ -117,8 +118,8 @@
117 dch -m -D "$DEBIAN_VERSION" --force-distribution -v "$EPOCH$MYSQL_VERSION-$PERCONA_SERVER_VERSION-$BB_PERCONA_REVISION.$DEBIAN_VERSION" 'Update distribution'118 dch -m -D "$DEBIAN_VERSION" --force-distribution -v "$EPOCH$MYSQL_VERSION-$PERCONA_SERVER_VERSION-$BB_PERCONA_REVISION.$DEBIAN_VERSION" 'Update distribution'
118119
119 DEB_CFLAGS_APPEND="$CFLAGS" DEB_CXXFLAGS_APPEND="$CXXFLAGS" \120 DEB_CFLAGS_APPEND="$CFLAGS" DEB_CXXFLAGS_APPEND="$CXXFLAGS" \
120 BUILD_DEBUG_BINARY="$DEBUG" \121 SKIP_DEBUG_BINARY="$SKIPDEBUG" \
121 dpkg-buildpackage $BINARY -rfakeroot $BUILDPKG_KEY122 dpkg-buildpackage $DPKG_BINSRC -rfakeroot $BUILDPKG_KEY
122123
123 )124 )
124125
125126
=== modified file 'build/debian/control'
--- build/debian/control 2013-04-10 06:08:00 +0000
+++ build/debian/control 2013-05-02 08:43:34 +0000
@@ -2,12 +2,11 @@
2Section: database2Section: database
3Priority: extra3Priority: extra
4Maintainer: Percona Server Development Team <mysql-dev@percona.com>4Maintainer: Percona Server Development Team <mysql-dev@percona.com>
5Uploaders: Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com>5Uploaders: Ignacio Nin <ignacio.nin@percona.com>
6Build-Depends: debhelper (>= 7.0.50), cmake, libtool, autoconf, libncurses5-dev, perl, bison, fakeroot, devscripts, libaio-dev, libpam-dev, dpatch, automake6Build-Depends: debhelper (>= 7.0.50), cmake, libtool, autoconf, libncurses5-dev, perl, bison, fakeroot, devscripts, libaio-dev, libpam-dev, dpatch, automake
7Standards-Version: 7.0.07Standards-Version: 7.0.0
8Homepage: http://www.percona.com/software/percona-server/8Homepage: http://www.percona.com/software/percona-server/
9Vcs-Bzr: bzr+ssh://bazaar.launchpad.net/~percona-dev/percona-server/release-5.5.8-20/9Vcs-Bzr: lp:percona-server/5.5
10Vcs-Browser: http://bazaar.launchpad.net/~percona-dev/percona-server/release-5.5.8-20/files
1110
12Package: libmysqlclient1811Package: libmysqlclient18
13Section: libs12Section: libs
1413
=== modified file 'build/debian/rules'
--- build/debian/rules 2013-04-15 04:38:50 +0000
+++ build/debian/rules 2013-05-02 08:43:34 +0000
@@ -21,7 +21,7 @@
21 rm -rf CMakeFiles21 rm -rf CMakeFiles
2222
23override_dh_auto_configure: patch23override_dh_auto_configure: patch
24ifneq ($(BUILD_DEBUG_BINARY),)24ifeq ($(SKIP_DEBUG_BINARY),)
25 # Make a debug binary25 # Make a debug binary
26 mkdir debug26 mkdir debug
27 cd debug && \27 cd debug && \
@@ -50,7 +50,7 @@
50 -DWITH_PAM=ON50 -DWITH_PAM=ON
5151
52override_dh_auto_build:52override_dh_auto_build:
53ifneq ($(BUILD_DEBUG_BINARY),)53ifeq ($(SKIP_DEBUG_BINARY),)
54 cd debug && make $(MAKE_JFLAG)54 cd debug && make $(MAKE_JFLAG)
55endif55endif
5656

Subscribers

People subscribed via source and target branches