Commit Graph

84 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
397ae74674 Add pull-translations target
Add pull-translations target to make it easier to pull translations
from the Translation Project:

    make pull-translations
2021-12-12 16:35:47 +01:00
Hans Ulrich Niedermann
d18b440a72 Require gettext >= 0.18.3; remove GP_GETTEXT_HACK
This requires gettext version 0.18.3 or later, and it removes
the GP_GETTEXT_HACK which used to generate a po/Makevars file
from the po/Makevers.template.

gettext 0.18.3 is the same gettext version requirement
as libexif uses.

gettext 0.18.3 has been released 2013-07-07, which is
a similar timeframe of the autoconf, automake and libtool
releases we require.

If you ever need to build a post 2021 libgphoto2 from
git on a system with pre 0.18.3 gettext, you can can
always prepare a tarball using "make dist" on a system
with gettext 0.18.3 or later, and build that tarball
on the older machine.

Not generating the po/Makevars file any more means that
we need additional consistency checks for the parts of
po/Makevars which cannot be derived from the Autoconf
standard set of AC_SUBST()ed Makefile.in variables.
2021-12-10 21:47:34 +01:00
Hans Ulrich Niedermann
30ee10437b Only use a single gphoto-m4/ subdir
Only use a single gphoto-m4/ subdir - namely that in
libgphoto2_port/gphoto-m4/. This prevents us from
needing to synchronize the contents of the gphoto-m4/
and the libgphoto2_port/gphoto-m4/ directories.

We can do that by switching from recursive make for the
gphoto-m4 subdirectories to using

    include path/to/gphoto-m4/Makefile-files

from both the top-level Makefile.am and libgphoto2_port/Makefile.am
using %reldir% (introduced in automake 1.14).
2021-11-07 22:28:48 +01:00
Hans Ulrich Niedermann
69b3fc54bc Remove rpm packaging
While adding support for "make rpm" appeared to be a good idea in the
early 2000s, it really is not and only clutters up the build system.

At least the libgphoto2_port translation cannot have worked in the
rpm package since at least 5255d80210
from 2007-10-28, so it is a good guess that this has not really been
in use.
2021-10-19 11:08:54 +02:00
Hans Ulrich Niedermann
1b136a5def Remove cvs-tags make target
Remove the cvs-tags make target. CVS is over.
2021-10-09 17:18:41 +02:00
Marcus Meissner
f2aaae4020 added a SECURITY description 2020-01-26 15:42:16 +01:00
Hans Ulrich Niedermann
de98b151bc Convenience make targets for dealing with *.po files
Add convenience make targets for helping deal with *.po files:

    git-checkout-po
        Run "git checkout *.po" in all po/ subdirs.
        This can be useful after "make dist".

    update-po
        Run "make update-po" in all po/ subdirs.
2020-01-20 06:23:50 +01:00
Hans Ulrich Niedermann
c02ffbc1f1 Add $(AM_MAKEFLAGS) for every $(MAKE)
For every $(MAKE) use in Makefile.am or Makefile-files, we
add $(AM_MAKEFLAGS) so we can pass the make flags to the
called make subprocess.
2020-01-18 19:33:16 +01:00
Hans Ulrich Niedermann
dd43051e0d HACKING.md: dist HACKING.md, not removed HACKING file 2019-10-16 03:56:07 +02:00
Marcus Meissner
a04d39677f disable camera libraries for very old cameras by default.
They can be re-enabled for installation by

./configure --with-camlibs=all,outdated
2019-05-04 16:16:07 +02:00
Marcus Meissner
1f4772db48 oadded RELEASE HOWTO 2019-01-01 18:12:13 +01:00
Marcus Meissner
5ee86c427f remove README.in and generation of README, just ship README.md 2018-04-09 22:05:27 +02:00
Marcus Meissner
534a1e3a02 added gphoto-m4 to SUBDIRS for make dist 2015-10-17 12:31:34 +02:00
Marcus Meissner
12db94ab3c imported the libgphoto m4 tree 2015-08-01 13:04:09 +02:00
Marcus Meissner
a95d2ff1fd removed an obscure -I/usr/include/gphoto2 helper case
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14954 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-05-21 19:36:22 +00:00
Marcus Meissner
1c218c3862 added examples
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11343 67ed7778-7388-44ab-90cf-0a291f65f57c
2008-09-21 20:19:04 +00:00
Hans Ulrich Niedermann
38e0a7e469 install a few more doc files
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10659 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-09-06 21:59:38 +00:00
Hans Ulrich Niedermann
d511ed57d7 Get rid of dummy README file in SVN - by running automake with --foreign.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10635 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-09-03 21:57:46 +00:00
Hans Ulrich Niedermann
f70703c18a simplify selective install instructions
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10628 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-09-03 10:36:48 +00:00
Hans Ulrich Niedermann
02960d805a * Introduce FOO-uninstalled.pc files for both libgphoto2 and libgphoto2_port.
* Move FOO.pc to the top source directory.
 * Get rid of obsolete GP_AUTOGEN_SUBDIR macro.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10199 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-05-14 12:17:52 +00:00
