Skip to content

Commit f1325fd

Browse files
author
mirkobrombin
committed
chore: add cosmic repository configuration and update RPM download script to use copr2url
1 parent 48ef07e commit f1325fd

File tree

2 files changed

+140
-82
lines changed

2 files changed

+140
-82
lines changed
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
[cosmic-app-library]
2+
owner = ryanabx
3+
project = cosmic-epoch
4+
package = cosmic-app-library
5+
6+
[cosmic-applets]
7+
owner = ryanabx
8+
project = cosmic-epoch
9+
package = cosmic-applets
10+
11+
[cosmic-bg]
12+
owner = ryanabx
13+
project = cosmic-epoch
14+
package = cosmic-bg
15+
16+
[cosmic-comp]
17+
owner = ryanabx
18+
project = cosmic-epoch
19+
package = cosmic-comp
20+
21+
[cosmic-desktop]
22+
owner = ryanabx
23+
project = cosmic-epoch
24+
package = cosmic-desktop
25+
26+
[cosmic-dock]
27+
owner = ryanabx
28+
project = cosmic-epoch
29+
package = cosmic-edit
30+
31+
[cosmic-epoch]
32+
owner = ryanabx
33+
project = cosmic-epoch
34+
package = cosmic-epoch
35+
36+
[cosmic-files]
37+
owner = ryanabx
38+
project = cosmic-epoch
39+
package = cosmic-files
40+
41+
[cosmic-greeter]
42+
owner = ryanabx
43+
project = cosmic-epoch
44+
package = cosmic-greeter
45+
46+
[cosmic-icon-theme]
47+
owner = ryanabx
48+
project = cosmic-epoch
49+
package = cosmic-icon-theme
50+
51+
[cosmic-idle]
52+
owner = ryanabx
53+
project = cosmic-epoch
54+
package = cosmic-idle
55+
56+
[cosmic-launcher]
57+
owner = ryanabx
58+
project = cosmic-epoch
59+
package = cosmic-launcher
60+
61+
[cosmic-notifications]
62+
owner = ryanabx
63+
project = cosmic-epoch
64+
package = cosmic-notifications
65+
66+
[cosmic-osd]
67+
owner = ryanabx
68+
project = cosmic-epoch
69+
package = cosmic-osd
70+
71+
[cosmic-panel]
72+
owner = ryanabx
73+
project = cosmic-epoch
74+
package = cosmic-panel
75+
76+
[cosmic-player]
77+
owner = ryanabx
78+
project = cosmic-epoch
79+
package = cosmic-player
80+
81+
[cosmic-randr]
82+
owner = ryanabx
83+
project = cosmic-epoch
84+
package = cosmic-randr
85+
86+
[cosmic-screenshot]
87+
owner = ryanabx
88+
project = cosmic-epoch
89+
package = cosmic-screenshot
90+
91+
[cosmic-session]
92+
owner = ryanabx
93+
project = cosmic-epoch
94+
package = cosmic-session
95+
96+
[cosmic-settings]
97+
owner = ryanabx
98+
project = cosmic-epoch
99+
package = cosmic-settings
100+
101+
[cosmic-settings-daemon]
102+
owner = ryanabx
103+
project = cosmic-epoch
104+
package = cosmic-settings-daemon
105+
106+
[cosmic-store]
107+
owner = ryanabx
108+
project = cosmic-epoch
109+
package = cosmic-store
110+
111+
[cosmic-term]
112+
owner = ryanabx
113+
project = cosmic-epoch
114+
package = cosmic-term
115+
116+
[cosmic-wallpapers]
117+
owner = ryanabx
118+
project = cosmic-epoch
119+
package = cosmic-wallpapers
120+
121+
[cosmic-workspaces]
122+
owner = ryanabx
123+
project = cosmic-epoch
124+
package = cosmic-workspaces
125+
126+
[pop-launcher]
127+
owner = ryanabx
128+
project = cosmic-epoch
129+
package = pop-launcher
130+
131+
[xdg-desktop-portal-cosmic]
132+
owner = ryanabx
133+
project = cosmic-epoch
134+
package = xdg-desktop-portal-cosmic

includes.container/usr/share/get-cosmic.sh

Lines changed: 6 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -14,92 +14,16 @@
1414
# need to include the base URL.
1515
# -----------------------------------------------------------------------------
1616

