overtake / TelegramSwift

Source code of Telegram for macos on Swift 5.0
https://macos.telegram.org
GNU General Public License v2.0
4.99k stars 841 forks source link

tgcalls repository has moved, but submodule points to old one #771

Open dottedmag opened 2 years ago

dottedmag commented 2 years ago
% git clone https://github.com/overtake/TelegramSwift.git --recurse-submodules
Cloning into 'TelegramSwift'...
<...>
Cloning into 'TelegramSwift/submodules/tgcalls'...
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:john-preston/tgcalls.git' into submodule path 'TelegramSwift/submodules/tgcalls' failed
Failed to clone 'submodules/tgcalls'. Retry scheduled
Cloning into 'TelegramSwift/submodules/tgcalls'...
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:john-preston/tgcalls.git' into submodule path 'TelegramSwift/submodules/tgcalls' failed
Failed to clone 'submodules/tgcalls' a second time, aborting
%
laosb commented 2 years ago

Seems moved to TelegramMessenger/tgcalls, for those wondering.

gatesyp commented 1 year ago

hello, I just fixed it! it builds successfully now.

here is what I did:

cd submodules/
git clone https://github.com/desktop-app/tg_owt.git
git clone https://github.com/TelegramMessenger/tgcalls.git
git clone https://gitlab.com/overtake/Sparkle.git
git clone https://github.com/telegramdesktop/libtgvoip.git
git clone https://github.com/overtake/rlottie.git
git clone https://github.com/overtake/Telegram-iOS.git
git clone https://github.com/desktop-app/tg_owt.git

cd ../
rm -rf core-xprojects/webrtc/build
cd submodules/tg_owt
git submodule update --init --recursive
cd ../../
sh scripts/configure_frameworks.sh
toseefkhilji commented 1 year ago

@gatesyp : Followed your steps. Still getting build error.:

Screenshot 2023-02-07 at 2 49 27 PM

HeHuiqi commented 10 months ago

cd .git edit config file below: config

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    precomposeunicode = true
[remote "origin"]
    url = https://github.com/overtake/TelegramSwift.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[submodule "submodules/Sparkle"]
    active = true
    url = git@github.com:overtake/Sparkle.git
[submodule "submodules/libtgvoip"]
    active = true
    url = git@github.com:telegramdesktop/libtgvoip
[submodule "submodules/rlottie"]
    active = true
    url = git@github.com:overtake/rlottie.git
[submodule "submodules/telegram-ios"]
    active = true
    url = git@github.com:overtake/Telegram-iOS.git
[submodule "submodules/tg_owt"]
    active = true
    url = git@github.com:desktop-app/tg_owt.git
[submodule "submodules/tgcalls"]
    active = true
    url = git@github.com:TelegramMessenger/tgcalls.git

then:

git submodule init
git submodule update --init --recursive