Bug 283438 - net/rsplib: Update to new release 3.5.1
Summary: net/rsplib: Update to new release 3.5.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Zsolt Udvari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-20 14:41 UTC by Thomas Dreibholz
Modified: 2025-02-24 16:08 UTC (History)
1 user (show)

See Also:


Attachments
The diff file (1.11 KB, patch)
2024-12-20 14:41 UTC, Thomas Dreibholz
no flags Details | Diff
The diff file (3.84 KB, patch)
2024-12-20 15:18 UTC, Thomas Dreibholz
thomas.dreibholz: maintainer-approval+
Details | Diff
The diff file (4.74 KB, patch)
2025-01-30 15:47 UTC, Thomas Dreibholz
thomas.dreibholz: maintainer-approval+
Details | Diff
The diff file (4.93 KB, patch)
2025-02-17 20:50 UTC, Thomas Dreibholz
thomas.dreibholz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dreibholz 2024-12-20 14:41:05 UTC
Created attachment 255981 [details]
The diff file

The latest upstream version of rsplib is 3.5.0.
Therefore, the port net/rsplib needs an update.

Fix: The updated diff file rsplib-3.5.0.diff is attached.
Comment 1 Thomas Dreibholz 2024-12-20 15:18:35 UTC
Created attachment 255984 [details]
The diff file
Comment 2 Zsolt Udvari freebsd_committer freebsd_triage 2024-12-28 07:18:57 UTC
The files/patch-src_CMakeLists.txt patch fails ('make patch'). Could you please check it?

===>  Applying FreeBSD patches for rsplib-3.5.0 from /usr/local/poudriere/ports/default/net/rsplib/files
1 out of 1 hunks failed--saving rejects to src/CMakeLists.txt.rej
===>  FAILED Applying FreeBSD patch-src_CMakeLists.txt
===> FAILED to apply cleanly FreeBSD patch(es)  patch-src_CMakeLists.txt
Comment 3 Thomas Dreibholz 2025-01-30 15:47:14 UTC
Created attachment 257128 [details]
The diff file

The new diff file should fix the issue.
Comment 4 Zsolt Udvari freebsd_committer freebsd_triage 2025-02-07 18:42:52 UTC
(In reply to Thomas Dreibholz from comment #3)
CMake Error at CMakeLists.txt:288 (MESSAGE):
   Cannot find GhostScript! Try:
   * Ubuntu/Debian: sudo apt install -y ghostscript
   * Fedora:        sudo dnf install -y ghostscript
   * FreeBSD:       sudo pkg install -y ghostscript10


-- Configuring incomplete, errors occurred!
*** Error code 1


Could you please test your patch on poudriere? It's a clean environment and only the dependency-listed packages are installed.
Comment 5 Thomas Dreibholz 2025-02-17 20:50:56 UTC
Created attachment 257605 [details]
The diff file

The updated diff file fixes the issues. Now, the package successfully builds with Poudriere.
Comment 6 Zsolt Udvari freebsd_committer freebsd_triage 2025-02-24 16:07:27 UTC
Committed, thanks for your work!
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-02-24 16:08:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bdbf005f37124127d3b4a2c8f5b74b0f97d76dc6

commit bdbf005f37124127d3b4a2c8f5b74b0f97d76dc6
Author:     Thomas Dreibholz <thomas.dreibholz@gmail.com>
AuthorDate: 2025-02-24 16:03:00 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-02-24 16:04:35 +0000

    net/rsplib: Update to 3.5.1

    Add ghostscript to USES.
    Add USE_GL.
    Pet portlint.

    Changelog: https://github.com/dreibh/rsplib/blob/master/ChangeLog

    PR:             283438
    Approved by:    submitter is maintainer

 net/rsplib/Makefile                              | 20 +++++---
 net/rsplib/distinfo                              |  6 +--
 net/rsplib/files/patch-src_CMakeLists.txt (gone) | 11 -----
 net/rsplib/pkg-plist                             | 58 +++++++++++++++++++-----
 4 files changed, 63 insertions(+), 32 deletions(-)