<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pdf-tools.git/server, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/'/>
<entry>
<title>fix(macos): add poppler and pcre2 to PKG_CONFIG_PATH for Homebrew builds</title>
<updated>2026-01-02T11:01:51+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2026-01-02T11:01:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=e4b7f1f37cf59ddf025d609ffcdabe732a6e99ba'/>
<id>e4b7f1f37cf59ddf025d609ffcdabe732a6e99ba</id>
<content type='text'>
Some macOS users were experiencing build failures where pkg-config
could not find poppler, even with Homebrew's poppler package installed.
This occurs when Homebrew doesn't properly link the .pc files to the
standard pkg-config search path.

Fixes #299
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some macOS users were experiencing build failures where pkg-config
could not find poppler, even with Homebrew's poppler package installed.
This occurs when Homebrew doesn't properly link the .pc files to the
standard pkg-config search path.

Fixes #299
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(autobuild): add doas as privilege escalation fallback</title>
<updated>2025-12-30T15:35:59+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2025-12-30T15:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=8ba098a31807aa7541876ca5c2f7df07e2497767'/>
<id>8ba098a31807aa7541876ca5c2f7df07e2497767</id>
<content type='text'>
Alpine Linux deprecated sudo in favor of doas. Add doas support to
exec_privileged() so autobuild works on Alpine without requiring users
to install and configure sudo.

Fixes #323
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Alpine Linux deprecated sudo in favor of doas. Add doas support to
exec_privileged() so autobuild works on Alpine without requiring users
to install and configure sudo.

Fixes #323
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: attempt 1 fixing the appveyor build file</title>
<updated>2025-12-30T13:21:17+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2025-12-30T13:20:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=cd9a2fe0c256fdeb5788e38f68ff124efdedf091'/>
<id>cd9a2fe0c256fdeb5788e38f68ff124efdedf091</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for Android Emacs using Termux</title>
<updated>2025-12-29T04:15:02+00:00</updated>
<author>
<name>Johan Widén</name>
<email>j.e.widen@gmail.com</email>
</author>
<published>2023-07-29T09:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=d89686e4e0b35d8a0deff5d8709b81edd5cd5630'/>
<id>d89686e4e0b35d8a0deff5d8709b81edd5cd5630</id>
<content type='text'>
Notes from the original PR:

The dependencies for android in autobuild can not be installed in
pdf-tools-install, they have to be installed manually in Termux. But
the dependencies are checked when running autobuild.

pdf-tools-install successfully installs epdfinfo in Android Emacs. One
can then view pdf files.

The shebang in autobuild does not work in Termux, I therefore had to
create a separate script "autobuild.android" that in turn executes
autobuild. The problem with the shebang is that "env" in Termux is not
located at "/usr/bin/env".

pdf-tools/Makefile does currently not work in Android Emacs, but it is
not needed for running pdf-tools-install. Fixing this will have to be
done in a separate pull request, if deemed necessary. Reason: There is
yet no consensus for how to implement a command line emacs, to be run
in batch mode, in Android Emacs.

I have successfully run "make test" in Ubuntu, in the repo feature
branch. Running "make server-test" in the master branch fails, so I
have not tested this in the feature branch.

Closes: #230
Author: @johanwiden
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Notes from the original PR:

The dependencies for android in autobuild can not be installed in
pdf-tools-install, they have to be installed manually in Termux. But
the dependencies are checked when running autobuild.

pdf-tools-install successfully installs epdfinfo in Android Emacs. One
can then view pdf files.

The shebang in autobuild does not work in Termux, I therefore had to
create a separate script "autobuild.android" that in turn executes
autobuild. The problem with the shebang is that "env" in Termux is not
located at "/usr/bin/env".

pdf-tools/Makefile does currently not work in Android Emacs, but it is
not needed for running pdf-tools-install. Fixing this will have to be
done in a separate pull request, if deemed necessary. Reason: There is
yet no consensus for how to implement a command line emacs, to be run
in batch mode, in Android Emacs.

I have successfully run "make test" in Ubuntu, in the repo feature
branch. Running "make server-test" in the master branch fails, so I
have not tested this in the feature branch.

Closes: #230
Author: @johanwiden
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(midnight-mode): add gamma correction and fix RGB bugs</title>
<updated>2025-12-29T03:46:31+00:00</updated>
<author>
<name>Ziv Scully</name>
<email>zivscully@gmail.com</email>
</author>
<published>2025-12-29T03:46:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=8623dc3e38a2952fa87c1f6972b88d58e22f4c99'/>
<id>8623dc3e38a2952fa87c1f6972b88d58e22f4c99</id>
<content type='text'>
Add gamma correction options for better contrast control in midnight mode:
- pdf-view-midnight-gamma: nonlinearly scale lightness (default 1.0)
- pdf-view-midnight-gamma-before-invert: control gamma application order

Bug fixes:
- Fix RGB normalization (255 not 256) - was causing incorrect background color
- Add missing black→foreground fast path (comment existed but code was missing)

Closes: #329
Author: @vizziv</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add gamma correction options for better contrast control in midnight mode:
- pdf-view-midnight-gamma: nonlinearly scale lightness (default 1.0)
- pdf-view-midnight-gamma-before-invert: control gamma application order

Bug fixes:
- Fix RGB normalization (255 not 256) - was causing incorrect background color
- Add missing black→foreground fast path (comment existed but code was missing)

