Bug 276492 - [NEW PORT] editors/sciteco: Scintilla-based Text Editor and Corrector
Summary: [NEW PORT] editors/sciteco: Scintilla-based Text Editor and Corrector
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/rhaberkorn/sciteco
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-21 11:43 UTC by Robin Haberkorn
Modified: 2024-01-22 14:32 UTC (History)
2 users (show)

See Also:


Attachments
This patch adds the SciTECO port (13.09 KB, patch)
2024-01-21 11:43 UTC, Robin Haberkorn
no flags Details | Diff
Updated patch adding SciTECO port (13.34 KB, patch)
2024-01-22 14:27 UTC, Robin Haberkorn
no flags Details | Diff
Script to run program under Xvfb, ported to BSD. (3.19 KB, application/x-shellscript)
2024-01-22 14:32 UTC, Robin Haberkorn
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Haberkorn 2024-01-21 11:43:04 UTC
Created attachment 247813 [details]
This patch adds the SciTECO port

This adds a port of SciTECO. I am the upstream author and would like to become the FreeBSD maintainer.

Upstream sources of this port can be found in the official Git repository (https://github.com/rhaberkorn/sciteco/tree/master/freebsd) but could be eventually removed once this gets merged into the ports tree.

There are a few open questions:

* SciTECO supports both NCurses and Gtk flavors. You are supposed to be able to install both side by side. On other platforms (Debian/Ubuntu), there is an architecture-independent package sciteco-common with files that are common between both flavors. This does not appear to be possible in FreeBSD, so every port bundles its own set of arch-independent files.
* The Gtk port requires X11 at build-time and is therefore run under the xvfb-run.sh script, which I modified from some version I found online, that happened to come with a licensing header. On Debian, a version of this script is included with the xvfb package. Perhaps it would be better to patch and this into xorg-server@xvfb and let it be installed into the system, as it is generally a useful thing to have with xvfb. Opinions?
* Should projects on Github like SciTECO better use USE_GITHUB instead of referencing tarballs uploaded for real releases? This would allow pulling in patches from Git commits outside of regular releases. Have seen that in some other port. What's the policy on this?
Comment 1 Robin Haberkorn 2024-01-22 14:27:32 UTC
Created attachment 247844 [details]
Updated patch adding SciTECO port

New version of the patch. This allows `make test`, silences some (bogus) QA errors and moves the xvfb-run.sh script into ${SCRIPTDIR}.

Once I am told that this patch is ready to be merged, I will create a new SciTECO minor release and update the port, so it will be up to date.
Comment 2 Robin Haberkorn 2024-01-22 14:32:28 UTC
Created attachment 247845 [details]
Script to run program under Xvfb, ported to BSD.

This is the script that we may want to install along with Xvfb instead of including it in the SciTECO port. x11@FreeBSD.org should speak out on this.