TelegramSwift icon indicating copy to clipboard operation
TelegramSwift copied to clipboard

tgcalls repository has moved, but submodule points to old one

Open dottedmag opened this issue 3 years ago • 4 comments

% 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 '[email protected]: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 '[email protected]:john-preston/tgcalls.git' into submodule path 'TelegramSwift/submodules/tgcalls' failed
Failed to clone 'submodules/tgcalls' a second time, aborting
%

dottedmag avatar May 03 '22 07:05 dottedmag

Seems moved to TelegramMessenger/tgcalls, for those wondering.

laosb avatar May 12 '22 05:05 laosb

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

gatesyp avatar Jan 16 '23 18:01 gatesyp

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

Screenshot 2023-02-07 at 2 49 27 PM

toseefkhilji avatar Feb 07 '23 09:02 toseefkhilji

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 = [email protected]:overtake/Sparkle.git
[submodule "submodules/libtgvoip"]
	active = true
	url = [email protected]:telegramdesktop/libtgvoip
[submodule "submodules/rlottie"]
	active = true
	url = [email protected]:overtake/rlottie.git
[submodule "submodules/telegram-ios"]
	active = true
	url = [email protected]:overtake/Telegram-iOS.git
[submodule "submodules/tg_owt"]
	active = true
	url = [email protected]:desktop-app/tg_owt.git
[submodule "submodules/tgcalls"]
	active = true
	url = [email protected]:TelegramMessenger/tgcalls.git

then:

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

HeHuiqi avatar Oct 26 '23 03:10 HeHuiqi