Compare commits

..

No commits in common. "43b7bb2152dc21df50f003abac81ae80b32bd49f" and "67d7ef1a187c8be78bf63c9bb4ba2e858dafea03" have entirely different histories.

3 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,7 @@ RUN useradd -ms /bin/bash rust
ADD peldd /usr/bin/peldd ADD peldd /usr/bin/peldd
ADD package.sh /usr/bin/package.sh ADD package.sh /usr/bin/package.sh
RUN dnf install -y mingw64-gcc mingw64-freetype mingw64-cairo mingw64-harfbuzz mingw64-pango mingw64-poppler mingw64-gtk3 mingw64-winpthreads-static mingw64-glib2-static gcc boost zip git && dnf clean all -y RUN dnf install -y mingw64-gcc mingw64-freetype mingw64-cairo mingw64-harfbuzz mingw64-pango mingw64-poppler mingw64-gtk3 mingw64-winpthreads-static mingw64-glib2-static gcc boost zip && dnf clean all -y
USER rust USER rust
@ -18,6 +18,7 @@ RUN . ~/.cargo/env && \
rustup target add x86_64-pc-windows-gnu rustup target add x86_64-pc-windows-gnu
ADD cargo.config /home/rust/.cargo/config ADD cargo.config /home/rust/.cargo/config
ADD Windows-10 /home/rust/Windows10
ENV PKG_CONFIG_ALLOW_CROSS=1 ENV PKG_CONFIG_ALLOW_CROSS=1
ENV PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/ ENV PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/
@ -32,6 +33,6 @@ CMD ["/usr/bin/package.sh"]
# $ docker build . -t PROJECTNAME-build-image # $ docker build . -t PROJECTNAME-build-image
# 3) Creating a container with the source mounted the image (which kicks off the build): # 3) Creating a container with the source mounted the image (which kicks off the build):
# $ docker create -v `pwd`:/home/rust/src --name PROJECTNAME-build PROJECTNAME-build-image # $ docker create -v `pwd`:/home/rust/src --name PROJECTNAME-build PROJECTNAME-build-image
# 4) Each time you want to build the project, start the Docker container. # 4) Each time you want to build the project, start the Docker container.
# Add "-ai" to watch the build progress. # Add "-ai" to watch the build progress.
# $ docker start PROJECTNAME-build # $ docker start PROJECTNAME-build

1
Windows-10 Submodule

@ -0,0 +1 @@
Subproject commit 06dd5b87781908ca0448d4577142d50796557dee

View File

@ -12,8 +12,8 @@ for DLL in $DLLS
done done
mkdir -p package/share/{themes,gtk-3.0} mkdir -p package/share/{themes,gtk-3.0}
cp -r "$GTK_INSTALL_PATH"/share/glib-2.0/schemas package/share/glib-2.0 cp -r $GTK_INSTALL_PATH/share/glib-2.0/schemas package/share/glib-2.0
cp -r "$GTK_INSTALL_PATH"/share/icons package/share/icons cp -r $GTK_INSTALL_PATH/share/icons package/share/icons
cp -r ~/Windows10 package/share/themes cp -r ~/Windows10 package/share/themes
cat << EOF > package/share/gtk-3.0/settings.ini cat << EOF > package/share/gtk-3.0/settings.ini