Some upstream patches are added based upon the following:

TigerVNC requires FLTK 1.3.0 (or later). Although it will build and work
with plain 1.3.0, to get full functionality and the best behaviour the
following patches are needed

# Export dead key information from FLTK to the apps
# http://www.fltk.org/str.php?L2599

# Notify applications of changes to the clipboard
# http://www.fltk.org/str.php?L2636

# Ability to convert a Fl_Pixmap to a Fl_RGB_Image
# http://www.fltk.org/str.php?L2659

# Support for custom cursors
# http://www.fltk.org/str.php?L2660

# Improve modality interaction with WM
# http://www.fltk.org/str.php?L2802

# Window icons
# http://www.fltk.org/str.php?L2816

# Multihead
# http://fltk.org/str.php?L2860
This commit is contained in:
richard 2014-01-05 09:15:06 +00:00
parent 4689ce080e
commit 96e427152d
2 changed files with 98 additions and 5 deletions

View file

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.14 2013/12/11 15:45:33 jperkin Exp $
# $NetBSD: Makefile,v 1.15 2014/01/05 09:15:06 richard Exp $
DISTNAME= fltk-1.3.2-source
PKGNAME= ${DISTNAME:S/-source//}
VERS= ${DISTNAME:S/fltk-//:S/-source//}
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://fltk.org/pub/fltk/${VERS}/
@ -13,6 +14,56 @@ LICENSE= gnu-lgpl-v2
CONFLICTS= fltk-1.[012].*
DIST_SUBDIR= fltk13
#TigerVNC requires FLTK 1.3.0 (or later). Although it will build and work
#with plain 1.3.0, to get full functionality and the best behaviour the
#following patches are needed
# Export dead key information from FLTK to the apps
# http://www.fltk.org/str.php?L2599
PATCHFILES= fltk-1_v4.3.x-keyboard-x11.patch \
fltk-1_v4.3.x-keyboard-win32.patch \
fltk-1_v6.3.x-keyboard-osx.patch
PATCH_SITES= http://www.fltk.org/strfiles/2599/
# Notify applications of changes to the clipboard
# http://www.fltk.org/str.php?L2636
PATCHFILES+= fltk-1.3.x-clipboard.patch \
fltk-1_v5.3.x-clipboard-x11.patch \
fltk-1_v3.3.x-clipboard-win32-fix.patch \
fltk-1_v2.3.x-clipboard-win32.patch \
fltk-1_v2.3.x-clipboard-osx.patch
PATCH_SITES+= http://www.fltk.org/strfiles/2636/
# Ability to convert a Fl_Pixmap to a Fl_RGB_Image
# http://www.fltk.org/str.php?L2659
PATCHFILES+= pixmap_v2.patch
PATCH_SITES+= http://www.fltk.org/strfiles/2659/
# Support for custom cursors
# http://www.fltk.org/str.php?L2660
PATCHFILES+= fltk-1_v5.3.x-cursor.patch
PATCH_SITES+= http://www.fltk.org/strfiles/2660/
# Improve modality interaction with WM
# http://www.fltk.org/str.php?L2802
PATCHFILES+= fltk-1_v2.3.0-modal.patch
PATCH_SITES+= http://www.fltk.org/strfiles/2802/
# Window icons
# http://www.fltk.org/str.php?L2816
PATCHFILES+= fltk-1_v3.3.0-icons.patch
PATCH_SITES+= http://www.fltk.org/strfiles/2816/
# Multihead
# http://fltk.org/str.php?L2860
PATCHFILES+= fltk-1.3.x-screen_num.patch \
fltk-1_v3.3.x-multihead.patch
PATCH_SITES+= http://www.fltk.org/strfiles/2860/
PATCH_DIST_STRIP= -p1
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
USE_LANGUAGES= c c++
USE_LIBTOOL= yes

View file

@ -1,8 +1,50 @@
$NetBSD: distinfo,v 1.4 2013/07/13 19:44:54 joerg Exp $
$NetBSD: distinfo,v 1.5 2014/01/05 09:15:06 richard Exp $
SHA1 (fltk-1.3.2-source.tar.gz) = 25071d6bb81cc136a449825bfd574094b48f07fb
RMD160 (fltk-1.3.2-source.tar.gz) = 5d697cb582cb80a1eca50c35696731eea5591768
Size (fltk-1.3.2-source.tar.gz) = 4260874 bytes
SHA1 (fltk13/fltk-1.3.2-source.tar.gz) = 25071d6bb81cc136a449825bfd574094b48f07fb
RMD160 (fltk13/fltk-1.3.2-source.tar.gz) = 5d697cb582cb80a1eca50c35696731eea5591768
Size (fltk13/fltk-1.3.2-source.tar.gz) = 4260874 bytes
SHA1 (fltk13/fltk-1.3.x-clipboard.patch) = 4b28b804b2001c622d4fc316767e27511fa69bc3
RMD160 (fltk13/fltk-1.3.x-clipboard.patch) = 5bff97cb8b6503d92cf1bf95880198749890979a
Size (fltk13/fltk-1.3.x-clipboard.patch) = 3329 bytes
SHA1 (fltk13/fltk-1.3.x-screen_num.patch) = 182ed66a5c969049351f198de381f464e7476cac
RMD160 (fltk13/fltk-1.3.x-screen_num.patch) = ba710c0cb7a88027e0f54f0f58e4ecb8a377f093
Size (fltk13/fltk-1.3.x-screen_num.patch) = 4830 bytes
SHA1 (fltk13/fltk-1_v2.3.0-modal.patch) = 8b4640ade4bf7ef985648408073f7d7a22c82a72
RMD160 (fltk13/fltk-1_v2.3.0-modal.patch) = c5998624c0727a4ec429b1aa459a9ed4268c019b
Size (fltk13/fltk-1_v2.3.0-modal.patch) = 2553 bytes
SHA1 (fltk13/fltk-1_v2.3.x-clipboard-osx.patch) = fbfc652e640ea9aaa12dded00c91ffe73a695848
RMD160 (fltk13/fltk-1_v2.3.x-clipboard-osx.patch) = 7094f170b29a2a50ac8cdcd41f000982e6767d80
Size (fltk13/fltk-1_v2.3.x-clipboard-osx.patch) = 1066 bytes
SHA1 (fltk13/fltk-1_v2.3.x-clipboard-win32.patch) = 84d94737085e951a163cc6bfe26729d4a540f2c7
RMD160 (fltk13/fltk-1_v2.3.x-clipboard-win32.patch) = 15fff80cb09acd47afe38881a90d3917b6c4cd72
Size (fltk13/fltk-1_v2.3.x-clipboard-win32.patch) = 3030 bytes
SHA1 (fltk13/fltk-1_v3.3.0-icons.patch) = 78b53c7b952ca699a253717c04dfc68d77c66990
RMD160 (fltk13/fltk-1_v3.3.0-icons.patch) = e38b0b6fe382fe1799f5d18b4eb15c131c921da2
Size (fltk13/fltk-1_v3.3.0-icons.patch) = 17612 bytes
SHA1 (fltk13/fltk-1_v3.3.x-clipboard-win32-fix.patch) = dc19608d7ba073eb5293188422570c8103198ad8
RMD160 (fltk13/fltk-1_v3.3.x-clipboard-win32-fix.patch) = 5ec128881743247799434b55b4d6c5e25927cb17
Size (fltk13/fltk-1_v3.3.x-clipboard-win32-fix.patch) = 4979 bytes
SHA1 (fltk13/fltk-1_v3.3.x-multihead.patch) = 60ef2505beac83db5fde3188818839b17aa603d0
RMD160 (fltk13/fltk-1_v3.3.x-multihead.patch) = d114faabfcfd624c20a03539ae500ac9cc0471d6
Size (fltk13/fltk-1_v3.3.x-multihead.patch) = 16587 bytes
SHA1 (fltk13/fltk-1_v4.3.x-keyboard-win32.patch) = 0b56f2244ff8bf049d131c43366a26ad0aada8a3
RMD160 (fltk13/fltk-1_v4.3.x-keyboard-win32.patch) = 5ea75891e8fce7c0b46dd0bd3ded32dbb2953edb
Size (fltk13/fltk-1_v4.3.x-keyboard-win32.patch) = 8617 bytes
SHA1 (fltk13/fltk-1_v4.3.x-keyboard-x11.patch) = 163246d93e4ea6551d84dd81efc6c9bc61017b46
RMD160 (fltk13/fltk-1_v4.3.x-keyboard-x11.patch) = 34b6b96eb38fd2f231289ddce77b3ba8b2f7a5dc
Size (fltk13/fltk-1_v4.3.x-keyboard-x11.patch) = 9680 bytes
SHA1 (fltk13/fltk-1_v5.3.x-clipboard-x11.patch) = 1b1a1ca2d17b302520ff5e88562c67724103c21e
RMD160 (fltk13/fltk-1_v5.3.x-clipboard-x11.patch) = 796a7b8deb31cd8fca585d6ef6892d4578ed1662
Size (fltk13/fltk-1_v5.3.x-clipboard-x11.patch) = 11299 bytes
SHA1 (fltk13/fltk-1_v5.3.x-cursor.patch) = 299a86738988132c16ac2aa6260853712d20e234
RMD160 (fltk13/fltk-1_v5.3.x-cursor.patch) = f5e3077799df9705b4e293631f5b8be3eb91447c
Size (fltk13/fltk-1_v5.3.x-cursor.patch) = 50427 bytes
SHA1 (fltk13/fltk-1_v6.3.x-keyboard-osx.patch) = cb5e1eeb66710e7d38a9639516762efe5d9583d8
RMD160 (fltk13/fltk-1_v6.3.x-keyboard-osx.patch) = 4f0e2baa4f6db212d80f9d773840ed8c50cf110a
Size (fltk13/fltk-1_v6.3.x-keyboard-osx.patch) = 12256 bytes
SHA1 (fltk13/pixmap_v2.patch) = 334b6d570f95cd6759ac13a59fa20d63b05fbbd9
RMD160 (fltk13/pixmap_v2.patch) = d91fb98e3175a68e96095a7a7c5aa0fb53001086
Size (fltk13/pixmap_v2.patch) = 15506 bytes
SHA1 (patch-FL_Fl_Widget.H) = 718b1f0a5e61e728c093ef4b52c2be3675a7c0d1
SHA1 (patch-aa) = 777b293800af60ac508968946bcb9bc448c1ea00
SHA1 (patch-ab) = 2c50743af303ac4a153f14061271d99d589f6e86