| 1 |
|
| 2 |
|
| 3 |
TOPDIRscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TOPDIR.=$(shellscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/shell. pwd) |
| 4 |
|
| 5 |
|
| 6 |
export LANGscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/LANG.=C.UTF-8 |
| 7 |
export LC_ALLscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/LC_ALL.=C.UTF-8 |
| 8 |
export LC_CTYPEscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/LC_CTYPE.=C.UTF-8 |
| 9 |
export LC_MESSAGESscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/LC_MESSAGES.=C.UTF-8 |
| 10 |
export LANGUAGEscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/LANGUAGE.= |
| 11 |
|
| 12 |
|
| 13 |
PYTHONscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/PYTHON.=$(shellscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/shell. py3versions --default) |
| 14 |
PYTHON_PATHscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/PYTHON_PATH.=$(shellscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/shell. command -v $(PYTHONscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/PYTHON.)) |
| 15 |
SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.=$(PYTHONscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/PYTHON.) setup.py |
| 16 |
|
| 17 |
|
| 18 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+all reproducible=+all |
| 19 |
|
| 20 |
|
| 21 |
export VERBOSEscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/VERBOSE.=1 |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
export QT_HASH_SEEDscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/QT_HASH_SEED.=0 |
| 26 |
|
| 27 |
|
| 28 |
TEST_FLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TEST_FLAGS. = |
| 29 |
CI_ENVscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/CI_ENV. = |
| 30 |
DISABLE_FRAGILE_TESTscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/DISABLE_FRAGILE_TEST. = |
| 31 |
|
| 32 |
|
| 33 |
ifneq ($(shellscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/shell. dpkg-parsechangelog --show-field=Distribution),UNRELEASED) |
| 34 |
DISABLE_FRAGILE_TEST = true |
| 35 |
endif |
| 36 |
|
| 37 |
ifeq ($(GITLAB_CIscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/GITLAB_CI.),true) |
| 38 |
DISABLE_FRAGILE_TEST = true |
| 39 |
endif |
| 40 |
ifeq ($(DISABLE_FRAGILE_TESTscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/DISABLE_FRAGILE_TEST.),true) |
| 41 |
include debian/buildd-options.mak |
| 42 |
CI_ENV += CI=true |
| 43 |
endif |
| 44 |
|
| 45 |
%scip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/`%`().: |
| 46 |
dh $@ --with=python3 --buildsystem=makefile |
| 47 |
|
| 48 |
.PHONYscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/`.PHONY`().: calibre_auto_test calibre_auto_install blhc-note |
| 49 |
|
| 50 |
DEB_DH_GENCONTROL_ARGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/DEB_DH_GENCONTROL_ARGS. = -- -Vpyqt:Version=$(shellscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/shell. dpkg-query --showformat='$${source:Version}' --show python3-pyqt6) |
| 51 |
|
| 52 |
|
| 53 |
DEB_PODOFO_CPPFLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/DEB_PODOFO_CPPFLAGS. = $(shellscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/shell. dpkg-buildflags --get CPPFLAGS) |
| 54 |
|
| 55 |
blhc-notescip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/blhc-note().: |
| 56 |
|
| 57 |
@echo 'blhc: ignore-line-regexp: \tCompiling form /.+\.ui' |
| 58 |
@echo 'blhc: ignore-line-regexp: .+ -dM -E -o moc_predefs\.h /usr/lib/[^/]+/qt6/mkspecs/features/data/dummy\.cpp' |
| 59 |
@echo 'blhc: ignore-line-regexp: .+ -w -dM -E /usr/share/cmake-[0-9\.]+/Modules/CMakeCXXCompilerABI\.cpp .+' |
| 60 |
@echo 'blhc: ignore-line-regexp: /usr/lib/qt6/libexec/moc .+\.cpp' |
| 61 |
|
| 62 |
override_dh_auto_configurescip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/override_dh_auto_configure().: |
| 63 |
env CFLAGS="$(CFLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/CFLAGS.) $(DEB_PODOFO_CPPFLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/DEB_PODOFO_CPPFLAGS.) -fPIC" CXXFLAGS="$(CXXFLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/CXXFLAGS.) $(DEB_PODOFO_CPPFLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/DEB_PODOFO_CPPFLAGS.) -fPIC" cmake -B podofo -S podofo -DPODOFO_BUILD_LIB_ONLY=TRUE -DPODOFO_BUILD_STATIC=TRUE |
| 64 |
|
| 65 |
override_dh_auto_buildscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/override_dh_auto_build().: blhc-note |
| 66 |
cmake --build podofo --clean-first |
| 67 |
env PODOFO_INC_DIR=$(TOPDIRscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TOPDIR.)/podofo/src/podofo PODOFO_LIB_DIR=$(TOPDIRscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TOPDIR.)/podofo/src/podofo $(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) build |
| 68 |
$(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) liberation_fonts --system-liberation_fonts --path-to-liberation_fonts=/usr/share/fonts/truetype/liberation |
| 69 |
$(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) gui |
| 70 |
|
| 71 |
|
| 72 |
override_dh_auto_testscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/override_dh_auto_test().: |
| 73 |
dh_auto_testscip-debian debian debhelper . dh_auto_test(). -O--buildsystem=makefile -- -f debian/calibre-builder.mak test |
| 74 |
|
| 75 |
calibre_auto_testscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/calibre_auto_test().: |
| 76 |
env TZ=UTC $(CI_ENVscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/CI_ENV.) $(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) test $(TEST_FLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TEST_FLAGS.) --exclude-test-name=ajax_book --exclude-test-name=split_file |
| 77 |
env TZ=UTC $(CI_ENVscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/CI_ENV.) $(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) test --test-name=ajax_book $(TEST_FLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TEST_FLAGS.) |
| 78 |
env TZ=UTC $(CI_ENVscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/CI_ENV.) $(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) test --test-name=split_file $(TEST_FLAGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TEST_FLAGS.) |
| 79 |
|
| 80 |
override_dh_auto_installscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/override_dh_auto_install().: |
| 81 |
dh_auto_installscip-debian debian debhelper . dh_auto_install(). -O--buildsystem=makefile -- -f debian/calibre-builder.mak install |
| 82 |
|
| 83 |
calibre_auto_installscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/calibre_auto_install().: |
| 84 |
mkdir -p debian/tmp/usr/share/icons/hicolor |
| 85 |
mkdir -p debian/tmp/usr/share/applications |
| 86 |
mkdir -p debian/tmp/usr/share/mime/packages |
| 87 |
mkdir -p debian/tmp/usr/share/zsh/vendor-completions |
| 88 |
env XDG_DATA_DIRS=$(CURDIRscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/CURDIR.)/debian/tmp/usr/share CALIBRE_CONFIG_DIRECTORY=debian/tmp/config PODOFO_INC_DIR=$(TOPDIRscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TOPDIR.)/podofo/src/podofo PODOFO_LIB_DIR=$(TOPDIRscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/TOPDIR.)/podofo/src/podofo $(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) install --root=debian/tmp/usr |
| 89 |
|
| 90 |
|
| 91 |
rm -v debian/tmp/usr/share/calibre/calibre-portable.* |
| 92 |
rm -v debian/tmp/usr/lib/python*/site-packages/init_calibre.py |
| 93 |
rmdir -v debian/tmp/usr/share/desktop-directories |
| 94 |
|
| 95 |
|
| 96 |
rm -v debian/tmp/usr/lib/calibre/calibre/devices/mtp/unix/upstream/update.py |
| 97 |
rmdir -v debian/tmp/usr/lib/calibre/calibre/devices/mtp/unix/upstream/ |
| 98 |
|
| 99 |
rm -v debian/tmp/usr/lib/calibre/tinycss/tests/*.py |
| 100 |
rmdir -v debian/tmp/usr/lib/calibre/tinycss/tests/ |
| 101 |
|
| 102 |
|
| 103 |
find debian/tmp/usr/lib/calibre/calibre/gui2 -name '*_ui.py' -print | xargs --no-run-if-empty sed --separate --file=debian/remove-ui-basepath.sed --in-place |
| 104 |
|
| 105 |
override_dh_installmanscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/override_dh_installman().: |
| 106 |
debian/install-manpages.sh |
| 107 |
|
| 108 |
override_dh_auto_cleanscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/override_dh_auto_clean().: |
| 109 |
$(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) build --clean |
| 110 |
$(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) liberation_fonts --clean |
| 111 |
py3clean src/calibre/gui2 |
| 112 |
$(SETUPscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/SETUP.) gui --clean |
| 113 |
py3clean setup src |
| 114 |
|
| 115 |
override_dh_gencontrolscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/override_dh_gencontrol().: |
| 116 |
dh_gencontrolscip-debian debian debhelper . dh_gencontrol(). $(DEB_DH_GENCONTROL_ARGSscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/DEB_DH_GENCONTROL_ARGS.) |
| 117 |
|
| 118 |
|
| 119 |
override_dh_python3scip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/override_dh_python3().: |
| 120 |
dh_python3scip-debian debian debhelper . dh_python3(). --no-package=calibre-bin --shebang=$(PYTHON_PATHscip-debian debian calibre 9.14.0+ds+~0.10.6-2 calibre/rules/PYTHON_PATH.) |