17-
BASE_URL="https://download.copr.fedorainfracloud.org/results/ryanabx/cosmic-epoch/fedora-41-x86_64"
18-
FILES=(
19-
# cosmic-app-library
20-
"08517080-cosmic-app-library/cosmic-app-library-1.0.0~alpha.5.1%5Egit20250115.647d238-1.fc41.x86_64.rpm"
17+
echo "Obtaining copr2url..."
18+
wget https://github.com/mirkobrombin/copr2url/releases/download/continuous/copr2url -O /tmp/copr2url
19+
chmod +x /tmp/copr2url
2120

22-
# cosmic-applets
23-
"08568688-cosmic-applets/cosmic-applets-1.0.0~alpha.5.1%5Egit20250124.726c828-1.fc41.x86_64.rpm"
24-
25-
# cosmic-bg
26-
"08517067-cosmic-bg/cosmic-bg-1.0.0~alpha.5.1%5Egit20241009.fd44edf-1.fc41.x86_64.rpm"
27-
28-
# cosmic-calendar
29-
"08544621-cosmic-comp/cosmic-comp-1.0.0~alpha.5.1%5Egit20250118.b87049b-1.fc41.x86_64.rpm"
30-
31-
# cosmic-desktop
32-
"08517069-cosmic-desktop/cosmic-desktop-1.0.0~alpha.5.1%5E20250115-1.fc41.noarch.rpm"
33-
34-
# cosmic-dock
35-
"08553978-cosmic-edit/cosmic-edit-1.0.0~alpha.5.1%5Egit20250117.3effc64-1.fc41.x86_64.rpm"
36-
37-
# cosmic-epoch
38-
"08517071-cosmic-epoch/cosmic-epoch-1.0.0~alpha.5.1%5E20250115-1.fc41.noarch.rpm"
39-
40-
# cosmic-files
41-
"08568685-cosmic-files/cosmic-files-1.0.0~alpha.5.1%5Egit20250124.ceab783-1.fc41.x86_64.rpm"
42-
43-
# cosmic-greeter
44-
"08568686-cosmic-greeter/cosmic-greeter-1.0.0~alpha.5.1%5Egit20250124.5527c9b-1.fc41.x86_64.rpm"
45-
46-
# cosmic-icon-theme
47-
"08517072-cosmic-icon-theme/cosmic-icon-theme-1.0.0~alpha.5.1%5Egit20250110.52ad55c-1.fc41.noarch.rpm"
48-
49-
# cosmic-idle
50-
"08517085-cosmic-idle/cosmic-idle-1.0.0~alpha.5.1%5Egit20241224.7899fcc-1.fc41.x86_64.rpm"
51-
52-
# cosmic-launcher
53-
"08565562-cosmic-launcher/cosmic-launcher-1.0.0~alpha.5.1%5Egit20250123.538d391-1.fc41.x86_64.rpm"
54-
55-
# cosmic-notifications
56-
"08517075-cosmic-notifications/cosmic-notifications-1.0.0~alpha.5.1%5Egit20250114.5c33113-1.fc41.x86_64.rpm"
57-
58-
# cosmic-osd
59-
"08524593-cosmic-osd/cosmic-osd-1.0.0~alpha.5.1%5Egit20250116.9b4e2be-1.fc41.x86_64.rpm"
60-
61-
# cosmic-panel
62-
"08565563-cosmic-panel/cosmic-panel-1.0.0~alpha.5.1%5Egit20250123.107f597-1.fc41.x86_64.rpm"
63-
64-
# cosmic-player
65-
"08568690-cosmic-player/cosmic-player-1.0.0~alpha.5.1%5Egit20250124.63735cd-1.fc41.x86_64.rpm"
66-
67-
# cosmic-randr
68-
"08517076-cosmic-randr/cosmic-randr-1.0.0~alpha.5.1%5Egit20250113.da7df14-1.fc41.x86_64.rpm"
69-
70-
# cosmic-screenshot
71-
"08517061-cosmic-screenshot/cosmic-screenshot-1.0.0~alpha.5.1%5Egit20250114.10a564d-1.fc41.x86_64.rpm"
72-
73-
# cosmic-session
74-
"08517077-cosmic-session/cosmic-session-1.0.0~alpha.5.1%5Egit20250114.6e48e12-1.fc41.x86_64.rpm"
75-
76-
# cosmic-settings
77-
"08565566-cosmic-settings/cosmic-settings-1.0.0~alpha.5.1%5Egit20250123.6f05e9e-1.fc41.x86_64.rpm"
78-
79-
# cosmic-settings-daemon
80-
"08544623-cosmic-settings-daemon/cosmic-settings-daemon-1.0.0~alpha.5.1%5Egit20250118.fe529ae-1.fc41.x86_64.rpm"
81-
82-
# cosmic-store
83-
"08517062-cosmic-store/cosmic-store-1.0.0~alpha.5.1%5Egit20250114.6473636-1.fc41.x86_64.rpm"
84-
85-
# cosmic-term
86-
"08565567-cosmic-term/cosmic-term-1.0.0~alpha.5.1%5Egit20250123.23a5851-1.fc41.x86_64.rpm"
87-
88-
# cosmic-wallpapers
89-
"08568903-cosmic-wallpapers/cosmic-wallpapers-1.0.0~alpha.5.1%5Egit20241031.cb8e6d6-1.fc41.noarch.rpm"
90-
91-
# cosmic-workspaces
92-
"08568687-cosmic-workspaces/cosmic-workspaces-1.0.0~alpha.5.1%5Egit20250124.88b35e3-1.fc41.x86_64.rpm"
93-
94-
# pop-launcher
95-
"08529530-pop-launcher/pop-launcher-1.2.3%5Egit20250117.d458992-1.fc41.x86_64.rpm"
96-
97-
# xdg-desktop-portal-cosmic
98-
"08561064-xdg-desktop-portal-cosmic/xdg-desktop-portal-cosmic-1.0.0~alpha.5.1%5Egit20250122.e76630c-1.fc41.x86_64.rpm")
21+
echo "Generating list of RPM files..."
22+
FILES=($(/tmp/copr2url /usr/share/cosmic-repos.ini))
9923

10024
echo "Downloading RPM files..."
10125
for file in "${FILES[@]}"; do
102-
wget "${BASE_URL}/${file}" -P ./rpm_files
26+
wget "${file}" -P ./rpm_files
10327
done
10428

10529
echo "Installing required tools and dependencies..."

0 commit comments

Comments
 (0)