Skip to content

Conversation

@sgn
Copy link
Member

@sgn sgn commented Feb 2, 2026

Testing the changes

  • I tested the changes in this PR: YES|briefly|NO

@sgn sgn mentioned this pull request Feb 2, 2026
@tranzystorekk tranzystorekk added the new-package This PR adds a new package label Feb 2, 2026
@tfcolin
Copy link

tfcolin commented Feb 3, 2026

Testing the changes

* I tested the changes in this PR: **YES**|**briefly**|**NO**

Thanks for your rapid relay of this work. I just put the template I tried for 3.05 here. Sorry for my obvious outdated response.

Template file for 'asymptote'

pkgname=asymptote
#version=2.68
version=3.05
revision=1

short_desc="Vector graphics language (like metapost) with c++-style syntax"
maintainer="Colin Teng tfcolin@163.com"

build_style=gnu-configure
hostmakedepends="git autoconf automake libtool pkg-config cmake flex bison tar curl doxygen ghostscript ImageMagick texlive texlive-dvi texinfo"
makedepends="fftw-devel gc-devel gsl-devel zlib-devel libtirpc-devel glm libfreeglut-devel python3-PyQt5-devel-tools libcurl-devel readline-devel boost-devel"
configure_args="--without-latex --without-context"

license="GPL-3.0-or-later"
homepage="http://asymptote.sourceforge.net/"
distfiles="https://github.com/vectorgraphics/asymptote/archive/refs/tags/${version}.tar.gz"
nocross="configuration fail: cannot check for file existence when cross compiling"

checksum=8acd76b125946044bd0ee48c65288957acd5928c09f078c4cd434a1b1d4ff812

pre_configure() {
./autogen.sh
}

And the following was the printed error when it's build:

[ 76%] Building CXX object CMakeFiles/lspcpp.dir/src/lsp/lsp_diagnostic.cpp.o
[ 80%] Building CXX object CMakeFiles/lspcpp.dir/src/lsp/Markup.cpp.o
[ 83%] Building CXX object CMakeFiles/lspcpp.dir/src/lsp/ParentProcessWatcher.cpp.o
In file included from /home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp:14:
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/include/LibLsp/lsp/SimpleTimer.h:7:49: error: 'milliseconds' in namespace 'boost::posix_time' does not name a type
7 | template
| ^~~~~~~~~~~~
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/include/LibLsp/lsp/SimpleTimer.h:47:18: error: 'deadline_timer' in namespace 'boost::asio' does not name a type
47 | boost::asio::deadline_timer _deadline_timer;
| ^~~~~~~~~~~~~~
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/include/LibLsp/lsp/SimpleTimer.h: In constructor 'SimpleTimer::SimpleTimer(unsigned int, const std::function<void()>&)':
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/include/LibLsp/lsp/SimpleTimer.h:12:53: error: class 'SimpleTimer' does not have any field named 'deadline_timer'
12 | : is_running
(true), call_back(_call_back), _deadline_timer(_ios, Duration(duration))
| ^~~~~~~~~~~~~~~
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/include/LibLsp/lsp/SimpleTimer.h:14:9: error: '_deadline_timer' was not declared in this scope
14 | _deadline_timer.async_wait(
| ^~~~~~~~~~~~~~~
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp: At global scope:
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp:21:52: error: 'seconds' is not a member of 'boost::posix_time'
21 | std::unique_ptr<SimpleTimerboost::posix_time::seconds> timer;
| ^~~~~~~
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp:21:52: note: suggested alternatives:
In file included from /usr/include/c++/14.2/mutex:43,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/system/error_code.hpp:14,
from /usr/include/boost/process/v2/detail/config.hpp:43,
from /usr/include/boost/process/v2/bind_launcher.hpp:14,
from /usr/include/boost/process/bind_launcher.hpp:1,
from /usr/include/boost/process.hpp:15,
from /home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp:3:
/usr/include/c++/14.2/bits/chrono.h:897:11: note: 'std::chrono::seconds'
897 | using seconds = duration<_GLIBCXX_CHRONO_INT64_T>;
| ^~~~~~~
/usr/include/c++/14.2/bits/chrono.h:897:11: note: 'std::chrono::seconds'
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp:21:52: error: template argument 1 is invalid
21 | std::unique_ptr<SimpleTimerboost::posix_time::seconds> timer;
| ^~~~~~~
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp:21:59: error: template argument 1 is invalid
21 | std::unique_ptr<SimpleTimerboost::posix_time::seconds> timer;
| ^~
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp:21:59: error: template argument 2 is invalid
/home/tengfei/samsung/tengfei/storage/asymptote-3.05/LspCpp/src/lsp/ParentProcessWatcher.cpp:25:37: error: 'opstream' is not a member of 'boost::process'
25 | std::shared_ptrboost::process::opstream write_to_service;
| ^~~~~~~~

boost-devel-minimal readline-devel ncurses-devel"
checkdepends="dvisvgm"
short_desc="C++ like vector graphic language"
maintainer="Colin Teng <tfcolin@163.com>"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please accept as the maintainer? I'm not familiar with c++ and boost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package This PR adds a new package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants