1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
See where *.js are installed,
remove the duplicate cookies.js
link prototype scriptaculous dragdrop effects (libjs-scriptaculous)
Understand the status of SOAP. Is it maintained here or is it another
code copy? It carries version 1.5.0 in src/soap/soap.ads
* Avoid duplication with upstream projects
See the commented patches at the end of patch/series.
dh-ada-library may not like an aggregate library project.
And it would not guess imported Ada packages because aws.gpr
imports zlib.gpr but neither xmlada.gpr nor templates_parser.gpr.
* Avoid duplication with upstream makefiles
Previous issue should be solved first.
Makefile.conf does obscure things silently. For example, its
variables are computed each time the makefile is parsed, even if
most of the time they are immediately erased by makefile.setup. So
we'd better override them at each run for efficiency. We would end
up with something like the following.
BUILDER_OPTIONS := $(filter-out -j$(BUILDER_JOBS),$(BUILDER_OPTIONS)) \
$(foreach v, ADAFLAGS CFLAGS CPPFLAGS LDFLAGS,'$(v)=$($(v))')
# Single quotes mandatory as upstream plays with double quotes.
make_args := prefix=/usr/ TARGET=$(DEB_HOST_MULTIARCH) \
ENABLE_SHARED=true DEFAULT_LIBRARY_TYPE=relocatable XMLADA=true \
ASIS=true ZLIB=true IPv6=false SOCKET=$(SSL) LDAP=true DEBUG=false \
PROCESSORS=$(BUILDER_JOBS) GPRBUILD="gnatmake $(BUILDER_OPTIONS)" \
GPRCLEAN=gnatclean MODULES="config include ssl src tools gps"
# Rewrite the setup_target to avoid gen_setup and setup_tp.
setup-stamp:
$(MAKE) setup_dir setup_modules setup_config gxmlada_setup gasis_setup \
$(make_vars)
touch $@
override_dh_auto_clean: setup-stamp
dh_auto_clean -- $(make_vars)
override_dh_auto_build-arch: setup-stamp
$(MAKE) $(make_vars)
|