Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
90a97dc
Drop Bower support
arteymix Nov 7, 2026
6da86ff
Target Ubuntu 24.04 LTS as a baseline
arteymix Nov 7, 2026
0001cb9
Temporairly override revision for VSGI
arteymix Nov 7, 2026
b6c2855
Use latest in the build matrix
arteymix Nov 7, 2026
c06328c
Set minimum Meson version to 1.2
arteymix Nov 7, 2026
7f5a711
Drop bower from examples, bump Meson minimum to 1.3
arteymix Nov 7, 2026
d120f66
Drop Vala PPA
arteymix Nov 7, 2026
54c7d69
Use Meson from the system repositories
arteymix Nov 7, 2026
bdf2cfc
Only build on pull_request
arteymix Nov 7, 2026
b0fd219
Consistently use the _dep suffix for dependencies
arteymix Nov 7, 2026
61a0579
Drop section about Docker, use -master instead of v0.3.13 in instruction
arteymix Nov 7, 2026
db6a693
Remove package sections and add _dep suffix in installation instructions
arteymix Nov 7, 2026
da9fb85
Restore mandatory sphinx_rtd_theme
arteymix Nov 7, 2026
abaf3d5
Drop section about Docker in README.md
arteymix Nov 7, 2026
4240221
Drop section about Vagrant
arteymix Nov 7, 2026
7dea669
Format Meson config
arteymix Nov 7, 2026
327edf3
Drop genie example, restore and pin lua to 5.1 and fix upstream VAPI
arteymix Nov 7, 2026
f621244
Fix formatting
arteymix Nov 7, 2026
450f9c0
Use explicit Ubuntu runners
arteymix Nov 14, 2026
4d858d5
Bump checkout to v7
arteymix Nov 14, 2026
4f6cae1
Merge remote-tracking branch 'origin/master' into build-on-ubuntu-24-04
arteymix Nov 14, 2026
5f05acf
Drop gcovr dep
arteymix Nov 14, 2026
57a746c
Merge remote-tracking branch 'origin/master' into build-on-ubuntu-24-04
arteymix Nov 14, 2026
b071086
Replace Bower with Webpack
arteymix Nov 7, 2026
7dc82c3
Use master branch for VSGI
arteymix Nov 14, 2026
dab454c
Add libtemplate-glib to the CI
arteymix Nov 14, 2026
84125ad
Update Dockerfile
arteymix Nov 14, 2026
c02125a
Drop debug logging
arteymix Nov 14, 2026
04194ee
Add a variable for the minimum GLib version
arteymix Nov 14, 2026
71755ce
Format Meson code in docs, drop waf section and update CI badges
arteymix Nov 14, 2026
44ce219
Suppress common warnings in generated Vala code
arteymix Nov 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-26.04]
os: [ubuntu-24.04, ubuntu-26.04]

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand All @@ -18,7 +18,7 @@ jobs:
run: sudo apt-get update --quiet

- name: Install dependencies
run: sudo apt-get install --yes valac libglib2.0-bin libglib2.0-dev libsoup2.4-dev libfcgi-dev libgee-0.8-dev libctpl-dev libjson-glib-dev libmemcached-dev libmarkdown2-dev liblua5.1-dev valgrind ninja-build meson
run: sudo apt-get install --yes valac libglib2.0-bin libglib2.0-dev libsoup2.4-dev libfcgi-dev libgee-0.8-dev libctpl-dev libjson-glib-dev libmemcached-dev libmarkdown2-dev liblua5.1-dev libtemplate-glib-1.0-dev valgrind ninja-build meson npm

- name: Build
run: |
Expand Down
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:xenial
FROM ubuntu:resolute

MAINTAINER Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>

Expand All @@ -8,14 +8,13 @@ RUN apt-get update && apt-get install -y \
libsoup2.4-dev \
libssl-dev \
ninja-build \
python3-pip \
unzip \
valac \
meson \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install meson
ADD . /valum

