Changeset 40094
- Timestamp:
- 02/25/17 21:51:27 (7 years ago)
- Location:
- titan
- Files:
-
- 2523 added
- 77 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r40086 r40094 188 188 { 189 189 echo "$INPUT" 190 } 191 192 youtube_dl() 193 { 194 $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate -g "$INPUT" 190 195 } 191 196 … … 217 222 esac 218 223 fi 224 225 if [ "$TYPE" == "youtube_dl" ];then 226 case $hoster in 227 *) youtube_dl $INPUT;; 228 esac 229 fi -
titan/mediathek/localhoster/lib/python2.7/LICENSE.txt
r39001 r40094 75 75 provided, however, that PSF's License Agreement and PSF's notice of copyright, 76 76 i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 77 2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved" are retained78 in Python alone or in any derivative version prepared by Licensee.77 2011, 2012, 2013, 2014, 2015 Python Software Foundation; All Rights Reserved" 78 are retained in Python alone or in any derivative version prepared by Licensee. 79 79 80 80 3. In the event Licensee prepares a derivative work that is based on -
titan/mediathek/localhoster/lib/python2.7/config/Makefile
r39001 r40094 22 22 # === Variables set by makesetup === 23 23 24 MODOBJS= Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/zipimport.o Modules/symtablemodule.o Modules/ xxsubtype.o24 MODOBJS= Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/zipimport.o Modules/symtablemodule.o Modules/md5module.o Modules/md5.o Modules/xxsubtype.o 25 25 MODLIBS= $(LOCALMODLIBS) $(BASEMODLIBS) 26 26 27 27 # === Variables set by configure 28 28 VERSION= 2.7 29 srcdir= . 30 31 abs_srcdir= /home/ bonkel/HDMU-BUILD/SH4_NEW/cdk/python-2.7.932 abs_builddir= /home/ bonkel/HDMU-BUILD/SH4_NEW/cdk/python-2.7.933 build= x86_64-unknown-linux-gnu34 host= sh4-unknown-linux-gnu35 36 CC= sh4-linux-gcc-pthread37 CXX= sh4-linux-c++29 srcdir= ../Python-2.7.11 30 VPATH= ../Python-2.7.11 31 abs_srcdir= /home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/python/2.7.11-r1.2/build/../Python-2.7.11 32 abs_builddir= /home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/python/2.7.11-r1.2/build 33 build= i686-pc-linux-gnu 34 host= arm-oe-linux-gnueabi 35 36 CC= arm-oe-linux-gnueabi-gcc -march=armv7ve -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900 -pthread 37 CXX= arm-oe-linux-gnueabi-g++ -march=armv7ve -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900 38 38 MAINCC= $(CC) 39 39 LINKCC= $(PURIFY) $(MAINCC) 40 AR= sh4-linux-ar41 RANLIB= sh4-linux-ranlib40 AR= arm-oe-linux-gnueabi-ar 41 RANLIB= arm-oe-linux-gnueabi-ranlib 42 42 SVNVERSION= svnversion $(srcdir) 43 43 HGVERSION= 44 44 HGTAG= 45 45 HGBRANCH= 46 PGO_PROF_GEN_FLAG=-fprofile-generate 47 PGO_PROF_USE_FLAG=-fprofile-use -fprofile-correction 48 LLVM_PROF_MERGER=true 49 LLVM_PROF_FILE= 50 LLVM_PROF_ERR=no 46 51 47 52 GNULD= yes … … 68 73 69 74 # Compiler options 70 OPT= -DNDEBUG -g -fwrapv-O3 -Wall -Wstrict-prototypes75 OPT= -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 71 76 BASECFLAGS= -fno-strict-aliasing 72 CFLAGS= $(BASECFLAGS) -g -O2$(OPT) $(EXTRA_CFLAGS)77 CFLAGS= $(BASECFLAGS) -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/python/2.7.11-r1.2/build=/usr/src/python -fdebug-prefix-map=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/python/2.7.11-r1.2/Python-2.7.11=/usr/src/python -fdebug-prefix-map=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/i686-linux= -fdebug-prefix-map=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900= $(OPT) $(EXTRA_CFLAGS) 73 78 # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to 74 79 # be able to build extension modules using the directories specified in the 75 80 # environment variables 76 81 CPPFLAGS= -I. -IInclude -I$(srcdir)/Include 77 LDFLAGS= 82 LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -L. -L/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/lib 78 83 LDLAST= 79 84 SGI_ABI= … … 89 94 # Machine-dependent subdirectories 90 95 MACHDEP= linux2 96 LIB= lib 91 97 92 98 # Multiarch directory (may be empty) … … 97 103 98 104 # Install prefix for architecture-dependent files 99 exec_prefix= ${prefix}105 exec_prefix= /usr 100 106 101 107 # Install prefix for data files … … 103 109 104 110 # Expanded directories 105 BINDIR= ${exec_prefix}/bin106 LIBDIR= ${exec_prefix}/lib107 MANDIR= ${datarootdir}/man108 INCLUDE DIR= ${prefix}/include109 CONFINCLUDE DIR= $(exec_prefix)/include111 BINDIR= /usr/bin 112 LIBDIR=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/lib 113 MANDIR= /usr/share/man 114 INCLUDE=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/include 115 CONFINCLUDE=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/include 110 116 SCRIPTDIR= $(prefix)/lib 111 117 … … 144 150 145 151 # Environment to run shared python without installed libraries 146 RUNSHARED= 152 RUNSHARED= 147 153 148 154 # ensurepip options … … 156 162 157 163 # configure script arguments 158 CONFIG_ARGS= '--build= x86_64-unknown-linux-gnu' '--host=sh4-linux' '--target=sh4-linux' '--prefix=/usr' '--sysconfdir=/etc' '--enable-shared' '--enable-ipv6' '--with-threads' '--with-pymalloc' '--with-signal-module' '--with-wctype-functions' 'ac_sys_system=Linux' 'ac_sys_release=2' 'ac_cv_file__dev_ptmx=no' 'ac_cv_file__dev_ptc=no' 'ac_cv_no_strict_aliasing_ok=yes' 'ac_cv_pthread=yes' 'ac_cv_cxx_thread=yes' 'ac_cv_sizeof_off_t=8' 'ac_cv_have_chflags=no' 'ac_cv_have_lchflags=no' 'ac_cv_py_format_size_t=yes' 'ac_cv_broken_sem_getvalue=no' 'HOSTPYTHON=/home/bonkel/HDMU-BUILD/SH4_NEW/tufsbox/host/bin/python' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=sh4-linux' 'target_alias=sh4-linux'164 CONFIG_ARGS= '--build=i686-linux' '--host=arm-oe-linux-gnueabi' '--target=arm-oe-linux-gnueabi' '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/com' '--localstatedir=/var' '--libdir=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/lib' '--includedir=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/include' '--oldincludedir=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--disable-silent-rules' '--disable-dependency-tracking' '--with-libtool-sysroot=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900' '--with-system-ffi' '--with-threads' '--with-pymalloc' '--without-cxx-main' '--with-signal-module' '--enable-shared' '--enable-ipv6=yes' 'ac_cv_header_bluetooth_bluetooth_h=no' 'ac_cv_header_bluetooth_h=no' 'ac_cv_file__dev_ptmx=yes' 'ac_cv_file__dev_ptc=no' 'ac_cv_no_strict_aliasing_ok=yes' 'ac_cv_pthread=yes' 'ac_cv_cxx_thread=yes' 'ac_cv_sizeof_off_t=8' 'build_alias=i686-linux' 'host_alias=arm-oe-linux-gnueabi' 'target_alias=arm-oe-linux-gnueabi' 'CC=arm-oe-linux-gnueabi-gcc -march=armv7ve -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900' 'CFLAGS= -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/python/2.7.11-r1.2/build=/usr/src/python -fdebug-prefix-map=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/python/2.7.11-r1.2/Python-2.7.11=/usr/src/python -fdebug-prefix-map=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/i686-linux= -fdebug-prefix-map=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900= ' 'LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' 'CPPFLAGS=' 'CPP=arm-oe-linux-gnueabi-gcc -E --sysroot=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900 -march=armv7ve -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a15' 'PKG_CONFIG_PATH=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/lib/pkgconfig:/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/lib/pkgconfig' 159 165 160 166 … … 196 202 PYTHON= python$(EXE) 197 203 BUILDPYTHON= python$(BUILDEXE) 198 HOSTPYTHON= ./$(BUILDPYTHON) 199 200 PYTHON_FOR_BUILD=_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/plat-$(MACHDEP) python2.7 201 _PYTHON_HOST_PLATFORM=linux2-sh4 202 HOST_GNU_TYPE= sh4-unknown-linux-gnu 204 205 PYTHON_FOR_BUILD=_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/plat-$(MACHDEP) python2.7 206 _PYTHON_HOST_PLATFORM=linux2-arm 207 HOST_GNU_TYPE= arm-oe-linux-gnueabi 203 208 204 209 # Tcl and Tk config info from --with-tcltk-includes and -libs options … … 207 212 208 213 # The task to run while instrument when building the profile-opt target 209 PROFILE_TASK= $(srcdir)/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck 210 #PROFILE_TASK= $(srcdir)/Lib/test/regrtest.py 214 PROFILE_TASK=-m test.regrtest --pgo 211 215 212 216 # === Definitions added by makesetup === 213 217 214 LOCALMODLIBS= 218 LOCALMODLIBS= 215 219 BASEMODLIBS= 216 220 GLHACK=-Dclear=__GLclear … … 220 224 TKPATH=:lib-tk 221 225 EXTRAMACHDEPPATH= 222 MACHDEPPATH=: plat-$(MACHDEP)226 MACHDEPPATH=:$(PLATDIR) 223 227 TESTPATH= 224 228 SITEPATH= … … 248 252 249 253 250 LIBFFI_INCLUDEDIR= 254 LIBFFI_INCLUDEDIR= /home/atemio/flashimg/BUILDGIT/checkout_mips360/builds/titannit/release/dm900/tmp/sysroots/dm900/usr/lib/libffi-3.2.1/include 251 255 252 256 ########################################################################## … … 320 324 ########################################################################## 321 325 # Python 326 327 OPCODETARGETS_H= \ 328 $(srcdir)/Python/opcode_targets.h 329 330 OPCODETARGETGEN= \ 331 $(srcdir)/Python/makeopcodetargets.py 332 333 OPCODETARGETGEN_FILES= \ 334 $(OPCODETARGETGEN) $(srcdir)/Lib/opcode.py 335 322 336 PYTHON_OBJS= \ 323 337 Python/_warnings.o \ … … 430 444 build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks 431 445 432 # Compile a binary with gccprofile guided optimization.446 # Compile a binary with profile guided optimization. 433 447 profile-opt: 448 @if [ $(LLVM_PROF_ERR) == yes ]; then \ 449 echo "Error: Cannot perform PGO build because llvm-profdata was not found in PATH" ;\ 450 echo "Please add it to PATH and run ./configure again" ;\ 451 exit 1;\ 452 fi 434 453 @echo "Building with support for profile generation:" 435 454 $(MAKE) clean 455 $(MAKE) profile-removal 436 456 $(MAKE) build_all_generate_profile 437 @echo "Running benchmark to generate profile data:"438 457 $(MAKE) profile-removal 458 @echo "Running code to generate profile data (this can take a while):" 439 459 $(MAKE) run_profile_task 460 $(MAKE) build_all_merge_profile 440 461 @echo "Rebuilding with profile guided optimizations:" 441 462 $(MAKE) clean 442 463 $(MAKE) build_all_use_profile 464 $(MAKE) profile-removal 443 465 444 466 build_all_generate_profile: 445 $(MAKE) all CFLAGS="$(CFLAGS) -fprofile-generate" LIBS="$(LIBS) -lgcov"467 $(MAKE) all CFLAGS="$(CFLAGS) $(PGO_PROF_GEN_FLAG)" LDFLAGS="$(LDFLAGS) $(PGO_PROF_GEN_FLAG)" LIBS="$(LIBS)" 446 468 447 469 run_profile_task: 448 470 : # FIXME: can't run for a cross build 449 ./$(BUILDPYTHON) $(PROFILE_TASK) 471 $(LLVM_PROF_FILE) ./$(BUILDPYTHON) $(PROFILE_TASK) || true 472 473 build_all_merge_profile: 474 $(LLVM_PROF_MERGER) 450 475 451 476 build_all_use_profile: 452 $(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use"477 $(MAKE) all CFLAGS="$(CFLAGS) $(PGO_PROF_USE_FLAG)" 453 478 454 479 coverage: … … 494 519 $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ 495 520 _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ 496 PYTHONXCPREFIX='$(DESTDIR)$(prefix)' $(PYTHON_FOR_BUILD) \ 497 $(srcdir)/setup.py $$quiet build 521 $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build 498 522 499 523 # Build static library … … 618 642 -DVERSION='"$(VERSION)"' \ 619 643 -DVPATH='"$(VPATH)"' \ 644 -DLIB='"$(LIB)"' \ 620 645 -o $@ $(srcdir)/Modules/getpath.c 621 646 … … 629 654 Modules/pwdmodule.o: $(srcdir)/Modules/pwdmodule.c $(srcdir)/Modules/posixmodule.h 630 655 631 $(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) 656 $(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) $(PGEN) 632 657 @$(MKDIR_P) Include 633 $(MAKE) $(PGEN)634 658 $(HOSTPGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) 635 659 $(GRAMMAR_C): $(GRAMMAR_H) $(GRAMMAR_INPUT) $(PGENSRCS) 636 $(MAKE) $(GRAMMAR_H)637 660 touch $(GRAMMAR_C) 638 661 … … 660 683 661 684 Python/getplatform.o: $(srcdir)/Python/getplatform.c 662 $(CC) -c $(PY_CFLAGS) -DPLATFORM='"$(MACHDEP)"' - o $@ $(srcdir)/Python/getplatform.c685 $(CC) -c $(PY_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -DLIB='"$(LIB)"' -o $@ $(srcdir)/Python/getplatform.c 663 686 664 687 Python/importdl.o: $(srcdir)/Python/importdl.c … … 691 714 Objects/stringobject.o: $(srcdir)/Objects/stringobject.c \ 692 715 $(STRINGLIB_HEADERS) 716 717 $(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES) 718 $(OPCODETARGETGEN) $(OPCODETARGETS_H) 719 720 Python/ceval.o: $(OPCODETARGETS_H) 693 721 694 722 Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c \ … … 800 828 # sample data. 801 829 802 TESTOPTS= -l $(EXTRATESTOPTS)830 TESTOPTS= -l -v $(EXTRATESTOPTS) 803 831 TESTPROG= $(srcdir)/Lib/test/regrtest.py 804 TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) 805 test: all platform 806 -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f 832 TESTPYTHON= $(RUNSHARED) $(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) 833 test: build-test 834 $(MAKE) runtest-TESTS 835 836 runtest-TESTS: 837 -find $(srcdir) -name '*.py[co]' -print | xargs rm -f 807 838 -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) 808 839 $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) 840 841 build-test: all platform 809 842 810 843 testall: all platform … … 967 1000 968 1001 # Install the library 969 PLATDIR= plat- $(MACHDEP)1002 PLATDIR= plat-linux2 970 1003 EXTRAPLATDIR= 971 1004 EXTRAMACHDEPPATH= … … 1063 1096 $(DESTDIR)$(LIBDEST)/distutils/tests ; \ 1064 1097 fi 1065 -PYTHONPATH=$(DESTDIR)$(LIBDEST)$(RUNSHARED) \1098 PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH} $(RUNSHARED) \ 1066 1099 $(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ 1067 1100 -d $(LIBDEST) -f \ 1068 1101 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ 1069 1102 $(DESTDIR)$(LIBDEST) 1070 -PYTHONPATH=$(DESTDIR)$(LIBDEST)$(RUNSHARED) \1071 $(HOSTPYTHON) -Wi -tt -O$(DESTDIR)$(LIBDEST)/compileall.py \1103 PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH}$(RUNSHARED) \ 1104 $(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ 1072 1105 -d $(LIBDEST) -f \ 1073 1106 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ 1074 1107 $(DESTDIR)$(LIBDEST) 1075 -PYTHONPATH=$(DESTDIR)$(LIBDEST) 1076 $(HOSTPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \1108 -PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH} $(RUNSHARED) \ 1109 $(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ 1077 1110 -d $(LIBDEST)/site-packages -f \ 1078 1111 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages 1079 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \1080 $(HOSTPYTHON) -Wi -t -O$(DESTDIR)$(LIBDEST)/compileall.py \1112 -PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH} $(RUNSHARED) \ 1113 $(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ 1081 1114 -d $(LIBDEST)/site-packages -f \ 1082 1115 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages 1083 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \1116 -PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH} $(RUNSHARED) \ 1084 1117 $(HOSTPYTHON) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt 1085 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \1118 -PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH} $(RUNSHARED) \ 1086 1119 $(HOSTPYTHON) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt 1087 1120 … … 1134 1167 1135 1168 libainstall: all python-config 1136 @for i in $(LIBDIR) $(LIBP) $(LIBPL) $(LIBPC) ; \1169 @for i in $(LIBDIR) $(LIBP) $(LIBPL) $(LIBPC) $(BINDIR); \ 1137 1170 do \ 1138 1171 if test ! -d $(DESTDIR)$$i; then \ … … 1196 1229 # This goes into $(exec_prefix) 1197 1230 sharedinstall: sharedmods 1198 CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \1199 1231 $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ 1200 --skip-build \1201 1232 --prefix=$(prefix) \ 1202 1233 --install-scripts=$(BINDIR) \ … … 1338 1369 find build -name 'fficonfig.py' -exec rm -f {} ';' || true 1339 1370 -rm -f Lib/lib2to3/*Grammar*.pickle 1371 -rm -rf build 1340 1372 1341 1373 profile-removal: 1342 1374 find . -name '*.gc??' -exec rm -f {} ';' 1375 find . -name '*.profclang?' -exec rm -f {} ';' 1343 1376 1344 1377 clobber: clean profile-removal … … 1443 1476 Modules/symtablemodule.o: $(srcdir)/Modules/symtablemodule.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/symtablemodule.c -o Modules/symtablemodule.o 1444 1477 Modules/_symtablemodule$(SO): Modules/symtablemodule.o; $(BLDSHARED) Modules/symtablemodule.o -o Modules/_symtablemodule$(SO) 1478 Modules/md5module.o: $(srcdir)/Modules/md5module.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/md5module.c -o Modules/md5module.o 1479 Modules/md5.o: $(srcdir)/Modules/md5.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/md5.c -o Modules/md5.o 1480 Modules/_md5module$(SO): Modules/md5module.o Modules/md5.o; $(BLDSHARED) Modules/md5module.o Modules/md5.o -o Modules/_md5module$(SO) 1445 1481 Modules/xxsubtype.o: $(srcdir)/Modules/xxsubtype.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/xxsubtype.c -o Modules/xxsubtype.o 1446 1482 Modules/xxsubtype$(SO): Modules/xxsubtype.o; $(BLDSHARED) Modules/xxsubtype.o -o Modules/xxsubtype$(SO) -
titan/plugins/tithek/tithek_global.h
r40088 r40094 12 12 string_tolower(tmplink); 13 13 14 14 15 char* cmd = NULL; 15 cmd = ostrcat("/tmp/localhoster/hoster.sh get\"", url, 0, 0);16 cmd = ostrcat("/tmp/localhoster/hoster.sh youtube_dl \"", url, 0, 0); 16 17 cmd = ostrcat(cmd, "\"", 1, 0); 17 18 streamurl = command(cmd); 18 19 streamurl = string_newline(streamurl); 19 20 free(cmd), cmd = NULL; 20 21 22 if(streamurl == NULL) 23 { 24 cmd = ostrcat("/tmp/localhoster/hoster.sh get \"", url, 0, 0); 25 cmd = ostrcat(cmd, "\"", 1, 0); 26 streamurl = command(cmd); 27 streamurl = string_newline(streamurl); 28 free(cmd), cmd = NULL; 29 } 30 21 31 if(streamurl == NULL) 22 32 { … … 97 107 else 98 108 { 99 cmd = ostrcat("/tmp/localhoster/hoster.sh get", url, 0, 0);109 cmd = ostrcat("/tmp/localhoster/hoster.sh youtube_dl ", url, 0, 0); 100 110 cmd = ostrcat(cmd, "\"", 1, 0); 101 111 streamurl = command(cmd);
Note: See TracChangeset
for help on using the changeset viewer.