Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
26c08ffa
Commit
26c08ffa
authored
Mar 22, 2012
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged some fixes from 7.2 release branches
parent
faa5e844
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
8 deletions
+34
-8
INSTALL-SOURCE
INSTALL-SOURCE
+1
-1
INSTALL-WIN-SOURCE
INSTALL-WIN-SOURCE
+1
-1
cmake/make_dist.cmake.in
cmake/make_dist.cmake.in
+7
-2
cmake/mysql_version.cmake
cmake/mysql_version.cmake
+8
-1
cmake/package_name.cmake
cmake/package_name.cmake
+9
-2
support-files/CMakeLists.txt
support-files/CMakeLists.txt
+8
-1
No files found.
INSTALL-SOURCE
View file @
26c08ffa
You can find information about how to install from a source distributions at
http://dev.mysql.com/doc/refman/5.
1/en/installing-source
.html
http://dev.mysql.com/doc/refman/5.
5/en/source-installation
.html
The MySQL Reference Manual is also available in various formats on
http://dev.mysql.com/doc; if you're interested in the DocBook XML
...
...
INSTALL-WIN-SOURCE
View file @
26c08ffa
...
...
@@ -2,7 +2,7 @@
You can find information about how to install from a Windows source
distributions at
http://dev.mysql.com/doc/refman/5.
1/en/windows-source-build
.html
http://dev.mysql.com/doc/refman/5.
5/en/source-installation
.html
The MySQL Reference Manual is also available in various formats on
http://dev.mysql.com/doc; if you're interested in the DocBook XML
...
...
cmake/make_dist.cmake.in
View file @
26c08ffa
...
...
@@ -120,8 +120,13 @@ CONFIGURE_FILE(${CMAKE_BINARY_DIR}/sql/sql_yacc.cc
${PACKAGE_DIR}/sql/sql_yacc.cc COPYONLY)
# Copy spec files
CONFIGURE_FILE(${CMAKE_BINARY_DIR}/support-files/mysql.${VERSION}.spec
${PACKAGE_DIR}/support-files/mysql.${VERSION}.spec COPYONLY)
SET(SPECFILENAME "mysql.${VERSION}.spec")
IF("${VERSION}" MATCHES "-ndb-")
STRING(REGEX REPLACE "^.*-ndb-" "" NDBVERSION "${VERSION}")
SET(SPECFILENAME "mysql-cluster-${NDBVERSION}.spec")
ENDIF()
CONFIGURE_FILE(${CMAKE_BINARY_DIR}/support-files/${SPECFILENAME}
${PACKAGE_DIR}/support-files/${SPECFILENAME} COPYONLY)
# Add documentation, if user has specified where to find them
IF(MYSQL_DOCS_LOCATION)
...
...
cmake/mysql_version.cmake
View file @
26c08ffa
...
...
@@ -57,7 +57,10 @@ MACRO(GET_MYSQL_VERSION)
MESSAGE
(
"-- MySQL
${
VERSION
}
"
)
SET
(
MYSQL_BASE_VERSION
"
${
MAJOR_VERSION
}
.
${
MINOR_VERSION
}
"
CACHE INTERNAL
"MySQL Base version"
)
SET
(
MYSQL_NO_DASH_VERSION
"
${
MAJOR_VERSION
}
.
${
MINOR_VERSION
}
.
${
PATCH_VERSION
}
"
)
STRING
(
REPLACE
"-"
"_"
MYSQL_RPM_VERSION
"
${
VERSION
}
"
)
# Use NDBVERSION irregardless of whether this is Cluster or not, if not
# then the regex will be ignored anyway.
STRING
(
REGEX REPLACE
"^.*-ndb-"
""
NDBVERSION
"
${
VERSION
}
"
)
STRING
(
REPLACE
"-"
"_"
MYSQL_RPM_VERSION
"
${
NDBVERSION
}
"
)
MATH
(
EXPR MYSQL_VERSION_ID
"10000*
${
MAJOR_VERSION
}
+ 100*
${
MINOR_VERSION
}
+
${
PATCH_VERSION
}
"
)
MARK_AS_ADVANCED
(
VERSION MYSQL_VERSION_ID MYSQL_BASE_VERSION
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR
${
MAJOR_VERSION
}
)
...
...
@@ -93,6 +96,10 @@ ENDIF()
IF
(
NOT CPACK_SOURCE_PACKAGE_FILE_NAME
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"mysql-
${
VERSION
}
"
)
IF
(
"
${
VERSION
}
"
MATCHES
"-ndb-"
)
STRING
(
REGEX REPLACE
"^.*-ndb-"
""
NDBVERSION
"
${
VERSION
}
"
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"mysql-cluster-gpl-
${
NDBVERSION
}
"
)
ENDIF
()
ENDIF
()
SET
(
CPACK_PACKAGE_CONTACT
"MySQL Release Engineering <mysql-build@oss.oracle.com>"
)
SET
(
CPACK_PACKAGE_VENDOR
"Oracle Corporation"
)
...
...
cmake/package_name.cmake
View file @
26c08ffa
...
...
@@ -116,8 +116,15 @@ IF(NOT VERSION)
SET
(
PRODUCT_TAG
)
ENDIF
()
SET
(
package_name
"mysql
${
PRODUCT_TAG
}
-
${
VERSION
}
-
${
SYSTEM_NAME_AND_PROCESSOR
}
"
)
IF
(
"
${
VERSION
}
"
MATCHES
"-ndb-"
)
STRING
(
REGEX REPLACE
"^.*-ndb-"
""
NDBVERSION
"
${
VERSION
}
"
)
SET
(
package_name
"mysql-cluster
${
PRODUCT_TAG
}
-
${
NDBVERSION
}
-
${
SYSTEM_NAME_AND_PROCESSOR
}
"
)
ELSE
()
SET
(
package_name
"mysql
${
PRODUCT_TAG
}
-
${
VERSION
}
-
${
SYSTEM_NAME_AND_PROCESSOR
}
"
)
ENDIF
()
MESSAGE
(
"-- Packaging as:
${
package_name
}
"
)
# Sometimes package suffix is added (something like "-icc-glibc23")
IF
(
PACKAGE_SUFFIX
)
SET
(
package_name
"
${
package_name
}${
PACKAGE_SUFFIX
}
"
)
...
...
support-files/CMakeLists.txt
View file @
26c08ffa
...
...
@@ -70,7 +70,14 @@ IF(UNIX)
INSTALL
(
FILES mysql.m4 DESTINATION
${
INSTALL_SHAREDIR
}
/aclocal COMPONENT Development
)
CONFIGURE_FILE
(
MySQL-shared-compat.spec.sh
${
CMAKE_CURRENT_BINARY_DIR
}
/MySQL-shared-compat.spec @ONLY
)
CONFIGURE_FILE
(
mysql.spec.sh
${
CMAKE_CURRENT_BINARY_DIR
}
/mysql.spec @ONLY
)
CONFIGURE_FILE
(
mysql.spec.sh
${
CMAKE_CURRENT_BINARY_DIR
}
/mysql.
${
VERSION
}
.spec @ONLY
)
SET
(
SPECFILENAME
"mysql.
${
VERSION
}
.spec"
)
IF
(
"
${
VERSION
}
"
MATCHES
"-ndb-"
)
STRING
(
REGEX REPLACE
"^.*-ndb-"
""
NDBVERSION
"
${
VERSION
}
"
)
SET
(
SPECFILENAME
"mysql-cluster-
${
NDBVERSION
}
.spec"
)
ENDIF
()
CONFIGURE_FILE
(
mysql.spec.sh
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
SPECFILENAME
}
@ONLY
)
CONFIGURE_FILE
(
MySQL-shared-compat.spec.sh
${
CMAKE_CURRENT_BINARY_DIR
}
/MySQL-shared-compat.spec @ONLY
)
SET
(
bindir
${
prefix
}
/
${
INSTALL_BINDIR
}
)
...
...
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