Commit graph

4,013 commits

Author SHA1 Message Date
4376caa446 Start version: 1.0.0-129
Signed-off-by: janware DevOps <devops@janware.com>
2025-07-16 16:33:30 +00:00
a907a5640f py-defs.mk: Support PY_INSTALL[_XXX]
Support the Makefile variables PY_INSTALL, PY_INSTALL_REG, PY_INSTALL_PYC, all
defaulting to true. They can be set to false to stop installation of whatever
file type is undesired in the target. A common use case for this are
__init__.cpython-313.pyc, provided by a package the installing package depends
on. The prerequisite package might already provide these files for common
directories.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-07-16 16:21:35 +00:00
146221bbcb Release 1.0.0-128@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-07-16 15:18:32 +00:00
f6e5fc3f2c Start version: 1.0.0-128
Signed-off-by: janware DevOps <devops@janware.com>
2025-07-16 15:18:01 +00:00
a0842c6297 qemu-boot.sh: Replace deprecated brctl by iproute2 (ip)
/sbin/brctl is not part of openSUSE anymore, use ip link commands instead.

Also, remove the vlan option, now unsupported by qemu.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-07-16 13:23:21 +00:00
8e7ceb6444 jw-pkg: Support command list-changed-files
list-changed-files does the obvious: List all files locally diverging from its
packaged version.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-07-05 13:44:59 +00:00
3d4ecbc508 gettext.mk: Remove $(GETTEXT_PROJECT_POT): $(GETTEXT_INPUT_FILES) dependency
$(GETTEXT_PROJECT_POT) is always generated if $(GETTEXT_INPUT_FILES) are newer
than it. Having this happen automatically is not useful, since it can break
manually edited and version controlled $(GETTEXT_PROJECT_POT).

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-06-04 02:23:24 +00:00
3aff3b4559 defs.mk: Add target echo-targets
echo-targets prints a list of targets provided by the invoked Makefile.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-05-30 07:19:55 +00:00
46f3fe4d25 Release 1.0.0-127@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-05-12 06:45:05 +00:00
a8332049c1 Start version: 1.0.0-127
Signed-off-by: janware DevOps <devops@janware.com>
2025-05-12 06:44:35 +00:00
bf94282ab5 svg.mk: Unset DISPLAY in inkscape invocation
It appears that inkscape, if invoked from the command line, fires up a splash
screen if it has enough time to do so. This leads to strange flickering during
the build process. Unset DISPLAY in the attempt to keep that from happening.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-05-11 10:58:31 +00:00
8cccfaaac3 Release 1.0.0-126@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-03-30 12:29:09 +00:00
5d10abbb9d Start version: 1.0.0-126
Signed-off-by: janware DevOps <devops@janware.com>
2025-03-30 12:28:38 +00:00
8b8f1cc306 projects.py: Allow projects with non-existing project directory
proj_dir() raises an exception for projects which don't have a dedicated
project directory, even though for some projects this is legal. php-cli, for
instance, only installs stuff below /srv/www/proj/php-cli.

This commit makes projects.py tolerate that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-03-30 12:24:10 +00:00
239c5713df Release 1.0.0-125@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-03-29 13:49:17 +00:00
7b23876437 Start version: 1.0.0-125
Signed-off-by: janware DevOps <devops@janware.com>
2025-03-29 13:43:33 +00:00
144cb341b7 create-mkspec.sh: Remove -n $NAME from %prep
%prep is passed -n <name> option. This is considered an error by rpm
Release 4.20.1-1.1. It is superfluous anyway, because the name is communicated to rpm
via %setup -n <name> later in the %prep section. Remove the -n option.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-03-26 16:58:07 +00:00
e4535405c6 Release 1.0.0-124@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-02-22 12:59:37 +00:00
33a62c58f4 Start version: 1.0.0-124
Signed-off-by: janware DevOps <devops@janware.com>
2025-02-22 12:59:12 +00:00
ccc8725dff gettext.mk: Use pattern rule %.po: %pot
Currently, there's a  $(GETTEXT_PROJECT_PO): $(GETTEXT_POT) rule, but since
updates to the workflow now considers, allows and mandates one or multiple
*.pot files as the authoritative source for translations, make this a pattern
rule rather than only valid for $(GETTEXT_POT).

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-22 12:40:45 +00:00
10c3777a7d Release 1.0.0-123@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-02-22 10:20:32 +00:00
dbd978d7e8 Start version: 1.0.0-123
Signed-off-by: janware DevOps <devops@janware.com>
2025-02-22 10:20:05 +00:00
60ef137bc3 projects.mk, py-defs.mk, py-version.mk: Add py-version.mk
This commit adds py-version.mk, eliminating redundancy between projects.mk and
py-defs.mk in setting up the Python version early.
2025-02-22 09:04:17 +00:00
e53032ab9c gettext.mk: Support GETTEXT_INPUT_EXTS
GETTEXT_INPUT_EXTS takes a whitespace separated list of extensions which are
subsequently passed to find -name to locate source files which are meant to be
run through xgettext.

