Christophe de Dinechin
e33224e9ef
Integration of Fedora packaging
...
- Put %package first (style, comment #11 of BZ#1689277)
- Integrate fixes for minor issues found building SPICE
2019-03-19 22:39:07 +01:00
Christophe de Dinechin
9e8ff0819f
Use absolute path of $(MIQ) to find x11.pc
...
Recent changes in make-it-quick removed the need to pass the MIQ
variable from the command line. It used to be passed using $(abspath...)
so the $(abspath ...) needs to be added into the macOS-specific config.
2019-03-19 15:58:14 +01:00
Christophe de Dinechin
6c4528ab6f
Whitespace normalization
2019-03-19 15:58:14 +01:00
Christophe de Dinechin
0ca010cfdf
Release 0.2.3: Address packaging comments
...
- Address packaging comments made during Fedora packaging review.
- Rebase on a master branch that has fixes for mingw install and macOS test
2019-03-18 11:28:43 +01:00
Christophe de Dinechin
c8aa5562e5
Follow GNU guidelines regarding GPLv3
...
- Rename LICENSE to COPYING
- Add recommended header in each file
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
0d32ad71f8
Integrate Fedora packaging review comments
...
See https://bugzilla.redhat.com/show_bug.cgi?id=1689277#c7
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
470dbb60f6
Minor whitespace adjustment
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
07d11a2a41
Release 0.2.2: Address packaging issues reported by rpmlint
...
- Presence of .c files in a non-devel package
- Non-binary in /usr/lib, moved config files to /usr/share
- Incoherent version number in change log
- Handling of documentation (added support to make-it-quick)
# Please enter the commit message for your changes. Lines starting
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
8031dd771f
Add support for DOC_INSTALL
...
Follow the pattern of %doc on Fedora
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
8a683f1135
A better way to configure the target installation
...
This addresses two issues:
- There was a mixup between the installed config.system-setup.mk
and the one being used for installation, which could lead to
build fragility / difficulty to reproduce.
- Making `make install` and `rpmbuild` consistent in what is
being installed and produced.
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
08959dbd71
Restore SHR_INSTALL in list of items to install
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
46d167ca66
Add PREFIX_SBIN, PREFIX_LIBEXEC and PREFIX_VAR
...
There are no corresponding installation rules yet
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
246604d8c3
Make sure that what we install is built before we try installing it
...
For example, a header may be generated, and needs to be built
before we can install it.
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
f3b756b626
Fix rpmlint-reported inconsistency in version numbering
2019-03-18 11:10:18 +01:00
Christophe de Dinechin
78d7004678
Fix installation on mingw variants
...
The introduction of INSTALL_DATA broke `make install` by adding
an extraneous -m option:
[BEGIN] opt mingw in [top]
[INSTALL] check_clearenv.c in /d/jenkins/mingw32/workspace/Make-It-Quick/J_TARGET/install/OS/mingw32/install-path/lib/make-it-quick/config
cp: unknown option -- m
2019-03-17 22:16:45 +01:00
Christophe de Dinechin
4ea91ae183
Repair broken testing under macOS
...
This happens to work if you are testing in the work directory,
but it was broken under Jenkins
2019-03-16 19:44:54 +01:00
Christophe de Dinechin
e3d10e4cdd
v0.2.1 Support for installing man pages
...
- Ability to install man pages in either nroff/groff or pod format
- Fix for MIQ path in make-it-quick examples
2019-03-12 14:03:36 +01:00
Christophe de Dinechin
b55b6b8694
If make-it-quick is installed, don't update MIQ path as we go
2019-03-12 14:02:27 +01:00
Christophe de Dinechin
14a2be96b0
Add support for man page generation and installation
...
Man pages are installed gzipped by default, and can be generated
from .pod files using pod2man.
2019-03-12 14:02:27 +01:00
Christophe de Dinechin
8914a36a4a
v0.2 Improved packaging support, Haiku and FreeBSD platforms
...
- Installable package for Fedora and OpenSUSE
- Add preliminary support for Haiku and FreeBSD
- Several bug fixes
2019-03-12 14:02:27 +01:00
Christophe de Dinechin
d4567d429d
Add a default PRODUCTS_VERSION
2019-03-11 08:43:01 +01:00
Christophe de Dinechin
3d25a8dcdf
Do not generate useless -rpath options
2019-03-11 08:43:01 +01:00
Christophe de Dinechin
42c96f890b
Split system-wide setup and local setup
...
The local setup is used during the build, e.g. includes BUILDROOT.
The system setup is used after installation
2019-03-11 08:43:01 +01:00
Christophe de Dinechin
5d3414182b
Create .spec file for Fedora packaging
2019-03-11 08:43:01 +01:00
Christophe de Dinechin
06093ff0b5
Show the comment from 'configure' as a comment
...
This way, the output of configure can be used for example as
a shell script or makefile include
2019-03-09 13:48:45 +01:00
Christophe de Dinechin
ec4c992ffe
Install support files without execute permission
...
This is mostly to avoid getting warnings from fedpkg
2019-03-09 13:48:45 +01:00
Christophe de Dinechin
b0a7d70ad2
Add package information for make-it-quick
2019-03-09 13:48:45 +01:00
Christophe de Dinechin
8c48c933bf
Add DESTDIR for generated config.local-setup.mk
...
This is necessary for the variables to have the correct values
when building in a DESTDIR after running configure
2019-03-09 13:48:45 +01:00
Christophe de Dinechin
29a1312825
Split install directories from prefix directories
...
Earlier, $(PREFIX_LIB) would be the path for libraries,
but also for installation. That led makefiles to adjusting
the prefix in order to install in some subdirectory.
That does not work in a distro setup where PREFIX_BIN
and the like are provided by the build environment,
and represent the base of that build environment.
2019-03-09 13:48:45 +01:00
Christophe de Dinechin
34a8de9b1c
Fix the handling of dependency tracking in configure script.
2019-03-05 18:35:03 +01:00
Christophe de Dinechin
17d3e3d7e4
Add FreeBSD as a supported operating system
2018-11-21 17:45:47 +01:00
Christophe de Dinechin
04aa207539
Add support for Haiku
2018-11-21 12:42:13 +00:00
Christophe de Dinechin
f0ebcbe77f
Use $(MIQ_OBJDIR) in generated dependencies
...
This is to avoid a problem where MinGW GCC sometimes writes the
dependency as D:/path/to/obj.o, which confuses make.
2018-11-19 23:07:09 +01:00
Christophe de Dinechin
caf1021828
Tentatively restore the dependency post-processing code that had been removed
2018-11-19 18:59:32 +01:00
Christophe de Dinechin
2037bcc92c
Avoid running tests when no 'test' or 'check' target is invoked
2018-11-19 10:30:18 +01:00
Christophe de Dinechin
02f28c2f32
Fix check_glob.c
...
On ARM, the missing return 0 at end causes the program to return 16.
I believe that this is an error relative to the standard, but
in any case, it's worth fixing.
2018-11-17 17:55:07 +01:00
Christophe de Dinechin
3fcd9e674d
Add check for glob() function
2018-11-17 17:28:23 +01:00
Christophe de Dinechin
00f4186cfe
Add .gitignore file
2018-11-17 17:19:42 +01:00
Christophe de Dinechin
20cf6ace00
Add checks for various obsolete types
2018-11-17 11:45:16 +01:00
Christophe de Dinechin
9b4098a604
Add configuration define for MSYS
2018-11-17 11:34:33 +01:00
Christophe de Dinechin
e3ad6a1ebc
Fix link order for Cygwin and MinGW
...
Similar to what was done in b2e1f20c8b
for DLLs.
2018-11-16 19:00:22 +01:00
Christophe de Dinechin
db37db79cc
Fix regression in 'make test'
...
The regression was introduced in 96cad841f8
on Cygwin and macOS. The MIQ_DLLNAME variable used $(@F) instead of $@.
The Jenkins setup failed to see the problem because it rebuilt
on top of existing directories that were pruned with existing libraries.
Added a second build after `git clean -dfx` in Jenkins to catch that.
2018-11-09 19:38:44 +01:00
Christophe de Dinechin
cfff8871b6
Remove duplication of TESTS and BENCHMARKS in example
...
Probably the result of some rebase :-(
2018-11-09 19:25:29 +01:00
Christophe de Dinechin
ce6b35154a
Fix NEWS generation in `make dist`
...
Avoid overwriting existing NEWS entries for the current tag
2018-11-09 18:48:23 +01:00
Christophe de Dinechin
96cad841f8
Reorder numbering for shared libraries with extensions
...
On systems that rely on extensions to identify a shared library
(macOS and cygwin), then move from "libfoo.dll.1" to "libfoo.1.dll"
2018-11-09 15:45:48 +01:00
Christophe de Dinechin
6987258cab
Fix cygwin DLL naming
...
Cygwin, like macOS, uses an extension to "recognize" something as being
a shared library. In that case, the extension is .dll.
Thinking about it, it's the naming in Linux that is illogical, in the
sense that the extension is before the count
2018-11-09 11:53:44 +01:00
Christophe de Dinechin
3574cb6d2f
Add HAVE_DRAND48 check for drand48() function
2018-11-04 17:59:18 +01:00
Christophe de Dinechin
b2e1f20c8b
Adjustments based on recent observations made on MinGW
...
MinGW now seems to be able to cope with the -rpath option in ld.
However, it's necessary to place LDFLAGS after objects, as observed
with BUILDENV-specific LDFLAGS, i.e. LDFLAGS_BUILDENV_mingw=-lregex
2018-11-04 17:45:32 +01:00
Christophe de Dinechin
86fd196813
Repair the test target
...
Add .build target to MIQ_BUILD_TEST explicitly, to avoid one extra
step that introduces a circular dependency which breaks the test build.
2018-10-27 13:12:40 +02:00
Christophe de Dinechin
e2df1851de
Add missing trailing / to what is generated by configure script
2018-09-20 17:29:56 +02:00