Updated config.{guess,sub}

Backported fixes from Robert Millan for HURD/K*BSD.
Fix broken linking of wxgtk_gl.
Fix uninitialised var warning in wxrcedit/preview.cpp
Updates for 2.4.2.5 .debs.
Update wx-config.1
Fixed makefile.unx in opengl samples to use --gl-lib
Removed #! from newevent.py


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@28560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee
2004-07-31 13:58:38 +00:00
parent 927429443f
commit 68f58d781a
44 changed files with 1710 additions and 1336 deletions

View File

@@ -321,10 +321,18 @@ $(build_libdir)/@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
$(SHARED_LD) $@ $(SONAME_FLAGS) $(OBJECTS) $(EXTRALIBS) $(SHARED_LD) $@ $(SONAME_FLAGS) $(OBJECTS) $(EXTRALIBS)
# NB: we used to have "-L$(build_libdir) @WXCONFIG_LIBS@" in the SHARED_LD line # NB: we used to have "-L$(build_libdir) @WXCONFIG_LIBS@" in the SHARED_LD line
# but this seems to result in problems with libwx_gtk being linked in twice # but this seems to result in problems with libwx_gtk being linked in twice.
# RL: This is another example of why sonames exist, and what happens when you
# ignore them. Broken linking like this is now an rc bug in Debian, so we
# add them back again (to SONAME_FLAGS_GL) in configure if --enable-soname
# is used. Removing the explicit -L /usr/lib from LDFLAGS would probably
# help with the above problem, but building without the soname is broken in
# so many other ways that I'm not going to touch that case in 2.4 anymore
# if I can help it.
#
$(build_libdir)/@WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o $(build_libdir)/@WX_LIBRARY_NAME_SHARED@ $(build_libdir)/@WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o $(build_libdir)/@WX_LIBRARY_NAME_SHARED@
@$(INSTALL) -d $(build_libdir) @$(INSTALL) -d $(build_libdir)
$(SHARED_LD) $@ $(SONAME_FLAGS_GL) glcanvas.o $(EXTRALIBS) $(LDFLAGS_GL) $(OPENGLLIBS) $(SHARED_LD) $@ glcanvas.o $(SONAME_FLAGS_GL) $(LDFLAGS_GL) $(OPENGLLIBS) $(EXTRALIBS)
$(build_libdir)/@WX_RESOURCES_MACOSX_DATA@: $(MACRESOURCES) $(build_libdir)/@WX_RESOURCES_MACOSX_DATA@: $(MACRESOURCES)
@$(INSTALL) -d $(build_libdir) @$(INSTALL) -d $(build_libdir)
@@ -1596,14 +1604,20 @@ debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
@# in other dist targets. Ugly and hardly portable but it @# in other dist targets. Ugly and hardly portable but it
@# will run on any Debian box and that's enough for now. @# will run on any Debian box and that's enough for now.
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
\( -name "makefile.*" -a ! -name "makefile.unx" \) \) \ find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" \
-print0 | xargs -0 rm -rf -o -name "*.dsw" -o -name "*.hh*" -o -name "*.mms" \
-o -name "*.mcp" -o -name "*M*.xml" -o -name "*.r" \
-o -name "*.bkl" -o -name "*.pro" -o -name "*.def" \
-o -name "*.vpj" -o -name "*.sc" \
-o \( -name "makefile.*" -a ! -name "makefile.unx" \) \
\) -print0 | xargs -0 rm -rf
rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER) rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER) mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST #debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
debian-native-dist: $(filter-out DEMOS_DIST,@GUIDIST@) MANUAL_DIST PYTHON_DIST
cp $(SRCDIR)/files.lst $(DISTDIR)/src cp $(SRCDIR)/files.lst $(DISTDIR)/src
debian-msw-dirs: debian-msw-dirs:

247
config.guess vendored
View File

