1. 05 Feb, 2019 1 commit
    • Jehan's avatar
      app, libgimpbase: --enable-relocatable-bundle replaces --enable-binreloc · 4d84c1d7
      Jehan authored
      Older --enable-binreloc configure option had basically the same purpose
      as the newer --enable-relocatable-bundle, though the old binreloc was
      only used for gimpenv.c code.
      As a consequence, commit 10ce7021 was still not working fine since
      gimp_installation_directory_file() also need binreloc enabled (to be
      actually relocatable).
      
      Let's get rid of this whole mess, by implying we want binreloc code to
      be used when --enable-relocatable-bundle is ON. We don't need the
      m4macros anymore, since AM_BINRELOC was basically just checking that
      `/proc/self/maps` was present. But anyway being present at compile time
      does not mean it will be at runtime (nor the opposite). So this test is
      not that useful. The binreloc code will anyway fallback gracefully to
      the non-binreloc code (i.e. trying to use build-time install paths) if
      the procfs is lacking at runtime.
      4d84c1d7
  2. 16 Jun, 2018 1 commit
    • Jehan's avatar
      m4macros, plug-ins: run more accurately the "python2" interpreter. · 42b13216
      Jehan authored
      Our configure test checks the presence of a Python2, but then uses
      "python" as interpreter, which is a problem nowadays as the default
      python is set to be Python 3 on some distributions (and this will be
      more and more the case). So GIMP may end up trying to run our plug-ins
      through Python 3 (which would fail) even if Python 2 is present.
      Now AM_PATH_PYTHON2() m4 macro will set $PYTHON to a more accurate
      Python version as priority.
      
      Similarly let's use "python2" in the binfmt string for extension search.
      
      (cherry picked from commit 03ea9cac)
      42b13216
  3. 29 May, 2018 1 commit
  4. 04 Apr, 2018 1 commit
  5. 04 Dec, 2017 1 commit
  6. 01 Jun, 2017 1 commit
    • Ell's avatar
      m4macros: add ax_gcc_func_attribute.m4 · e83e99db
      Ell authored
      Commit e64e61ca requires the
      AX_GCC_FUNC_ATTRIBUTE macro, which requires autoconf-archive, and
      might be too new for some distros we want to support.  Distribute
      it ourselves.
      
      Also, some fixes to the makefile and acinclude.m4
      e83e99db
  7. 23 Mar, 2017 1 commit
    • Jehan's avatar
      Bug 780270 - MinGW build fail on Windows (broken m4 macro). · 6cf26410
      Jehan authored
      BUILD_EXEEXT was not properly set (config macro AX_PROG_CC_FOR_BUILD).
      Apparently we need aclocal/automake version 1.13 or higher and to
      distribute ax_prog_cc_for_build.m4 ourselves to benefit from a fix
      released only in autoconf 2.69.
      Thanks to Éric Hoffman for reporting and investigating on this.
      
      Automake 1.13 apparently dates from 2012 and debian testing provides
      a newer version (automake 1.15) so it should be ok to update it. Also
      that's only a build dependency.
      6cf26410
  8. 08 Nov, 2015 1 commit
    • Michael Natterer's avatar
      m4macros: make detectcflags.m4 more reliable · 990c91f2
      Michael Natterer authored
      GIMP_DETECT_CFLAGS: pass -Werror to the compiler when checking for
      flags, so the macro fails if passing a flag only warns but doesn't
      cause the compiler to fail. Before, the compiler would warn about the
      flag for each file compiled.
      990c91f2
  9. 07 Sep, 2014 1 commit
  10. 30 May, 2014 1 commit
  11. 03 May, 2013 1 commit
  12. 27 Jan, 2013 2 commits
  13. 19 Jun, 2010 1 commit
  14. 31 Jan, 2010 1 commit
  15. 31 Jan, 2009 1 commit
  16. 30 Dec, 2006 1 commit
  17. 19 Feb, 2006 1 commit
    • Manish Singh's avatar
      introduce automake conditional USE_BINRELOC. · d0729e4c
      Manish Singh authored
      2006-02-19  Manish Singh  <yosh@gimp.org>
      
              * m4macros/binreloc.m4: introduce automake conditional USE_BINRELOC.
      
              * app/Makefile.am: ... and use the above here, so that -rpath is only
              specified when binreloc functionality is enabled. Fixes bug #331677.
      d0729e4c
  18. 11 Nov, 2005 1 commit
  19. 06 Nov, 2005 1 commit
    • Sven Neumann's avatar
      Added support for binary relocation by means of binreloc, largely based on · 39e866d9
      Sven Neumann authored
      2005-11-06  Sven Neumann  <sven@gimp.org>
      
      	Added support for binary relocation by means of binreloc, largely
      	based on a patch by Hongli Lai:
      
      	* m4macros/Makefile.am
      	* m4macros/binreloc.m4: new file providing a macro to check for
      	binreloc support.
      
      	* acinclude.m4
      	* configure.in: use the macro.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpreloc.[ch]: new files providing binreloc support
      	on Linux.
      
      	* libgimpbase/gimpenv.[ch]: use binreloc, provide a function to
      	initialize the environment machinery.
      
      	* libgimpbase/gimpbase.def: updated.
      
      	* app/Makefile.am: fiddle with the LDFLAGS for binreloc.
      
      	* app/main.c (main): gimp_env_init(FALSE).
      
      	* libgimp/gimp.c (gimp_main): gimp_env_init(TRUE).
      39e866d9
  20. 28 Aug, 2005 1 commit
  21. 21 Aug, 2005 1 commit
  22. 01 Aug, 2005 1 commit
    • Manish Singh's avatar
      acinclude.m4 m4macros/Makefile.am new macro: GIMP_DETECT_CFLAGS; used to · b55753bb
      Manish Singh authored
      2005-07-31  Manish Singh  <yosh@gimp.org>
      
              * acinclude.m4
              * m4macros/Makefile.am
              * m4macros/detectcflags.m4: new macro: GIMP_DETECT_CFLAGS; used
              to detect which of a set of compiler options a compiler supports.
      
              * configure.in: use the above for the altivec and -fno-strict-aliasing
              flags. Also, use it to detect the presence of -mmmx and -msse, since
              those are needed to compile even MMX/SSE assembly with gcc 4.0. Define
              MMX/SSE_EXTRA_CFLAGS.
      
              * app/composite/Makefile.am: compile each of the composite flavors
              into their own library, so we can use automake's per-target CFLAGS.
              Use MMX/SSE/ALTIVEC_EXTRA_CFLAGS in the appropriate places. Build
              libappcomposite.a out of the resulting objects.
      
              * app/composite/gimp-composite-3dnow.c
              * app/composite/gimp-composite-altivec.c
              * app/composite/gimp-composite-mmx.c
              * app/composite/gimp-composite-sse.c
              * app/composite/gimp-composite-sse2.c
              * app/composite/gimp-composite-vis.c
              * app/composite/make-installer.py: move the _init functions into
              the installers, so only actually mmx/sse/etc. code gets compiled
              under the appropriate CFLAGS.
      
              * app/composite/gimp-composite-3dnow-installer.c
              * app/composite/gimp-composite-altivec-installer.c
              * app/composite/gimp-composite-mmx-installer.c
              * app/composite/gimp-composite-sse-installer.c
              * app/composite/gimp-composite-sse2-installer.c
              * app/composite/gimp-composite-vis-installer.c: regenerated.
      
              * app/composite/gimp-composite.c: remove useless cpu-accel.h include.
      b55753bb
  23. 24 Jun, 2005 1 commit
    • Manish Singh's avatar
      split out into separate files... · cbee4c51
      Manish Singh authored
      2005-06-24  Manish Singh  <yosh@gimp.org>
      
              * acinclude.m4: split out into separate files...
      
              * m4macros/alsa.m4
              * m4macros/gimpprint.m4
              * m4macros/gtk-doc.m4
              * m4macros/pythondev.m4: ... and put them here.
      
              * m4macros/Makefile.am: dist the above files.
      cbee4c51
  24. 21 Mar, 2004 1 commit
  25. 29 Jan, 2004 1 commit
    • Michael Natterer's avatar
      reset binary age because of struct changes below. require GIMP 1.3.26. · e8843a23
      Michael Natterer authored
      2004-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: reset binary age because of struct changes below.
      	* m4macros/gimp-2.0.m4: require GIMP 1.3.26.
      
      	* libgimpmodule/gimpmodule.h
      	* libgimpmodule/gimpmoduledb.h
      	* libgimpthumb/gimpthumbnail.h
      	* libgimpwidgets/gimpbutton.h
      	* libgimpwidgets/gimpchainbutton.h
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.h
      	* libgimpwidgets/gimpcolordisplay.h
      	* libgimpwidgets/gimpcolordisplaystack.h
      	* libgimpwidgets/gimpcolornotebook.h
      	* libgimpwidgets/gimpcolorscale.h
      	* libgimpwidgets/gimpcolorselection.h
      	* libgimpwidgets/gimpcolorselector.h
      	* libgimpwidgets/gimpdialog.h
      	* libgimpwidgets/gimpfileentry.h
      	* libgimpwidgets/gimpmemsizeentry.h
      	* libgimpwidgets/gimpoffsetarea.h
      	* libgimpwidgets/gimppickbutton.h
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpsizeentry.h
      	* libgimpwidgets/gimpunitmenu.h: added 4 function pointers padding
      	to all class structures.
      e8843a23
  26. 22 Jan, 2004 1 commit
  27. 09 Jan, 2004 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.25, interface_age 1, binary age 1. · bd5827d0
      Sven Neumann authored
      2004-01-09  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.25, interface_age 1,
      	binary age 1.
      
      	* Makefile.am
      	* gimp-2.0.pc.in
      	* gimpthumb-2.0.pc.in
      	* gimpui-2.0.pc.in: renamed the pkg-config files.
      
      	* gimptool-2.0.in
      	* docs/Makefile.am
      	* docs/gimptool-2.0.1.in: renamed gimptool and it's manpage.
      
      	* gimp.spec.in
      	* m4macros/gimp-2.0.m4: changed accordingly.
      bd5827d0
  28. 07 Jan, 2004 1 commit
    • Sven Neumann's avatar
      gimp-1.3.pc.in don't use $VERSION because pkg-config and the like don't · 60413921
      Sven Neumann authored
      2004-01-07  Sven Neumann  <sven@gimp.org>
      
      	* gimp-1.3.pc.in
      	* gimpui-1.3.pc.in: don't use $VERSION because pkg-config and the
      	like don't like the 2.0pre version numbers. Instead create a
      	parseable version number from major, minor and micro version.
      
      	* m4macros/gimp-2.0.m4: check for 1.3.24 or newer.
      60413921
  29. 02 Nov, 2003 1 commit
  30. 21 Aug, 2003 1 commit
  31. 20 Jul, 2003 1 commit
    • Sven Neumann's avatar
      changed the gettext domain prefix to gimp20. · 1ea55851
      Sven Neumann authored
      2003-07-20  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: changed the gettext domain prefix to gimp20.
      
      	* m4macros/Makefile.am
      	* m4macros/gimp-1.4.m4: removed this file ...
      	* m4macros/gimp-2.0.m4: ... and readded it with a new name.
      	Changed the macro to AM_PATH_GIMP_2_0().
      
      	* configure.in: added --without-aa option as a way to work around
      	broken aalib installations.
      
      	* INSTALL: document --without-aa and --without-mng.
      1ea55851
  32. 29 Nov, 2001 1 commit
    • Sven Neumann's avatar
      use gimptool-1.3. · fdc31ec7
      Sven Neumann authored
      2001-11-29  Sven Neumann  <sven@gimp.org>
      
      	* m4macros/gimp-1.4.m4: use gimptool-1.3.
      
      	* app/display/gimpdisplayshell.c
      	* app/gui/gui.c: cosmetic changes from Guillermo S. Romero.
      
      	* plug-ins/common/*.c
      	* plug-ins/script-fu/script-fu-scripts.c: applied patches from
      	Guillermo S. Romero that change the button ordering. I had to redo
      	some of the changes by hand since the patches didn't apply cleanly.
      	Hopefully got it all right...
      fdc31ec7
  33. 13 Nov, 2001 1 commit
    • Michael Natterer's avatar
      small fix. · 3413a9ef
      Michael Natterer authored
      2001-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: small fix.
      
      	* configure.in: changed --disable-perl to --enable-perl because
      	it doesn't build properly at the moment.
      
      	* pixmaps/Makefile.am: removed stuff which is no longer there
      	from EXTRA_DIST.
      
      	* plug-ins/Makefile.am: put back the $(GIMP_PERL) line in SUBDIRS.
      
      	* app/widgets/gimpmenuitem.c. include "libgimpwidgets/gimpwidgets.h".
      
      	* data/Makefile.am
      	* data/brushes/Makefile.am
      	* data/gradients/Makefile.am
      	* data/palettes/Makefile.am
      	* data/patterns/Makefile.am: removed the old "files" hack and put
      	the stuff to EXTRA_DIST.
      
      	* app/Makefile.am
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint-funcs/Makefile.am
      	* app/pdb/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/widgets/gimpmenuitem.c
      	* app/xcf/Makefile.am
      	* cursors/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* m4macros/Makefile.am
      	* themes/Makefile.am
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/Makefile.am: removed "files" target.
      3413a9ef
  34. 28 Aug, 2001 1 commit
    • Sven Neumann's avatar
      removed redefinitions of libtool macros. We use the installed libtool now. · cae946ba
      Sven Neumann authored
      2001-08-28  Sven Neumann  <sven@gimp.org>
      
      	* acinclude.m4: removed redefinitions of libtool macros. We use the
      	installed libtool now. If this breaks the build for your system,
      	upgrade libtool. If that does not help, let us know.
      
      	* ltconfig
      	* ltmain.sh: removed these files. Newer versions of libtool don't use
      	ltconfig and ltmain.sh is taken from your libtool installation.
      
      	* autogen.sh: check for presence of libtool.
      
      	* Makefile.am
      	* configure.in
      	* gimp-remote.1.in
      	* gimp.1.in
      	* gimprc.5.in: removed man-pages from toplevel dir ...
      
      	* docs/Makefile.am
      	* docs/gimp-remote.1.in
      	* docs/gimp.1.in
      	* docs/gimprc.5.in
      	* docs/gimptool-1.4.1.in: ... and added them back here.
      
      	* gimp-1.4.m4: removed from toplevel dir ...
      
      	* m4macros/Makefile.am
      	* m4macros/gimp-1.4.m4: ... and added it back here.
      cae946ba