Browse Source

Update roger.nsi dependency

merge-requests/30/head
Jan-Michael Brummer 10 months ago
parent
commit
665a3d0c92
3 changed files with 5 additions and 8 deletions
  1. +1
    -0
      .gitlab-ci.yml
  2. +2
    -2
      build-aux/windows/roger.nsi.in
  3. +2
    -6
      src/roger-fax.c

+ 1
- 0
.gitlab-ci.yml View File

@@ -46,6 +46,7 @@ windows:
- shared-windows
- windows
- windows-1809
allow_failure: true
variables:
PACMAN_OPTIONS: "--needed --noconfirm --noprogressbar --overwrite \\*"
script:

+ 2
- 2
build-aux/windows/roger.nsi.in View File

@@ -160,8 +160,8 @@ Section RogerRouter
File "C:\msys64\mingw64\bin\libdatrie-1.dll"

# UPnP
File "C:\msys64\mingw64\bin\libgssdp-1.2-0.dll"
File "C:\msys64\mingw64\bin\libgupnp-1.2-1.dll"
File "C:\msys64\mingw64\bin\libgssdp-1.6-0.dll"
File "C:\msys64\mingw64\bin\libgupnp-1.6-0.dll"
File "C:\msys64\mingw64\bin\libjson-glib-1.0-0.dll"

# GStreamer

+ 2
- 6
src/roger-fax.c View File

@@ -204,17 +204,13 @@ convert_to_fax (const char *file_name)
output = g_strdup_printf ("-sOutputFile=%s", out_file);
args[9] = output;

/* improved dithering pattern
* as proposed in this ghostscript ticket:
/* improved dithering pattern as proposed in this ghostscript ticket:
* https://bugs.ghostscript.com/show_bug.cgi?id=694762#c3
*/
args[10] = "-Ilib";
args[11] = "stocht.ps";

/* set everything below 25% brightness to black
* and everything above 75% brightness to white.
* This improves that readability of faxes which contain
* grayscale or color scans.
/* set everything below 25% brightness to black and everything above 75% brightness to white. This improves that readability of faxes which contain grayscale or color scans.
*/
args[12] = "-c";
args[13] = "{ dup .25 lt { pop 0 } if dup .75 gt { pop 1 } if } settransfer";

Loading…
Cancel
Save