Skip to content

Commit

Permalink
Update distro-info.sh to include new Ubuntu 24.04, Debian Trixie, and…
Browse files Browse the repository at this point in the history
… Fedora 40. (#133)
  • Loading branch information
jewelpit authored Jan 19, 2024
1 parent 89b9a4b commit c99447b
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Clone repo
uses: actions/checkout@v3
- name: Install deps
run: apt-get update && apt-get install -y gnome-common libnautilus-extension-dev libgtk-4-dev python3-gi python3-docutils
run: ./install-apt-deps.sh
- name: Test build
run: ./autogen.sh && make && make install
- name: Run tests
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Clone repo
uses: actions/checkout@v3
- name: Install deps
run: apt-get update && apt-get install -y gnome-common libnautilus-extension-dev libgtk-4-dev python3-gi python3-docutils
run: ./install-apt-deps.sh
- name: Test build
run: ./autogen.sh && make && make install
- name: Run tests
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Clone repo
uses: actions/checkout@v3
- name: Install deps
run: dnf install -y gnome-common nautilus-devel gtk4-devel python3-docutils python3-gobject
run: ./install-rpm-deps.sh
- name: Test build
run: ./autogen.sh && make && make install
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM debian:bookworm

COPY install-apt-deps.sh .
RUN ./install-apt-deps.sh
WORKDIR /src
WORKDIR /src
2 changes: 1 addition & 1 deletion Dockerfile.debian_i386
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM i386/debian:bookworm

COPY install-apt-deps.sh .
RUN ./install-apt-deps.sh
WORKDIR /src
WORKDIR /src
5 changes: 3 additions & 2 deletions Dockerfile.fedora
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM fedora:37
# Leading edge release.
FROM fedora:latest

COPY install-rpm-deps.sh .
RUN ./install-rpm-deps.sh
WORKDIR /src
WORKDIR /src
7 changes: 5 additions & 2 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM ubuntu:kinetic
# TODO: update this to 24.04 once it's released. Ideally this should _always_
# be the latest LTS release, but an interim release is used here because Jammy
# doesn't have the minimum version of GNOME necessary to build the extension.
FROM ubuntu:mantic

COPY install-apt-deps.sh .
RUN ./install-apt-deps.sh
WORKDIR /src
WORKDIR /src
2 changes: 1 addition & 1 deletion build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ docker run -u "$(id -u):$(id -g)" -v `pwd`:/src nautilus-dropbox/fedora ./genera
make dropbox dist
mkdir -p build/packages
cp dropbox build/packages/dropbox.py
cp nautilus-dropbox-*.tar.bz2 build/packages/
cp nautilus-dropbox-*.tar.bz2 build/packages/
6 changes: 3 additions & 3 deletions distro-info.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# This file also gets execfile'd by python so don't do anything here besides set variables.
UBUNTU_CODENAMES="kinetic lunar mantic"
DEBIAN_CODENAMES="bookworm sid"
FEDORA_CODENAMES="37 38 39"
UBUNTU_CODENAMES="kinetic lunar mantic noble"
DEBIAN_CODENAMES="bookworm trixie sid"
FEDORA_CODENAMES="37 38 39 40"
2 changes: 1 addition & 1 deletion install-apt-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

apt-get update
apt-get install -y gnome-common libgtk-4-dev libnautilus-extension-dev python3-gi python3-docutils \
debootstrap devscripts libnautilus-extension-dev cdbs debian-archive-keyring
debootstrap devscripts libnautilus-extension-dev cdbs debian-archive-keyring debhelper

0 comments on commit c99447b

Please sign in to comment.