WORKDIR /valum
ADD . .
RUN cd /valum && mkdir build && meson --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --buildtype=release . build && ninja -C build && ninja -C build test && ninja -C build install

RUN mkdir build && meson --prefix=/usr --buildtype=release . build && ninja -C build && ninja -C build test && ninja -C build install
RUN rm -rf /valum
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,22 @@ Server.@new ("http", handler: app).run ({"app", "--address=0.0.0.0:3003", "--for

## Installation

### Docker
### Ubuntu / Debian

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also mention here a baseline version for Fedora.


We maintain [Docker images](https://hub.docker.com/r/valum/valum/) already setup with Valum and the latest LTS version of Ubuntu.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Dockerfile is working, so this section can be restored. Publishing images upon releases would have to be automated in the CI, but I don't mind doing it manually as well.

Install build dependencies on Ubuntu 24.04 LTS (Noble Numbat) or Debian 12 (Bookworm):

```bash
sudo apt install valac meson ninja-build libglib2.0-dev libsoup2.4-dev
```
docker pull valum/valum
```

### Bower

If you use [Meson](http://mesonbuild.com/), you can install Valum as a subproject using [Bower](https://bower.io/):
Build and test Valum:

```bash
meson setup build
ninja -C build
meson test -C build --num-processes=1
sudo ninja -C build install
```
bower install valum
```

For other installation procedures, head to the [user documentation](http://valum-framework.readthedocs.org/en/latest/installation.html).

## Features

Expand Down
14 changes: 0 additions & 14 deletions bower.json

This file was deleted.

46 changes: 11 additions & 35 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,17 @@ as flexible as waf, but it will handle most projects very well.
vsgi_dep = dependency('vsgi-0.3') # or subproject('vsgi').get_variable('vsgi_dep')
valum_dep = dependency('valum-0.3') # or subproject('valum').get_variable('valum_dep')

executable('app', 'src/app.vala',
dependencies: [glib_dep, gobject_dep, gio_dep, soup_dep, vsgi_dep, valum_dep])
executable(
'app',
'src/app.vala',
dependencies: [
glib_dep,
gobject_dep,
gio_dep,
soup_dep,
vsgi_dep,
valum_dep
])

.. code-block:: bash

Expand All @@ -86,39 +95,6 @@ as flexible as waf, but it will handle most projects very well.
To include Valum as a subproject, it is sufficient to clone the repository into
``subprojects/valum``.

Building with waf
-----------------

It is preferable to use a build system like `waf`_ to automate all this
process. Get a release of ``waf`` and copy this file under the name ``wscript``
at the root of your project.

.. _waf: https://code.google.com/p/waf/

.. code-block:: python

def options(cfg):
cfg.load('compiler_c')

def configure(cfg):
cfg.load('compiler_c vala')
cfg.check_cfg(package='valum-0.3', uselib_store='VALUM', args='--libs --cflags')

def build(bld):
bld.load('compiler_c vala')
bld.program(
packages = 'valum-0.3',
target = 'app',
source = 'src/app.vala',
use = 'VALUM')

You should now be able to build by issuing the following commands:

.. code-block:: bash

./waf configure
./waf build

Running the example
-------------------

Expand Down
6 changes: 1 addition & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ Valum Web micro-framework
.. raw:: html

<a href="https://github.com/valum-framework/valum/actions/workflows/main.yml">
<img src="https://github.com/valum-framework/valum/actions/workflows/main.yml/badge.svg?branch=master" alt="Build Status">
</a>

<a href="https://codecov.io/github/valum-framework/valum?branch=master">
<img src="https://codecov.io/github/valum-framework/valum/coverage.svg?branch=master" alt="Coverage via Codecov" />
<img src="https://github.com/valum-framework/valum/actions/workflows/main.yml/badge.svg" alt="Build Status">
</a>

Valum is a Web micro-framework written in Vala and licensed under the LGPLv3.
Expand Down
Loading