From 18670714714e70846ab550a1318e87454d91da12 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 24 Dec 2009 09:22:39 +0100 Subject: [PATCH] fltk2: initial import (verified compilation) --- fltk2/.footprint | 205 +++++++++++++++++++++++++++++++++++++++++++++++ fltk2/.md5sum | 1 + fltk2/Pkgfile | 34 ++++++++ 3 files changed, 240 insertions(+) create mode 100644 fltk2/.footprint create mode 100644 fltk2/.md5sum create mode 100644 fltk2/Pkgfile diff --git a/fltk2/.footprint b/fltk2/.footprint new file mode 100644 index 0000000..a1e67d5 --- /dev/null +++ b/fltk2/.footprint @@ -0,0 +1,205 @@ +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_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 diff --git a/fltk2/.md5sum b/fltk2/.md5sum new file mode 100644 index 0000000..a81fbb3 --- /dev/null +++ b/fltk2/.md5sum @@ -0,0 +1 @@ +f78976d0ba1a5c845e14f4df96d580a0 fltk-2.0.x-r6970.tar.bz2 diff --git a/fltk2/Pkgfile b/fltk2/Pkgfile new file mode 100644 index 0000000..0ad2b19 --- /dev/null +++ b/fltk2/Pkgfile @@ -0,0 +1,34 @@ +# Description: Cross-platform C++ GUI toolkit +# URL: http://www.fltk.org/ +# Maintainer: Juergen Daubert juergen dot daubert at t-online dot de +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: libjpeg libpng xorg-libxft xorg-libxi + +name=fltk2 +version=2.0-r6970 +release=1 +source=(http://ftp.easysw.com/pub/fltk/snapshots/fltk-2.0.x-r6970.tar.bz2) + +build() { + cd fltk-2.0.x-r6970 + + export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" + export CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/libpng12" + export CXXFLAGS="$CFLAGS" + export LDFLAGS="-L$CLFS/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lX11 -lXi -lpng12" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --mandir=/usr/man \ + --enable-shared \ + --enable-xft + + sed -i Makefile -e 's|OpenGL||' -e 's|glut||' -e 's|test$||' + sed -i fluid/Makefile -e '/fltk2-config/d' + + make AR="$AR" RANLIB="$RANLIB" STRIP="$STRIP" + make DESTDIR=$PKG install AR="$AR" RANLIB="$RANLIB" STRIP="$STRIP" + + rm -r $PKG/usr/man +} -- 2.26.2