mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00

Automated using the following commands: $ mv src/{dring,jami} $ git grep -l src/dring | xargs sed -i 's,src/dring,src/jami,g' $ git grep -l '#include "dring/' | \ xargs sed -i 's,#include "dring/,#include "jami/,g' $ git grep -l 'dring.h' | xargs sed -i 's,dring.h,jami.h,g' And finally, $ git grep -l 'dring' | xargs sed -i 's,dring,jami,g' $ files=$(find -name '*dring*' | sort) $ for f in $files; do mkdir -p "$(dirname "$f")"; \ mv "$f" "$(echo $f | sed 's/dring/jami/g')"; done To resolve a bad renaming favorably: $ git grep -l -i AlsaCarjami | \ xargs sed -i -E 's/([Aa])lsaCarjami/\1lsaCardRingtone/g' The above renaming command is not perfect, so some hand-tuning was required to complete it. * src/manager.cpp (Manager::ManagerPimpl::retrieveConfigPath): Preserve the dring.yml configuration file name, until we add something to migrate (rename) it to jami.yml. * man/dring.pod: Delete. * bin/dbus/jamid.pod: Move to ... * man/jamid.pod: here. * bin/dbus/meson.build (jamid_targets): Normalize man section to the pre-existing 1 and adjust accordingly. * src/jami/def.h (dring_EXPORTS): Rename to ... (jami_EXPORTS): ... this. change-Id: I9828be6da9c711ab2f22c4d1b9539fea89d7b6fb
19 lines
622 B
Meson
19 lines
622 B
Meson
nodejs_wrapper_target = custom_target('nodejs.wrapper',
|
|
command: [progswig, '-v', '-c++', '-javascript', '-node', '-o', '@OUTPUT@', '@INPUT@'],
|
|
input: 'nodejs_interface.i',
|
|
output: 'nodejs_wrapper.cpp'
|
|
)
|
|
|
|
nodejs_makefile_target = custom_target('nodejs.makefile',
|
|
command: [prognodegyp, 'configure', '--target=v14.16.1', '--arch=x64'],
|
|
output: 'build/Makefile',
|
|
depends: nodejs_wrapper_target
|
|
)
|
|
|
|
nodejs_node_target = custom_target('nodejs.node',
|
|
command: [prognodegyp, 'build'],
|
|
output: 'build/Release/obj.target/jami.node',
|
|
depends: nodejs_makefile_target,
|
|
build_by_default: true
|
|
)
|