The first argument to find, translateme, is not really meant to exist, it's
just there to allow adding multiple extensions preceded by -o in a $(foreach)
loop.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-22 08:41:13 +00:00
ea8b90e46f Release 1.0.0-122@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-02-21 06:10:02 +00:00
9bdb265e95 Start version: 1.0.0-122
Signed-off-by: janware DevOps <devops@janware.com>
2025-02-21 06:09:37 +00:00
e20cb706a5 project.conf: Change OS dependency python -> python3
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-21 06:09:26 +00:00
252d93af00 Release 1.0.0-121@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-02-20 18:53:01 +00:00
e14c31ef82 Start version: 1.0.0-121
Signed-off-by: janware DevOps <devops@janware.com>
2025-02-20 17:53:31 +00:00
856dae7efa collect-installed-pkg-changes.sh: Ddefault packages to jw-pkg list
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-19 16:49:36 +00:00
39a558d3a1 gettext.mk: Try to re-organize workflow
Try to make the workflow a little more versatile. As of this commit,
.pot files are assumed to preexist, save $(GETTEXT_PROJECT_POT),
which can be generated from source, and should be committed, too.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-17 17:13:09 +00:00
a64cd918dd py-run.mk: Add dummy test target
Directories with py-run.mk error out on the test target, so add
a no-op test target.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-17 17:06:29 +00:00
a0b8deec21 htdocs.mk: Lint php files via prettier if it's installed
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-17 17:06:28 +00:00
77b2c49e28 conf.mk: Add dummy test target
Directories with conf.mk error out on the test target, so add
a no-op test target.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-17 17:06:26 +00:00
57e63b2582 gettext.mk: Create a LC_MESSAGES link to .
A directory with gettext.mk in it, provided it has a locale name, makes the
parent directory to a working localedir, which can be used from within the
janware source tree, so add it with the all target and remove it with clean.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-01-30 09:24:43 +00:00
d7106c7c10 Release 1.0.0-120@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-01-27 15:59:08 +00:00
f928843540 Start version: 1.0.0-120
Signed-off-by: janware DevOps <devops@janware.com>
2025-01-27 15:54:12 +00:00
07d9eeea42 py-mod.mk: Support PY_INIT_FILTER
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-01-27 15:00:40 +00:00
eb22977054 htdocs.mk: Run linters prettier and php -l with all target
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-01-16 08:17:25 +00:00
b181f76343 py-run.mk: Fix argument list (use $@ instead of $*)
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-01-15 19:32:23 +00:00
d4cddadc0e Release 1.0.0-119@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2024-12-22 15:43:49 +00:00
fb20fcdff4 Start version: 1.0.0-119
Signed-off-by: janware DevOps <devops@janware.com>
2024-12-22 15:43:13 +00:00
de893a0fe5 py-mod.mk: Fix bogus # export match in commented line
Signed-off-by: Jan Lindemann <jan@janware.com>
2024-12-22 14:06:09 +00:00
90ce1b5196 py-mod.mk: Fix bogus # export match on class {variable}
Signed-off-by: Jan Lindemann <jan@janware.com>
2024-12-18 17:14:23 +00:00
6fb6f1608f subdirs.mk: Don't use undefined $(FIND)
subdirs.mk uses $(FIND), which is defined in defs.mk, include that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2024-12-11 10:12:35 +00:00
49f4b42d0c doxygen.mk: Fix broken doxygen HTML generation invocation
doxygen needs to be called as

  doxygen -w html header-file footer-file stylesheet config-file

The invocation contains the logo, though, which has no business there.
Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2024-12-11 10:12:34 +00:00
349f1d2602 Makefile: Add target text-files-list-0
text-files-list-0 returns a zero-delimited list of text files for further
processing, which allows to correctly handle spaces in file names

Signed-off-by: Jan Lindemann <jan@janware.com>
2024-12-09 08:31:32 +00:00
c575537456 defs.mk / rules.mk: Add support for PACKAGE_INSTALL_DIR
PACKAGE_INSTALL_DIR, true by default, can be used to turn off
target dir creation from a directory to avoid duplication from
other packages

Signed-off-by: Jan Lindemann <jan@janware.com>
2024-12-06 14:35:59 +00:00
86ec95f6dc defs.mk / rules.mk: Add .target file support to LOCAL_SYSTEMD
Signed-off-by: Jan Lindemann <jan@janware.com>
2024-12-03 12:28:15 +00:00
4e405a5d1a py-mod.mk: Add support to # extract variables
Signed-off-by: Jan Lindemann <jan@janware.com>
2024-12-03 12:27:39 +00:00