Hans Ulrich Niedermann
a491e1ec4b remove autogen.sh, use auto-m4/ for automatically placed macros, use auto-aux/ subdir for config.guess & Co.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9794 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-12-30 09:27:54 +00:00
Hans Ulrich Niedermann
453010d1cf Shortcut for selective camlib install: "make DRIVERS='canon.la ptp2.la' install-drivers"
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9760 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-12-29 08:21:40 +00:00
Hans Ulrich Niedermann
b6781133de Remove bindings from libgphoto2 package
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9574 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-12-11 16:28:59 +00:00
Hans Ulrich Niedermann
fd692a071e Move header files one last time to reduce file path lengths in tarball.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9330 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-10-14 11:54:47 +00:00
Hans Ulrich Niedermann
9831fa553c Remove all OS/2 specific build files.
* These files have not been updated for years.
  * They probably don't work any more.
  * OS/2 files are missing for most of the system.
  * gphoto2-port-portability-os2.h has been integrated into
    gphoto2-port-portability.h (I wanted to get rid of the longest filename)
  * usb-os2.c is still there in libgphoto2_port/usb.
  * If someone wants to revive the OS/2 port, they are welcome to start
    based on the stuff removed or from scratch.
  * Perhaps it might be easier to just use the present
    GNU make/libtool build chain than fabricating something with nmake.



git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9280 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-10-06 18:41:05 +00:00
Hans Ulrich Niedermann
367842e323 merge NEWS and CHANGES into NEWS
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9270 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-10-04 20:40:00 +00:00
Hans Ulrich Niedermann
1a6fed08eb all-local hack not required any more
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9248 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-10-02 21:16:30 +00:00
Hans Ulrich Niedermann
8754ac5d38 make really sure that gphoto2/ is removed
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9242 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-09-30 10:05:33 +00:00
Hans Ulrich Niedermann
478b5d903e Have libgphoto2 use m4m/ not libgphoto2/m4/
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9233 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-09-29 17:09:12 +00:00
Hans Ulrich Niedermann
4b8a7c7514 configure/make cleanup removing about 60 lines of make/check/config code
* generate check- scripts from config.status
  * use libexecdir for print-* utilities
  * let utilsdir be defined from configure
  * require libexif >= 0.6.13; automatically update libgphoto2.pc with that.
  * get rid of "make check" local installation
  * moved some tests from "make check" to "make installcheck"
  * use one common rule file for "make installcheck"



git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9231 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-09-29 15:15:04 +00:00
Hans Ulrich Niedermann
c96bda51dd Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.
This moves the header files to a new subdirectory gphoto2 in both
  libgphoto2 and libphoto2_port/libgphoto2. All references are
  adapted appropriately.



git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9221 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-09-28 03:04:21 +00:00
Hans Ulrich Niedermann
1ba914ae69 Fix gphoto2/*.h generation: Do it at one place, at the right time.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9173 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-09-18 18:22:58 +00:00
Hans Ulrich Niedermann
15c1480e1b also create gphoto2/ directory with *.h in configure script
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8932 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-06-21 18:24:43 +00:00
Hans Ulrich Niedermann
45b5137b43 build C# (csharp) bindings if mono is installed
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8798 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-05-16 02:12:53 +00:00
Hans Ulrich Niedermann
64add067b5 explain gphoto2/ directory
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8476 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-01-12 13:04:15 +00:00
Hans Ulrich Niedermann
72f59fc98f make copying of header files less frightening (hide error messages)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8063 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-06-11 16:05:48 +00:00
Hans Ulrich Niedermann
e37a1f6179 'make clean' should not fail when directory is missing
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7928 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:31:30 +00:00
Hans Ulrich Niedermann
91b9516fd4 Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7831 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-14 18:38:18 +00:00
Hans Ulrich Niedermann
898ff8fe4b first part of new build system
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7829 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-14 18:14:09 +00:00
Hans Ulrich Niedermann
276acdb7f9 help building packages against libgphoto2 without first installing libgphoto2
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7763 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-09 18:59:32 +00:00
Hans Ulrich Niedermann
6071b886c5 use just ONE .PHONY target in order not to confuse automake
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6889 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-10-22 14:33:32 +00:00
Hans Ulrich Niedermann
d1a09a5499 correct cvs tag for RCs
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6839 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-10-18 20:35:27 +00:00
Hans Ulrich Niedermann
e03ca1383f another check...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6781 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-09-17 17:56:42 +00:00
Hans Ulrich Niedermann
79573b72a7 clarify source-code-check purpose for Arnaud :-)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6764 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-09-16 16:34:38 +00:00
Hans Ulrich Niedermann
114817830b # source code check maintenance task
#
#   This finds code patterns we don't want to have.
#
#   Use it to get rid of existing patterns and make sure they aren't
#   reintroduced later.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6758 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-09-16 14:34:39 +00:00
Hans Ulrich Niedermann
42176a5dd2 install more docs
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6065 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-01-11 05:07:39 +00:00
Hans Ulrich Niedermann
a972cea40b removed misguided attempt to create *.tar.bz2 dist packages
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5455 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-10-25 17:59:06 +00:00
Hans Ulrich Niedermann
b765587c90 removed misguided attempt to create *.tar.bz2 dist packages
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5454 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-10-25 17:57:15 +00:00
Hans Ulrich Niedermann
0c11396e8e moved definition of docdir from Makefile.am to m4 macros
made hotplug stuff installation location configurable


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5371 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-10-13 19:27:14 +00:00
Christophe Barbe
5d6162c7bd Use the previous order for SUBDIRS
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5356 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-10-06 20:39:06 +00:00