Commit Graph

69 Commits

Author SHA1 Message Date
Matthias Melcher
a1d7593761 STR #1632: restored files to the original settings. I a no expert with build files, so I will leave this to someone who can fix this right. Matthias.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-03 15:49:59 +00:00
Matthias Melcher
d84e2832f7 Second aproach at solving the 'install -d' issue. I added a public domain script that supposedly solves the issue on every box. I also looke at 'install-sh', but found a bazillion of versions, doing so much more than we actually need. But I am open to sugestions, and happy to reverse my changes if something better comes along.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-03 12:33:20 +00:00
Matthias Melcher
40be03495d Remove the 'verbose' flag for directory creation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 15:12:09 +00:00
Matthias Melcher
ba562f87b9 STR #1632: replaced 'install -d' with 'mkdir -p', falling back to 'install' in case 'mkdir' could not be found (which I can't imagine happening. Now I hope that every implementation of 'mkdir' supports the '-p' flag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 15:01:37 +00:00
Matthias Melcher
6df72e8979 STR #1623: restored the unloved POSTBUILD command because the reulting executable is still better than the automatically foregrounding one. The 'right thing' is to create a bundle anyways.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:03:25 +00:00
Michael R Sweet
7d64ba5ec8 Newer autoconf defines "datarootdir", which "datadir" depends on. I still
don't know why they did this...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 19:17:47 +00:00
Michael R Sweet
44b2ff35cf Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Michael R Sweet
47fb93aa3c Update pthreads configure test to work on more platforms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-05 18:39:27 +00:00
Michael R Sweet
ef2dc5bd87 Add DSOFLAGS to DSOCOMMAND's, so that we inherit X_LIBS and other options
for linking of shared libs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-12 01:31:42 +00:00
Michael R Sweet
4db211dce1 Add missing man.6 rule...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 18:44:59 +00:00
Michael R Sweet
58699112db Fix use of LDFLAGS and make install depend on all target...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-25 19:06:56 +00:00
Michael R Sweet
eea2b38b34 Add --with-archflags option to configure script, and use it in the right
places.

