Commit graph

32 commits

Author SHA1 Message Date
82eb80979d bin, make, scripts: Re-add files necessary for packaging jw-build
Re-add all files necessary to package jw-build itself, i.e.
sucessfully run make pkg-rebuild-reinstall. This adds 1892 lines of
code.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 11:22:50 +01:00
bc883deed4 Everywhere: Remove everything non-essential for "make clean all"
This commit removes everything not strictly necessary for running
"make clean all" inside jw-build.

packaging jw-devtest. This cuts the repo down from 24077 to 4725
lines of code.

The idea is to

1) Further remove bloat from the remaining bits

2) Re-add what's necessary to build and package other essential repos.

   The decision should be based on whether or not jw-build can also be
   useful in a non-janware context.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 15:02:56 +01:00
d7da4f1cb8 mkspec-wrapper.sh: Fix append() for special characters
The append() shell function was unable to cope with special
characters, notably with () in RPM provides libnnz12.so()(64bit),
this commit fixes that. And introduces some (disabled) debug code
into projects.py.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-01-30 16:23:03 +00:00
f28afc777c make, scripts: Add support for [pkg.provides.xxx]
Add Support for manually specifying arbitrary package capabilities in
project.conf.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-01-07 14:34:58 +00:00
c6f81d4f4c mkspec-wrapper.sh: Support for --provides-run and --provides-devel
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-01-07 13:36:28 +00:00
6b740f72ff mkspec-wrappper.sh: Simplify getopt code
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-01-07 10:06:00 +00:00
0cb3f38258 mkspec-wrappper.sh: Minor code beautification
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-01-07 09:41:51 +00:00
c42e386c76 doc, make, scripts: Add support for [pkg.conflicts.xxx]
Since the packaging machinery is pretty complicated, the information about
conflicting packages had to be passed through many APIs. The last commit
contained a patch which is left in the tree to have it in one file, it actually
is identical to this commit's diff, though. Git would save me that quirk.

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-26 10:34:22 +00:00
ae02a96808 mkspec-wrapper.sh: Write install logs to /tmp/rpmbuild-<username>
Move rpmbuild installation to below /tmp/rpmbuild-<username>, in
order to avoid permission clashes. Note that this still produces
clashes if multiple packages are built concurrently by the same user.

Signed-off-by: Jan Lindemann <jan@janware.com>
2016-07-26 15:02:21 +00:00
61a4706c76 scripts: Use get_os.sh for packaging
Use get_os.sh for determining which distribution and version packages
are built for, and upload accordingly.

Signed-off-by: Jan Lindemann <jan@janware.com>
2015-06-01 12:20:25 +00:00
872348e810 create-mk*.sh: Make Debian packaging start a build
Further Debian packaging support, it now starts a build at least.

Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-26 12:28:07 +00:00
Jan Lindemann
40a26e607a mkspec-wrapper.sh: Fix .def, .exp and .lib in FILTER_DEVEL 2009-06-07 14:00:42 +00:00
Jan Lindemann
b31dc60604 mkspec-wrapper.sh: Add FILTER_DEVEL variable 2009-05-27 15:08:49 +00:00
Jan Lindemann
174f28778f mkspec-wrapper.sh: Split up REQUIRES in command line into REQUIRES_RUN and REQUIRES_DEVEL (-D) 2007-08-18 20:32:16 +00:00
Jan Lindemann
ee616728a5 mkspec-wrapper.sh: Remove -dev from release, because it confused rpmbuild 2007-08-15 02:55:07 +00:00
Jan Lindemann
2d0fc317e9 mkspec-wrapper.sh: Make INSTALL_LOG /tmp/rpmbuild/install.log (untested) 2007-08-14 12:48:38 +00:00
Jan Lindemann
7d89767100 mkspec-wrapper.sh: Now only setting INSTALL_LOG if it's not present in the environment 2005-10-15 17:35:40 +00:00
Jan Lindemann
aa4bc767d9 $(TOPDIR), make, scripts: Merged changes of V_1_1_5-2 -> V_1_1_5-2F3 2004-09-04 19:46:32 +00:00
Jan Lindemann
20394afcd8 mkspec-wrapper.sh: Remove unnessecary shift 2002-07-25 22:12:02 +00:00
Jan Lindemann
609c5b6fb3 rpmdist.mk, mkspec-wrapper.sh: Use all the required packages, seperated by spaces 2002-07-25 22:00:18 +00:00
Jan Lindemann
be9a26eaa4 mkspec-wrapper.sh: Add PROJECT to export statement 2002-07-11 18:59:23 +00:00
Jan Lindemann
3d62deb9af mkspec-wrapper.sh: Add -P to getopt arguments 2002-07-11 18:12:01 +00:00
Jan Lindemann
a9a6c44416 rpmdist.mk, mkspec-wrapper.sh: Add PROJECT 2002-07-11 17:05:55 +00:00
Jan Lindemann
51fd3ec4f1 VERSION, mkspec-wrapper.sh: Fix wrong REQUIRES_DEVEL variable (hopefully) 2002-07-10 21:21:02 +00:00
Jan Lindemann
227903c4c5 VERSION, mkspec-wrapper.sh: Fix wrong REQUIRES_DEVEL variable 2002-07-10 21:12:11 +00:00
Jan Lindemann
4f690e8f2b VERSION, mkspec-wrapper.sh: Fix wrong REQUIRES_DEVEL variable 2002-07-10 21:03:07 +00:00
Jan Lindemann
5992dbfd77 mkspec-wrapper.sh: -devel depends on -run
Include own -run package into dependencies for the -devel package.
2002-07-10 20:53:28 +00:00
Jan Lindemann
e8830a1f9e mkspec-wrapper.sh: Fix REQUIRED_XXX parsing 2002-07-10 18:58:25 +00:00
Jan Lindemann
996191d172 mkspec-wrapper.sh: Fix version number handling 2002-07-10 17:01:51 +00:00
Jan Lindemann
7c46fb240c mkspec-wrapper.sh: Exporting parsed variables 2002-07-10 16:57:59 +00:00
Jan Lindemann
bb0341d8ae mkspec-wrapper.sh: Add support for lesser / greater syntax in dependencies 2002-07-10 16:11:43 +00:00
Jan Lindemann
f7064331c7 mkspec-wrapper.sh: Add file 2002-07-10 15:39:28 +00:00