Closes: #329
Author: @vizziv</pre>
</div>
</content>
</entry>
<entry>
<title>feat(server): add Nobara Linux support</title>
<updated>2025-12-29T03:39:26+00:00</updated>
<author>
<name>Gabriel Santos</name>
<email>gabrielsantosdesouza@disroot.org</email>
</author>
<published>2025-12-29T03:39:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=4b78120e5f7e3ec38e198b5638c3a581bdc9b882'/>
<id>4b78120e5f7e3ec38e198b5638c3a581bdc9b882</id>
<content type='text'>
Add build support for Nobara Linux, a Fedora derivative.

- Add os_nobara() detection function (checks /etc/nobara-release)
- Uses same packages as Fedora (dnf package manager)
- Add to --os argument handling and auto-detection chain

Closes: #301
Author: @gs-101</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add build support for Nobara Linux, a Fedora derivative.

- Add os_nobara() detection function (checks /etc/nobara-release)
- Uses same packages as Fedora (dnf package manager)
- Add to --os argument handling and auto-detection chain

Closes: #301
Author: @gs-101</pre>
</div>
</content>
</entry>
<entry>
<title>fix(server): replace tempnam with mkstemp/_tempnam</title>
<updated>2025-12-28T17:14:07+00:00</updated>
<author>
<name>Jimmy Yuen Ho Wong</name>
<email>wyuenho@users.noreply.github.com</email>
</author>
<published>2025-12-28T17:14:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=0adc845fc2e0110dab0c7fc401a7bcf890d0610a'/>
<id>0adc845fc2e0110dab0c7fc401a7bcf890d0610a</id>
<content type='text'>
Use platform-appropriate temp file creation:
- _tempnam() on Windows (Microsoft-recommended)
- mkstemp() on Unix-like systems

Fixes #110, addresses #316

Supersedes #235</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use platform-appropriate temp file creation:
- _tempnam() on Windows (Microsoft-recommended)
- mkstemp() on Unix-like systems

Fixes #110, addresses #316

Supersedes #235</pre>
</div>
</content>
</entry>
<entry>
<title>feat(server): add MSYS2 UCRT64 environment support</title>
<updated>2025-12-28T17:12:56+00:00</updated>
<author>
<name>Sundaram Ramaswamy</name>
<email>legends2k@yahoo.com</email>
</author>
<published>2025-12-28T17:12:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=93b008ac73006119b207ef4e6b96d335c9800b69'/>
<id>93b008ac73006119b207ef4e6b96d335c9800b69</id>
<content type='text'>
Support the newer UCRT64 MSYS2 environment (recommended default per msys2.org).

- Add UCRT64 detection to server/autobuild
- Fix vasprintf implicit declaration error on Windows (synctex_parser.c)
- Update configure.ac for Windows compatibility

Fixes #282, #286
Supersedes #295

Tested by multiple users on Windows 10/11 with MSYS2.

Co-authored-by: legends2k</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support the newer UCRT64 MSYS2 environment (recommended default per msys2.org).

- Add UCRT64 detection to server/autobuild
- Fix vasprintf implicit declaration error on Windows (synctex_parser.c)
- Update configure.ac for Windows compatibility

Fixes #282, #286
Supersedes #295

Tested by multiple users on Windows 10/11 with MSYS2.

Co-authored-by: legends2k</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: Update PKG_CONFIG_PATH to add glib headers</title>
<updated>2024-04-05T13:11:20+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2024-04-05T13:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=a1048bceb2bd3f635437b0f2bfac27cae8c2dabc'/>
<id>a1048bceb2bd3f635437b0f2bfac27cae8c2dabc</id>
<content type='text'>
Copying my comment from the Github issue:

&gt; The problem is that something seems to have changed in the way brew
&gt; installs glib, due to which pkg-config does not find the glib headers.
&gt;
&gt; To fix this, I have updated the autobuild script to manually modify
&gt; the PKG_CONFIG_PATH. This should fix the problem.
&gt;
&gt; I will test the change and close this issue via the commit once I push
&gt; it. You will need to update your version of pdf-tools and then restart
&gt; Emacs to trigger the re-build again. (It might take a few hours for
&gt; Melpa to pick up the latest version of the pdf-tools)
&gt;
&gt; I will create a linked issue to investigate a better long-term
&gt; solution to this problem.

Closes: #269
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copying my comment from the Github issue:

&gt; The problem is that something seems to have changed in the way brew
&gt; installs glib, due to which pkg-config does not find the glib headers.
&gt;
&gt; To fix this, I have updated the autobuild script to manually modify
&gt; the PKG_CONFIG_PATH. This should fix the problem.
&gt;
&gt; I will test the change and close this issue via the commit once I push
&gt; it. You will need to update your version of pdf-tools and then restart
&gt; Emacs to trigger the re-build again. (It might take a few hours for
&gt; Melpa to pick up the latest version of the pdf-tools)
&gt;
&gt; I will create a linked issue to investigate a better long-term
&gt; solution to this problem.

Closes: #269
</pre>
</div>
</content>
</entry>
<entry>
<title>autobuild: Update gentoo packages</title>
<updated>2024-02-26T14:27:47+00:00</updated>
<author>
<name>Thanos Apollo</name>
<email>public@thanosapollo.org</email>
</author>
<published>2024-02-19T11:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=f01f52dfe7efeaef9b9094b49225f9dbc9a99111'/>
<id>f01f52dfe7efeaef9b9094b49225f9dbc9a99111</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
