Commit graph

3,888 commits

Author SHA1 Message Date
f062a28c72 Start version: 1.0.0-136
Signed-off-by: janware DevOps <devops@janware.com>
2025-11-12 00:07:03 +00:00
cea804eac4 projects-dir.mk: Remove Makefile from CVS/Entries
The projects toplevel Makefile is not maintained in CVS anylonger but
in Git, so don't update it from CVS any longer.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-11 16:58:22 +01:00
35bfcf2e0f Release 1.0.0-135@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-11-07 11:40:34 +00:00
f84edf2a7e Start version: 1.0.0-135
Signed-off-by: janware DevOps <devops@janware.com>
2025-11-07 11:40:06 +00:00
c9ddeef8b4 projects-dir-minimal.mk: Don't clone jw-dev branch
Use the default branch to clone projects-dir-minimal.mk during
initialiazation of the build tree.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-07 12:27:16 +01:00
9147a78f2e projects-dir.mk: Don't hardcode Makefile name
"Makefile" is used in dependency checks within projects-dir.mk. Since
it might be included from projects-dir-minimal.mk, which also works
with "GNUmakefile", make this fallback of a predefinable variable,
PROJECTS_MAKEFILE_NAME.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-06 16:51:10 +01:00
51c1a1508d projects-dir.mk: Support JWBDIR_NAME and JWBDIR_SEARCH_PATH
Adapt projects makefile to match the mechanism all proj.mk's are
supposed to find their JWBDIR. Namely make JWBDIR_NAME a
conditionally assigned variable to allow for some testing of
alternative jw-build trees.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-05 12:49:29 +01:00
df4a295d79 Add git-projects-dir-[include|minimal].mk
In the attempt to move both jw-build and the janware toplevel
Makefile from CVS to Git, add two new makefile snippets to make/*.mk:

  - projects-dir-minimal.mk

    A new toplevel-Makefile for building all projects in one go. It
    should be suitable to be downloaded from janware.com/Makefile and
    then be used to bootstrap all repos hosted on janware.com, that a
    user has access to, just like the current toplevel Makefile is.

    It is as small as possible: Little code means few assumptions on
    what the world outside of it looks like, notably jw-build. This
    is desirable, because it lives outside of version control, albeit
    for a short while, and as long as it does, there's no mechanism
    in place to keep it current.

    That said, on first use, it replaces itself with a symbolic link
    into jw-build and is then version controlled with jw-build.

  - projects-dir-include.mk

    This is essentially the existing projects-dir.mk /
    toplevel-Makefile, which it includes. It's meant as a place for
    adaptations to the next-generation implementation. This might
    prove handy to have while both implementations coexist during the
    transition phase.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-03 22:28:08 +01:00
7b315dede5 Release 1.0.0-134@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-11-06 07:41:08 +00:00
4a3297791d Start version: 1.0.0-134
Signed-off-by: janware DevOps <devops@janware.com>
2025-11-06 07:40:38 +00:00
ec856711d2 conf.mk: Fix: Packages own /usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d is provided by the OS, don't include it in the package.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-06 07:24:32 +00:00
c9d89102c1 Release 1.0.0-133@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-10-22 23:17:05 +00:00
8617b1f20a Start version: 1.0.0-133
Signed-off-by: janware DevOps <devops@janware.com>
2025-10-22 23:16:31 +00:00
f82988dcc0 projects.py: Fix exception in error message (missing -devel package)
Missing -devel packages during build often lead to this:

	WARNING:  No project directory for module "dw-pi-playlist: No project
	path found for module "dw-pi-playlist"

but actually, the warning isn't correctly logged. Instead, an exception is
thrown. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-10-19 10:30:47 +00:00
350492f988 Release 1.0.0-132@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-09-21 23:08:45 +00:00
3c6fe1240f Start version: 1.0.0-132
Signed-off-by: janware DevOps <devops@janware.com>
2025-09-21 23:08:14 +00:00
eb3949d085 jw-pkg: Support -c option (template file attribute definition pattern)
jw-pkg determines the file attributes of template compilation output via a line
matching the '^#\s*conf' regular expression. Allow that regex to be configured.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-09-21 11:43:46 +00:00
64bc96624e htdocs.mk: Support HTML_STOPDIR_NAME
htdocs.mk's install relies on source code having its HTML contents installed in
a subdir called "htdocs". Make that choice a variable named
"HTML_STOPDIR_NAME".

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-09-21 11:43:45 +00:00
429270c6b8 Release 1.0.0-131@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-09-14 13:30:57 +00:00
948ec013fa Start version: 1.0.0-131
Signed-off-by: janware DevOps <devops@janware.com>
2025-09-14 13:30:21 +00:00
336d1a5133 make: Add definitions and rules for *.tmpfiles
Add support for *.tmpfiles. xxx.tmpfiles gets installed by conf.mk as
/usr/lib/tmpfiles.d/xxx.conf.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-09-14 13:29:04 +00:00
d6d296fb2d Release 1.0.0-130@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-09-13 12:06:35 +00:00
553fd98a62 Start version: 1.0.0-130
Signed-off-by: janware DevOps <devops@janware.com>
2025-09-13 12:06:01 +00:00
9b546592e1 jw-pkg: Honour #conf: line at top of template
Up to now, jw-pkg only evaluates config lines at the top of secret-tables. Look
for config patterns at the top of templates, too.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-09-13 10:46:53 +00:00
575b8e089d Release 1.0.0-129@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2025-07-16 16:34:02 +00:00
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