@@ -1,9 +1,9 @@
#! /bin/sh #! /bin/sh
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc. # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2002-11-30' timestamp='2004-03-12'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@@ -98,14 +98,18 @@ trap 'exit 1' 1 2 15
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
# use `HOST_CC' if defined, but it is deprecated. # use `HOST_CC' if defined, but it is deprecated.
# This shell variable is my proudest work .. or something. --bje # Portable tmp directory creation inspired by the Autoconf team.
set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ; set_cc_for_build='
(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old) trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|| (echo "$me: cannot create $tmpdir" >&2 && exit 1) ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
dummy=$tmpdir/dummy ; : ${TMPDIR=/tmp} ;
files="$dummy.c $dummy.o $dummy.rel $dummy" ; { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ; { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
dummy=$tmp/dummy ;
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
case $CC_FOR_BUILD,$HOST_CC,$CC in case $CC_FOR_BUILD,$HOST_CC,$CC in
,,) echo "int x;" > $dummy.c ; ,,) echo "int x;" > $dummy.c ;
for c in cc gcc c89 c99 ; do for c in cc gcc c89 c99 ; do
@@ -113,15 +117,13 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in
CC_FOR_BUILD="$c"; break ; CC_FOR_BUILD="$c"; break ;
fi ; fi ;
done ; done ;
rm -f $files ;
if test x"$CC_FOR_BUILD" = x ; then if test x"$CC_FOR_BUILD" = x ; then
CC_FOR_BUILD=no_compiler_found ; CC_FOR_BUILD=no_compiler_found ;
fi fi
;; ;;
,,*) CC_FOR_BUILD=$CC ;; ,,*) CC_FOR_BUILD=$CC ;;
,*,*) CC_FOR_BUILD=$HOST_CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;;
esac ; esac ;'
unset files'
# This is needed to find uname on a Pyramid OSx when run in the BSD universe. # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 1994-08-24) # (ghazi@noc.rutgers.edu 1994-08-24)
@@ -195,12 +197,18 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo "${machine}-${os}${release}" echo "${machine}-${os}${release}"
exit 0 ;; exit 0 ;;
amd64:OpenBSD:*:*)
echo x86_64-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
amiga:OpenBSD:*:*) amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE} echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
arc:OpenBSD:*:*) arc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE} echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
cats:OpenBSD:*:*)
echo arm-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
hp300:OpenBSD:*:*) hp300:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE} echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@@ -219,6 +227,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
mvmeppc:OpenBSD:*:*) mvmeppc:OpenBSD:*:*)
echo powerpc-unknown-openbsd${UNAME_RELEASE} echo powerpc-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
pegasos:OpenBSD:*:*)
echo powerpc-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pmax:OpenBSD:*:*) pmax:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE} echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@@ -234,71 +245,70 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:OpenBSD:*:*) *:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:ekkoBSD:*:*)
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
exit 0 ;;
macppc:MirBSD:*:*)
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
exit 0 ;;
*:MirBSD:*:*)
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
exit 0 ;;
alpha:OSF1:*:*) alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then case $UNAME_RELEASE in
*4.0)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
fi ;;
*5.*)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
;;
esac
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
# types through head -n 1, so we only detect the type of CPU 0.
ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
case "$ALPHA_CPU_TYPE" in
"EV4 (21064)")
UNAME_MACHINE="alpha" ;;
"EV4.5 (21064)")
UNAME_MACHINE="alpha" ;;
"LCA4 (21066/21068)")
UNAME_MACHINE="alpha" ;;
"EV5 (21164)")
UNAME_MACHINE="alphaev5" ;;
"EV5.6 (21164A)")
UNAME_MACHINE="alphaev56" ;;
"EV5.6 (21164PC)")
UNAME_MACHINE="alphapca56" ;;
"EV5.7 (21164PC)")
UNAME_MACHINE="alphapca57" ;;
"EV6 (21264)")
UNAME_MACHINE="alphaev6" ;;
"EV6.7 (21264A)")
UNAME_MACHINE="alphaev67" ;;
"EV6.8CB (21264C)")
UNAME_MACHINE="alphaev68" ;;
"EV6.8AL (21264B)")
UNAME_MACHINE="alphaev68" ;;
"EV6.8CX (21264D)")
UNAME_MACHINE="alphaev68" ;;
"EV6.9A (21264/EV69A)")
UNAME_MACHINE="alphaev69" ;;
"EV7 (21364)")
UNAME_MACHINE="alphaev7" ;;
"EV7.9 (21364A)")
UNAME_MACHINE="alphaev79" ;;
esac
# A Pn.n version is a patched version.
# A Vn.n version is a released version. # A Vn.n version is a released version.
# A Tn.n version is a released field test version. # A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel. # A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r. # 1.2 uses "1.2" for uname -r.
eval $set_cc_for_build echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
cat <<EOF >$dummy.s exit 0 ;;
.data Alpha*:OpenVMS:*:*)
\$Lformat: echo alpha-hp-vms
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
.text
.globl main
.align 4
.ent main
main:
.frame \$30,16,\$26,0
ldgp \$29,0(\$27)
.prologue 1
.long 0x47e03d80 # implver \$0
lda \$2,-1
.long 0x47e20c21 # amask \$2,\$1
lda \$16,\$Lformat
mov \$0,\$17
not \$1,\$18
jsr \$26,printf
ldgp \$29,0(\$26)
mov 0,\$16
jsr \$26,exit
.end main
EOF
$CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
if test "$?" = 0 ; then
case `$dummy` in
0-0)
UNAME_MACHINE="alpha"
;;
1-0)
UNAME_MACHINE="alphaev5"
;;
1-1)
UNAME_MACHINE="alphaev56"
;;
1-101)
UNAME_MACHINE="alphapca56"
;;
2-303)
UNAME_MACHINE="alphaev6"
;;
2-307)
UNAME_MACHINE="alphaev67"
;;
2-1307)
UNAME_MACHINE="alphaev68"
;;
3-1307)
UNAME_MACHINE="alphaev7"
;;
esac
fi
rm -f $dummy.s $dummy && rmdir $tmpdir
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;; exit 0 ;;
Alpha\ *:Windows_NT*:*) Alpha\ *:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem? # How do we know it's Interix rather than the generic POSIX subsystem?
@@ -321,6 +331,9 @@ EOF
*:OS/390:*:*) *:OS/390:*:*)
echo i370-ibm-openedition echo i370-ibm-openedition
exit 0 ;; exit 0 ;;
*:OS400:*:*)
echo powerpc-ibm-os400
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE} echo arm-acorn-riscix${UNAME_RELEASE}
exit 0;; exit 0;;
@@ -338,6 +351,9 @@ EOF
NILE*:*:*:dcosx) NILE*:*:*:dcosx)
echo pyramid-pyramid-svr4 echo pyramid-pyramid-svr4
exit 0 ;; exit 0 ;;
DRS?6000:unix:4.0:6*)
echo sparc-icl-nx6
exit 0 ;;
DRS?6000:UNIX_SV:4.2*:7*) DRS?6000:UNIX_SV:4.2*:7*)
case `/usr/bin/uname -p` in case `/usr/bin/uname -p` in
sparc) echo sparc-icl-nx7 && exit 0 ;; sparc) echo sparc-icl-nx7 && exit 0 ;;
@@ -410,6 +426,9 @@ EOF
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
echo m68k-unknown-mint${UNAME_RELEASE} echo m68k-unknown-mint${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
m68k:machten:*:*)
echo m68k-apple-machten${UNAME_RELEASE}
exit 0 ;;
powerpc:machten:*:*) powerpc:machten:*:*)
echo powerpc-apple-machten${UNAME_RELEASE} echo powerpc-apple-machten${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@@ -450,8 +469,7 @@ EOF
EOF EOF
$CC_FOR_BUILD -o $dummy $dummy.c \ $CC_FOR_BUILD -o $dummy $dummy.c \
&& $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
&& rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 && exit 0
rm -f $dummy.c $dummy && rmdir $tmpdir
echo mips-mips-riscos${UNAME_RELEASE} echo mips-mips-riscos${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
Motorola:PowerMAX_OS:*:*) Motorola:PowerMAX_OS:*:*)
@@ -535,8 +553,7 @@ EOF
exit(0); exit(0);
} }
EOF EOF
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
rm -f $dummy.c $dummy && rmdir $tmpdir
echo rs6000-ibm-aix3.2.5 echo rs6000-ibm-aix3.2.5
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
echo rs6000-ibm-aix3.2.4 echo rs6000-ibm-aix3.2.4
@@ -635,10 +652,20 @@ EOF
} }
EOF EOF
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi test -z "$HP_ARCH" && HP_ARCH=hppa
rm -f $dummy.c $dummy && rmdir $tmpdir
fi ;; fi ;;
esac esac
if [ ${HP_ARCH} = "hppa2.0w" ]
then
# avoid double evaluation of $set_cc_for_build
test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
then
HP_ARCH="hppa2.0w"
else
HP_ARCH="hppa64"
fi
fi
echo ${HP_ARCH}-hp-hpux${HPUX_REV} echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;; exit 0 ;;
ia64:HP-UX:*:*) ia64:HP-UX:*:*)
@@ -672,8 +699,7 @@ EOF
exit (0); exit (0);
} }
EOF EOF
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
rm -f $dummy.c $dummy && rmdir $tmpdir
echo unknown-hitachi-hiuxwe2 echo unknown-hitachi-hiuxwe2
exit 0 ;; exit 0 ;;
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
@@ -731,21 +757,26 @@ EOF
CRAY*TS:*:*:*) CRAY*TS:*:*:*)
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;; exit 0 ;;
CRAY*T3D:*:*:*)
echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
CRAY*T3E:*:*:*) CRAY*T3E:*:*:*)
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;; exit 0 ;;
CRAY*SV1:*:*:*) CRAY*SV1:*:*:*)
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;; exit 0 ;;
*:UNICOS/mp:*:*)
echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit 0 ;; exit 0 ;;
5000:UNIX_System_V:4.*:*)
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit 0 ;;
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@@ -767,8 +798,10 @@ EOF
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
rm -f $dummy.c && rmdir $tmpdir # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} # FreeBSD's kernel, but not the complete OS.
case ${LIBC} in gnu) kernel_only='k' ;; esac
echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
exit 0 ;; exit 0 ;;
i*:CYGWIN*:*) i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin echo ${UNAME_MACHINE}-pc-cygwin
@@ -779,8 +812,8 @@ EOF
i*:PW*:*) i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32 echo ${UNAME_MACHINE}-pc-pw32
exit 0 ;; exit 0 ;;
x86:Interix*:3*) x86:Interix*:[34]*)
echo i586-pc-interix3 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
exit 0 ;; exit 0 ;;
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks echo i${UNAME_MACHINE}-pc-mks
@@ -801,17 +834,28 @@ EOF
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;; exit 0 ;;
*:GNU:*:*) *:GNU:*:*)
# the GNU system
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;; exit 0 ;;
*:GNU/*:*:*)
# other systems with GNU libc and userland
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
exit 0 ;;
i*86:Minix:*:*) i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix echo ${UNAME_MACHINE}-pc-minix
exit 0 ;; exit 0 ;;
arm*:Linux:*:*) arm*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;; exit 0 ;;
cris:Linux:*:*)
echo cris-axis-linux-gnu
exit 0 ;;
ia64:Linux:*:*) ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;; exit 0 ;;
m32r*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
m68*:Linux:*:*) m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;; exit 0 ;;
@@ -832,7 +876,6 @@ EOF
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
rm -f $dummy.c && rmdir $tmpdir
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
;; ;;
mips64:Linux:*:*) mips64:Linux:*:*)
@@ -852,7 +895,6 @@ EOF
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
rm -f $dummy.c && rmdir $tmpdir
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
;; ;;
ppc:Linux:*:*) ppc:Linux:*:*)
@@ -889,6 +931,9 @@ EOF
s390:Linux:*:* | s390x:Linux:*:*) s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux echo ${UNAME_MACHINE}-ibm-linux
exit 0 ;; exit 0 ;;
sh64*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
sh*:Linux:*:*) sh*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;; exit 0 ;;
@@ -946,9 +991,11 @@ EOF
LIBC=gnuaout LIBC=gnuaout
#endif #endif
#endif #endif
#ifdef __dietlibc__
LIBC=dietlibc
#endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
rm -f $dummy.c && rmdir $tmpdir
test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
;; ;;
@@ -977,6 +1024,9 @@ EOF
i*86:atheos:*:*) i*86:atheos:*:*)
echo ${UNAME_MACHINE}-unknown-atheos echo ${UNAME_MACHINE}-unknown-atheos
exit 0 ;; exit 0 ;;
i*86:syllable:*:*)
echo ${UNAME_MACHINE}-pc-syllable
exit 0 ;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
echo i386-unknown-lynxos${UNAME_RELEASE} echo i386-unknown-lynxos${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@@ -1048,7 +1098,7 @@ EOF
exit 0 ;; exit 0 ;;
M68*:*:R3V[567]*:*) M68*:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0) 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
OS_REL='' OS_REL=''
test -r /etc/.relid \ test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@@ -1146,7 +1196,11 @@ EOF
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:Darwin:*:*) *:Darwin:*:*)
echo `uname -p`-apple-darwin${UNAME_RELEASE} case `uname -p` in
*86) UNAME_PROCESSOR=i686 ;;
powerpc) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*) *:procnto*:*:* | *:QNX:[0123456789]*:*)
UNAME_PROCESSOR=`uname -p` UNAME_PROCESSOR=`uname -p`
@@ -1159,7 +1213,7 @@ EOF
*:QNX:*:4*) *:QNX:*:4*)
echo i386-pc-qnx echo i386-pc-qnx
exit 0 ;; exit 0 ;;
NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) NSR-?:NONSTOP_KERNEL:*:*)
echo nsr-tandem-nsk${UNAME_RELEASE} echo nsr-tandem-nsk${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:NonStop-UX:*:*) *:NonStop-UX:*:*)
@@ -1200,6 +1254,12 @@ EOF
*:ITS:*:*) *:ITS:*:*)
echo pdp10-unknown-its echo pdp10-unknown-its
exit 0 ;; exit 0 ;;
SEI:*:*:SEIUX)
echo mips-sei-seiux${UNAME_RELEASE}
exit 0 ;;
*:DragonFly:*:*)
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
esac esac
#echo '(No uname command or uname output not recognized.)' 1>&2 #echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1320,8 +1380,7 @@ main ()
} }
EOF EOF
$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
rm -f $dummy.c $dummy && rmdir $tmpdir
# Apollos put the system type in the environment. # Apollos put the system type in the environment.

128
config.sub vendored
View File

@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-01-03' timestamp='2004-03-12'
# This file is (in principle) common to ALL GNU software. # This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software # The presence of a machine in this file suggests that SOME GNU software
@@ -118,7 +118,8 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations. # Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in case $maybe_os in
nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;; ;;
@@ -228,14 +229,15 @@ case $basic_machine in
| a29k \ | a29k \
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
| clipper \ | c4x | clipper \
| d10v | d30v | dlx | dsp16xx \ | d10v | d30v | dlx | dsp16xx \
| fr30 | frv \ | fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \ | i370 | i860 | i960 | ia64 \
| ip2k \ | ip2k | iq2000 \
| m32r | m68000 | m68k | m88k | mcore \ | m32r | m32rle | m68000 | m68k | m88k | mcore \
| mips | mipsbe | mipseb | mipsel | mipsle \ | mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \ | mips16 \
| mips64 | mips64el \ | mips64 | mips64el \
@@ -247,6 +249,7 @@ case $basic_machine in
| mipsisa32 | mipsisa32el \ | mipsisa32 | mipsisa32el \
| mipsisa32r2 | mipsisa32r2el \ | mipsisa32r2 | mipsisa32r2el \
| mipsisa64 | mipsisa64el \ | mipsisa64 | mipsisa64el \
| mipsisa64r2 | mipsisa64r2el \
| mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sb1 | mipsisa64sb1el \
| mipsisa64sr71k | mipsisa64sr71kel \ | mipsisa64sr71k | mipsisa64sr71kel \
| mipstx39 | mipstx39el \ | mipstx39 | mipstx39el \
@@ -257,11 +260,11 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \ | pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \ | pyramid \
| sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \ | sh64 | sh64le \
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
| strongarm \ | strongarm \
| tahoe | thumb | tic80 | tron \ | tahoe | thumb | tic4x | tic80 | tron \
| v850 | v850e \ | v850 | v850e \
| we32k \ | we32k \
| x86 | xscale | xstormy16 | xtensa \ | x86 | xscale | xstormy16 | xtensa \
@@ -296,7 +299,7 @@ case $basic_machine in
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* \ | avr-* \
| bs2000-* \ | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
| clipper-* | cydra-* \ | clipper-* | cydra-* \
| d10v-* | d30v-* | dlx-* \ | d10v-* | d30v-* | dlx-* \
| elxsi-* \ | elxsi-* \
@@ -304,8 +307,8 @@ case $basic_machine in
| h8300-* | h8500-* \ | h8300-* | h8500-* \
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
| i*86-* | i860-* | i960-* | ia64-* \ | i*86-* | i860-* | i960-* | ia64-* \
| ip2k-* \ | ip2k-* | iq2000-* \
| m32r-* \ | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
| m88110-* | m88k-* | mcore-* \ | m88110-* | m88k-* | mcore-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
@@ -319,6 +322,7 @@ case $basic_machine in
| mipsisa32-* | mipsisa32el-* \ | mipsisa32-* | mipsisa32el-* \
| mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r2-* | mipsisa32r2el-* \
| mipsisa64-* | mipsisa64el-* \ | mipsisa64-* | mipsisa64el-* \
| mipsisa64r2-* | mipsisa64r2el-* \
| mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
| mipstx39-* | mipstx39el-* \ | mipstx39-* | mipstx39el-* \
@@ -329,11 +333,13 @@ case $basic_machine in
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \ | pyramid-* \
| romp-* | rs6000-* \ | romp-* | rs6000-* \
| sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ | tahoe-* | thumb-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
| tron-* \
| v850-* | v850e-* | vax-* \ | v850-* | v850e-* | vax-* \
| we32k-* \ | we32k-* \
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
@@ -357,6 +363,9 @@ case $basic_machine in
basic_machine=a29k-amd basic_machine=a29k-amd
os=-udi os=-udi
;; ;;
abacus)
basic_machine=abacus-unknown
;;
adobe68k) adobe68k)
basic_machine=m68010-adobe basic_machine=m68010-adobe
os=-scout os=-scout
@@ -371,6 +380,12 @@ case $basic_machine in
basic_machine=a29k-none basic_machine=a29k-none
os=-bsd os=-bsd
;; ;;
amd64)
basic_machine=x86_64-pc
;;
amd64-*)
basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
amdahl) amdahl)
basic_machine=580-amdahl basic_machine=580-amdahl
os=-sysv os=-sysv
@@ -430,12 +445,20 @@ case $basic_machine in
basic_machine=j90-cray basic_machine=j90-cray
os=-unicos os=-unicos
;; ;;
cr16c)
basic_machine=cr16c-unknown
os=-elf
;;
crds | unos) crds | unos)
basic_machine=m68k-crds basic_machine=m68k-crds
;; ;;
cris | cris-* | etrax*) cris | cris-* | etrax*)
basic_machine=cris-axis basic_machine=cris-axis
;; ;;
crx)
basic_machine=crx-unknown
os=-elf
;;
da30 | da30-*) da30 | da30-*)
basic_machine=m68k-da30 basic_machine=m68k-da30
;; ;;
@@ -735,6 +758,10 @@ case $basic_machine in
basic_machine=or32-unknown basic_machine=or32-unknown
os=-coff os=-coff
;; ;;
os400)
basic_machine=powerpc-ibm
os=-os400
;;
OSE68000 | ose68000) OSE68000 | ose68000)
basic_machine=m68000-ericsson basic_machine=m68000-ericsson
os=-ose os=-ose
@@ -766,18 +793,24 @@ case $basic_machine in
pentiumpro | p6 | 6x86 | athlon | athlon_*) pentiumpro | p6 | 6x86 | athlon | athlon_*)
basic_machine=i686-pc basic_machine=i686-pc
;; ;;
pentiumii | pentium2) pentiumii | pentium2 | pentiumiii | pentium3)
basic_machine=i686-pc basic_machine=i686-pc
;; ;;
pentium4)
basic_machine=i786-pc
;;
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
;; ;;
pentiumpro-* | p6-* | 6x86-* | athlon-*) pentiumpro-* | p6-* | 6x86-* | athlon-*)
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
;; ;;
pentiumii-* | pentium2-*) pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
;; ;;
pentium4-*)
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pn) pn)
basic_machine=pn-gould basic_machine=pn-gould
;; ;;
@@ -836,6 +869,10 @@ case $basic_machine in
sb1el) sb1el)
basic_machine=mipsisa64sb1el-unknown basic_machine=mipsisa64sb1el-unknown
;; ;;
sei)
basic_machine=mips-sei
os=-seiux
;;
sequent) sequent)
basic_machine=i386-sequent basic_machine=i386-sequent
;; ;;
@@ -843,6 +880,9 @@ case $basic_machine in
basic_machine=sh-hitachi basic_machine=sh-hitachi
os=-hms os=-hms
;; ;;
sh64)
basic_machine=sh64-unknown
;;
sparclite-wrs | simso-wrs) sparclite-wrs | simso-wrs)
basic_machine=sparclite-wrs basic_machine=sparclite-wrs
os=-vxworks os=-vxworks
@@ -917,14 +957,18 @@ case $basic_machine in
basic_machine=t90-cray basic_machine=t90-cray
os=-unicos os=-unicos
;; ;;
tic4x | c4x*)
basic_machine=tic4x-unknown
os=-coff
;;
tic54x | c54x*) tic54x | c54x*)
basic_machine=tic54x-unknown basic_machine=tic54x-unknown
os=-coff os=-coff
;; ;;
tic55x | c55x*)
basic_machine=tic55x-unknown
os=-coff
;;
tic6x | c6x*)
basic_machine=tic6x-unknown
os=-coff
;;
tx39) tx39)
basic_machine=mipstx39-unknown basic_machine=mipstx39-unknown
;; ;;
@@ -938,6 +982,10 @@ case $basic_machine in
tower | tower-32) tower | tower-32)
basic_machine=m68k-ncr basic_machine=m68k-ncr
;; ;;
tpf)
basic_machine=s390x-ibm
os=-tpf
;;
udi29k) udi29k)
basic_machine=a29k-amd basic_machine=a29k-amd
os=-udi os=-udi
@@ -1027,13 +1075,13 @@ case $basic_machine in
we32k) we32k)
basic_machine=we32k-att basic_machine=we32k-att
;; ;;
sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown basic_machine=sh-unknown
;; ;;
sh64) sh64)
basic_machine=sh64-unknown basic_machine=sh64-unknown
;; ;;
sparc | sparcv9 | sparcv9b) sparc | sparcv8 | sparcv9 | sparcv9b)
basic_machine=sparc-sun basic_machine=sparc-sun
;; ;;
cydra) cydra)
@@ -1106,19 +1154,20 @@ case $os in
| -aos* \ | -aos* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* \ | -chorusos* | -chorusrdb* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -microbsd*) | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
# Remember, each alternative MUST END IN *, to match a version number. # Remember, each alternative MUST END IN *, to match a version number.
;; ;;
-qnx*) -qnx*)
@@ -1142,6 +1191,9 @@ case $os in
-mac*) -mac*)
os=`echo $os | sed -e 's|mac|macos|'` os=`echo $os | sed -e 's|mac|macos|'`
;; ;;
-linux-dietlibc)
os=-linux-dietlibc
;;
-linux*) -linux*)
os=`echo $os | sed -e 's|linux|linux-gnu|'` os=`echo $os | sed -e 's|linux|linux-gnu|'`
;; ;;
@@ -1154,6 +1206,9 @@ case $os in
-opened*) -opened*)
os=-openedition os=-openedition
;; ;;
-os400*)
os=-os400
;;
-wince*) -wince*)
os=-wince os=-wince
;; ;;
@@ -1175,6 +1230,9 @@ case $os in
-atheos*) -atheos*)
os=-atheos os=-atheos
;; ;;
-syllable*)
os=-syllable
;;
-386bsd) -386bsd)
os=-bsd os=-bsd
;; ;;
@@ -1197,6 +1255,9 @@ case $os in
-sinix*) -sinix*)
os=-sysv4 os=-sysv4
;; ;;
-tpf*)
os=-tpf
;;
-triton*) -triton*)
os=-sysv3 os=-sysv3
;; ;;
@@ -1227,6 +1288,12 @@ case $os in
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
os=-mint os=-mint
;; ;;
-aros*)
os=-aros
;;
-kaos*)
os=-kaos
;;
-none) -none)
;; ;;
*) *)
@@ -1258,6 +1325,9 @@ case $basic_machine in
arm*-semi) arm*-semi)
os=-aout os=-aout
;; ;;
c4x-* | tic4x-*)
os=-coff
;;
# This must come before the *-dec entry. # This must come before the *-dec entry.
pdp10-*) pdp10-*)
os=-tops20 os=-tops20
@@ -1436,9 +1506,15 @@ case $basic_machine in
-mvs* | -opened*) -mvs* | -opened*)
vendor=ibm vendor=ibm
;; ;;
-os400*)
vendor=ibm
;;
-ptx*) -ptx*)
vendor=sequent vendor=sequent
;; ;;
-tpf*)
vendor=ibm
;;
-vxsim* | -vxworks* | -windiss*) -vxsim* | -vxworks* | -windiss*)
vendor=wrs vendor=wrs
;; ;;

1820
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -56,7 +56,7 @@ dnl ------------------------------------------------------------------------
dnl Check platform (host system) dnl Check platform (host system)
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
dnl assume Unix dnl OS (assume Unix)
USE_UNIX=1 USE_UNIX=1
USE_OS2=0 USE_OS2=0
USE_WIN32=0 USE_WIN32=0
@@ -64,26 +64,36 @@ USE_DOS=0
USE_BEOS=0 USE_BEOS=0
USE_MAC=0 USE_MAC=0
USE_LINUX= dnl Unix kind
USE_GNU=
USE_SGI=
USE_HPUX=
USE_SYSV=
USE_SVR4=
USE_AIX= USE_AIX=
USE_SUN= dnl any BSD
USE_SOLARIS=
USE_SUNOS=
USE_ALPHA=
USE_OSF=
USE_BSD= USE_BSD=
dnl a.k.a. Mac OS X
USE_DARWIN= USE_DARWIN=
USE_FREEBSD= USE_FREEBSD=
USE_OPENBSD= dnl GNU/Hurd
USE_GNU=
USE_HPUX=
USE_LINUX=
USE_NETBSD= USE_NETBSD=
USE_OPENBSD=
dnl OSF/1 (obsolete?)
USE_OSF=
USE_SGI=
dnl Solaris ("SunOS" >= 5)
USE_SOLARIS=
dnl SunOS or Solaris
USE_SUN=
dnl old/real SunOS (obsolete)
USE_SUNOS=
dnl SysV R4
USE_SVR4=
dnl any System V
USE_SYSV=
USE_VMS= USE_VMS=
USE_ULTRIX= USE_ULTRIX=
USE_DATA_GENERAL= USE_DATA_GENERAL=
USE_ALPHA=
dnl on some platforms xxx_r() functions are declared inside "#ifdef dnl on some platforms xxx_r() functions are declared inside "#ifdef
dnl _REENTRANT" and it's easier to just define this symbol for these platforms dnl _REENTRANT" and it's easier to just define this symbol for these platforms
@@ -145,9 +155,8 @@ case "${host}" in
fi fi
DEFAULT_DEFAULT_wxUSE_GTK=1 DEFAULT_DEFAULT_wxUSE_GTK=1
;; ;;
*-*-gnu* ) *-*-gnu* | *-*-k*bsd*-gnu )
USE_GNU=1 USE_GNU=1
AC_DEFINE(__GNU__)
TMP=`uname -m` TMP=`uname -m`
if test "x$TMP" = "xalpha"; then if test "x$TMP" = "xalpha"; then
USE_ALPHA=1 USE_ALPHA=1
@@ -1136,7 +1145,7 @@ if test "$wxUSE_GUI" = "yes"; then
echo "$var=$value" >> ${wx_arg_cache_file} echo "$var=$value" >> ${wx_arg_cache_file}
fi fi
if test "$value" = 1; then if test "$value" = 1; then
toolkit_echo=`echo $toolkit | tr [[A-Z]] [[a-z]]` toolkit_echo=`echo $toolkit | tr "[[A-Z]]" "[[a-z]]"`
AC_MSG_RESULT($toolkit_echo) AC_MSG_RESULT($toolkit_echo)
fi fi
fi fi
@@ -1448,7 +1457,13 @@ esac
if test "$wxUSE_GUI" = "yes"; then if test "$wxUSE_GUI" = "yes"; then
if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
dnl defines HAVE_X11_XKBLIB_H dnl defines HAVE_X11_XKBLIB_H
AC_CHECK_HEADERS(X11/XKBlib.h) AC_CHECK_HEADERS(X11/Xlib.h)
AC_CHECK_HEADERS([X11/XKBlib.h], [], [],
[
#if HAVE_X11_XLIB_H
#include <X11/Xlib.h>
#endif
])
fi fi
fi fi
@@ -1469,6 +1484,7 @@ AC_CHECK_SIZEOF(short, 2)
AC_CHECK_SIZEOF(void *, 4) AC_CHECK_SIZEOF(void *, 4)
AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(long, 4) AC_CHECK_SIZEOF(long, 4)
AC_CHECK_SIZEOF(size_t, 4)
case "${host}" in case "${host}" in
arm-*-linux* ) arm-*-linux* )
@@ -1649,7 +1665,7 @@ dnl check for glibc version
dnl dnl
dnl VZ: I have no idea why had this check been there originally, but now dnl VZ: I have no idea why had this check been there originally, but now
dnl we could probably do without it by just always adding _GNU_SOURCE dnl we could probably do without it by just always adding _GNU_SOURCE
if test "$USE_LINUX" = 1 || test "$USE_GNU" = 1 ; then if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
AC_CACHE_CHECK([for glibc 2.1 or later], wx_cv_lib_glibc21,[ AC_CACHE_CHECK([for glibc 2.1 or later], wx_cv_lib_glibc21,[
AC_TRY_COMPILE([#include <features.h>], AC_TRY_COMPILE([#include <features.h>],
[ [
@@ -1780,10 +1796,13 @@ if test "$wxUSE_ZLIB" != "no" ; then
], ],
ac_cv_header_zlib_h=`cat conftestval`, ac_cv_header_zlib_h=`cat conftestval`,
ac_cv_header_zlib_h=no, ac_cv_header_zlib_h=no,
dnl cross-compiling: test if we have any zlib.h dnl cross-compiling: don't have an answer, try later
[AC_CHECK_HEADER(zlib.h)] unset ac_cv_header_zlib_h
)] )]
) )
dnl If the test above did not come up with a value (e.g. cross
dnl compiling) then this should give a definitive answer
AC_CHECK_HEADER(zlib.h)
system_zlib_h_ok=$ac_cv_header_zlib_h system_zlib_h_ok=$ac_cv_header_zlib_h
fi fi
@@ -1855,10 +1874,11 @@ if test "$wxUSE_LIBPNG" != "no" ; then
], ],
ac_cv_header_png_h=`cat conftestval`, ac_cv_header_png_h=`cat conftestval`,
ac_cv_header_png_h=no, ac_cv_header_png_h=no,
dnl cross-compiling: test if we have any png.h dnl cross-compiling: test (later) if we have any png.h
[AC_CHECK_HEADER(png.h)] unset ac_cv_header_png_h
)] )]
) )
AC_CHECK_HEADER(png.h)
if test "$ac_cv_header_png_h" = "yes"; then if test "$ac_cv_header_png_h" = "yes"; then
AC_CHECK_LIB(png, png_check_sig, PNG_LINK=" -lpng", , [-lz -lm]) AC_CHECK_LIB(png, png_check_sig, PNG_LINK=" -lpng", , [-lz -lm])
@@ -2547,7 +2567,7 @@ equivalent variable and GTK+ is version 1.2.3 or above.
libs_found=0 libs_found=0
for libp in "" " -lXp"; do for libp in "" " -lXp"; do
if test "$libs_found" = "0"; then if test "$libs_found" = "0"; then
for libsm_ice in " -lSM -lICE"; do for libsm_ice in "" " -lSM -lICE"; do
if test "$libs_found" = "0"; then if test "$libs_found" = "0"; then
save_LIBS="$LIBS" save_LIBS="$LIBS"
LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11" LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
@@ -2925,7 +2945,7 @@ if test "$wxUSE_SHARED" = "yes"; then
fi fi
;; ;;
*-*-linux* | *-*-gnu* ) *-*-linux* )
if test "$GCC" != "yes"; then if test "$GCC" != "yes"; then
AC_CACHE_CHECK([for Intel compiler], wx_cv_prog_icc, AC_CACHE_CHECK([for Intel compiler], wx_cv_prog_icc,
[ [
@@ -2944,9 +2964,14 @@ if test "$wxUSE_SHARED" = "yes"; then
fi fi
fi fi
dnl Building ELF shared libraries without an soname by default and
dnl including /usr/lib explicitly in the linker path causes all sorts
dnl of grief. We try to undo at least some of the wrongness that has
dnl propagated from that here when sonames are enabled by reinserting
dnl the arguments to declare the dependency on symbols in the main lib.
if test "$wxUSE_SONAME" = "yes" ; then if test "$wxUSE_SONAME" = "yes" ; then
SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}" SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}" SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL} -L\$(build_libdir) $WXCONFIG_LIBS"
dnl substitute this in makelib.env for the contrib libs dnl substitute this in makelib.env for the contrib libs
WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)" WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
fi fi

View File

@@ -197,7 +197,7 @@ void PreviewFrame::Preview(wxXmlNode *node, wxXmlDocument *orig_doc)
void PreviewFrame::PreviewMenu() void PreviewFrame::PreviewMenu()
{ {
wxMenuBar *mbar; wxMenuBar *mbar = NULL;
if (XmlGetClass(m_Node) == _T("wxMenuBar")) if (XmlGetClass(m_Node) == _T("wxMenuBar"))
mbar = m_RC->LoadMenuBar(m_Node->GetPropVal(_T("name"), _T("-1"))); mbar = m_RC->LoadMenuBar(m_Node->GetPropVal(_T("name"), _T("-1")));

27
debian/README.Debian vendored
View File

@@ -24,7 +24,7 @@ wxwin-examples wxWindows and wxPython demos and samples (source)
wxwin-i18n message catalogs for native language support wxwin-i18n message catalogs for native language support
The following three can be built from the source package The following binaries can be built from the source package
with the mingw32 cross compiler, but are not currently with the mingw32 cross compiler, but are not currently
distributed by Debian. If you feel that should change, distributed by Debian. If you feel that should change,
please file a bug against the wxwindows2.4 package, or please file a bug against the wxwindows2.4 package, or
@@ -44,9 +44,28 @@ libwxbase-msw-dev mingw32-cross wxBase libs.
libwxbase-msw-dbg mingw32-cross wxBase (debug) libs. libwxbase-msw-dbg mingw32-cross wxBase (debug) libs.
wxwin-headers-msw extra headers needed for wxMSW. wxwin-headers-msw extra headers needed for wxMSW.
libwxgtk-univ wxUniversal for Gtk. NOTE this package is obsolete You can build all of these extra packages using the binary-cross
and will be replaced by wxX11 and wxX11-univ at target in debian/rules.
some future time.
It is also possible to build a libwxgtk-dbg-python package.
There are some limitations (like this package cannot be installed
concurrently with the release version), but some developers may
find such a thing useful in any case. It will transparently
replace the release package for installed apps that depend on the
release package, but should NEVER be used when preparing packages
for upload. This package may be created from the source using the
binary-dbg-py target in debian/rules. (note that doing this will
also destroy any release build that exists in the same tree, they
cannot coexist there either yet)
Finally, because all of these packages can take quite some time to
build, the source package supports the use of distcc. The package
builds will automatically parallelise to suit the number of hosts
you have listed in DISTCC_HOSTS. This will work for both native
and cross builds of the c++ libraries, if you have the relevant
compilers on all your build hosts.
-- Ron Lee <ron@debian.org>, Sun, 13 Feb 2000 18:40:00 +1030 -- Ron Lee <ron@debian.org>, Sun, 13 Feb 2000 18:40:00 +1030

View File

@@ -1,5 +1,5 @@
These examples are provided as extended documentation for the wxWidgets These examples are provided as extended documentation for the wxWindows
package. If you wish to actually run them rather than just browse them package. If you wish to actually run them rather than just browse them
as documents you should copy them into a working directory elsewhere as documents you should copy them into a working directory elsewhere
first. Note that some of them will attempt to write to the current first. Note that some of them will attempt to write to the current

43
debian/changelog vendored
View File

@@ -1,3 +1,46 @@
wxwindows2.4 (2.4.2.5) unstable; urgency=medium
* Medium urgency to keep things moving for the libtiff fudge.
* Switch to dhv4, libtiff4.
* Fix menu quoting.
* Whittled down on some of the build config scripts that weren't
really earning their weight.
* Check for DISTCC_HOSTS and set the number of make -j jobs according
to the number of hosts it contains.
* Purge the .pyc from site-packages/wx too. They are generated on
site at install time.
* Includes type correctness fix for 64bit arch's. Closes: #197661
* Merged patches from Robert Millan for HURD/K*BSD support back from
cvs head. Closes: #217726
* Store the python version we preconfigure virgin source with, then
people don't need the default python package installed to build
from source, just the packages declared in the build-deps. Fix
the -python postinst to use this when byte compiling too.
Closes: #259128 (and fixes #258529)
* Added README.examples to explain that these examples are extended
documentation for coders, rather than trial apps for users.
Closes: #212894
* Dropped the examples from the demos subdir, the samples cover a lot
more ground than they used to and are generally more up to date,
it's also no longer hard to find a broad range of real applications
with source. Provided more external pointers in the README.
Closes: #258530 after discussion with the submitter. This is a bit
less c++ for your python, but I'm not convinced yet that either half
is such a burden on the other as to warrant an extra package here
at this stage.
* Fix linking of wxgtk_gl to include the proper dependency on wxgtk.
Remove suggestion of libgl1, by declaring the full library dependency
we now automatically insist on it. Closes: #262027
* Include wxrc and wxrcedit in contrib-dev. Added a simple man page
and a menu entry for wxrcedit. Closes: #261811
* Update gl sample makefiles to use --gl-libs. Thanks to Rich Walker
for picking this up. Closes: #246169
* Enable the building of a libwxgtk-dbg-python package, but do not
build and upload it by default at this stage. Closes: #220568
* Does not fix #239782, sorry.
-- Ron Lee <ron@debian.org> Wed, 28 Jul 2004 03:21:42 +0930
wxwindows2.4 (2.4.2.4) unstable; urgency=low wxwindows2.4 (2.4.2.4) unstable; urgency=low
* Modified build scripts to use pythonX.Y instead of python(>=X.Y) * Modified build scripts to use pythonX.Y instead of python(>=X.Y)

44
debian/control.in vendored
View File

@@ -1,9 +1,9 @@
Source: wxwindows=V Source: wxwindows=V
Section: libs Section: libs
Priority: optional Priority: optional
Build-Depends: debhelper (>=2.0), flex, bison, gettext, libgtk1.2-dev, =PY, =PY-dev, zlib1g-dev, libjpeg62-dev, libpng2-dev, libtiff3g-dev, xlibmesa-gl-dev | libgl-dev, xlibmesa-glu-dev | libglu-dev, libesd0-dev Build-Depends: debhelper (>=4.0), flex, bison, gettext, libgtk1.2-dev, =PY, =PY-dev, zlib1g-dev, libjpeg62-dev, libpng2-dev, libtiff4-dev, xlibmesa-gl-dev | libgl-dev, xlibmesa-glu-dev | libglu-dev, libesd0-dev
Maintainer: Ron Lee <ron@debian.org> Maintainer: Ron Lee <ron@debian.org>
Standards-Version: 3.6.1.0 Standards-Version: 3.6.1.1
Package: libwxbase=V Package: libwxbase=V
Architecture: any Architecture: any
@@ -68,7 +68,6 @@ Package: libwxgtk=V
Architecture: any Architecture: any
Section: libs Section: libs
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}
Suggests: libgl1
Replaces: wxgtk2.1 Replaces: wxgtk2.1
Description: wxWindows Cross-platform C++ GUI toolkit (GTK+ runtime) Description: wxWindows Cross-platform C++ GUI toolkit (GTK+ runtime)
wxWindows is a class library for C++ providing GUI (Graphical User wxWindows is a class library for C++ providing GUI (Graphical User
@@ -83,7 +82,7 @@ Package: libwxgtk=V-dev
Architecture: any Architecture: any
Section: libdevel Section: libdevel
Depends: wxwin=V-headers (= ${Source-Version}), libwxgtk=V (= ${Source-Version}), libc6-dev Depends: wxwin=V-headers (= ${Source-Version}), libwxgtk=V (= ${Source-Version}), libc6-dev
Suggests: wxwin=V-doc, libstdc++-dev, gettext, libgl-dev Suggests: wxwin=V-doc, libstdc++-dev, gettext, xlibmesa-gl-dev | libgl-dev, xlibmesa-glu-dev | libglu-dev
Conflicts: libwxgtk-dev Conflicts: libwxgtk-dev
Replaces: libwxgtk-dev, wxgtk2.1-dev Replaces: libwxgtk-dev, wxgtk2.1-dev
Provides: libwxgtk-dev Provides: libwxgtk-dev
@@ -210,18 +209,27 @@ Description: wxWindows Cross-platform C++ GUI toolkit (examples)
This package contains examples of using the wxWindows toolkit in This package contains examples of using the wxWindows toolkit in
C++ and with the wxPython language binding. C++ and with the wxPython language binding.
Package: libwxgtk=V-univ Package: libwxgtk=V-dbg-python
Architecture: any Architecture: any
Section: libs Section: python
Depends: wxwin=V-headers (= ${Source-Version}), libwxgtk=V (= ${Source-Version}), libc6-dev, ${shlibs:Depends} Depends: =PY, ${shlibs:Depends}
Suggests: wxwin=V-doc, libstdc++-dev, gettext, libgl-dev Suggests: wxwin=V-doc, wxwin=V-examples, =PY-xml
Description: wxWindows Cross-platform C++ GUI toolkit (wxUNIVERSAL widgets) Conflicts: libwxgtk=V-python
Replaces: libwxgtk=V-python
Provides: libwxgtk=V-python
Description: wxWindows Cross-platform C++ GUI toolkit (wxPython binding)
wxWindows is a class library for C++ providing GUI (Graphical User wxWindows is a class library for C++ providing GUI (Graphical User
Interface) and other facilities on more than one platform. Version =V Interface) and other facilities on more than one platform. Version =V
currently supports subsets of GTK+, Motif, and MS Windows. currently supports subsets of GTK+, Motif, and MS Windows.
. .
This package is built to use the wxUNIVERSAL widget set instead of This package provides a Python binding to the wxGTK debug library.
native gtk widgets. It is useful for developers as many common errors may be caught.
Unfortunately it cannot be installed at the same time as the release
packages, but it will replace them for other applications that require
wxPython. You should _never_ upload packages to Debian that depend upon
this package explicitly, use the libwxgtk=V-python package instead.
.
If you wish to use xrced you'll also need the python-xml package installed.
Package: libwxbase-msw=V-dev Package: libwxbase-msw=V-dev
Architecture: i386 Architecture: i386
@@ -275,3 +283,17 @@ Provides: wxwin-headers-msw
Description: Extra wxWindows headers for mingw32msvc-cross Description: Extra wxWindows headers for mingw32msvc-cross
Headers required by the wxWindows mingw32msvc-cross libraries. Headers required by the wxWindows mingw32msvc-cross libraries.
Package: libwxgtk=V-univ
Architecture: any
Section: libs
Depends: wxwin=V-headers (= ${Source-Version}), libwxgtk=V (= ${Source-Version}), libc6-dev, ${shlibs:Depends}
Suggests: wxwin=V-doc, libstdc++-dev, gettext, libgl-dev
Description: wxWindows Cross-platform C++ GUI toolkit (wxUNIVERSAL widgets)
wxWindows is a class library for C++ providing GUI (Graphical User
Interface) and other facilities on more than one platform. Version =V
currently supports subsets of GTK+, Motif, and MS Windows.
.
This package is built to use the wxUNIVERSAL widget set instead of
native gtk widgets.

View File

@@ -1,5 +0,0 @@
usr/bin
usr/lib/wx/include/based-=V/wx
usr/share/man/man1
usr/share/lintian/overrides

View File

@@ -3,9 +3,5 @@ set -e
update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxbased-=V-config 50 update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxbased-=V-config 50
if [ "$1" = "configure" ]; then
ldconfig
fi
#DEBHELPER# #DEBHELPER#

View File

@@ -1,3 +0,0 @@
usr/bin
usr/lib/wx/include/base-=V/wx
usr/share/man/man1

View File

@@ -1,2 +0,0 @@
usr/lib

View File

@@ -1,10 +0,0 @@
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
ldconfig
fi
#DEBHELPER#

View File

@@ -1,2 +0,0 @@
usr/lib/

3
debian/libwxgtk-contrib-dev.menu vendored Normal file
View File

@@ -0,0 +1,3 @@
?package(libwxgtk=V-contrib-dev):needs="X11" section="Apps/Programming"\
title="wxrcedit" command="/usr/bin/wxrcedit"

View File

@@ -1,2 +0,0 @@
usr/lib/

View File

@@ -1,10 +0,0 @@
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
ldconfig
fi
#DEBHELPER#

7
debian/libwxgtk-dbg-python.menu vendored Normal file
View File

@@ -0,0 +1,7 @@
?package(libwxgtk=V-dbg-python):needs="X11" section="Apps/Programming"\
title="pycrust" command="/usr/bin/pycrust"
?package(libwxgtk=V-dbg-python):needs="X11" section="Apps/Programming"\
title="pyshell" command="/usr/bin/pyshell"
?package(libwxgtk=V-dbg-python):needs="X11" section="Apps/Programming"\
title="xrced" command="/usr/bin/xrced"

9
debian/libwxgtk-dbg-python.prerm vendored Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -e
PACKAGE="libwxgtk=V-dbg-python"
dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
#DEBHELPER#

View File

@@ -1,5 +0,0 @@
usr/bin
usr/lib/wx/include/gtkd-=V/wx
usr/share/man/man1
usr/share/lintian/overrides

View File

@@ -3,9 +3,5 @@ set -e
update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxgtkd-=V-config 50 update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxgtkd-=V-config 50
if [ "$1" = "configure" ]; then
ldconfig
fi
#DEBHELPER# #DEBHELPER#

View File

@@ -1,4 +0,0 @@
usr/bin
usr/lib/wx/include/gtk-=V/wx
usr/share/man/man1

View File

@@ -1,7 +1,7 @@
?package(libwxgtk=V-python):needs=X11 section=Apps/Programming\ ?package(libwxgtk=V-python):needs="X11" section="Apps/Programming"\
title="pycrust" command="/usr/bin/pycrust" title="pycrust" command="/usr/bin/pycrust"
?package(libwxgtk=V-python):needs=X11 section=Apps/Programming\ ?package(libwxgtk=V-python):needs="X11" section="Apps/Programming"\
title="pyshell" command="/usr/bin/pyshell" title="pyshell" command="/usr/bin/pyshell"
?package(libwxgtk=V-python):needs=X11 section=Apps/Programming\ ?package(libwxgtk=V-python):needs="X11" section="Apps/Programming"\
title="xrced" command="/usr/bin/xrced" title="xrced" command="/usr/bin/xrced"

View File

@@ -5,8 +5,8 @@ set -e
WXPYTHONDIR="/usr/lib/=PY/site-packages/wxPython" WXPYTHONDIR="/usr/lib/=PY/site-packages/wxPython"
if [ "$1" = "configure" ]; then if [ "$1" = "configure" ]; then
python /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR} =PY /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
python -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR} =PY -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
fi fi
#DEBHELPER# #DEBHELPER#

View File

@@ -3,11 +3,7 @@
set -e set -e
PACKAGE="libwxgtk=V-python" PACKAGE="libwxgtk=V-python"
dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
xargs rm -f >&2
#DEBHELPER# #DEBHELPER#

View File

@@ -1,5 +0,0 @@
usr/bin
usr/lib/wx/include/gtkuniv-=V/wx
usr/share/man/man1
usr/share/lintian/overrides

View File

@@ -1,2 +0,0 @@
usr/share/man/man1/wx-config.1.gz usr/share/man/man1/wxgtkuniv-=V-config.1.gz

View File

@@ -1,11 +0,0 @@
#! /bin/sh
set -e
update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxgtkuniv-=V-config 50
if [ "$1" = "configure" ]; then
ldconfig
fi
#DEBHELPER#

View File

@@ -1,7 +0,0 @@
#! /bin/sh
set -e
update-alternatives --remove wx-config /usr/bin/wxgtkuniv-=V-config
#DEBHELPER#

View File

@@ -1,2 +0,0 @@
usr/lib
usr/share

View File

@@ -1,10 +0,0 @@
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
ldconfig
fi
#DEBHELPER#

420
debian/rules vendored
View File

@@ -1,5 +1,5 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# debian/rules file to build packages from wxWindows CVS source # debian/rules file to build packages from wx CVS source
# #
# Sculpted 13/2/2000 by Ron Lee <ron@debian.org> from new and # Sculpted 13/2/2000 by Ron Lee <ron@debian.org> from new and
# variously stolen code :-) # variously stolen code :-)
@@ -7,152 +7,167 @@
# Joey Hess and others. # Joey Hess and others.
#export DH_VERBOSE=1 #export DH_VERBOSE=1
export DH_COMPAT=2
export DH_OPTIONS export DH_OPTIONS
release:=$(shell dpkg-parsechangelog | sed -n 's/^Source: wxwindows//p') ifdef DISTCC_HOSTS
python_ver:=python$(shell python -c "import sys;print sys.version[:3]")
cross_host=i586-mingw32msvc #JOB_COUNT := $(shell set $${DISTCC_HOSTS} > /dev/null 2>&1 ; echo $$(($$\# + $$\#)))
cross_build=$(shell ./config.guess) # Nearly as fast, but doesn't raise the room temperature
# or saturate the build machines quite so much.
JOB_COUNT := $(shell set $${DISTCC_HOSTS} > /dev/null 2>&1 ; echo $$\#)
FAST_MAKE = $(MAKE) -j $(JOB_COUNT)
config_cache=../config_deb.cache else
config_cache_cross=../config_deb_cross.cache
FAST_MAKE = $(MAKE)
endif
-include debian/python-version
release := $(shell dpkg-parsechangelog | sed -n 's/^Source: wxwindows//p')
cross_host = i586-mingw32msvc
cross_build = $(shell ./config.guess)
config_cache = ../config_deb.cache
config_cache_cross = ../config_deb_cross.cache
# Packages to build: # Packages to build:
package_wxbase_lib=libwxbase$(release) package_wxbase_lib = libwxbase$(release)
package_wxbase_dev=libwxbase$(release)-dev package_wxbase_dev = libwxbase$(release)-dev
package_wxbase_dbg=libwxbase$(release)-dbg package_wxbase_dbg = libwxbase$(release)-dbg
package_gtk_lib=libwxgtk$(release) package_gtk_lib = libwxgtk$(release)
package_gtk_dev=libwxgtk$(release)-dev package_gtk_dev = libwxgtk$(release)-dev
package_gtk_dbg=libwxgtk$(release)-dbg package_gtk_dbg = libwxgtk$(release)-dbg
package_gtk_py=libwxgtk$(release)-python package_gtk_py = libwxgtk$(release)-python
package_gtk_contrib=libwxgtk$(release)-contrib package_gtk_contrib = libwxgtk$(release)-contrib
package_gtk_contrib_dev=libwxgtk$(release)-contrib-dev package_gtk_contrib_dev = libwxgtk$(release)-contrib-dev
package_headers=wxwin$(release)-headers package_headers = wxwin$(release)-headers
package_i18n=wxwin$(release)-i18n package_i18n = wxwin$(release)-i18n
package_doc=wxwin$(release)-doc package_doc = wxwin$(release)-doc
package_examples=wxwin$(release)-examples package_examples = wxwin$(release)-examples
package_gtk_univ=libwxgtk$(release)-univ package_gtk_dbg_py = libwxgtk$(release)-dbg-python
package_wxbase_msw_dev=libwxbase-msw$(release)-dev package_gtk_univ = libwxgtk$(release)-univ
package_wxbase_msw_dbg=libwxbase-msw$(release)-dbg
package_msw_dev=libwxmsw$(release)-dev package_wxbase_msw_dev = libwxbase-msw$(release)-dev
package_msw_dbg=libwxmsw$(release)-dbg package_wxbase_msw_dbg = libwxbase-msw$(release)-dbg
package_headers_msw=wxwin$(release)-headers-msw package_msw_dev = libwxmsw$(release)-dev
package_msw_dbg = libwxmsw$(release)-dbg
package_headers_msw = wxwin$(release)-headers-msw
# Build directories: # Build directories:
objdir_wxbase_shared=objs_wxbase_sh objdir_wxbase_shared = objs_wxbase_sh
objdir_wxbase_static=objs_wxbase_st objdir_wxbase_static = objs_wxbase_st
objdir_wxbase_debug=objs_wxbase_d objdir_wxbase_debug = objs_wxbase_d
objdir_gtk_shared=objs_gtk_sh objdir_gtk_shared = objs_gtk_sh
objdir_gtk_static=objs_gtk_st objdir_gtk_static = objs_gtk_st
objdir_gtk_debug=objs_gtk_d objdir_gtk_debug = objs_gtk_d
objdir_gtk_install=objs_gtk_install objdir_gtk_install = objs_gtk_install
objdir_gtk_contrib_install=objs_gtk_contrib_install objdir_gtk_contrib_install = objs_gtk_contrib_install
objdir_doc_cruft=objs_doc_con objdir_doc_cruft = objs_doc_con
objdir_doc=docs/wxWindows-manual.html objdir_doc = docs/wxWindows-manual.html
objdir_examples=docs/examples objdir_examples = docs/examples
objdir_i18n=locale objdir_i18n = locale
objdir_gtk_univ=objs_gtk_univ objdir_gtk_univ = objs_gtk_univ
objdir_univ_install=objs_univ_install objdir_univ_install = objs_univ_install
objdir_wxbase_msw_shared=objs_wxbase_msw_sh objdir_wxbase_msw_shared = objs_wxbase_msw_sh
objdir_wxbase_msw_static=objs_wxbase_msw_st objdir_wxbase_msw_static = objs_wxbase_msw_st
objdir_wxbase_msw_dbg=objs_wxbase_msw_d objdir_wxbase_msw_dbg = objs_wxbase_msw_d
objdir_msw_shared=objs_msw_sh objdir_msw_shared = objs_msw_sh
objdir_msw_static=objs_msw_st objdir_msw_static = objs_msw_st
objdir_msw_dbg=objs_msw_d objdir_msw_dbg = objs_msw_d
objdirs=$(objdir_wxbase_shared) $(objdir_wxbase_static) $(objdir_wxbase_debug) \ objdirs = $(objdir_wxbase_shared) $(objdir_wxbase_static) $(objdir_wxbase_debug) \
$(objdir_gtk_shared) $(objdir_gtk_static) $(objdir_gtk_debug) \ $(objdir_gtk_shared) $(objdir_gtk_static) $(objdir_gtk_debug) \
$(objdir_gtk_install) $(objdir_gtk_contrib_install) $(objdir_gtk_univ) \ $(objdir_gtk_install) $(objdir_gtk_contrib_install) $(objdir_gtk_univ) \
$(objdir_univ_install) $(objdir_doc_cruft) $(objdir_doc) \ $(objdir_univ_install) $(objdir_doc_cruft) $(objdir_doc) \
$(objdir_examples) \ $(objdir_examples) \
$(objdir_wxbase_msw_shared) $(objdir_wxbase_msw_static) \ $(objdir_wxbase_msw_shared) $(objdir_wxbase_msw_static) \
$(objdir_wxbase_msw_dbg) $(objdir_msw_shared) $(objdir_msw_static) \ $(objdir_wxbase_msw_dbg) $(objdir_msw_shared) $(objdir_msw_static) \
$(objdir_msw_dbg) $(objdir_msw_dbg)
# note that the i18n package is actually arch indep (once built) # note that the i18n package is actually arch indep (once built)
# but must be built (and installed) during the arch any phase as # but must be built (and installed) during the arch any phase as
# it's pulled out of the wxGtk shared lib package. # it's pulled out of the wxGtk shared lib package.
# Build stamps: # Build stamps:
build_arch_stamps=build-wxbase-shared-stamp build-wxbase-static-stamp \ build_arch_stamps = build-wxbase-shared-stamp build-wxbase-static-stamp \
build-wxbase-debug-stamp build-gtk-shared-stamp \ build-wxbase-debug-stamp build-gtk-shared-stamp \
build-gtk-static-stamp build-gtk-debug-stamp \ build-gtk-static-stamp build-gtk-debug-stamp \
build-contrib-shared-stamp build-contrib-static-stamp \ build-contrib-shared-stamp build-contrib-static-stamp \
build-gtk-py-stamp build-i18n-stamp build-gtk-py-stamp build-i18n-stamp
# disable gtk-univ build, we'll replace it with x11-univ later. # disable gtk-univ build, we'll replace it with x11-univ later.
# build-gtk-univ-stamp # build-gtk-univ-stamp
build_indep_stamps=build-examples-stamp build-doc-stamp build_indep_stamps = build-examples-stamp build-doc-stamp
build_cross_stamps=build-wxbase-msw-shared-stamp build-wxbase-msw-static-stamp \ build_cross_stamps = build-wxbase-msw-shared-stamp build-wxbase-msw-static-stamp \
build-wxbase-msw-dbg-stamp build-msw-shared-stamp \ build-wxbase-msw-dbg-stamp build-msw-shared-stamp \
build-msw-static-stamp build-msw-dbg-stamp build-msw-static-stamp build-msw-dbg-stamp
build_stamps_native=$(build_arch_stamps) $(build_indep_stamps) build_stamps_native = $(build_arch_stamps) $(build_indep_stamps)
build_stamps=$(build_stamps_native) $(build_cross_stamps) build_stamps = $(build_stamps_native) $(build_cross_stamps)
# Install targets: # Install targets:
install_all_arch=install-wxbase-lib install-wxbase-dev install-wxbase-dbg \ install_all_arch = install-wxbase-lib install-wxbase-dev install-wxbase-dbg \
install-gtk-lib install-gtk-dev install-gtk-dbg \ install-gtk-lib install-gtk-dev install-gtk-dbg \
install-gtk-contrib install-gtk-contrib-dev install-gtk-py \ install-gtk-contrib install-gtk-contrib-dev install-gtk-py \
install-headers install-i18n install-headers install-i18n
# disable gtk-univ build, we'll replace it with x11-univ later. # disable gtk-univ build, we'll replace it with x11-univ later.
# install-gtk-univ # install-gtk-univ
install_all_indep=install-examples install-doc install_all_indep = install-examples install-doc
install_all_cross=install-wxbase-msw-dev install-wxbase-msw-dbg install-msw-dev install-msw-dbg install-headers-msw install_all_cross = install-wxbase-msw-dev install-wxbase-msw-dbg install-msw-dev install-msw-dbg install-headers-msw
install_all_native=$(install_all_arch) $(install_all_indep) install_all_native = $(install_all_arch) $(install_all_indep)
install_all=$(install_all_native) $(install_all_cross) install_all = $(install_all_native) $(install_all_cross)
wxconfig:=$(shell pwd)/$(objdir_gtk_shared)/wx-config \ wxconfig := $(shell pwd)/$(objdir_gtk_shared)/wx-config \
--prefix=$(shell pwd) \ --prefix=$(shell pwd) \
--exec-prefix=$(shell pwd)/$(objdir_gtk_shared) --exec-prefix=$(shell pwd)/$(objdir_gtk_shared)
wxconfig-dbg := $(shell pwd)/$(objdir_gtk_debug)/wx-config \
--prefix=$(shell pwd) \
--exec-prefix=$(shell pwd)/$(objdir_gtk_debug)
# The Rules: # The Rules:
debian/control: debian/control.in debian/python-version:
echo python_ver := python$(shell python -c "import sys;print sys.version[:3]") > $@
debian/control: $(addprefix debian/,control.in python-version)
sed -e 's/=V/$(release)/g;s/=PY/$(python_ver)/g' < debian/control.in > debian/control sed -e 's/=V/$(release)/g;s/=PY/$(python_ver)/g' < debian/control.in > debian/control
control-files-stamp: debian/control control-files-stamp: debian/control
dh_testdir dh_testdir
@for f in dirs postinst; do \ @for f in links postinst prerm; do \
echo "generating control file $(package_wxbase_lib).$$f"; \
cp debian/libwxbase.$$f debian/$(package_wxbase_lib).$$f; \
done;
@for f in dirs links postinst prerm; do \
echo "generating control file $(package_wxbase_dev).$$f"; \ echo "generating control file $(package_wxbase_dev).$$f"; \
sed -e 's/=V/$(release)/g' < debian/libwxbase-dev.$$f \ sed -e 's/=V/$(release)/g' < debian/libwxbase-dev.$$f \
> debian/$(package_wxbase_dev).$$f; \ > debian/$(package_wxbase_dev).$$f; \
done; done;
@for f in dirs links postinst prerm; do \ @for f in links postinst prerm; do \
echo "generating control file $(package_wxbase_dbg).$$f"; \ echo "generating control file $(package_wxbase_dbg).$$f"; \
sed -e 's/=V/$(release)/g' < debian/libwxbase-dbg.$$f \ sed -e 's/=V/$(release)/g' < debian/libwxbase-dbg.$$f \
> debian/$(package_wxbase_dbg).$$f; \ > debian/$(package_wxbase_dbg).$$f; \
done; done;
@for f in dirs postinst; do \ @for f in links postinst prerm; do \
echo "generating control file $(package_gtk_lib).$$f"; \
cp debian/libwxgtk.$$f debian/$(package_gtk_lib).$$f; \
done;
@for f in dirs links postinst prerm; do \
echo "generating control file $(package_gtk_dev).$$f"; \ echo "generating control file $(package_gtk_dev).$$f"; \
sed -e 's/=V/$(release)/g' < debian/libwxgtk-dev.$$f \ sed -e 's/=V/$(release)/g' < debian/libwxgtk-dev.$$f \
> debian/$(package_gtk_dev).$$f; \ > debian/$(package_gtk_dev).$$f; \
done; done;
@for f in dirs links postinst prerm; do \ @for f in links postinst prerm; do \
echo "generating control file $(package_gtk_dbg).$$f"; \ echo "generating control file $(package_gtk_dbg).$$f"; \
sed -e 's/=V/$(release)/g' < debian/libwxgtk-dbg.$$f \ sed -e 's/=V/$(release)/g' < debian/libwxgtk-dbg.$$f \
> debian/$(package_gtk_dbg).$$f; \ > debian/$(package_gtk_dbg).$$f; \
@@ -162,23 +177,12 @@ control-files-stamp: debian/control
sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g' < debian/libwxgtk-python.$$f \ sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g' < debian/libwxgtk-python.$$f \
> debian/$(package_gtk_py).$$f; \ > debian/$(package_gtk_py).$$f; \
done; done;
@for f in dirs postinst; do \ @for f in menu; do \
echo "generating control file $(package_gtk_contrib).$$f"; \
cp debian/libwxgtk-contrib.$$f debian/$(package_gtk_contrib).$$f; \
done;
@for f in dirs; do \
echo "generating control file $(package_gtk_contrib_dev).$$f"; \ echo "generating control file $(package_gtk_contrib_dev).$$f"; \
cp debian/libwxgtk-contrib-dev.$$f debian/$(package_gtk_contrib_dev).$$f; \ sed -e 's/=V/$(release)/g' < debian/libwxgtk-contrib-dev.$$f \
> debian/$(package_gtk_contrib_dev).$$f; \
done; done;
@for f in dirs; do \ @for f in docs doc-base; do \
echo "generating control file $(package_headers).$$f"; \
cp debian/wxwin-headers.$$f debian/$(package_headers).$$f; \
done;
@for f in dirs; do \
echo "generating control file $(package_i18n).$$f"; \
cp debian/wxwin-i18n.$$f debian/$(package_i18n).$$f; \
done;
@for f in dirs docs doc-base; do \
echo "generating control file $(package_doc).$$f"; \ echo "generating control file $(package_doc).$$f"; \
sed -e 's/=V/$(release)/g' < debian/wxwin-doc.$$f \ sed -e 's/=V/$(release)/g' < debian/wxwin-doc.$$f \
> debian/$(package_doc).$$f; \ > debian/$(package_doc).$$f; \
@@ -187,6 +191,16 @@ control-files-stamp: debian/control
echo "generating control file $(package_examples).$$f"; \ echo "generating control file $(package_examples).$$f"; \
cp debian/wxwin-examples.$$f debian/$(package_examples).$$f; \ cp debian/wxwin-examples.$$f debian/$(package_examples).$$f; \
done; done;
@for f in dirs docs postinst; do \
echo "generating control file $(package_gtk_dbg_py).$$f"; \
sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g' < debian/libwxgtk-python.$$f \
> debian/$(package_gtk_dbg_py).$$f; \
done;
@for f in menu prerm; do \
echo "generating control file $(package_gtk_dbg_py).$$f"; \
sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g' < debian/libwxgtk-dbg-python.$$f \
> debian/$(package_gtk_dbg_py).$$f; \
done;
@for f in dirs links postinst prerm; do \ @for f in dirs links postinst prerm; do \
echo "generating control file $(package_wxbase_msw_dev).$$f"; \ echo "generating control file $(package_wxbase_msw_dev).$$f"; \
sed -e 's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian/libwxbase-msw-dev.$$f \ sed -e 's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian/libwxbase-msw-dev.$$f \
@@ -212,11 +226,6 @@ control-files-stamp: debian/control
sed -e 's/=H/$(cross_host)/g' < debian/wxwin-headers-msw.$$f \ sed -e 's/=H/$(cross_host)/g' < debian/wxwin-headers-msw.$$f \
> debian/$(package_headers_msw).$$f; \ > debian/$(package_headers_msw).$$f; \
done; done;
@for f in dirs links postinst prerm; do \
echo "generating control file $(package_gtk_univ).$$f"; \
sed -e 's/=V/$(release)/g' < debian/libwxgtk-univ.$$f \
> debian/$(package_gtk_univ).$$f; \
done;
touch $@ touch $@
build_arch: control-files-stamp $(build_arch_stamps) build_arch: control-files-stamp $(build_arch_stamps)
@@ -245,7 +254,7 @@ configure-wxbase-shared-stamp:
build-wxbase-shared-stamp: configure-wxbase-shared-stamp build-wxbase-shared-stamp: configure-wxbase-shared-stamp
dh_testdir dh_testdir
cd $(objdir_wxbase_shared) && $(MAKE) cd $(objdir_wxbase_shared) && $(FAST_MAKE)
touch $@ touch $@
configure-wxbase-static-stamp: configure-wxbase-static-stamp:
@@ -262,7 +271,7 @@ configure-wxbase-static-stamp:
build-wxbase-static-stamp: configure-wxbase-static-stamp build-wxbase-static-stamp: configure-wxbase-static-stamp
dh_testdir dh_testdir
cd $(objdir_wxbase_static) && $(MAKE) cd $(objdir_wxbase_static) && $(FAST_MAKE)
touch $@ touch $@
configure-wxbase-debug-stamp: configure-wxbase-debug-stamp:
@@ -280,7 +289,7 @@ configure-wxbase-debug-stamp:
build-wxbase-debug-stamp: configure-wxbase-debug-stamp build-wxbase-debug-stamp: configure-wxbase-debug-stamp
dh_testdir dh_testdir
cd $(objdir_wxbase_debug) && $(MAKE) cd $(objdir_wxbase_debug) && $(FAST_MAKE)
touch $@ touch $@
configure-gtk-shared-stamp: configure-gtk-shared-stamp:
@@ -302,7 +311,7 @@ configure-gtk-shared-stamp:
build-gtk-shared-stamp: configure-gtk-shared-stamp build-gtk-shared-stamp: configure-gtk-shared-stamp
dh_testdir dh_testdir
cd $(objdir_gtk_shared) && $(MAKE) cd $(objdir_gtk_shared) && $(FAST_MAKE)
touch $@ touch $@
configure-gtk-static-stamp: configure-gtk-static-stamp:
@@ -324,7 +333,7 @@ configure-gtk-static-stamp:
build-gtk-static-stamp: configure-gtk-static-stamp build-gtk-static-stamp: configure-gtk-static-stamp
dh_testdir dh_testdir
cd $(objdir_gtk_static) && $(MAKE) cd $(objdir_gtk_static) && $(FAST_MAKE)
touch $@ touch $@
configure-gtk-debug-stamp: configure-gtk-debug-stamp:
@@ -347,7 +356,7 @@ configure-gtk-debug-stamp:
build-gtk-debug-stamp: configure-gtk-debug-stamp build-gtk-debug-stamp: configure-gtk-debug-stamp
dh_testdir dh_testdir
cd $(objdir_gtk_debug) && $(MAKE) cd $(objdir_gtk_debug) && $(FAST_MAKE)
touch $@ touch $@
configure-gtk-univ-stamp: configure-gtk-univ-stamp:
@@ -370,22 +379,28 @@ configure-gtk-univ-stamp:
build-gtk-univ-stamp: configure-gtk-univ-stamp build-gtk-univ-stamp: configure-gtk-univ-stamp
dh_testdir dh_testdir
cd $(objdir_gtk_univ) && $(MAKE) cd $(objdir_gtk_univ) && $(FAST_MAKE)
touch $@ touch $@
build-contrib-shared-stamp: build-gtk-shared-stamp build-contrib-shared-stamp: build-gtk-shared-stamp
dh_testdir dh_testdir
cd $(objdir_gtk_shared)/contrib/src \ cd $(objdir_gtk_shared)/contrib/src && $(FAST_MAKE)
&& $(MAKE) cd $(objdir_gtk_shared)/contrib/utils/wxrc && $(FAST_MAKE)
cd $(objdir_gtk_shared)/contrib/utils/wxrcedit && $(FAST_MAKE)
touch $@ touch $@
build-contrib-static-stamp: build-gtk-static-stamp build-contrib-static-stamp: build-gtk-static-stamp
dh_testdir dh_testdir
cd $(objdir_gtk_static)/contrib/src \ cd $(objdir_gtk_static)/contrib/src && $(FAST_MAKE)
&& $(MAKE)
touch $@ touch $@
build-gtk-py-stamp: build-gtk-shared-stamp purge-dbg-py:
@if [ ! -e build-gtk-py-stamp ]; then \
$(MAKE) -f debian/rules clean-py; \
fi
$(RM) build-gtk-dbg-py-stamp
build-gtk-py-stamp: build-gtk-shared-stamp purge-dbg-py
dh_testdir dh_testdir
touch docs/lgpl.txt touch docs/lgpl.txt
cd wxPython \ cd wxPython \
@@ -395,8 +410,9 @@ build-gtk-py-stamp: build-gtk-shared-stamp
build-doc-stamp: build-gtk-shared-stamp build-doc-stamp: build-gtk-shared-stamp
dh_testdir dh_testdir
cd $(objdir_gtk_shared)/utils/tex2rtf/src \ cd $(objdir_gtk_shared)/utils/tex2rtf/src \
&& $(MAKE) && $(FAST_MAKE)
rm -rf $(objdir_doc) rm -rf $(objdir_doc)
rm -rf $(objdir_doc_cruft)
mkdir $(objdir_doc) mkdir $(objdir_doc)
mkdir $(objdir_doc_cruft) mkdir $(objdir_doc_cruft)
cd $(objdir_doc_cruft) \ cd $(objdir_doc_cruft) \
@@ -418,19 +434,18 @@ build-examples-stamp: build-gtk-shared-stamp
rm -f $(objdir_examples)/samples/Makefile rm -f $(objdir_examples)/samples/Makefile
cp -a $(objdir_gtk_shared)/samples/Makefile $(objdir_examples)/samples cp -a $(objdir_gtk_shared)/samples/Makefile $(objdir_examples)/samples
cp -a demos $(objdir_examples) cd $(objdir_examples)/samples \
&& mv Makefile.in Makefile \
&& rm -f configure* \
&& find -name 'Makefile.in' -exec rm -f '{}' ';' \
&& for d in $$(find -type d); do \
if [ -f $$d/makefile.unx ]; then \
mv $$d/makefile.unx $$d/Makefile; \
fi; \
done
cp -a wxPython/demo $(objdir_examples)/wxPython cp -a wxPython/demo $(objdir_examples)/wxPython
@for d in $(objdir_examples)/demos $(objdir_examples)/samples; do \
(cd $$d \
&& mv Makefile.in Makefile \
&& rm -f configure* \
&& find -name 'Makefile.in' -exec rm -f '{}' ';' \
&& for f in $$(find -type d); do \
if [ -f $$f/makefile.unx ]; then \
mv $$f/makefile.unx $$f/Makefile; \
fi; \
done) \
done;
touch $@ touch $@
build-i18n-stamp: build-gtk-shared-stamp build-i18n-stamp: build-gtk-shared-stamp
@@ -444,6 +459,19 @@ build-i18n-stamp: build-gtk-shared-stamp
&& $(MAKE) allmo && $(MAKE) allmo
touch $@ touch $@
purge-release-py:
@if [ ! -e build-gtk-dbg-py-stamp ]; then \
$(MAKE) -f debian/rules clean-py; \
fi
$(RM) build-gtk-py-stamp
build-gtk-dbg-py-stamp: build-gtk-debug-stamp purge-release-py
dh_testdir
touch docs/lgpl.txt
cd wxPython \
&& $(python_ver) ./setup.py build IN_CVS_TREE=1 WX_CONFIG='$(wxconfig-dbg)'
touch $@
configure-wxbase-msw-shared-stamp: configure-wxbase-msw-shared-stamp:
dh_testdir dh_testdir
mkdir -p $(objdir_wxbase_msw_shared) mkdir -p $(objdir_wxbase_msw_shared)
@@ -457,7 +485,7 @@ configure-wxbase-msw-shared-stamp:
build-wxbase-msw-shared-stamp: configure-wxbase-msw-shared-stamp build-wxbase-msw-shared-stamp: configure-wxbase-msw-shared-stamp
dh_testdir dh_testdir
cd $(objdir_wxbase_msw_shared) && $(MAKE) cd $(objdir_wxbase_msw_shared) && $(FAST_MAKE)
touch $@ touch $@
configure-wxbase-msw-static-stamp: configure-wxbase-msw-static-stamp:
@@ -474,7 +502,7 @@ configure-wxbase-msw-static-stamp:
build-wxbase-msw-static-stamp: configure-wxbase-msw-static-stamp build-wxbase-msw-static-stamp: configure-wxbase-msw-static-stamp
dh_testdir dh_testdir
cd $(objdir_wxbase_msw_static) && $(MAKE) cd $(objdir_wxbase_msw_static) && $(FAST_MAKE)
touch $@ touch $@
# Note this builds dll only, since wxmsw static debug is > 130MB ! # Note this builds dll only, since wxmsw static debug is > 130MB !
@@ -492,7 +520,7 @@ configure-wxbase-msw-dbg-stamp:
build-wxbase-msw-dbg-stamp: configure-wxbase-msw-dbg-stamp build-wxbase-msw-dbg-stamp: configure-wxbase-msw-dbg-stamp
dh_testdir dh_testdir
cd $(objdir_wxbase_msw_dbg) && $(MAKE) cd $(objdir_wxbase_msw_dbg) && $(FAST_MAKE)
touch $@ touch $@
configure-msw-shared-stamp: configure-msw-shared-stamp:
@@ -507,7 +535,7 @@ configure-msw-shared-stamp:
build-msw-shared-stamp: configure-msw-shared-stamp build-msw-shared-stamp: configure-msw-shared-stamp
dh_testdir dh_testdir
cd $(objdir_msw_shared) && $(MAKE) cd $(objdir_msw_shared) && $(FAST_MAKE)
touch $@ touch $@
configure-msw-static-stamp: configure-msw-static-stamp:
@@ -523,7 +551,7 @@ configure-msw-static-stamp:
build-msw-static-stamp: configure-msw-static-stamp build-msw-static-stamp: configure-msw-static-stamp
dh_testdir dh_testdir
cd $(objdir_msw_static) && $(MAKE) cd $(objdir_msw_static) && $(FAST_MAKE)
touch $@ touch $@
configure-msw-dbg-stamp: configure-msw-dbg-stamp:
@@ -539,19 +567,11 @@ configure-msw-dbg-stamp:
build-msw-dbg-stamp: configure-msw-dbg-stamp build-msw-dbg-stamp: configure-msw-dbg-stamp
dh_testdir dh_testdir
cd $(objdir_msw_dbg) && $(MAKE) cd $(objdir_msw_dbg) && $(FAST_MAKE)
touch $@ touch $@
clean: debian/control clean-py:
dh_testdir
dh_testroot
rm -rf config_deb.cache config_deb_cross.cache *-stamp $(objdirs)
rm -f docs/lgpl.txt
rm -f docs/latex/wx/manual.bb
rm -f $(objdir_i18n)/*.mo
cd wxPython \ cd wxPython \
&& rm -rf licence \ && rm -rf licence \
&& rm -rf build \ && rm -rf build \
@@ -565,6 +585,15 @@ clean: debian/control
# its not enough by itself to get the tree properly clean again. # its not enough by itself to get the tree properly clean again.
# && ./setup.py clean # && ./setup.py clean
clean: debian/control clean-py
dh_testdir
dh_testroot
rm -rf config_deb.cache config_deb_cross.cache *-stamp $(objdirs)
rm -f docs/lgpl.txt
rm -f docs/latex/wx/manual.bb
rm -f $(objdir_i18n)/*.mo
dh_clean dh_clean
rm -f debian/$(package_wxbase_lib).* rm -f debian/$(package_wxbase_lib).*
rm -f debian/$(package_wxbase_dev).* rm -f debian/$(package_wxbase_dev).*
@@ -579,12 +608,14 @@ clean: debian/control
rm -f debian/$(package_i18n).* rm -f debian/$(package_i18n).*
rm -f debian/$(package_doc).* rm -f debian/$(package_doc).*
rm -f debian/$(package_examples).* rm -f debian/$(package_examples).*
rm -f debian/$(package_gtk_univ).*
rm -f debian/$(package_gtk_dbg_py).*
rm -f debian/$(package_wxbase_msw_dev).* rm -f debian/$(package_wxbase_msw_dev).*
rm -f debian/$(package_wxbase_msw_dbg).* rm -f debian/$(package_wxbase_msw_dbg).*
rm -f debian/$(package_msw_dev).* rm -f debian/$(package_msw_dev).*
rm -f debian/$(package_msw_dbg).* rm -f debian/$(package_msw_dbg).*
rm -f debian/$(package_headers_msw).* rm -f debian/$(package_headers_msw).*
rm -f debian/$(package_gtk_univ).*
install_arch: build_arch $(install_all_arch) install_arch: build_arch $(install_all_arch)
@@ -613,7 +644,7 @@ install-wxbase-dbg: build-wxbase-debug-stamp
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs usr/share/lintian/overrides
dh_install $(objdir_wxbase_debug)/wxbased-$(release)-config usr/bin dh_install $(objdir_wxbase_debug)/wxbased-$(release)-config usr/bin
dh_install $(objdir_wxbase_debug)/lib usr dh_install $(objdir_wxbase_debug)/lib usr
cp debian/lintian-override debian/$(package_wxbase_dbg)/usr/share/lintian/overrides/$(package_wxbase_dbg) cp debian/lintian-override debian/$(package_wxbase_dbg)/usr/share/lintian/overrides/$(package_wxbase_dbg)
@@ -649,7 +680,7 @@ install-gtk-dbg: build-gtk-debug-stamp
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs usr/share/lintian/overrides
dh_install $(objdir_gtk_debug)/wxgtkd-$(release)-config usr/bin dh_install $(objdir_gtk_debug)/wxgtkd-$(release)-config usr/bin
dh_install $(objdir_gtk_debug)/lib usr dh_install $(objdir_gtk_debug)/lib usr
cp debian/lintian-override debian/$(package_gtk_dbg)/usr/share/lintian/overrides/$(package_gtk_dbg) cp debian/lintian-override debian/$(package_gtk_dbg)/usr/share/lintian/overrides/$(package_gtk_dbg)
@@ -677,7 +708,7 @@ install-gtk-contrib: build-contrib-shared-stamp install-gtk-contrib-stamp
dh_testroot dh_testroot
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs
dh_install $(objdir_gtk_contrib_install)/lib/*.so.* usr/lib dh_install $(objdir_gtk_contrib_install)/lib/*.so.* usr/lib
install-gtk-contrib-dev: DH_OPTIONS=-p$(package_gtk_contrib_dev) install-gtk-contrib-dev: DH_OPTIONS=-p$(package_gtk_contrib_dev)
install-gtk-contrib-dev: build-contrib-static-stamp install-gtk-contrib-stamp install-gtk-contrib-dev: build-contrib-static-stamp install-gtk-contrib-stamp
@@ -685,10 +716,17 @@ install-gtk-contrib-dev: build-contrib-static-stamp install-gtk-contrib-stamp
dh_testroot dh_testroot
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs
dh_install $(objdir_gtk_contrib_install)/include usr dh_install $(objdir_gtk_contrib_install)/include usr
dh_install $(objdir_gtk_contrib_install)/lib/*.so usr/lib dh_install $(objdir_gtk_contrib_install)/lib/*.so usr/lib
dh_install -Xlibwx_gtk- -Xlibwx_gtk_gl- \ dh_install -Xlibwx_gtk- -Xlibwx_gtk_gl- \
$(objdir_gtk_static)/lib/*.a usr/lib $(objdir_gtk_static)/lib/*.a usr/lib
dh_install $(objdir_gtk_shared)/contrib/utils/wxrc/wxrc usr/bin
dh_install $(objdir_gtk_shared)/contrib/utils/wxrcedit/wxrcedit usr/bin
dh_installman debian/wxrc-tools.1
dh_link usr/share/man/man1/wxrc-tools.1 usr/share/man/man1/wxrc.1 \
usr/share/man/man1/wxrc-tools.1 usr/share/man/man1/wxrcedit.1
install-gtk-py: DH_OPTIONS=-p$(package_gtk_py) install-gtk-py: DH_OPTIONS=-p$(package_gtk_py)
install-gtk-py: build-gtk-py-stamp install-gtk-py: build-gtk-py-stamp
@@ -701,7 +739,7 @@ install-gtk-py: build-gtk-py-stamp
--prefix=`pwd`/../debian/$(package_gtk_py)/usr \ --prefix=`pwd`/../debian/$(package_gtk_py)/usr \
WX_CONFIG='$(wxconfig)' WX_CONFIG='$(wxconfig)'
find debian/$(package_gtk_py)/usr/lib/$(python_ver)/site-packages/wxPython \ find debian/$(package_gtk_py)/usr/lib/$(python_ver)/site-packages \
-name '*.py?' -exec rm '{}' ';' -name '*.py?' -exec rm '{}' ';'
dh_installman debian/wxPython-tools.1 dh_installman debian/wxPython-tools.1
@@ -761,6 +799,35 @@ install-examples: build-examples-stamp
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs
install-gtk-dbg-py: DH_OPTIONS=-p$(package_gtk_dbg_py)
install-gtk-dbg-py: build-gtk-dbg-py-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
cd wxPython \
&& $(python_ver) ./setup.py install \
--prefix=`pwd`/../debian/$(package_gtk_dbg_py)/usr \
WX_CONFIG='$(wxconfig-dbg)'
find debian/$(package_gtk_dbg_py)/usr/lib/$(python_ver)/site-packages \
-name '*.py?' -exec rm '{}' ';'
dh_installman debian/wxPython-tools.1
dh_link usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2py.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2xpm.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2png.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pycrust.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pyshell.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/xrced.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/helpviewer.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pyalacarte.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pyalamode.1 \
usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pywrap.1
# This is rather bogus, its included in the main copyright file now though.
rm -f debian/$(package_gtk_dbg_py)/usr/lib/$(python_ver)/site-packages/wxPython/tools/XRCed/license.txt
install-wxbase-msw-dev: DH_OPTIONS=-p$(package_wxbase_msw_dev) install-wxbase-msw-dev: DH_OPTIONS=-p$(package_wxbase_msw_dev)
install-wxbase-msw-dev: build-wxbase-msw-shared-stamp build-wxbase-msw-static-stamp install-wxbase-msw-dev: build-wxbase-msw-shared-stamp build-wxbase-msw-static-stamp
dh_testdir dh_testdir
@@ -841,7 +908,14 @@ binary-common:
dh_compress dh_compress
dh_fixperms dh_fixperms
dh_makeshlibs -N$(package_gtk_py) -V
@# Don't do this for the dbg-py special build because dh_makeshlibs
@# will crap out if it is called with no packages to act on.
@if [ "x$(DH_OPTIONS)" != "-p$(package_gtk_dbg_py)" ]; then \
echo "dh_makeshlibs -N$(package_gtk_py) -V"; \
dh_makeshlibs -N$(package_gtk_py) -V; \
fi
dh_installdeb dh_installdeb
dh_shlibdeps -ldebian/$(package_gtk_lib)/usr/lib dh_shlibdeps -ldebian/$(package_gtk_lib)/usr/lib
dh_gencontrol dh_gencontrol
@@ -865,6 +939,7 @@ binary-arch: build_arch install_arch
# Build all packages target. # Build all packages target.
binary: binary-arch binary-indep binary: binary-arch binary-indep
# This is a special target for building the wxMSW-cross packages. # This is a special target for building the wxMSW-cross packages.
# It's not currently called during the official package build run # It's not currently called during the official package build run
# but may be run separately to build the extra packages. # but may be run separately to build the extra packages.
@@ -876,6 +951,12 @@ binary-cross: control-files-stamp $(install_all_cross)
binary-common binary-common
# Build wxPython against libwxgtk-dbg. This package will conflict
# with the release build one, but may be useful to some people.
binary-dbg-py: control-files-stamp install-gtk-dbg-py
$(MAKE) -f debian/rules DH_OPTIONS="-p$(package_gtk_dbg_py)" binary-common
############################################################################ ############################################################################
# #
# Some rules to build a subset of the complete list of packages that can be # Some rules to build a subset of the complete list of packages that can be
@@ -919,13 +1000,18 @@ binary-fast:control-files-stamp install-gtk-dbg install-msw-dev install-headers
$(MAKE) -f debian/rules DH_OPTIONS="-p$(package_gtk_dbg) -p$(package_msw_dev) -p$(package_headers) -p$(package_headers_msw)" binary-common $(MAKE) -f debian/rules DH_OPTIONS="-p$(package_gtk_dbg) -p$(package_msw_dev) -p$(package_headers) -p$(package_headers_msw)" binary-common
.PHONY: build build_all build_arch clean binary-indep binary-arch binary binary-common \ .PHONY: build build_all build_arch \
binary-gtk binary-gtk-dev binary-gtk-dbg binary-wxbase binary-wxbase-dev \ clean clean-py purge-release-py purge-dbg-py \
binary-wxbase-dbg binary-doc binary-cross \ binary-indep binary-arch binary binary-common \
install install_arch install-wxbase-lib \ binary-gtk binary-gtk-dev binary-gtk-dbg \
install-wxbase-dev install-wxbase-dbg install-gtk-lib install-gtk-dev \ binary-wxbase binary-wxbase-dev binary-wxbase-dbg \
install-gtk-dbg install-gtk-contrib install-gtk-contrib-dev \ binary-doc binary-cross binary-dbg-py \
install-gtk-py install-headers install-i18n install-doc install-examples \ install install_arch \
install-wxbase-msw-dev install-msw-dev install-headers-msw \ install-wxbase-lib install-wxbase-dev install-wxbase-dbg \
install-gtk-lib install-gtk-dev install-gtk-dbg \
install-gtk-contrib install-gtk-contrib-dev \
install-gtk-py install-gtk-dbg-py \
install-headers install-i18n install-doc install-examples \
install-wxbase-msw-dev install-msw-dev install-headers-msw \
install-wxbase-msw-dbg install-msw-dbg install-wxbase-msw-dbg install-msw-dbg

44
debian/wx-config.1 vendored
View File

@@ -1,6 +1,6 @@
.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows" .TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows"
.SH NAME .SH NAME
wx-config \- generate compile time info for wxWindows wx-config \- generate compile time requirements for wxWindows applications
.SH SYNOPSIS .SH SYNOPSIS
.nh .nh
.B wxbase\-config .B wxbase\-config
@@ -8,7 +8,10 @@ wx-config \- generate compile time info for wxWindows
.B wxgtk\-config .B wxgtk\-config
.HP .HP
.B wx\-config .B wx\-config
[\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld] [\-\-version]
[\-\-libs] [\-\-gl\-libs]
[\-\-cppflags] [\-\-cflags] [\-\-cxxflags]
[\-\-cc] [\-\-cxx] [\-\-ld]
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
.SH DESCRIPTION .SH DESCRIPTION
\fIwx\-config\fP is a tool to determine the compiler and linker \fIwx\-config\fP is a tool to determine the compiler and linker
@@ -26,29 +29,36 @@ mechanism.
.SH OPTIONS .SH OPTIONS
.l .l
\fIwx\-config\fP accepts the following options: \fIwx\-config\fP accepts the following options:
.TP 8 .TP 15
.B \-\-version .B \-\-version
What to What to
.B ALWAYS .B ALWAYS
include in a bug report. include in a bug report.
.br .TP 15
( But of course you already knew that ... )
.TP 8
.B \-\-libs .B \-\-libs
Generate linker flags for a \fIwxWindows\fP program. Output linker parameters for a \fIwxWindows\fP application.
.TP 8 .TP 15
.B \-\-gl-libs
Output linker parameters for a \fIwxWindows\fP application that uses the glcanvas.
.TP 15
.B \-\-cppflags
Output parameters required by the C preprocessor for wxWindows applications.
.TP 15
.B \-\-cflags .B \-\-cflags
Generate compiler flags for the same. Output parameters required by the C compiler for wxWindows applications.
.TP 8 .TP 15
.B \-\-cxxflags
Output parameters required by the C++ compiler for wxWindows applications.
.TP 15
.B \-\-cc .B \-\-cc
Output the name of the C compiler \fB$(CC)\fP. Output the name of the C compiler \fB$(CC)\fP.
.TP 8 .TP 15
.B \-\-cxx .B \-\-cxx
Output the name of the C++ compiler \fB$(CXX)\fP. Output the name of the C++ compiler \fB$(CXX)\fP.
.TP 8 .TP 15
.B \-\-ld .B \-\-ld
Output the Linker command \fB$(LD)\fP. Output the linker command \fB$(LD)\fP.
.TP 8 .TP 15
.B \-\-prefix=PREFIX .B \-\-prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP
was built with when computing the output for the \-\-cflags and was built with when computing the output for the \-\-cflags and
@@ -60,7 +70,7 @@ before any \-\-libs or \-\-cflags options.
.HP .HP
(Translation: this is the root path to the \fIwxWindows\fP headers \-\- [Ron]) (Translation: this is the root path to the \fIwxWindows\fP headers \-\- [Ron])
.hy .hy
.TP 8 .TP 15
.B \-\-exec\-prefix=PREFIX .B \-\-exec\-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that If specified, use PREFIX instead of the installation exec prefix that
\fIwxWindows\fP was built with when computing the output for the \-\-cflags \fIwxWindows\fP was built with when computing the output for the \-\-cflags
@@ -77,8 +87,8 @@ and \-\-libs options. This option must be specified before any
.SH COPYRIGHT .SH COPYRIGHT
This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
wxGTK. It was then updated to include new options and otherwise bastardised wxGTK. It was subsequently updated to include new options and otherwise
generally by Ron Lee <ron@debian.org> bastardised generally by Ron Lee <ron@debian.org>
The original gtk\-config manpage copyright: The original gtk\-config manpage copyright:

17
debian/wxrc-tools.1 vendored Normal file
View File

@@ -0,0 +1,17 @@
.TH wxrc\-tools 1 "30 Jul 2004" "Debian GNU/Linux" "wxWindows"
.SH NAME
wxrc \- command line compiler for wx xml resources.
.br
wxrced \- graphical editing tool for wx xml resource files.
.SH DESCRIPTION
The real documentation for these tools (what of it that exists) is available
in the wxWindows manual, which is packaged in html format in the wxwin2.4-doc
package and installed in /usr/share/doc/wxwin2.4-doc/wxWindows-manual.html on
Debian systems.
.SH COPYRIGHT
This manpage was written by Ron Lee <ron@debian.org> for the Debian GNU/Linux
distribution of wxWindows. It may be freely distributed by anyone insane enough
to find it useful.

View File

@@ -1 +0,0 @@
usr/share/doc-base

View File

@@ -1,3 +1,4 @@
docs/examples/demos debian/README.examples
docs/examples/samples docs/examples/samples
docs/examples/wxPython docs/examples/wxPython

View File

@@ -1,3 +0,0 @@
usr/include/wx
usr/share/man/man1

View File

@@ -1,2 +0,0 @@
/usr/share/locale

View File

@@ -9,10 +9,6 @@
# #
# Makefile for cube example (UNIX). # Makefile for cube example (UNIX).
OPENGL_LIBS=-lGL -lGLU
#if you have old Mesa, try this:
#OPENGL_LIBS=-lMesaGL -lMesaGLU
PROGRAM=cube PROGRAM=cube
CXX = $(shell wx-config --cxx) CXX = $(shell wx-config --cxx)
@@ -29,7 +25,7 @@ OBJECTS = $(PROGRAM).o
all: $(PROGRAM) all: $(PROGRAM)
$(PROGRAM): $(OBJECTS) $(PROGRAM): $(OBJECTS)
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS) $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --gl-libs`
clean: clean:
rm -f *.o $(PROGRAM) rm -f *.o $(PROGRAM)

View File

@@ -9,10 +9,6 @@
# #
# Makefile for isosurf example (UNIX). # Makefile for isosurf example (UNIX).
OPENGL_LIBS=-lGL -lGLU
#if you have old Mesa, try this:
#OPENGL_LIBS=-lMesaGL -lMesaGLU
PROGRAM=isosurf PROGRAM=isosurf
CXX = $(shell wx-config --cxx) CXX = $(shell wx-config --cxx)
@@ -29,7 +25,7 @@ OBJECTS = $(PROGRAM).o
all: $(PROGRAM) isosurf.dat all: $(PROGRAM) isosurf.dat
$(PROGRAM): $(OBJECTS) $(PROGRAM): $(OBJECTS)
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS) $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --gl-libs`
clean: clean:
rm -f *.o $(PROGRAM) rm -f *.o $(PROGRAM)

View File

@@ -7,17 +7,13 @@
# #
# Makefile for penguin example (UNIX). # Makefile for penguin example (UNIX).
OPENGL_LIBS=-lGL -lGLU
#if you have old Mesa, try this:
#OPENGL_LIBS=-lMesaGL -lMesaGLU
CC = $(shell wx-config --cc) CC = $(shell wx-config --cc)
CXX = $(shell wx-config --cxx) CXX = $(shell wx-config --cxx)
Penguin: penguin.o trackball.o lw.o Penguin: penguin.o trackball.o lw.o
$(CXX) -o Penguin \ $(CXX) -o Penguin \
penguin.o trackball.o lw.o \ penguin.o trackball.o lw.o \
`wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS) `wx-config --gl-libs`
penguin.o: penguin.cpp penguin.o: penguin.cpp
$(CXX) `wx-config --cxxflags` -I../../gtk -c penguin.cpp $(CXX) `wx-config --cxxflags` -I../../gtk -c penguin.cpp

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Easy generation of new events classes and binder functions""" """Easy generation of new events classes and binder functions"""
__author__ = "Miki Tebeka <tebeka@cs.bgu.ac.il>" __author__ = "Miki Tebeka <tebeka@cs.bgu.ac.il>"