Commit Graph

25 Commits (master)

Author SHA1 Message Date
Mike Frysinger 0f9dd9627a use current macOS naming style consistently 2021-10-30 13:49:21 -04:00
Mike Frysinger 19d81dd3c7 getver: tweak awk for macOS
Maybe macOS wants a space after the -v option.
2021-04-24 23:46:25 -04:00
Mike Frysinger 4af36208b2 getver: fix shellcheck errors 2021-04-24 22:54:15 -04:00
Mike Frysinger 27da3a23e7 getver: rewrite from perl to shell+awk #535
People are more familiar with shell than perl at this point.
Fixes #535.
2021-04-24 22:48:24 -04:00
wilson chen 28ecfe77c8
fix #303: gdlib.pc: use Requires instead of Libs (#537) 2020-06-18 14:55:32 +08:00
Rosen Penev c494fb788e gdlib.pc: use prefixes for pkgconfig file
This allows the pkgconfig file to be properly used in cross compile
scenarios by overriding the prefix. Otherwise, it points to host
libraries.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-06 09:06:13 -04:00
Remi Collet 635dd9a306 distribute getlib.sh 2020-03-24 08:01:01 +01:00
wilson chen ecd68e478a
Fix #607: Add gdlib.pc.cmake to config/Makefile.am 2020-03-22 17:31:55 +08:00
Mike Frysinger dd76e8fcf2 generate & install gdlib.pc for cmake builds too #164 2018-01-10 01:56:10 -05:00
Mike Frysinger 5ebbd50cff cmake: add soname info to libgd.so
Pull out the library versioning info out of configure and into a common
script that both cmake & autotools can run.  This way we have a single
source of truth for the versioning info.
2016-11-10 09:09:14 -05:00
Mike Frysinger d62f608c7c gdlib-config: punt!
We've been shipping the pkg-config file for a while now and
want people to use that only, so drop this old script.

This also drop the FEATURES variable as it was only available
via `gdlib-config --features` (and no one has complained).
2016-10-06 13:44:48 -04:00
Mike Frysinger bdb28a62ce getver.pl: make it work regardless of cwd
If you try to run getver.pl from any dir other than the top source tree,
it won't be able to locate gd.h.  Use the FindBin module to handle this.
2016-07-24 00:49:59 +05:30
Mike Frysinger 6e054c42cf gdlib-config: mark it as deprecated #140
We want people to switch to the pkg-config file now.
2016-05-18 02:40:33 -04:00
Remi Collet 2618996ab1 missing file in archive, need for autoreconf 2015-03-24 06:52:12 +01:00
Chris Reuter 3c1202e5bb Added beginnings of an updated manual
This changeset adds scripts and frontmatter for a user manual
for LibGD.  The manual is written using naturaldoc.  That is, the
actual manual (minus some front-matter taken from the manual for
version 2.0.36) is generated from specially-formatted comments in
the source code.

bootstrap.sh has been modified to also trigger generation of the
manual.
2013-11-18 18:21:27 -05:00
Chris Reuter 16ccce66a3 Fixed a comment.
getver.pl comment referred to file src/version.h.  It should have
been src/gd.h.  This is now fixed.
2013-11-07 19:52:20 -05:00
Chris Reuter 4378b8ded4 gd.h now holds the canonical version number.
Up to now, the version numbers were defined in configure.ac and put
into gd.h by generating it from gd.h.in, replacing the values of
several C macros.  This violates the DRY principle, won't work on a
dumb build system, confuses some dev tools and is just a huge headache
in general.

This change makes gd.h (no longer generated) the home of the version
number and provides a script (config/getver.pl) which can extract the
requested version components from the header file.  configure.ac now
gets the version number from gd.h instead of vice versa.

In addition, there are now C functions that return the values of the
version macros.  This is for the benefit of non-C code using the
library without access to the header file.  It also provides a way to
get the version number of the library currently linked rather than the
header the program was compiled against.  (This could change if the
shared library is updated without recompiling the program using it.)
2013-11-07 19:44:45 -05:00
Mike Frysinger 839abeb35f punt generated files from the repo
These are created when people run autotools, so keeping a copy in the
git repo doesn't make much sense (nor is common).  Especially when we
don't keep the generated configure or Makefile.in files either.
2013-04-16 18:18:46 -04:00
Ondřej Surý 25a688908c Also list -lgd in gdlib-config --libs output 2013-04-14 09:42:38 +02:00
Ondřej Surý 071a2a94ee Add initial support for pkgconfig 2013-04-14 09:42:14 +02:00
Ondřej Surý e3aef49ddc Update config.rpath to a recent version 2013-04-12 09:06:17 +02:00
Ondřej Surý ac6222f945 Merge outstanding autotools changes 2013-04-08 09:12:06 +02:00
Vincent Bernat 90087507e6 Fix build with autotools.
`configure.ac` and `bootstrap.sh` are moved in the top directory.
`bootstrap.sh` is completed to execute `libtoolize`. The list of files
to clean is reduced. Other files can be cleaned with `make distclean`.

`src/Makefile.am` is fixed for missing `gd_nnquant.c` dependency.

`ACX_PTHREAD` macro is moved to a `m4` directory to make `configure.ac`
easier to read.

--HG--
branch : fix/autotools
rename : src/bootstrap.sh => bootstrap.sh
rename : src/configure.ac => configure.ac
2013-04-07 00:12:32 +02:00
tabe ba71fe37c0 optional features contain GD_FONTCONFIG. 2008-12-28 16:22:14 +00:00
pajoye 921499e5e7 - moved from src/config 2008-05-10 20:02:50 +00:00