Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main/*: configure gen/clarify no configure gen #3134

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions main/avahi/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
"--without-systemdsystemunitdir",
"ssp_cv_lib=no",
]
configure_gen = []
hostmakedepends = ["pkgconf", "python", "gettext"]
hostmakedepends = ["automake", "gettext-devel", "slibtool", "pkgconf", "python"]
makedepends = ["dbus-devel", "libcap-devel", "libdaemon-devel"]
depends = ["dinit-dbus"]
pkgdesc = "Multicast DNS Service Discovery"
Expand Down
1 change: 1 addition & 0 deletions main/bash/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"ac_cv_lib_error_at_line=no",
"ac_cv_header_sys_cdefs_h=no",
]
# autoreconf: error: /usr/bin/autoheader failed with exit status: 1
configure_gen = []
make_check_target = "tests"
hostmakedepends = ["bison", "texinfo"]
Expand Down
2 changes: 1 addition & 1 deletion main/byacc/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pkgrel = 0
build_style = "gnu_configure"
configure_args = ["--program-transform=s,^,b,"]
configure_gen = []
hostmakedepends = ["automake"]
pkgdesc = "Berkeley yacc, a LALR(1) parser generator"
maintainer = "q66 <q66@chimera-linux.org>"
license = "custom:byacc"
Expand Down
4 changes: 1 addition & 3 deletions main/cabextract/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
pkgrel = 0
build_style = "gnu_configure"
configure_args = ["--with-external-libmspack"]
# broken
configure_gen = []
hostmakedepends = ["pkgconf"]
hostmakedepends = ["automake", "gettext-devel", "pkgconf"]
makedepends = ["libmspack-devel"]
pkgdesc = "Tool for extracting Microsoft cabinet files"
maintainer = "psykose <alice@ayaya.dev>"
Expand Down
5 changes: 1 addition & 4 deletions main/check/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pkgrel = 0
build_style = "gnu_configure"
make_check_args = ["-j1"]
hostmakedepends = ["pkgconf"]
hostmakedepends = ["automake", "pkgconf", "slibtool"]
pkgdesc = "Unit testing framework for C"
maintainer = "q66 <q66@chimera-linux.org>"
license = "LGPL-2.1-or-later"
Expand All @@ -18,6 +18,3 @@
@subpackage("check-devel")
def _(self):
return self.default_devel()


configure_gen = []
1 change: 1 addition & 0 deletions main/chrony/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"--enable-ntp-signd",
"--enable-scfilter",
]
# Custom configure script
configure_gen = []
make_dir = "."
hostmakedepends = ["pkgconf"]
Expand Down
1 change: 1 addition & 0 deletions main/coturn/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
pkgrel = 3
build_style = "gnu_configure"
configure_args = ["--turndbdir=/var/lib/coturn"]
# Custom configure script
configure_gen = []
make_dir = "."
make_check_target = "test"
Expand Down
5 changes: 1 addition & 4 deletions main/cppunit/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pkgrel = 0
build_style = "gnu_configure"
configure_args = ["--disable-werror"]
hostmakedepends = ["pkgconf"]
hostmakedepends = ["automake", "pkgconf", "slibtool"]
pkgdesc = "C++ unit testing framework"
maintainer = "q66 <q66@chimera-linux.org>"
license = "LGPL-2.1-or-later"
Expand All @@ -15,6 +15,3 @@
@subpackage("cppunit-devel")
def _(self):
return self.default_devel(extra=["usr/bin"])


configure_gen = []
4 changes: 2 additions & 2 deletions main/crun/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
pkgrel = 0
build_style = "gnu_configure"
configure_args = ["--disable-systemd"]
# broken presently
configure_gen = []
# full testsuite fails in netns
make_check_target = "tests/tests_libcrun_errors.log"
hostmakedepends = [
"automake",
"go-md2man",
"pkgconf",
"python",
"libtool",
]
makedepends = [
"argp-standalone",
Expand Down
1 change: 1 addition & 0 deletions main/cups/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"--with-cups-group=lp",
"--with-system-groups=_lpadmin root",
]
# autoreconf: error: /usr/bin/autoheader failed with exit status: 1
configure_gen = []
# build system is bad
make_dir = "."
Expand Down
4 changes: 1 addition & 3 deletions main/dejagnu/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pkgver = "1.6.3"
pkgrel = 0
build_style = "gnu_configure"
hostmakedepends = ["expect-devel"]
hostmakedepends = ["automake", "expect-devel"]
makedepends = ["expect-devel"]
depends = ["expect"]
pkgdesc = "Framework for running test suites on GNU tools"
Expand All @@ -14,5 +14,3 @@
hardening = ["vis", "cfi"]
# like 4 tests fail and it's impossible to tell what is going on
options = ["!check"]

configure_gen = []
8 changes: 6 additions & 2 deletions main/dfu-programmer/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
pkgver = "1.1.0"
pkgrel = 0
build_style = "gnu_configure"
# broken
configure_gen = []
make_dir = "."
hostmakedepends = ["automake"]
makedepends = ["libusb-devel"]
pkgdesc = "Command-line programmer for Atmel USB microcontrollers"
maintainer = "psykose <alice@ayaya.dev>"
Expand All @@ -13,3 +12,8 @@
source = f"https://github.com/dfu-programmer/dfu-programmer/releases/download/v{pkgver}/dfu-programmer-{pkgver}.tar.gz"
sha256 = "844e469be559657bc52c9d9d03c30846acd11ffbb1ddd42438fa8af1d2b8587d"
hardening = ["vis", "cfi"]


def post_extract(self):
# otherwise configure gen fails
(self.cwd / "ChangeLog").touch()
4 changes: 1 addition & 3 deletions main/dialog/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
pkgrel = 0
build_style = "gnu_configure"
configure_args = ["--with-ncursesw", "--disable-nls"]
# broken to reconf
configure_gen = []
makedepends = ["ncurses-devel"]
makedepends = ["automake", "ncurses-devel"]
pkgdesc = "Tool to display dialog boxes from shell scripts"
maintainer = "q66 <q66@chimera-linux.org>"
license = "LGPL-2.1-only"
Expand Down
5 changes: 1 addition & 4 deletions main/dosfstools/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pkgrel = 0
build_style = "gnu_configure"
configure_args = ["--enable-compat-symlinks"]
hostmakedepends = ["pkgconf"]
hostmakedepends = ["automake", "gettext-devel", "pkgconf"]
makedepends = ["udev-devel", "linux-headers"]
pkgdesc = "DOS filesystem tools"
maintainer = "q66 <q66@chimera-linux.org>"
Expand All @@ -16,6 +16,3 @@

def post_install(self):
self.uninstall("usr/share/doc")


configure_gen = []
1 change: 1 addition & 0 deletions main/dracut-install/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pkgver = "103"
pkgrel = 1
build_style = "gnu_configure"
# handrolled configure
configure_gen = []
make_dir = "."
make_build_target = "dracut-install"
Expand Down
2 changes: 1 addition & 1 deletion main/fdupes/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pkgver = "2.3.2"
pkgrel = 0
build_style = "gnu_configure"
configure_gen = []
hostmakedepends = ["automake", "pkgconf"]
makedepends = ["ncurses-devel", "pcre2-devel", "sqlite-devel"]
pkgdesc = "Tool for identifying and/or deleting duplicate files"
maintainer = "autumnontape <autumn@cyfox.net>"
Expand Down
5 changes: 1 addition & 4 deletions main/file/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"--disable-bzlib",
"--disable-xzlib",
]
hostmakedepends = ["pkgconf"]
hostmakedepends = ["automake", "pkgconf", "slibtool"]
makedepends = ["zlib-ng-compat-devel"]
pkgdesc = "File type identification utility"
maintainer = "q66 <q66@chimera-linux.org>"
Expand Down Expand Up @@ -43,6 +43,3 @@ def _(self):
self.pkgdesc = "File type identification library"

return self.default_devel()


configure_gen = []
5 changes: 1 addition & 4 deletions main/flex/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pkgrel = 1
build_style = "gnu_configure"
configure_args = ["--disable-bootstrap", "--disable-shared"]
hostmakedepends = ["byacc"]
hostmakedepends = ["automake", "byacc"]
makedepends = ["byacc"]
depends = ["byacc", self.with_pkgver("libfl-devel-static")]
pkgdesc = "Fast Lexical Analyzer"
Expand Down Expand Up @@ -40,6 +40,3 @@ def _(self):
]

return self.default_devel()


configure_gen = []
5 changes: 2 additions & 3 deletions main/font-alias/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
pkgrel = 0
build_style = "gnu_configure"
configure_args = ["--with-fontrootdir=/usr/share/fonts"]
# cycle with font-util
configure_gen = []
pkgdesc = "Standard aliases for X11 PCF fonts"
maintainer = "q66 <q66@chimera-linux.org>"
license = "MIT"
Expand All @@ -14,6 +16,3 @@

def post_install(self):
self.install_license("COPYING")


configure_gen = []
1 change: 1 addition & 0 deletions main/fossil/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"--with-tcl=1",
"--with-tcl-private-stubs",
]
# handrolled configure script
configure_gen = []
make_check_target = "test"
makedepends = ["openssl-devel", "zlib-ng-compat-devel", "tcl-devel"]
Expand Down
3 changes: 1 addition & 2 deletions main/ghostscript/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@
"CUPSCONFIG": "/usr/bin/cups-config",
"CCAUX": "cc",
}
configure_gen = []
make_dir = "." # bad build system
make_build_args = ["all", "so"]
make_install_args = ["install", "install-so"]
hostmakedepends = ["pkgconf"]
hostmakedepends = ["automake", "pkgconf"]
makedepends = [
"cups-devel",
"dbus-devel",
Expand Down
Loading