So far as I have seen you have only provided Leo XIII which is not a very clear quote anyway in reference to globe earthism.
Pope Leo XIII's teaching in
Providentissimus Deus (1893) was not a reference to the shape of the earth but a general principle of Scriptural exegesis that applies to all matters of the physical order. It was explicitly reiterated and confirmed by Pope Pius XII in
Divino Afflanto Spiritu (1943):
The first and greatest care of Leo XIII was to set forth the teaching on the truth of the Sacred Books and to defend it from attack. Hence with grave words did he proclaim that there is no error whatsoever if the sacred writer, speaking of things of the physical order "went by what sensibly appeared" as the Angelic Doctor says,[5] speaking either "in figurative language, or in terms which were commonly used at the time, and which in many instances are in daily use at this day, even among the most eminent men of science." For "the sacred writers, or to speak more accurately - the words are St. Augustine's - [6] the Holy Spirit, Who spoke by them, did not intend to teach men these things - that is the essential nature of the things of the universe - things in no way profitable to salvation";
Here is a paraphrase:
Sacred writers when speaking of things of the physical order referred to the way things appeared to the physical senses in the terms commonly used in their time. The Sacred writers, that is, the Holy Spirit speaking through them, did not intend to teach men about things of the physical order (physical science) since these do not concern salvation.
Applying this to the shape of the earth, it is clear that this concerns the nature of the physical universe and is not relevant to salvation. The Sacred writers and the Holy Spirit writing through them did not intend to teach about the shape of the earth. Any references to this were made based on how the earth appeared to the senses using the terminology of their time. If they used phrases that suggest the earth is flat, that does not necessarily mean the earth is actually flat, only that it appeared flat and was spoken of that way at the time.
If the earth is proven by science to be a globe, this is not an error on the part of Scripture. If the earth is flat, it must be shown, not by Scripture, but by science. The sacred writers and the Holy Spirit did not intend Scripture to teach about things of the physical order.
Pope Benedict XV in
Spiritus Paraclitus (1920), while not going into as much detail Pius XII said "
to hold fast to the principles laid down in the Encyclical Providentissimus Deus" and warned against a way it was being misapplied in his time. (There were people who, by claiming an analogy between science and history, were trying to undermine the Bible as history.)Three popes, drawing on the teaching of St. Basil, St. Augustine, and St. Thomas Auinas, all taught that we must interpret Scripture bearing in mind that it does not intend to teach about physical science. I do not see how it is possible to deny that this is Church teaching.