Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
d94282ad
Commit
d94282ad
authored
17 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
- universal build support
parent
e9ea0538
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gtk/build.sh
+3
-1
3 additions, 1 deletion
gtk/build.sh
gtk/build_config.sh
+37
-2
37 additions, 2 deletions
gtk/build_config.sh
with
40 additions
and
3 deletions
gtk/build.sh
+
3
−
1
View file @
d94282ad
...
...
@@ -48,6 +48,8 @@ build_message_out " PREFIX=$PREFIX"
build_message_out
" CONFIGURE_OPTS=
$CONFIGURE_OPTS
"
build_message_out
" CLEAN_BUILD_DIR=
$CLEAN_BUILD_DIR
"
build_message_out
" CLEAN_DIST_DIR=
$CLEAN_DIST_DIR
"
build_message_out
""
build_message_out
" UNIVERSAL_BUILD=
$UNIVERSAL_BUILD
"
build_message_out
""
build_message_out
"If the configuration above is wrong, edit
$BASE_DIR
/build_config.sh or "
...
...
@@ -136,7 +138,7 @@ for CURRENT_PACKAGE_NAME in $BUILD_LIST_OF_PACKAGES;
# we might need to patch and/or run a shell script here.
# build_run_patch doesn't care if the files don't exist.
build_run_patch
$CURRENT_PACKAGE
build_run_
pre_
patch
$CURRENT_PACKAGE
# If the package isn't installed, build it, else move on.
if
[
"x
$CURRENT_PACKAGE_INSTALLED
"
!=
"xyes"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
gtk/build_config.sh
+
37
−
2
View file @
d94282ad
...
...
@@ -7,22 +7,52 @@ PREFIX=/usr/local
LEAVE_PREVIOUS_BUILD
=
"yes"
CLEAN_BUILD_DIR
=
"no"
CLEAN_DIST_DIR
=
"no"
CLEAN_PACKAGE_DIR
=
"no"
GET_ONLY
=
"no"
USE_WGET
=
"no"
SLEEP
=
15
SILENT_CD
=
yes
UNIVERSAL_BUILD
=
"no"
##########################
# folder & files locations
DIST_DIR
=
tars
BUILD_DIR
=
src
# patches is in cvs!
PATCH_DIR
=
patches
UNAME_ARCH
=
$(
uname
-p
)
# these two are .cvsignore'd so watch out if changing
BUILD_STATUS_FILE
=
$BASE_DIR
/build_status.sh
BUILD_STATUS_FILE
=
$BASE_DIR
/build_status.
$UNAME_ARCH
.
sh
BUILD_EXECUTE_CONFIG
=
$BASE_DIR
/build.exe.config.sh
if
[
"x
$UNIVERSAL_BUILD
"
==
"xyes"
]
;
then
export
SDK
=
/Developer/SDKs/MacOSX10.4u.sdk
export
MACOSX_DEPLOYMENT_TARGET
=
10.4
export
CFLAGS
=
"-isysroot
${
SDK
}
-arch ppc -arch i386"
export
CXXFLAGS
=
"-isysroot
${
SDK
}
-arch ppc -arch i386"
# We add this directory to the path to fix a problem with cups
# The cups-config in the SDK reports api version of 1.1, quite
# a way behind the 1.3 that comes with 10.5. The gtkprintbackendcups.c
# needed to be patched for the 1.3 version and has ifdefs for 1.2 as
# well as the now added 1.3. picking up 1.3 from 10.5 makes the
# 10.4 ppc compile fail as it hasn't got the 1.3 headers, but has
# HAVE_CUPS_API_1_3 defined.
PATH
=
$SDK
/usr/bin:
$PATH
# I'm unsure on the effect on this yet...
# might be a good idea to force this...
#CLEAN_PACKAGE_DIR="yes"
BUILD_STATUS_FILE
=
$BASE_DIR
/build_status.
$MACOSX_DEPLOYMENT_TARGET
.sh
PACKAGE_freetype_POSTCONFIGURE
=
build_patch_libtool_dylib
PACKAGE_libpng_POSTCONFIGURE
=
build_patch_libtool_dylib
PACKAGE_atk_POSTCONFIGURE
=
build_patch_libtool_dylib
#PACKAGE_fontconfig_POSTCONFIGURE="eval cd fc-arch && make all && cd .. && perl -pi~ -e 's|#define FC_ARCHITECTURE \"x86\"|#ifdef __ppc__\n#define FC_ARCHITECTURE \"ppc\"\n#else\n#define FC_ARCHITECTURE \"x86\"\n#endif|g' fc-arch/fcarch.h"
export
ax_cv_c_float_words_bigendian
=
"yes"
# this is for cairo
fi
##########################
# Common Configure options
...
...
@@ -232,7 +262,7 @@ PACKAGE_pango_POSTCONFIGURE="eval perl -pi~ -e 's|SUBDIRS = pango modules exampl
PACKAGE_gtk_URL
=
ftp://ftp.gtk.org/pub/gtk/v2.10
PACKAGE_gtk_NAME
=
"gtk+"
PACKAGE_gtk_VERSION
=
2.10.14
PACKAGE_gtk_EXT
=
tar.
gz
PACKAGE_gtk_EXT
=
tar.
bz2
PACKAGE_gtk_CONFIGURE_OPTS
=
# m4
...
...
@@ -276,7 +306,12 @@ MAKE_INSTALL="$MAKE install"
# be careful to make sure jpeg patch also sudo's
PKG_CONFIG
=
pkg-config
PATCH
=
patch
PERL
=
perl
AUTOCONF
=
autoconf
AUTOMAKE
=
automake
AUTOHEADER
=
autoheader
ACLOCAL
=
aclocal
# scripts can be setup to alter the above variables so
# build_save_execution_config can save the current state of the
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment