summaryrefslogtreecommitdiffstats
path: root/extra/fltk
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-16 23:16:46 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-16 23:16:46 +0100
commit83d1b5bf752f26bcb12cf722b54d4d170a32ba4d (patch)
treec039360edd3af87125d43224d4ae0c9a80e3795a /extra/fltk
parent0a8468ce9113dae86146a129d547030d0f875aa8 (diff)
downloadnutyx-pakxe-83d1b5bf752f26bcb12cf722b54d4d170a32ba4d.tar.gz
nutyx-pakxe-83d1b5bf752f26bcb12cf722b54d4d170a32ba4d.tar.bz2
nutyx-pakxe-83d1b5bf752f26bcb12cf722b54d4d170a32ba4d.tar.xz
nutyx-pakxe-83d1b5bf752f26bcb12cf722b54d4d170a32ba4d.zip
Ajout de fltk#r6960-1
Diffstat (limited to 'extra/fltk')
-rw-r--r--extra/fltk/.footprint215
-rw-r--r--extra/fltk/.md5sum2
-rw-r--r--extra/fltk/Pkgfile25
-rw-r--r--extra/fltk/scandir_posix.patch56
4 files changed, 298 insertions, 0 deletions
diff --git a/extra/fltk/.footprint b/extra/fltk/.footprint
new file mode 100644
index 000000000..8dab3c63c
--- /dev/null
+++ b/extra/fltk/.footprint
@@ -0,0 +1,215 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/fltk2-config
+-rwxr-xr-x root/root usr/bin/fluid2
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/fltk/
+-rw-r--r-- root/root usr/include/fltk/Adjuster.h
+-rw-r--r-- root/root usr/include/fltk/AlignGroup.h
+-rw-r--r-- root/root usr/include/fltk/AnsiWidget.h
+-rw-r--r-- root/root usr/include/fltk/BarGroup.h
+-rw-r--r-- root/root usr/include/fltk/Box.h
+-rw-r--r-- root/root usr/include/fltk/Browser.h
+-rw-r--r-- root/root usr/include/fltk/Button.h
+-rw-r--r-- root/root usr/include/fltk/CheckButton.h
+-rw-r--r-- root/root usr/include/fltk/Choice.h
+-rw-r--r-- root/root usr/include/fltk/Clock.h
+-rw-r--r-- root/root usr/include/fltk/Color.h
+-rw-r--r-- root/root usr/include/fltk/ColorChooser.h
+-rw-r--r-- root/root usr/include/fltk/ComboBox.h
+-rw-r--r-- root/root usr/include/fltk/Cursor.h
+-rw-r--r-- root/root usr/include/fltk/CycleButton.h
+-rw-r--r-- root/root usr/include/fltk/Dial.h
+-rw-r--r-- root/root usr/include/fltk/Divider.h
+-rw-r--r-- root/root usr/include/fltk/DoubleBufferWindow.h
+-rw-r--r-- root/root usr/include/fltk/FL_API.h
+-rw-r--r-- root/root usr/include/fltk/FL_VERSION.h
+-rw-r--r-- root/root usr/include/fltk/FileBrowser.h
+-rw-r--r-- root/root usr/include/fltk/FileChooser.h
+-rw-r--r-- root/root usr/include/fltk/FileIcon.h
+-rw-r--r-- root/root usr/include/fltk/FileInput.h
+-rw-r--r-- root/root usr/include/fltk/FillDial.h
+-rw-r--r-- root/root usr/include/fltk/FillSlider.h
+-rw-r--r-- root/root usr/include/fltk/Flags.h
+-rw-r--r-- root/root usr/include/fltk/FloatInput.h
+-rw-r--r-- root/root usr/include/fltk/Font.h
+-rw-r--r-- root/root usr/include/fltk/GlWindow.h
+-rw-r--r-- root/root usr/include/fltk/Group.h
+-rw-r--r-- root/root usr/include/fltk/HelpDialog.h
+-rw-r--r-- root/root usr/include/fltk/HelpView.h
+-rw-r--r-- root/root usr/include/fltk/HighlightButton.h
+-rw-r--r-- root/root usr/include/fltk/Image.h
+-rw-r--r-- root/root usr/include/fltk/Input.h
+-rw-r--r-- root/root usr/include/fltk/InputBrowser.h
+-rw-r--r-- root/root usr/include/fltk/IntInput.h
+-rw-r--r-- root/root usr/include/fltk/InvisibleBox.h
+-rw-r--r-- root/root usr/include/fltk/Item.h
+-rw-r--r-- root/root usr/include/fltk/ItemGroup.h
+-rw-r--r-- root/root usr/include/fltk/LabelType.h
+-rw-r--r-- root/root usr/include/fltk/LightButton.h
+-rw-r--r-- root/root usr/include/fltk/LineDial.h
+-rw-r--r-- root/root usr/include/fltk/Menu.h
+-rw-r--r-- root/root usr/include/fltk/MenuBar.h
+-rw-r--r-- root/root usr/include/fltk/MenuBuild.h
+-rw-r--r-- root/root usr/include/fltk/MenuWindow.h
+-rw-r--r-- root/root usr/include/fltk/Monitor.h
+-rw-r--r-- root/root usr/include/fltk/MultiBrowser.h
+-rw-r--r-- root/root usr/include/fltk/MultiImage.h
+-rw-r--r-- root/root usr/include/fltk/MultiLineInput.h
+-rw-r--r-- root/root usr/include/fltk/MultiLineOutput.h
+-rw-r--r-- root/root usr/include/fltk/NumericInput.h
+-rw-r--r-- root/root usr/include/fltk/Output.h
+-rw-r--r-- root/root usr/include/fltk/PackedGroup.h
+-rw-r--r-- root/root usr/include/fltk/PixelType.h
+-rw-r--r-- root/root usr/include/fltk/PopupMenu.h
+-rw-r--r-- root/root usr/include/fltk/Preferences.h
+-rw-r--r-- root/root usr/include/fltk/ProgressBar.h
+-rw-r--r-- root/root usr/include/fltk/RadioButton.h
+-rw-r--r-- root/root usr/include/fltk/RadioItem.h
+-rw-r--r-- root/root usr/include/fltk/RadioLightButton.h
+-rw-r--r-- root/root usr/include/fltk/Rectangle.h
+-rw-r--r-- root/root usr/include/fltk/RepeatButton.h
+-rw-r--r-- root/root usr/include/fltk/ReturnButton.h
+-rw-r--r-- root/root usr/include/fltk/ScrollGroup.h
+-rw-r--r-- root/root usr/include/fltk/Scrollbar.h
+-rw-r--r-- root/root usr/include/fltk/SecretInput.h
+-rw-r--r-- root/root usr/include/fltk/ShapedWindow.h
+-rw-r--r-- root/root usr/include/fltk/SharedImage.h
+-rw-r--r-- root/root usr/include/fltk/Slider.h
+-rw-r--r-- root/root usr/include/fltk/StatusBarGroup.h
+-rw-r--r-- root/root usr/include/fltk/StringList.h
+-rw-r--r-- root/root usr/include/fltk/Style.h
+-rw-r--r-- root/root usr/include/fltk/StyleSet.h
+-rw-r--r-- root/root usr/include/fltk/Symbol.h
+-rw-r--r-- root/root usr/include/fltk/SystemMenuBar.h
+-rw-r--r-- root/root usr/include/fltk/TabGroup.h
+-rw-r--r-- root/root usr/include/fltk/TextBuffer.h
+-rw-r--r-- root/root usr/include/fltk/TextDisplay.h
+-rw-r--r-- root/root usr/include/fltk/TextEditor.h
+-rw-r--r-- root/root usr/include/fltk/Threads.h
+-rw-r--r-- root/root usr/include/fltk/ThumbWheel.h
+-rw-r--r-- root/root usr/include/fltk/TiledGroup.h
+-rw-r--r-- root/root usr/include/fltk/TiledImage.h
+-rw-r--r-- root/root usr/include/fltk/ToggleButton.h
+-rw-r--r-- root/root usr/include/fltk/ToggleItem.h
+-rw-r--r-- root/root usr/include/fltk/Tooltip.h
+-rw-r--r-- root/root usr/include/fltk/Valuator.h
+-rw-r--r-- root/root usr/include/fltk/ValueInput.h
+-rw-r--r-- root/root usr/include/fltk/ValueOutput.h
+-rw-r--r-- root/root usr/include/fltk/ValueSlider.h
+-rw-r--r-- root/root usr/include/fltk/Widget.h
+-rw-r--r-- root/root usr/include/fltk/WidgetAssociation.h
+-rw-r--r-- root/root usr/include/fltk/Window.h
+-rw-r--r-- root/root usr/include/fltk/WizardGroup.h
+-rw-r--r-- root/root usr/include/fltk/WordwrapInput.h
+-rw-r--r-- root/root usr/include/fltk/WordwrapOutput.h
+-rw-r--r-- root/root usr/include/fltk/ask.h
+drwxr-xr-x root/root usr/include/fltk/compat/
+drwxr-xr-x root/root usr/include/fltk/compat/FL/
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Enumerations.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Adjuster.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Box.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Browser.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Button.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Chart.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Check_Button.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Choice.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Clock.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Color_Chooser.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Counter.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Dial.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Double_Window.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_File_Chooser.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Gl_Window.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Group.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Hold_Browser.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Hor_Slider.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Hor_Value_Slider.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Input.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Int_Input.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Light_Button.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Menu_.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Menu_Bar.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Menu_Button.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Menu_Item.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Output.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Overlay_Window.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Pack.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Pixmap.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Return_Button.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Roller.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Scroll.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Scrollbar.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Select_Browser.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Shared_Image.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Single_Window.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Slider.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Tabs.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Text_Buffer.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Text_Editor.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Tile.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Toggle_Button.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Toggle_Light_Button.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Valuator.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Value_Input.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Value_Output.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Value_Slider.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Widget.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/Fl_Window.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/filename.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/fl_ask.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/fl_draw.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/fl_message.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/forms.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/gl.h
+-rw-r--r-- root/root usr/include/fltk/compat/FL/glut.H
+-rw-r--r-- root/root usr/include/fltk/compat/FL/math.h
+-rw-r--r-- root/root usr/include/fltk/compat/FL/menubar.h
+-rw-r--r-- root/root usr/include/fltk/compat/FL/x.H
+-rw-r--r-- root/root usr/include/fltk/damage.h
+-rw-r--r-- root/root usr/include/fltk/dirent.h
+-rw-r--r-- root/root usr/include/fltk/draw.h
+-rw-r--r-- root/root usr/include/fltk/error.h
+-rw-r--r-- root/root usr/include/fltk/events.h
+-rw-r--r-- root/root usr/include/fltk/file_chooser.h
+-rw-r--r-- root/root usr/include/fltk/filename.h
+-rw-r--r-- root/root usr/include/fltk/fltk_cairo.h
+-rw-r--r-- root/root usr/include/fltk/forms.h
+-rw-r--r-- root/root usr/include/fltk/gl.h
+-rw-r--r-- root/root usr/include/fltk/gl2opengl.h
+-rw-r--r-- root/root usr/include/fltk/glut.h
+-rw-r--r-- root/root usr/include/fltk/layout.h
+-rw-r--r-- root/root usr/include/fltk/load_plugin.h
+-rw-r--r-- root/root usr/include/fltk/mac.r
+-rw-r--r-- root/root usr/include/fltk/math.h
+-rw-r--r-- root/root usr/include/fltk/osx.h
+-rw-r--r-- root/root usr/include/fltk/pnmImage.h
+-rw-r--r-- root/root usr/include/fltk/rgbImage.h
+-rw-r--r-- root/root usr/include/fltk/run.h
+-rw-r--r-- root/root usr/include/fltk/show_colormap.h
+-rw-r--r-- root/root usr/include/fltk/string.h
+-rw-r--r-- root/root usr/include/fltk/utf.h
+-rw-r--r-- root/root usr/include/fltk/visual.h
+-rw-r--r-- root/root usr/include/fltk/win32.h
+-rw-r--r-- root/root usr/include/fltk/x.h
+-rw-r--r-- root/root usr/include/fltk/x11.h
+-rw-r--r-- root/root usr/include/fltk/xbmImage.h
+-rw-r--r-- root/root usr/include/fltk/xpmImage.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libfltk2.a
+lrwxrwxrwx root/root usr/lib/libfltk2.so -> libfltk2.so.2.0
+-rwxr-xr-x root/root usr/lib/libfltk2.so.2.0
+-rw-r--r-- root/root usr/lib/libfltk2_gl.a
+lrwxrwxrwx root/root usr/lib/libfltk2_gl.so -> libfltk2_gl.so.2.0
+-rwxr-xr-x root/root usr/lib/libfltk2_gl.so.2.0
+-rw-r--r-- root/root usr/lib/libfltk2_glut.a
+lrwxrwxrwx root/root usr/lib/libfltk2_glut.so -> libfltk2_glut.so.2.0
+-rwxr-xr-x root/root usr/lib/libfltk2_glut.so.2.0
+-rw-r--r-- root/root usr/lib/libfltk2_images.a
+lrwxrwxrwx root/root usr/lib/libfltk2_images.so -> libfltk2_images.so.2.0
+-rwxr-xr-x root/root usr/lib/libfltk2_images.so.2.0
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+drwxr-xr-x root/root usr/share/man/man3/
diff --git a/extra/fltk/.md5sum b/extra/fltk/.md5sum
new file mode 100644
index 000000000..9a6b68dd6
--- /dev/null
+++ b/extra/fltk/.md5sum
@@ -0,0 +1,2 @@
+b9904cc9858a9d3ccdbf176c7b03a7d8 fltk-2.0.x-r6960.tar.bz2
+d0f5ec16a536efe1c5a3f3137c9e15cb scandir_posix.patch
diff --git a/extra/fltk/Pkgfile b/extra/fltk/Pkgfile
new file mode 100644
index 000000000..180e5adf2
--- /dev/null
+++ b/extra/fltk/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Boîte à outils multiplatforme C++
+# URL: http://www.fltk.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libjpeg libpng xorg-libxft xorg-libxi xorg-libxinerama
+
+name=fltk
+version=r6960
+release=1
+source=(http://ftp.easysw.com/pub/fltk/snapshots/fltk-2.0.x-$version.tar.bz2\
+ scandir_posix.patch)
+build() {
+ cd $name-*
+# patch -Np0 -i ../scandir_posix.patch
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-threads \
+ --enable-shared \
+ --enable-xft
+ sed -i "s/glut\ test/glut/" Makefile
+ make
+ make -e prefix=$PKG/usr mandir=$PKG/usr/share/man install
+ rm -rf $PKG/usr/share/doc
+}
diff --git a/extra/fltk/scandir_posix.patch b/extra/fltk/scandir_posix.patch
new file mode 100644
index 000000000..1ac986e35
--- /dev/null
+++ b/extra/fltk/scandir_posix.patch
@@ -0,0 +1,56 @@
+Index: configh.in
+===================================================================
+--- configh.in (revision 6827)
++++ configh.in (working copy)
+@@ -182,6 +182,7 @@
+ #undef HAVE_SYS_DIR_H
+ #undef HAVE_NDIR_H
+ #undef HAVE_SCANDIR
++#undef HAVE_SCANDIR_POSIX
+
+ /* If not set fltk will define it's own versions of these string
+ functions. By including the fltk/string.h header file you will
+Index: src/filename_list.cxx
+===================================================================
+--- src/filename_list.cxx (revision 6826)
++++ src/filename_list.cxx (working copy)
+@@ -62,6 +62,9 @@
+ // This version is when we define our own scandir (WIN32 and perhaps
+ // some Unix systems):
+ int n = scandir(d, list, 0, sort);
++#elif defined(HAVE_SCANDIR_POSIX)
++ // POSIX (2008) defines the comparison function like this:
++ int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
+ #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
+ int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
+ #elif defined(__hpux) || defined(__CYGWIN__)
+Index: configure.in
+===================================================================
+--- configure.in (revision 6826)
++++ configure.in (working copy)
+@@ -333,6 +333,25 @@
+ AC_DEFINE(HAVE_SCANDIR)
+ fi])
+
++dnl Do we have the POSIX compatible scandir() prototype?
++AC_CACHE_CHECK([whether we have the POSIX compatible scandir() prototype],
++ ac_cv_cxx_scandir_posix,[
++ AC_LANG_SAVE
++ AC_LANG_CPLUSPLUS
++ AC_TRY_COMPILE([
++ # include <dirent.h>
++ int func (const char *d, dirent ***list, void *sort) {
++ int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
++ }
++ ],[
++ ], ac_cv_cxx_scandir_posix=yes, ac_cv_cxx_scandir_posix=no)
++ AC_LANG_RESTORE
++ ])
++
++if test "$ac_cv_cxx_scandir_posix" = yes; then
++ AC_DEFINE(HAVE_SCANDIR_POSIX)
++fi
++
+ dnl String headers and functions...
+ AC_CHECK_HEADER(string.h,AC_DEFINE(HAVE_STRING_H))
+ AC_CHECK_HEADER(strings.h,AC_DEFINE(HAVE_STRINGS_H))