Mon, 19 Apr 2021 20:41:12 -0500
Make our windows builds usable from meson.
This creates our pkg-config files on windows as well as fixes an include in
pidgin.h which can cause some issues.
This isn't usable as is, as you need a machine-file and a pkg-config wrapper
to make this all work, but that will be updated in the win32-dev.7z file thats
on data.imfreedom.org.
Testing Done:
Compiled guifications2 (which now uses meson) on windows and verified it works.
Reviewed at https://reviews.imfreedom.org/r/615/
|
39602
a3f2f9f7bc4e
AS is a keyword in a FROM line in a Dockerfile
Gary Kramlich <grim@reaperworld.com>
parents:
39600
diff
changeset
|
1 | FROM pidgin/release-builder:release-2.x.y AS build |
|
39600
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | COPY . /pidgin |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | RUN set -ex && \ |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | cd /pidgin && \ |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | ./autogen.sh --enable-debug && \ |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | make -s -j$(nproc) docs |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | FROM rwgrim/goserve |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | EXPOSE 3000 |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | COPY --from=build /pidgin/doc/html html |
|
2cc678f14ffc
Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 |