Update changes file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 18:29:31 +00:00
Michael R Sweet
115d539691 More packaging fun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:36:16 +00:00
Michael R Sweet
887a458227 Work on Linux and OSX desktop integration stuff via make install and
packaging via EPM.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:16:09 +00:00
Michael R Sweet
4ba1119822 Workaround Solaris make problems...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 02:23:01 +00:00
Michael R Sweet
7dd1ddbeef FLTK now enables large file support when available (STR #1087)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 00:39:55 +00:00
Michael R Sweet
2f40b8b80b Start adding support for sound in Sudoku via ALSA.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-05 00:55:01 +00:00
Michael R Sweet
ff4722e07a Fix local image library link bug...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 16:00:53 +00:00
Michael R Sweet
b8dcdf4c64 Compilation could fail if a previous installation of FLTK was in
the same (non-standard) directory as an image library (STR #926)

configure.in:
    - Add LINKFLTKFORMS definition.
    - Change LINKFLTK* definitions to just reference the static
      libraries themselves.

makeinclude.in:
    - Use LINKFLTKFORMS and drop -L../lib stuff for static linking.

src/Makefile:
    - Move -L. in front of LDLIBS and IMGLIBS when linking shared
      libfltk_images.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:44:38 +00:00
Michael R Sweet
2eb4d42349 Move docdir definition to makeinclude.in (STR #824)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-21 11:24:18 +00:00
Michael R Sweet
1c399af444 Update source file headers with STR web page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:13:17 +00:00
Michael R Sweet
add37faa25 Copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24 21:55:12 +00:00
Michael R Sweet
bf910884cc Documentation updates (STR #570)
Added DESTDIR support and now remove all man pages for the
"uninstall" target (STR #545)

Fix PNG drawing on buggy WIN32 graphics cards (STR #548)

The configure script didn't propagate the CPPFLAGS environment
variable (STR #549)

The numpad keys didn't work properly on WIN32 (STR #502)

fl_input() and friends now set the input focus to the text field
when the dialog is shown (STR #553)

Fixed background color mixup when drawing Fl_Choice menus (STR
#544)

Fixed MingW makefiles (STR #550)

More VC++ project file tweaking (STR #559)

Fl_PNG_Image didn't use the png_set_trns_to_alpha function when
available (STR #547)

The FL_UNFOCUS event wasn't always sent when switching tabs (STR
#558)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:22:25 +00:00
Michael R Sweet
7ee19d1140 Fix local image library build bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-23 19:26:27 +00:00
Michael R Sweet
388a864ef7 Makefile and configure script support for image libs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-06 00:18:49 +00:00
Michael R Sweet
a3d0905c9e Copyright updates and prep for 1.1.5rc1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 04:39:01 +00:00
Michael R Sweet
00cb676e11 Copyright update for 1.1.3 release (not quite yet, but soon...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30 21:46:07 +00:00
Michael R Sweet
a81ea6a412 Use DSOLINK in the LINKSHARED definition.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-19 22:07:13 +00:00
Michael R Sweet
7e59022ea4 Add EXEEXT to end of FLUID name.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-05 17:58:16 +00:00
Michael R Sweet
1cfc6385dd BMP image loader fixes.
JPEG with Cygwin fix.

Make sure that all generated files are removed with a "make distclean".

Make sure we remove the autoconf cache directory when building the
source distribution.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-26 14:22:02 +00:00
Michael R Sweet
f461331f0f Don't put LDFLAGS_MIPSPRO in makeinclude files (where the hell did they
come from?)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-15 23:38:11 +00:00
Michael R Sweet
3346a9fee7 Change the Fl_Group current, add, and remove methods so they are no longer
inline; this should make shared libraries work better on all platforms.

Link FLUID against shared libraries, too, so that the installed fluid is
also using shared libraries (still make a statically linked fluid for the
build)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:03:31 +00:00
Michael R Sweet
6a6e4ab66c Separate the extra image functions into fltk_images.
Add new fl_register_images() function to register the extra file formats
with Fl_Shared_Image.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:04:37 +00:00
Michael R Sweet
5c360947ee Move forms code to fltk_forms library, a la 2.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:39:01 +00:00
Michael R Sweet
baad7096c1 LINKFLTK and LINKFLTKGL needed to point to ../lib.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-15 12:39:09 +00:00
Michael R Sweet
a721b4ad00 Doco and makefile updates from SGI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-15 02:17:19 +00:00
Michael R Sweet
7a82535b93 Revise configure script and makeinclude file to use OPTIM variable,
and to provide new "--with-optim=flags" option.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-13 19:17:36 +00:00
Michael R Sweet
64b4177ef4 Copyright updates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01 15:11:33 +00:00
Michael R Sweet
4ef0817b83 Disable threading by default.
Remove 2.0 FL_API defines from threads.h, since that header is not part
of the library.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-14 21:02:24 +00:00
Michael R Sweet
4982fb29a0 Clean up default menu for FLTK applications - don't need "About FLTK".
Add "--post program" option to fltk-config so that MacOS apps can bind
the resources.  Also binds resources with --compile.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-14 19:34:30 +00:00
Michael R Sweet
f15268f09f Fix .c.o and .cxx.o rules ($< instead of $@)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 21:57:17 +00:00
Matthias Melcher
ab896c6d5f FLTK 1.1.0 for Mac "Out Of The Box Experience": type 'make' and watch...
- updated configure.in and Makefiles to support Darwin (Mac OS X BSD
  environment)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 02:20:36 +00:00
Michael R Sweet
bc925b34c3 Tweek makeinclude.in so that we build from .o files instead of .cxx -> .exe
Same for .fl -> .exe in test/Makefile.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:24:49 +00:00
Michael R Sweet
85f3c6a3db Don't use -lm unless required.
Add --disable-cygwin option.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-20 20:10:59 +00:00
Michael R Sweet
1acc39c5d8 OK, lots of changes to the Fl_Image, Fl_Bitmap, Fl_Pixmap, and Fl_RGB_Image
classes: new copy(), copy(w,h), desaturate(), color_average(), and
inactive() methods, alloc_xyz member for copied data, etc.

Updated test programs to use inactive() and copy() methods to create
inactive images for the test buttons, plus the inactive button to toggle
it...

Added start of separate image classes, a la 2.0, for various image formats.
FLUID will also be updated for it...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 01:06:45 +00:00
Michael R Sweet
8b5a03d3a2 More CygWin stuff, and a fix for WIN32 with the new fl_beep() function.
Add a new "migration" appendix to the FLTK manual.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-18 12:48:38 +00:00
Michael R Sweet
406404de72 Update configure script to support non-X platforms; currently just
CygWin, soon OSX too...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17 15:55:36 +00:00
Michael R Sweet
06619abc5a Put "RM" back in makeincludes, so we can remove the library archive
before building (helps when you remove old sources, but the object
file lives on in the archive...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-27 03:33:25 +00:00
Michael R Sweet
9d81d971f7 Fl_HelpDialog and Fl_HelpView widgets.
"help" demo.

Minor doco updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 19:43:49 +00:00
Michael R Sweet
58b0f306be Don't build OpenGL demos if OpenGL is not available or disabled.
Fix depend rule for src directory (wasn't doing OpenGL files)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:15:44 +00:00