graphics/ 40755 0 0 0 7550210026 10756 5ustar rootwheelgraphics/allegro/ 40755 0 0 0 7550210027 12404 5ustar rootwheelgraphics/allegro/patches/ 40755 0 0 0 7550210027 14033 5ustar rootwheelgraphics/allegro/patches/option.diff100644 0 0 1572 7550210027 16277 0ustar rootwheel--- configure.orig Mon Sep 30 13:54:18 2002 +++ configure Fri Oct 4 03:31:10 2002 @@ -1866,7 +1866,7 @@ echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-ldl $LIBS" +LIBS="$LIBS" cat > conftest.$ac_ext <&6 - LIBS="-ldl $LIBS" + LIBS="$LIBS" else echo "$ac_t""no" 1>&6 fi @@ -1997,7 +1997,7 @@ allegro_static_libraries=yes else LIBALLEG="lib/unix/lib${LIB_TO_LINK}-\$(shared_version).so lib/unix/lib${LIB_TO_LINK}_unsharable.a" - LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK}-\$(shared_version) -l${LIB_TO_LINK}_unsharable -lm" + LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK} -l${LIB_TO_LINK}_unsharable -lossaudio \${LIBS}" LINK_WITH_STATIC_LIBS=no allegro_shared_libraries=yes fi graphics/allegro/patches/patch-ab100644 0 0 1255 7550210027 15535 0ustar rootwheel$NetBSD$ --- makefile.in.orig Sat Aug 24 16:57:14 2002 +++ makefile.in Thu Sep 5 12:52:35 2002 @@ -36,6 +36,7 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_INFO = @INSTALL_INFO@ @@ -347,7 +348,7 @@ fi $(mkinstalldirs) $(DESTDIR)$(bindir) @echo Installing allegro-config to $(DESTDIR)$(bindir) - @$(INSTALL_PROGRAM) allegro-config $(DESTDIR)$(bindir) + @$(INSTALL_SCRIPT) allegro-config $(DESTDIR)$(bindir) @if test -n "$(LIBDIR)/liball*-$(shared_version).so"; then \ (cat /etc/ld.so.conf | grep $(libdir) >/dev/null || \ test $(libdir) = /lib || test $(libdir) = /usr/lib) \ graphics/allegro/DESCR100644 0 0 1131 7550210027 13260 0ustar rootwheelAllegro is a cross-platform library intended for use in computer games and other types of multimedia programming. It was initially conceived on the Atari ST, but that platform sadly died during childbirth. After a brief stay with Borland C, it was adopted by the fantastic djgpp compiler, where it grew to maturity. In the fullness of time it gave birth to children of its own, who went to live in such exotic locations as DirectX and the X Server, but the entire family is now back together again, living in harmony as a single portable entity. How about that for a mixture of metaphors? :-) graphics/allegro/Makefile100644 0 0 175 7550210027 14124 0ustar rootwheel# $NetBSD$ CONFIGURE_ARGS+= --enable-ossmidi=no CONFIGURE_ARGS+= --enable-ossdigi=no .include "../allegro/Makefile.common" graphics/allegro/PLIST.XFree86-4100644 0 0 73177 7550210027 14705 0ustar rootwheel@comment $NetBSD$ bin/allegro-config bin/colormap bin/dat bin/dat2c bin/dat2s bin/exedat bin/grabber bin/pack bin/pat2dat bin/rgbmap bin/textconv include/allegro.h include/allegro/3d.h include/allegro/3dmaths.h include/allegro/alcompat.h include/allegro/alinline.h include/allegro/alunixac.h include/allegro/base.h include/allegro/color.h include/allegro/compiled.h include/allegro/config.h include/allegro/datafile.h include/allegro/debug.h include/allegro/digi.h include/allegro/draw.h include/allegro/file.h include/allegro/fix.h include/allegro/fixed.h include/allegro/fli.h include/allegro/fmaths.h include/allegro/gfx.h include/allegro/gui.h include/allegro/inline/3dmaths.inl include/allegro/inline/asm.inl include/allegro/inline/color.inl include/allegro/inline/draw.inl include/allegro/inline/file.inl include/allegro/inline/fix.inl include/allegro/inline/fmaths.inl include/allegro/inline/gfx.inl include/allegro/inline/matrix.inl include/allegro/inline/rle.inl include/allegro/inline/system.inl include/allegro/internal/aintern.h include/allegro/internal/aintvga.h include/allegro/internal/alconfig.h include/allegro/joystick.h include/allegro/keyboard.h include/allegro/matrix.h include/allegro/midi.h include/allegro/mouse.h include/allegro/palette.h include/allegro/platform/aintbeos.h include/allegro/platform/aintdos.h include/allegro/platform/aintlnx.h include/allegro/platform/aintmac.h include/allegro/platform/aintqnx.h include/allegro/platform/aintunix.h include/allegro/platform/aintwin.h include/allegro/platform/al386gcc.h include/allegro/platform/al386vc.h include/allegro/platform/al386wat.h include/allegro/platform/albcc32.h include/allegro/platform/albecfg.h include/allegro/platform/albeos.h include/allegro/platform/aldjgpp.h include/allegro/platform/aldos.h include/allegro/platform/almac.h include/allegro/platform/almaccfg.h include/allegro/platform/almngw32.h include/allegro/platform/almsvc.h include/allegro/platform/alplatf.h include/allegro/platform/alqnx.h include/allegro/platform/alqnxcfg.h include/allegro/platform/alucfg.h include/allegro/platform/alunix.h include/allegro/platform/alunixac.h include/allegro/platform/alwatcom.h include/allegro/platform/alwin.h include/allegro/platform/macdef.h include/allegro/quat.h include/allegro/rle.h include/allegro/sound.h include/allegro/stream.h include/allegro/system.h include/allegro/text.h include/allegro/timer.h include/allegro/unicode.h include/linalleg.h include/xalleg.h lib/allegro/4.1/alleg-dga2.so lib/allegro/4.1/modules.lst @unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/lib/allegro/info/allegro.info lib/allegro/info/allegro.info @exec ${INSTALL_INFO} --info-dir=%D/info %D/lib/allegro/info/allegro.info lib/allegro/info/dir lib/allegro/man/man3/ASSERT.3 lib/allegro/man/man3/AUDIOSTREAM.3 lib/allegro/man/man3/BITMAP.3 lib/allegro/man/man3/COLOR_MAP.3 lib/allegro/man/man3/COMPILED_SPRITE.3 lib/allegro/man/man3/DATAFILE.3 lib/allegro/man/man3/DIALOG.3 lib/allegro/man/man3/DIALOG_PLAYER.3 lib/allegro/man/man3/FONT.3 lib/allegro/man/man3/GFX_MODE.3 lib/allegro/man/man3/GFX_MODE_LIST.3 lib/allegro/man/man3/JOYSTICK_BUTTON_INFO.3 lib/allegro/man/man3/JOYSTICK_INFO.3 lib/allegro/man/man3/JOYSTICK_STICK_INFO.3 lib/allegro/man/man3/JOYSTIC_AXIS_INFO.3 lib/allegro/man/man3/MASK_COLOR_15.3 lib/allegro/man/man3/MASK_COLOR_16.3 lib/allegro/man/man3/MASK_COLOR_24.3 lib/allegro/man/man3/MASK_COLOR_32.3 lib/allegro/man/man3/MASK_COLOR_8.3 lib/allegro/man/man3/MATRIX.3 lib/allegro/man/man3/MATRIX_f.3 lib/allegro/man/man3/MENU.3 lib/allegro/man/man3/MIDI.3 lib/allegro/man/man3/PACKFILE.3 lib/allegro/man/man3/PALETTE.3 lib/allegro/man/man3/QUAT.3 lib/allegro/man/man3/RGB.3 lib/allegro/man/man3/RGB_MAP.3 lib/allegro/man/man3/RLE_SPRITE.3 lib/allegro/man/man3/SAMPLE.3 lib/allegro/man/man3/TRACE.3 lib/allegro/man/man3/V3D.3 lib/allegro/man/man3/V3D_f.3 lib/allegro/man/man3/ZBUFFER.3 lib/allegro/man/man3/_getpixel.3 lib/allegro/man/man3/_getpixel15.3 lib/allegro/man/man3/_getpixel16.3 lib/allegro/man/man3/_getpixel24.3 lib/allegro/man/man3/_getpixel32.3 lib/allegro/man/man3/_putpixel.3 lib/allegro/man/man3/_putpixel15.3 lib/allegro/man/man3/_putpixel16.3 lib/allegro/man/man3/_putpixel24.3 lib/allegro/man/man3/_putpixel32.3 lib/allegro/man/man3/_set_color.3 lib/allegro/man/man3/_ustrdup.3 lib/allegro/man/man3/acquire_bitmap.3 lib/allegro/man/man3/acquire_screen.3 lib/allegro/man/man3/active_dialog.3 lib/allegro/man/man3/active_menu.3 lib/allegro/man/man3/adjust_sample.3 lib/allegro/man/man3/al_assert.3 lib/allegro/man/man3/al_ffblk.3 lib/allegro/man/man3/al_findclose.3 lib/allegro/man/man3/al_findfirst.3 lib/allegro/man/man3/al_findnext.3 lib/allegro/man/man3/al_trace.3 lib/allegro/man/man3/alert.3 lib/allegro/man/man3/alert3.3 lib/allegro/man/man3/allegro_404_char.3 lib/allegro/man/man3/allegro_error.3 lib/allegro/man/man3/allegro_exit.3 lib/allegro/man/man3/allegro_id.3 lib/allegro/man/man3/allegro_init.3 lib/allegro/man/man3/allegro_message.3 lib/allegro/man/man3/allocate_voice.3 lib/allegro/man/man3/append_filename.3 lib/allegro/man/man3/apply_matrix.3 lib/allegro/man/man3/apply_matrix_f.3 lib/allegro/man/man3/apply_quat.3 lib/allegro/man/man3/arc.3 lib/allegro/man/man3/bestfit_color.3 lib/allegro/man/man3/bitmap_color_depth.3 lib/allegro/man/man3/bitmap_mask_color.3 lib/allegro/man/man3/black_palette.3 lib/allegro/man/man3/blit.3 lib/allegro/man/man3/bmp_read_line.3 lib/allegro/man/man3/bmp_unwrite_line.3 lib/allegro/man/man3/bmp_write_line.3 lib/allegro/man/man3/broadcast_dialog_message.3 lib/allegro/man/man3/calc_spline.3 lib/allegro/man/man3/calibrate_joystick.3 lib/allegro/man/man3/calibrate_joystick_name.3 lib/allegro/man/man3/centre_dialog.3 lib/allegro/man/man3/check_cpu.3 lib/allegro/man/man3/circle.3 lib/allegro/man/man3/circlefill.3 lib/allegro/man/man3/clear.3 lib/allegro/man/man3/clear_bitmap.3 lib/allegro/man/man3/clear_keybuf.3 lib/allegro/man/man3/clear_scene.3 lib/allegro/man/man3/clear_to_color.3 lib/allegro/man/man3/clear_zbuffer.3 lib/allegro/man/man3/clip3d.3 lib/allegro/man/man3/clip3d_f.3 lib/allegro/man/man3/close_fli.3 lib/allegro/man/man3/color_map.3 lib/allegro/man/man3/config_is_hooked.3 lib/allegro/man/man3/cpu_capabilities.3 lib/allegro/man/man3/cpu_family.3 lib/allegro/man/man3/cpu_model.3 lib/allegro/man/man3/cpu_vendor.3 lib/allegro/man/man3/create_bitmap.3 lib/allegro/man/man3/create_bitmap_ex.3 lib/allegro/man/man3/create_blender_table.3 lib/allegro/man/man3/create_color_table.3 lib/allegro/man/man3/create_light_table.3 lib/allegro/man/man3/create_rgb_table.3 lib/allegro/man/man3/create_sample.3 lib/allegro/man/man3/create_scene.3 lib/allegro/man/man3/create_sub_bitmap.3 lib/allegro/man/man3/create_sub_zbuffer.3 lib/allegro/man/man3/create_system_bitmap.3 lib/allegro/man/man3/create_trans_table.3 lib/allegro/man/man3/create_video_bitmap.3 lib/allegro/man/man3/create_zbuffer.3 lib/allegro/man/man3/cross_product.3 lib/allegro/man/man3/cross_product_f.3 lib/allegro/man/man3/d_bitmap_proc.3 lib/allegro/man/man3/d_box_proc.3 lib/allegro/man/man3/d_button_proc.3 lib/allegro/man/man3/d_check_proc.3 lib/allegro/man/man3/d_clear_proc.3 lib/allegro/man/man3/d_ctext_proc.3 lib/allegro/man/man3/d_edit_proc.3 lib/allegro/man/man3/d_icon_proc.3 lib/allegro/man/man3/d_keyboard_proc.3 lib/allegro/man/man3/d_list_proc.3 lib/allegro/man/man3/d_menu_proc.3 lib/allegro/man/man3/d_radio_proc.3 lib/allegro/man/man3/d_rtext_proc.3 lib/allegro/man/man3/d_shadow_box_proc.3 lib/allegro/man/man3/d_slider_proc.3 lib/allegro/man/man3/d_text_list_proc.3 lib/allegro/man/man3/d_text_proc.3 lib/allegro/man/man3/d_textbox_proc.3 lib/allegro/man/man3/d_yield_proc.3 lib/allegro/man/man3/deallocate_voice.3 lib/allegro/man/man3/default_palette.3 lib/allegro/man/man3/delete_file.3 lib/allegro/man/man3/desktop_color_depth.3 lib/allegro/man/man3/desktop_palette.3 lib/allegro/man/man3/destroy_bitmap.3 lib/allegro/man/man3/destroy_compiled_sprite.3 lib/allegro/man/man3/destroy_font.3 lib/allegro/man/man3/destroy_gfx_mode_list.3 lib/allegro/man/man3/destroy_midi.3 lib/allegro/man/man3/destroy_rle_sprite.3 lib/allegro/man/man3/destroy_sample.3 lib/allegro/man/man3/destroy_scene.3 lib/allegro/man/man3/destroy_zbuffer.3 lib/allegro/man/man3/detect_digi_driver.3 lib/allegro/man/man3/detect_midi_driver.3 lib/allegro/man/man3/dialog_message.3 lib/allegro/man/man3/digi_recorder.3 lib/allegro/man/man3/do_arc.3 lib/allegro/man/man3/do_circle.3 lib/allegro/man/man3/do_dialog.3 lib/allegro/man/man3/do_ellipse.3 lib/allegro/man/man3/do_line.3 lib/allegro/man/man3/do_menu.3 lib/allegro/man/man3/do_uconvert.3 lib/allegro/man/man3/dot_product.3 lib/allegro/man/man3/dot_product_f.3 lib/allegro/man/man3/draw_character.3 lib/allegro/man/man3/draw_compiled_sprite.3 lib/allegro/man/man3/draw_gouraud_sprite.3 lib/allegro/man/man3/draw_lit_rle_sprite.3 lib/allegro/man/man3/draw_lit_sprite.3 lib/allegro/man/man3/draw_rle_sprite.3 lib/allegro/man/man3/draw_sprite.3 lib/allegro/man/man3/draw_sprite_h_flip.3 lib/allegro/man/man3/draw_sprite_v_flip.3 lib/allegro/man/man3/draw_sprite_vh_flip.3 lib/allegro/man/man3/draw_trans_rle_sprite.3 lib/allegro/man/man3/draw_trans_sprite.3 lib/allegro/man/man3/drawing_mode.3 lib/allegro/man/man3/ellipse.3 lib/allegro/man/man3/ellipsefill.3 lib/allegro/man/man3/empty_string.3 lib/allegro/man/man3/enable_triple_buffer.3 lib/allegro/man/man3/exists.3 lib/allegro/man/man3/fade_from.3 lib/allegro/man/man3/fade_from_range.3 lib/allegro/man/man3/fade_in.3 lib/allegro/man/man3/fade_in_range.3 lib/allegro/man/man3/fade_interpolate.3 lib/allegro/man/man3/fade_out.3 lib/allegro/man/man3/fade_out_range.3 lib/allegro/man/man3/file_exists.3 lib/allegro/man/man3/file_select.3 lib/allegro/man/man3/file_select_ex.3 lib/allegro/man/man3/file_size.3 lib/allegro/man/man3/file_time.3 lib/allegro/man/man3/find_allegro_resource.3 lib/allegro/man/man3/find_datafile_object.3 lib/allegro/man/man3/find_dialog_focus.3 lib/allegro/man/man3/fix_filename_case.3 lib/allegro/man/man3/fix_filename_path.3 lib/allegro/man/man3/fix_filename_slashes.3 lib/allegro/man/man3/fixacos.3 lib/allegro/man/man3/fixadd.3 lib/allegro/man/man3/fixasin.3 lib/allegro/man/man3/fixatan.3 lib/allegro/man/man3/fixatan2.3 lib/allegro/man/man3/fixceil.3 lib/allegro/man/man3/fixcos.3 lib/allegro/man/man3/fixdiv.3 lib/allegro/man/man3/fixed.3 lib/allegro/man/man3/fixfloor.3 lib/allegro/man/man3/fixhypot.3 lib/allegro/man/man3/fixmul.3 lib/allegro/man/man3/fixsin.3 lib/allegro/man/man3/fixsqrt.3 lib/allegro/man/man3/fixsub.3 lib/allegro/man/man3/fixtan.3 lib/allegro/man/man3/fixtof.3 lib/allegro/man/man3/fixtoi.3 lib/allegro/man/man3/fixtorad_r.3 lib/allegro/man/man3/fixup_datafile.3 lib/allegro/man/man3/fli_bitmap.3 lib/allegro/man/man3/fli_bmp_dirty_from.3 lib/allegro/man/man3/fli_bmp_dirty_to.3 lib/allegro/man/man3/fli_frame.3 lib/allegro/man/man3/fli_pal_dirty_from.3 lib/allegro/man/man3/fli_pal_dirty_to.3 lib/allegro/man/man3/fli_palette.3 lib/allegro/man/man3/fli_timer.3 lib/allegro/man/man3/floodfill.3 lib/allegro/man/man3/flush_config_file.3 lib/allegro/man/man3/font.3 lib/allegro/man/man3/for_each_file.3 lib/allegro/man/man3/free_audio_stream_buffer.3 lib/allegro/man/man3/freeze_mouse_flag.3 lib/allegro/man/man3/ftofix.3 lib/allegro/man/man3/generate_332_palette.3 lib/allegro/man/man3/generate_optimized_palette.3 lib/allegro/man/man3/get_align_matrix.3 lib/allegro/man/man3/get_align_matrix_f.3 lib/allegro/man/man3/get_audio_stream_buffer.3 lib/allegro/man/man3/get_camera_matrix.3 lib/allegro/man/man3/get_camera_matrix_f.3 lib/allegro/man/man3/get_color.3 lib/allegro/man/man3/get_compiled_sprite.3 lib/allegro/man/man3/get_config_argv.3 lib/allegro/man/man3/get_config_float.3 lib/allegro/man/man3/get_config_hex.3 lib/allegro/man/man3/get_config_id.3 lib/allegro/man/man3/get_config_int.3 lib/allegro/man/man3/get_config_string.3 lib/allegro/man/man3/get_config_text.3 lib/allegro/man/man3/get_datafile_property.3 lib/allegro/man/man3/get_desktop_resolution.3 lib/allegro/man/man3/get_display_switch_mode.3 lib/allegro/man/man3/get_executable_name.3 lib/allegro/man/man3/get_extension.3 lib/allegro/man/man3/get_filename.3 lib/allegro/man/man3/get_gfx_mode_list.3 lib/allegro/man/man3/get_mouse_mickeys.3 lib/allegro/man/man3/get_palette.3 lib/allegro/man/man3/get_palette_range.3 lib/allegro/man/man3/get_refresh_rate.3 lib/allegro/man/man3/get_rle_sprite.3 lib/allegro/man/man3/get_rotation_matrix.3 lib/allegro/man/man3/get_rotation_matrix_f.3 lib/allegro/man/man3/get_rotation_quat.3 lib/allegro/man/man3/get_scaling_matrix.3 lib/allegro/man/man3/get_scaling_matrix_f.3 lib/allegro/man/man3/get_sound_input_cap_bits.3 lib/allegro/man/man3/get_sound_input_cap_parm.3 lib/allegro/man/man3/get_sound_input_cap_rate.3 lib/allegro/man/man3/get_sound_input_cap_stereo.3 lib/allegro/man/man3/get_transformation_matrix.3 lib/allegro/man/man3/get_transformation_matrix_f.3 lib/allegro/man/man3/get_translation_matrix.3 lib/allegro/man/man3/get_translation_matrix_f.3 lib/allegro/man/man3/get_uformat.3 lib/allegro/man/man3/get_vector_rotation_matrix.3 lib/allegro/man/man3/get_vector_rotation_matrix_f.3 lib/allegro/man/man3/get_vector_rotation_quat.3 lib/allegro/man/man3/get_x_rotate_matrix.3 lib/allegro/man/man3/get_x_rotate_matrix_f.3 lib/allegro/man/man3/get_x_rotate_quat.3 lib/allegro/man/man3/get_y_rotate_matrix.3 lib/allegro/man/man3/get_y_rotate_matrix_f.3 lib/allegro/man/man3/get_y_rotate_quat.3 lib/allegro/man/man3/get_z_rotate_matrix.3 lib/allegro/man/man3/get_z_rotate_matrix_f.3 lib/allegro/man/man3/get_z_rotate_quat.3 lib/allegro/man/man3/geta.3 lib/allegro/man/man3/geta32.3 lib/allegro/man/man3/geta_depth.3 lib/allegro/man/man3/getb.3 lib/allegro/man/man3/getb15.3 lib/allegro/man/man3/getb16.3 lib/allegro/man/man3/getb24.3 lib/allegro/man/man3/getb32.3 lib/allegro/man/man3/getb8.3 lib/allegro/man/man3/getb_depth.3 lib/allegro/man/man3/getg.3 lib/allegro/man/man3/getg15.3 lib/allegro/man/man3/getg16.3 lib/allegro/man/man3/getg24.3 lib/allegro/man/man3/getg32.3 lib/allegro/man/man3/getg8.3 lib/allegro/man/man3/getg_depth.3 lib/allegro/man/man3/getpixel.3 lib/allegro/man/man3/getr.3 lib/allegro/man/man3/getr15.3 lib/allegro/man/man3/getr16.3 lib/allegro/man/man3/getr24.3 lib/allegro/man/man3/getr32.3 lib/allegro/man/man3/getr8.3 lib/allegro/man/man3/getr_depth.3 lib/allegro/man/man3/gfx_capabilities.3 lib/allegro/man/man3/gfx_mode_select.3 lib/allegro/man/man3/gfx_mode_select_ex.3 lib/allegro/man/man3/gui_bg_color.3 lib/allegro/man/man3/gui_button_proc.3 lib/allegro/man/man3/gui_ctext_proc.3 lib/allegro/man/man3/gui_edit_proc.3 lib/allegro/man/man3/gui_fg_color.3 lib/allegro/man/man3/gui_font_baseline.3 lib/allegro/man/man3/gui_list_proc.3 lib/allegro/man/man3/gui_menu_draw_menu.3 lib/allegro/man/man3/gui_menu_draw_menu_item.3 lib/allegro/man/man3/gui_mg_color.3 lib/allegro/man/man3/gui_mouse_b.3 lib/allegro/man/man3/gui_mouse_focus.3 lib/allegro/man/man3/gui_mouse_x.3 lib/allegro/man/man3/gui_mouse_y.3 lib/allegro/man/man3/gui_mouse_z.3 lib/allegro/man/man3/gui_shadow_box_proc.3 lib/allegro/man/man3/gui_strlen.3 lib/allegro/man/man3/gui_text_list_proc.3 lib/allegro/man/man3/gui_textout.3 lib/allegro/man/man3/hline.3 lib/allegro/man/man3/hook_config_section.3 lib/allegro/man/man3/hsv_to_rgb.3 lib/allegro/man/man3/identity_matrix.3 lib/allegro/man/man3/identity_matrix_f.3 lib/allegro/man/man3/identity_quat.3 lib/allegro/man/man3/init_dialog.3 lib/allegro/man/man3/initialise_joystick.3 lib/allegro/man/man3/install_allegro.3 lib/allegro/man/man3/install_int.3 lib/allegro/man/man3/install_int_ex.3 lib/allegro/man/man3/install_joystick.3 lib/allegro/man/man3/install_keyboard.3 lib/allegro/man/man3/install_keyboard_hooks.3 lib/allegro/man/man3/install_mouse.3 lib/allegro/man/man3/install_param_int.3 lib/allegro/man/man3/install_param_int_ex.3 lib/allegro/man/man3/install_sound.3 lib/allegro/man/man3/install_sound_input.3 lib/allegro/man/man3/install_timer.3 lib/allegro/man/man3/is_linear_bitmap.3 lib/allegro/man/man3/is_memory_bitmap.3 lib/allegro/man/man3/is_planar_bitmap.3 lib/allegro/man/man3/is_same_bitmap.3 lib/allegro/man/man3/is_screen_bitmap.3 lib/allegro/man/man3/is_sub_bitmap.3 lib/allegro/man/man3/is_system_bitmap.3 lib/allegro/man/man3/is_video_bitmap.3 lib/allegro/man/man3/itofix.3 lib/allegro/man/man3/joy.3 lib/allegro/man/man3/key.3 lib/allegro/man/man3/key_led_flag.3 lib/allegro/man/man3/key_shifts.3 lib/allegro/man/man3/keyboard_callback.3 lib/allegro/man/man3/keyboard_lowlevel_callback.3 lib/allegro/man/man3/keyboard_needs_poll.3 lib/allegro/man/man3/keyboard_ucallback.3 lib/allegro/man/man3/keypressed.3 lib/allegro/man/man3/line.3 lib/allegro/man/man3/load_bitmap.3 lib/allegro/man/man3/load_bmp.3 lib/allegro/man/man3/load_datafile.3 lib/allegro/man/man3/load_datafile_callback.3 lib/allegro/man/man3/load_datafile_object.3 lib/allegro/man/man3/load_ibk.3 lib/allegro/man/man3/load_joystick_data.3 lib/allegro/man/man3/load_lbm.3 lib/allegro/man/man3/load_midi.3 lib/allegro/man/man3/load_midi_patches.3 lib/allegro/man/man3/load_pcx.3 lib/allegro/man/man3/load_sample.3 lib/allegro/man/man3/load_tga.3 lib/allegro/man/man3/load_voc.3 lib/allegro/man/man3/load_wav.3 lib/allegro/man/man3/lock_bitmap.3 lib/allegro/man/man3/lock_midi.3 lib/allegro/man/man3/lock_sample.3 lib/allegro/man/man3/makeacol.3 lib/allegro/man/man3/makeacol32.3 lib/allegro/man/man3/makeacol_depth.3 lib/allegro/man/man3/makecol.3 lib/allegro/man/man3/makecol15.3 lib/allegro/man/man3/makecol15_dither.3 lib/allegro/man/man3/makecol16.3 lib/allegro/man/man3/makecol16_dither.3 lib/allegro/man/man3/makecol24.3 lib/allegro/man/man3/makecol32.3 lib/allegro/man/man3/makecol8.3 lib/allegro/man/man3/makecol_depth.3 lib/allegro/man/man3/masked_blit.3 lib/allegro/man/man3/masked_stretch_blit.3 lib/allegro/man/man3/matrix_mul.3 lib/allegro/man/man3/matrix_mul_f.3 lib/allegro/man/man3/matrix_to_quat.3 lib/allegro/man/man3/midi_loop_end.3 lib/allegro/man/man3/midi_loop_start.3 lib/allegro/man/man3/midi_meta_callback.3 lib/allegro/man/man3/midi_msg_callback.3 lib/allegro/man/man3/midi_out.3 lib/allegro/man/man3/midi_pause.3 lib/allegro/man/man3/midi_pos.3 lib/allegro/man/man3/midi_recorder.3 lib/allegro/man/man3/midi_resume.3 lib/allegro/man/man3/midi_seek.3 lib/allegro/man/man3/midi_sysex_callback.3 lib/allegro/man/man3/mouse_b.3 lib/allegro/man/man3/mouse_callback.3 lib/allegro/man/man3/mouse_needs_poll.3 lib/allegro/man/man3/mouse_pos.3 lib/allegro/man/man3/mouse_sprite.3 lib/allegro/man/man3/mouse_x.3 lib/allegro/man/man3/mouse_x_focus.3 lib/allegro/man/man3/mouse_y.3 lib/allegro/man/man3/mouse_y_focus.3 lib/allegro/man/man3/mouse_z.3 lib/allegro/man/man3/need_uconvert.3 lib/allegro/man/man3/next_fli_frame.3 lib/allegro/man/man3/normalize_vector.3 lib/allegro/man/man3/normalize_vector_f.3 lib/allegro/man/man3/num_joysticks.3 lib/allegro/man/man3/object_message.3 lib/allegro/man/man3/offer_focus.3 lib/allegro/man/man3/open_fli.3 lib/allegro/man/man3/open_memory_fli.3 lib/allegro/man/man3/os_multitasking.3 lib/allegro/man/man3/os_revision.3 lib/allegro/man/man3/os_type.3 lib/allegro/man/man3/os_version.3 lib/allegro/man/man3/override_config_data.3 lib/allegro/man/man3/override_config_file.3 lib/allegro/man/man3/pack_fclose.3 lib/allegro/man/man3/pack_fclose_chunk.3 lib/allegro/man/man3/pack_feof.3 lib/allegro/man/man3/pack_ferror.3 lib/allegro/man/man3/pack_fgets.3 lib/allegro/man/man3/pack_fopen.3 lib/allegro/man/man3/pack_fopen_chunk.3 lib/allegro/man/man3/pack_fputs.3 lib/allegro/man/man3/pack_fread.3 lib/allegro/man/man3/pack_fseek.3 lib/allegro/man/man3/pack_fwrite.3 lib/allegro/man/man3/pack_getc.3 lib/allegro/man/man3/pack_igetl.3 lib/allegro/man/man3/pack_igetw.3 lib/allegro/man/man3/pack_iputl.3 lib/allegro/man/man3/pack_iputw.3 lib/allegro/man/man3/pack_mgetl.3 lib/allegro/man/man3/pack_mgetw.3 lib/allegro/man/man3/pack_mputl.3 lib/allegro/man/man3/pack_mputw.3 lib/allegro/man/man3/pack_putc.3 lib/allegro/man/man3/packfile_password.3 lib/allegro/man/man3/palette_color.3 lib/allegro/man/man3/persp_project.3 lib/allegro/man/man3/persp_project_f.3 lib/allegro/man/man3/pivot_scaled_sprite.3 lib/allegro/man/man3/pivot_scaled_sprite_v_flip.3 lib/allegro/man/man3/pivot_sprite.3 lib/allegro/man/man3/pivot_sprite_v_flip.3 lib/allegro/man/man3/play_audio_stream.3 lib/allegro/man/man3/play_fli.3 lib/allegro/man/man3/play_looped_midi.3 lib/allegro/man/man3/play_memory_fli.3 lib/allegro/man/man3/play_midi.3 lib/allegro/man/man3/play_sample.3 lib/allegro/man/man3/poll_joystick.3 lib/allegro/man/man3/poll_keyboard.3 lib/allegro/man/man3/poll_mouse.3 lib/allegro/man/man3/poll_scroll.3 lib/allegro/man/man3/polygon.3 lib/allegro/man/man3/polygon3d.3 lib/allegro/man/man3/polygon3d_f.3 lib/allegro/man/man3/polygon_z_normal.3 lib/allegro/man/man3/polygon_z_normal_f.3 lib/allegro/man/man3/pop_config_state.3 lib/allegro/man/man3/popup_dialog.3 lib/allegro/man/man3/position_dialog.3 lib/allegro/man/man3/position_mouse.3 lib/allegro/man/man3/position_mouse_z.3 lib/allegro/man/man3/push_config_state.3 lib/allegro/man/man3/put_backslash.3 lib/allegro/man/man3/putpixel.3 lib/allegro/man/man3/qnx_get_window.3 lib/allegro/man/man3/qscale_matrix.3 lib/allegro/man/man3/qscale_matrix_f.3 lib/allegro/man/man3/qtranslate_matrix.3 lib/allegro/man/man3/qtranslate_matrix_f.3 lib/allegro/man/man3/quad3d.3 lib/allegro/man/man3/quad3d_f.3 lib/allegro/man/man3/quat_interpolate.3 lib/allegro/man/man3/quat_mul.3 lib/allegro/man/man3/quat_slerp.3 lib/allegro/man/man3/quat_to_matrix.3 lib/allegro/man/man3/radtofix_r.3 lib/allegro/man/man3/read_sound_input.3 lib/allegro/man/man3/readkey.3 lib/allegro/man/man3/reallocate_voice.3 lib/allegro/man/man3/rect.3 lib/allegro/man/man3/rectfill.3 lib/allegro/man/man3/register_assert_handler.3 lib/allegro/man/man3/register_bitmap_file_type.3 lib/allegro/man/man3/register_datafile_object.3 lib/allegro/man/man3/register_sample_file_type.3 lib/allegro/man/man3/register_trace_handler.3 lib/allegro/man/man3/register_uformat.3 lib/allegro/man/man3/release_bitmap.3 lib/allegro/man/man3/release_screen.3 lib/allegro/man/man3/release_voice.3 lib/allegro/man/man3/reload_config_texts.3 lib/allegro/man/man3/remove_display_switch_callback.3 lib/allegro/man/man3/remove_int.3 lib/allegro/man/man3/remove_joystick.3 lib/allegro/man/man3/remove_keyboard.3 lib/allegro/man/man3/remove_mouse.3 lib/allegro/man/man3/remove_param_int.3 lib/allegro/man/man3/remove_sound.3 lib/allegro/man/man3/remove_sound_input.3 lib/allegro/man/man3/remove_timer.3 lib/allegro/man/man3/render_scene.3 lib/allegro/man/man3/replace_extension.3 lib/allegro/man/man3/replace_filename.3 lib/allegro/man/man3/request_refresh_rate.3 lib/allegro/man/man3/request_scroll.3 lib/allegro/man/man3/request_video_bitmap.3 lib/allegro/man/man3/reserve_voices.3 lib/allegro/man/man3/reset_fli_variables.3 lib/allegro/man/man3/rest.3 lib/allegro/man/man3/rest_callback.3 lib/allegro/man/man3/retrace_count.3 lib/allegro/man/man3/retrace_proc.3 lib/allegro/man/man3/rgb_map.3 lib/allegro/man/man3/rgb_to_hsv.3 lib/allegro/man/man3/rotate_scaled_sprite.3 lib/allegro/man/man3/rotate_scaled_sprite_v_flip.3 lib/allegro/man/man3/rotate_sprite.3 lib/allegro/man/man3/rotate_sprite_v_flip.3 lib/allegro/man/man3/save_bitmap.3 lib/allegro/man/man3/save_bmp.3 lib/allegro/man/man3/save_joystick_data.3 lib/allegro/man/man3/save_pcx.3 lib/allegro/man/man3/save_sample.3 lib/allegro/man/man3/save_tga.3 lib/allegro/man/man3/scancode_to_ascii.3 lib/allegro/man/man3/scare_mouse.3 lib/allegro/man/man3/scare_mouse_area.3 lib/allegro/man/man3/scene_gap.3 lib/allegro/man/man3/scene_polygon3d.3 lib/allegro/man/man3/scene_polygon3d_f.3 lib/allegro/man/man3/screen.3 lib/allegro/man/man3/scroll_screen.3 lib/allegro/man/man3/select_palette.3 lib/allegro/man/man3/set_add_blender.3 lib/allegro/man/man3/set_alpha_blender.3 lib/allegro/man/man3/set_blender_mode.3 lib/allegro/man/man3/set_blender_mode_ex.3 lib/allegro/man/man3/set_burn_blender.3 lib/allegro/man/man3/set_clip.3 lib/allegro/man/man3/set_color.3 lib/allegro/man/man3/set_color_blender.3 lib/allegro/man/man3/set_color_conversion.3 lib/allegro/man/man3/set_color_depth.3 lib/allegro/man/man3/set_config_data.3 lib/allegro/man/man3/set_config_file.3 lib/allegro/man/man3/set_config_float.3 lib/allegro/man/man3/set_config_hex.3 lib/allegro/man/man3/set_config_id.3 lib/allegro/man/man3/set_config_int.3 lib/allegro/man/man3/set_config_string.3 lib/allegro/man/man3/set_dialog_color.3 lib/allegro/man/man3/set_difference_blender.3 lib/allegro/man/man3/set_display_switch_callback.3 lib/allegro/man/man3/set_display_switch_mode.3 lib/allegro/man/man3/set_dissolve_blender.3 lib/allegro/man/man3/set_dodge_blender.3 lib/allegro/man/man3/set_gfx_mode.3 lib/allegro/man/man3/set_hue_blender.3 lib/allegro/man/man3/set_invert_blender.3 lib/allegro/man/man3/set_keyboard_rate.3 lib/allegro/man/man3/set_leds.3 lib/allegro/man/man3/set_luminance_blender.3 lib/allegro/man/man3/set_mouse_range.3 lib/allegro/man/man3/set_mouse_speed.3 lib/allegro/man/man3/set_mouse_sprite.3 lib/allegro/man/man3/set_mouse_sprite_focus.3 lib/allegro/man/man3/set_multiply_blender.3 lib/allegro/man/man3/set_palette.3 lib/allegro/man/man3/set_palette_range.3 lib/allegro/man/man3/set_projection_viewport.3 lib/allegro/man/man3/set_saturation_blender.3 lib/allegro/man/man3/set_screen_blender.3 lib/allegro/man/man3/set_sound_input_source.3 lib/allegro/man/man3/set_trans_blender.3 lib/allegro/man/man3/set_ucodepage.3 lib/allegro/man/man3/set_uformat.3 lib/allegro/man/man3/set_volume.3 lib/allegro/man/man3/set_volume_per_voice.3 lib/allegro/man/man3/set_window_close_button.3 lib/allegro/man/man3/set_window_close_hook.3 lib/allegro/man/man3/set_window_title.3 lib/allegro/man/man3/set_write_alpha_blender.3 lib/allegro/man/man3/set_zbuffer.3 lib/allegro/man/man3/show_mouse.3 lib/allegro/man/man3/show_video_bitmap.3 lib/allegro/man/man3/shutdown_dialog.3 lib/allegro/man/man3/simulate_keypress.3 lib/allegro/man/man3/simulate_ukeypress.3 lib/allegro/man/man3/solid_mode.3 lib/allegro/man/man3/spline.3 lib/allegro/man/man3/start_sound_input.3 lib/allegro/man/man3/stop_audio_stream.3 lib/allegro/man/man3/stop_midi.3 lib/allegro/man/man3/stop_sample.3 lib/allegro/man/man3/stop_sound_input.3 lib/allegro/man/man3/stretch_blit.3 lib/allegro/man/man3/stretch_sprite.3 lib/allegro/man/man3/text_height.3 lib/allegro/man/man3/text_length.3 lib/allegro/man/man3/text_mode.3 lib/allegro/man/man3/textout.3 lib/allegro/man/man3/textout_centre.3 lib/allegro/man/man3/textout_justify.3 lib/allegro/man/man3/textout_right.3 lib/allegro/man/man3/textprintf.3 lib/allegro/man/man3/textprintf_centre.3 lib/allegro/man/man3/textprintf_justify.3 lib/allegro/man/man3/textprintf_right.3 lib/allegro/man/man3/three_finger_flag.3 lib/allegro/man/man3/timer_can_simulate_retrace.3 lib/allegro/man/man3/timer_is_using_retrace.3 lib/allegro/man/man3/timer_simulate_retrace.3 lib/allegro/man/man3/triangle.3 lib/allegro/man/man3/triangle3d.3 lib/allegro/man/man3/triangle3d_f.3 lib/allegro/man/man3/uatof.3 lib/allegro/man/man3/uconvert.3 lib/allegro/man/man3/uconvert_ascii.3 lib/allegro/man/man3/uconvert_size.3 lib/allegro/man/man3/uconvert_toascii.3 lib/allegro/man/man3/ucwidth.3 lib/allegro/man/man3/ugetat.3 lib/allegro/man/man3/ugetc.3 lib/allegro/man/man3/ugetx.3 lib/allegro/man/man3/ugetxc.3 lib/allegro/man/man3/uinsert.3 lib/allegro/man/man3/uisdigit.3 lib/allegro/man/man3/uisok.3 lib/allegro/man/man3/uisspace.3 lib/allegro/man/man3/unload_datafile.3 lib/allegro/man/man3/unload_datafile_object.3 lib/allegro/man/man3/unscare_mouse.3 lib/allegro/man/man3/unselect_palette.3 lib/allegro/man/man3/uoffset.3 lib/allegro/man/man3/update_dialog.3 lib/allegro/man/man3/ureadkey.3 lib/allegro/man/man3/uremove.3 lib/allegro/man/man3/usetat.3 lib/allegro/man/man3/usetc.3 lib/allegro/man/man3/usprintf.3 lib/allegro/man/man3/ustrcat.3 lib/allegro/man/man3/ustrchr.3 lib/allegro/man/man3/ustrcmp.3 lib/allegro/man/man3/ustrcpy.3 lib/allegro/man/man3/ustrdup.3 lib/allegro/man/man3/ustrerror.3 lib/allegro/man/man3/ustricmp.3 lib/allegro/man/man3/ustrlen.3 lib/allegro/man/man3/ustrlwr.3 lib/allegro/man/man3/ustrncat.3 lib/allegro/man/man3/ustrncmp.3 lib/allegro/man/man3/ustrncpy.3 lib/allegro/man/man3/ustrnicmp.3 lib/allegro/man/man3/ustrpbrk.3 lib/allegro/man/man3/ustrrchr.3 lib/allegro/man/man3/ustrsize.3 lib/allegro/man/man3/ustrsizez.3 lib/allegro/man/man3/ustrstr.3 lib/allegro/man/man3/ustrtod.3 lib/allegro/man/man3/ustrtok.3 lib/allegro/man/man3/ustrtok_r.3 lib/allegro/man/man3/ustrtol.3 lib/allegro/man/man3/ustrupr.3 lib/allegro/man/man3/ustrzcat.3 lib/allegro/man/man3/ustrzcpy.3 lib/allegro/man/man3/ustrzncat.3 lib/allegro/man/man3/ustrzncpy.3 lib/allegro/man/man3/uszprintf.3 lib/allegro/man/man3/utolower.3 lib/allegro/man/man3/utoupper.3 lib/allegro/man/man3/uvsprintf.3 lib/allegro/man/man3/uvszprintf.3 lib/allegro/man/man3/uwidth.3 lib/allegro/man/man3/uwidth_max.3 lib/allegro/man/man3/vector_length.3 lib/allegro/man/man3/vector_length_f.3 lib/allegro/man/man3/vline.3 lib/allegro/man/man3/voice_check.3 lib/allegro/man/man3/voice_get_frequency.3 lib/allegro/man/man3/voice_get_pan.3 lib/allegro/man/man3/voice_get_position.3 lib/allegro/man/man3/voice_get_volume.3 lib/allegro/man/man3/voice_ramp_volume.3 lib/allegro/man/man3/voice_set_echo.3 lib/allegro/man/man3/voice_set_frequency.3 lib/allegro/man/man3/voice_set_pan.3 lib/allegro/man/man3/voice_set_playmode.3 lib/allegro/man/man3/voice_set_position.3 lib/allegro/man/man3/voice_set_priority.3 lib/allegro/man/man3/voice_set_tremolo.3 lib/allegro/man/man3/voice_set_vibrato.3 lib/allegro/man/man3/voice_set_volume.3 lib/allegro/man/man3/voice_start.3 lib/allegro/man/man3/voice_stop.3 lib/allegro/man/man3/voice_stop_frequency_sweep.3 lib/allegro/man/man3/voice_stop_pan_sweep.3 lib/allegro/man/man3/voice_stop_volumeramp.3 lib/allegro/man/man3/voice_sweep_frequency.3 lib/allegro/man/man3/voice_sweep_pan.3 lib/allegro/man/man3/vsync.3 lib/allegro/man/man3/xor_mode.3 lib/allegro/man/man3/xwin_set_window_name.3 lib/allegro/man/man3/yield_timeslice.3 lib/liballeg-${PKGVERSION}.so lib/liballeg.a lib/liballeg_unsharable.a @dirrm lib/allegro/man/man3 @dirrm lib/allegro/info @dirrm lib/allegro/4.1 @dirrm lib/allegro @dirrm include/allegro/platform @dirrm include/allegro/internal @dirrm include/allegro/inline @dirrm include/allegro graphics/allegro/Makefile.common100644 0 0 3147 7550210027 15435 0ustar rootwheel# $NetBSD$ DISTNAME= allegro-4.1.3 CATEGORIES= graphics MASTER_SITES= http://prdownloads.sourceforge.net/alleg/ MAINTAINER= tech-pkg-ja@jp.netbsd.org HOMEPAGE= http://alleg.sourceforge.net/ COMMENT= game programing library .include "../../mk/bsd.prefs.mk" PATCHDIR= ${.CURDIR}/../allegro/patches HAS_CONFIGURE= #defined USE_BUILDLINK2= #defined USE_GMAKE= #defined MAKEFILE= makefile CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --srcdir=${WRKSRC} CONFIGURE_ARGS+= --infodir=${PREFIX}/lib/allegro/info CONFIGURE_ARGS+= --mandir=${PREFIX}/lib/allegro/man CONFIGURE_ARGS+= --enable-static CONFIGURE_ARGS+= --enable-esddigi CONFIGURE_ARGS+= --enable-alsamidi=no CONFIGURE_ARGS+= --enable-alsadigi=no # # for mmx # CPU!= sysctl hw.model .if (${CPU:MPentium} != "" && ${CPU:MII} != "") || \ (${CPU:MPentium} != "" && ${CPU:MIII} != "") || \ (${CPU:MPentium} != "" && ${CPU:MIV} != "") || \ ${CPU:MAthron} != "" || \ ${CPU:MDuron} != "" CONFIGURE_ARGS+= --enable-mmx .else CONFIGURE_ARGS+= --enable-mmx=no .endif # # for svgalib # CONFIGURE_ARGS+= --enable-svgalib=no #CONFIGURE_ARGS+= --enable-svgalib #.include "../../graphics/svgalib143/buildlink.mk" # # for X11 # .if exists(${X11BASE}/bin/X) X11_VERSION!= ${X11BASE}/bin/X -version 2>&1 | grep "XFree86 Version" .endif .if (${X11_VERSION:M4.?.?} != "") PLIST_SRC?= ${.CURDIR}/../allegro/PLIST.XFree86-4 .endif pre-configure: cd ${WRKSRC}; ${SH} fix.sh unix post-configure: cd ${WRKSRC}; ${GMAKE} depend post-install: cd ${WRKSRC}; ${GMAKE} install-man cd ${WRKSRC}; ${GMAKE} install-info .include "../../mk/bsd.pkg.mk" graphics/allegro/PLIST100644 0 0 73173 7550214524 13360 0ustar rootwheel@comment $NetBSD$ bin/allegro-config bin/colormap bin/dat bin/dat2c bin/dat2s bin/exedat bin/grabber bin/pack bin/pat2dat bin/rgbmap bin/textconv include/allegro.h include/allegro/3d.h include/allegro/3dmaths.h include/allegro/alcompat.h include/allegro/alinline.h include/allegro/alunixac.h include/allegro/base.h include/allegro/color.h include/allegro/compiled.h include/allegro/config.h include/allegro/datafile.h include/allegro/debug.h include/allegro/digi.h include/allegro/draw.h include/allegro/file.h include/allegro/fix.h include/allegro/fixed.h include/allegro/fli.h include/allegro/fmaths.h include/allegro/gfx.h include/allegro/gui.h include/allegro/inline/3dmaths.inl include/allegro/inline/asm.inl include/allegro/inline/color.inl include/allegro/inline/draw.inl include/allegro/inline/file.inl include/allegro/inline/fix.inl include/allegro/inline/fmaths.inl include/allegro/inline/gfx.inl include/allegro/inline/matrix.inl include/allegro/inline/rle.inl include/allegro/inline/system.inl include/allegro/internal/aintern.h include/allegro/internal/aintvga.h include/allegro/internal/alconfig.h include/allegro/joystick.h include/allegro/keyboard.h include/allegro/matrix.h include/allegro/midi.h include/allegro/mouse.h include/allegro/palette.h include/allegro/platform/aintbeos.h include/allegro/platform/aintdos.h include/allegro/platform/aintlnx.h include/allegro/platform/aintmac.h include/allegro/platform/aintqnx.h include/allegro/platform/aintunix.h include/allegro/platform/aintwin.h include/allegro/platform/al386gcc.h include/allegro/platform/al386vc.h include/allegro/platform/al386wat.h include/allegro/platform/albcc32.h include/allegro/platform/albecfg.h include/allegro/platform/albeos.h include/allegro/platform/aldjgpp.h include/allegro/platform/aldos.h include/allegro/platform/almac.h include/allegro/platform/almaccfg.h include/allegro/platform/almngw32.h include/allegro/platform/almsvc.h include/allegro/platform/alplatf.h include/allegro/platform/alqnx.h include/allegro/platform/alqnxcfg.h include/allegro/platform/alucfg.h include/allegro/platform/alunix.h include/allegro/platform/alunixac.h include/allegro/platform/alwatcom.h include/allegro/platform/alwin.h include/allegro/platform/macdef.h include/allegro/quat.h include/allegro/rle.h include/allegro/sound.h include/allegro/stream.h include/allegro/system.h include/allegro/text.h include/allegro/timer.h include/allegro/unicode.h include/linalleg.h include/xalleg.h @unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/lib/allegro/info/allegro.info lib/allegro/info/allegro.info @exec ${INSTALL_INFO} --info-dir=%D/info %D/lib/allegro/info/allegro.info lib/allegro/info/dir lib/allegro/man/man3/ASSERT.3 lib/allegro/man/man3/AUDIOSTREAM.3 lib/allegro/man/man3/BITMAP.3 lib/allegro/man/man3/COLOR_MAP.3 lib/allegro/man/man3/COMPILED_SPRITE.3 lib/allegro/man/man3/DATAFILE.3 lib/allegro/man/man3/DIALOG.3 lib/allegro/man/man3/DIALOG_PLAYER.3 lib/allegro/man/man3/FONT.3 lib/allegro/man/man3/GFX_MODE.3 lib/allegro/man/man3/GFX_MODE_LIST.3 lib/allegro/man/man3/JOYSTICK_BUTTON_INFO.3 lib/allegro/man/man3/JOYSTICK_INFO.3 lib/allegro/man/man3/JOYSTICK_STICK_INFO.3 lib/allegro/man/man3/JOYSTIC_AXIS_INFO.3 lib/allegro/man/man3/MASK_COLOR_15.3 lib/allegro/man/man3/MASK_COLOR_16.3 lib/allegro/man/man3/MASK_COLOR_24.3 lib/allegro/man/man3/MASK_COLOR_32.3 lib/allegro/man/man3/MASK_COLOR_8.3 lib/allegro/man/man3/MATRIX.3 lib/allegro/man/man3/MATRIX_f.3 lib/allegro/man/man3/MENU.3 lib/allegro/man/man3/MIDI.3 lib/allegro/man/man3/PACKFILE.3 lib/allegro/man/man3/PALETTE.3 lib/allegro/man/man3/QUAT.3 lib/allegro/man/man3/RGB.3 lib/allegro/man/man3/RGB_MAP.3 lib/allegro/man/man3/RLE_SPRITE.3 lib/allegro/man/man3/SAMPLE.3 lib/allegro/man/man3/TRACE.3 lib/allegro/man/man3/V3D.3 lib/allegro/man/man3/V3D_f.3 lib/allegro/man/man3/ZBUFFER.3 lib/allegro/man/man3/_getpixel.3 lib/allegro/man/man3/_getpixel15.3 lib/allegro/man/man3/_getpixel16.3 lib/allegro/man/man3/_getpixel24.3 lib/allegro/man/man3/_getpixel32.3 lib/allegro/man/man3/_putpixel.3 lib/allegro/man/man3/_putpixel15.3 lib/allegro/man/man3/_putpixel16.3 lib/allegro/man/man3/_putpixel24.3 lib/allegro/man/man3/_putpixel32.3 lib/allegro/man/man3/_set_color.3 lib/allegro/man/man3/_ustrdup.3 lib/allegro/man/man3/acquire_bitmap.3 lib/allegro/man/man3/acquire_screen.3 lib/allegro/man/man3/active_dialog.3 lib/allegro/man/man3/active_menu.3 lib/allegro/man/man3/adjust_sample.3 lib/allegro/man/man3/al_assert.3 lib/allegro/man/man3/al_ffblk.3 lib/allegro/man/man3/al_findclose.3 lib/allegro/man/man3/al_findfirst.3 lib/allegro/man/man3/al_findnext.3 lib/allegro/man/man3/al_trace.3 lib/allegro/man/man3/alert.3 lib/allegro/man/man3/alert3.3 lib/allegro/man/man3/allegro_404_char.3 lib/allegro/man/man3/allegro_error.3 lib/allegro/man/man3/allegro_exit.3 lib/allegro/man/man3/allegro_id.3 lib/allegro/man/man3/allegro_init.3 lib/allegro/man/man3/allegro_message.3 lib/allegro/man/man3/allocate_voice.3 lib/allegro/man/man3/append_filename.3 lib/allegro/man/man3/apply_matrix.3 lib/allegro/man/man3/apply_matrix_f.3 lib/allegro/man/man3/apply_quat.3 lib/allegro/man/man3/arc.3 lib/allegro/man/man3/bestfit_color.3 lib/allegro/man/man3/bitmap_color_depth.3 lib/allegro/man/man3/bitmap_mask_color.3 lib/allegro/man/man3/black_palette.3 lib/allegro/man/man3/blit.3 lib/allegro/man/man3/bmp_read_line.3 lib/allegro/man/man3/bmp_unwrite_line.3 lib/allegro/man/man3/bmp_write_line.3 lib/allegro/man/man3/broadcast_dialog_message.3 lib/allegro/man/man3/calc_spline.3 lib/allegro/man/man3/calibrate_joystick.3 lib/allegro/man/man3/calibrate_joystick_name.3 lib/allegro/man/man3/centre_dialog.3 lib/allegro/man/man3/check_cpu.3 lib/allegro/man/man3/circle.3 lib/allegro/man/man3/circlefill.3 lib/allegro/man/man3/clear.3 lib/allegro/man/man3/clear_bitmap.3 lib/allegro/man/man3/clear_keybuf.3 lib/allegro/man/man3/clear_scene.3 lib/allegro/man/man3/clear_to_color.3 lib/allegro/man/man3/clear_zbuffer.3 lib/allegro/man/man3/clip3d.3 lib/allegro/man/man3/clip3d_f.3 lib/allegro/man/man3/close_fli.3 lib/allegro/man/man3/color_map.3 lib/allegro/man/man3/config_is_hooked.3 lib/allegro/man/man3/cpu_capabilities.3 lib/allegro/man/man3/cpu_family.3 lib/allegro/man/man3/cpu_model.3 lib/allegro/man/man3/cpu_vendor.3 lib/allegro/man/man3/create_bitmap.3 lib/allegro/man/man3/create_bitmap_ex.3 lib/allegro/man/man3/create_blender_table.3 lib/allegro/man/man3/create_color_table.3 lib/allegro/man/man3/create_light_table.3 lib/allegro/man/man3/create_rgb_table.3 lib/allegro/man/man3/create_sample.3 lib/allegro/man/man3/create_scene.3 lib/allegro/man/man3/create_sub_bitmap.3 lib/allegro/man/man3/create_sub_zbuffer.3 lib/allegro/man/man3/create_system_bitmap.3 lib/allegro/man/man3/create_trans_table.3 lib/allegro/man/man3/create_video_bitmap.3 lib/allegro/man/man3/create_zbuffer.3 lib/allegro/man/man3/cross_product.3 lib/allegro/man/man3/cross_product_f.3 lib/allegro/man/man3/d_bitmap_proc.3 lib/allegro/man/man3/d_box_proc.3 lib/allegro/man/man3/d_button_proc.3 lib/allegro/man/man3/d_check_proc.3 lib/allegro/man/man3/d_clear_proc.3 lib/allegro/man/man3/d_ctext_proc.3 lib/allegro/man/man3/d_edit_proc.3 lib/allegro/man/man3/d_icon_proc.3 lib/allegro/man/man3/d_keyboard_proc.3 lib/allegro/man/man3/d_list_proc.3 lib/allegro/man/man3/d_menu_proc.3 lib/allegro/man/man3/d_radio_proc.3 lib/allegro/man/man3/d_rtext_proc.3 lib/allegro/man/man3/d_shadow_box_proc.3 lib/allegro/man/man3/d_slider_proc.3 lib/allegro/man/man3/d_text_list_proc.3 lib/allegro/man/man3/d_text_proc.3 lib/allegro/man/man3/d_textbox_proc.3 lib/allegro/man/man3/d_yield_proc.3 lib/allegro/man/man3/deallocate_voice.3 lib/allegro/man/man3/default_palette.3 lib/allegro/man/man3/delete_file.3 lib/allegro/man/man3/desktop_color_depth.3 lib/allegro/man/man3/desktop_palette.3 lib/allegro/man/man3/destroy_bitmap.3 lib/allegro/man/man3/destroy_compiled_sprite.3 lib/allegro/man/man3/destroy_font.3 lib/allegro/man/man3/destroy_gfx_mode_list.3 lib/allegro/man/man3/destroy_midi.3 lib/allegro/man/man3/destroy_rle_sprite.3 lib/allegro/man/man3/destroy_sample.3 lib/allegro/man/man3/destroy_scene.3 lib/allegro/man/man3/destroy_zbuffer.3 lib/allegro/man/man3/detect_digi_driver.3 lib/allegro/man/man3/detect_midi_driver.3 lib/allegro/man/man3/dialog_message.3 lib/allegro/man/man3/digi_recorder.3 lib/allegro/man/man3/do_arc.3 lib/allegro/man/man3/do_circle.3 lib/allegro/man/man3/do_dialog.3 lib/allegro/man/man3/do_ellipse.3 lib/allegro/man/man3/do_line.3 lib/allegro/man/man3/do_menu.3 lib/allegro/man/man3/do_uconvert.3 lib/allegro/man/man3/dot_product.3 lib/allegro/man/man3/dot_product_f.3 lib/allegro/man/man3/draw_character.3 lib/allegro/man/man3/draw_compiled_sprite.3 lib/allegro/man/man3/draw_gouraud_sprite.3 lib/allegro/man/man3/draw_lit_rle_sprite.3 lib/allegro/man/man3/draw_lit_sprite.3 lib/allegro/man/man3/draw_rle_sprite.3 lib/allegro/man/man3/draw_sprite.3 lib/allegro/man/man3/draw_sprite_h_flip.3 lib/allegro/man/man3/draw_sprite_v_flip.3 lib/allegro/man/man3/draw_sprite_vh_flip.3 lib/allegro/man/man3/draw_trans_rle_sprite.3 lib/allegro/man/man3/draw_trans_sprite.3 lib/allegro/man/man3/drawing_mode.3 lib/allegro/man/man3/ellipse.3 lib/allegro/man/man3/ellipsefill.3 lib/allegro/man/man3/empty_string.3 lib/allegro/man/man3/enable_triple_buffer.3 lib/allegro/man/man3/exists.3 lib/allegro/man/man3/fade_from.3 lib/allegro/man/man3/fade_from_range.3 lib/allegro/man/man3/fade_in.3 lib/allegro/man/man3/fade_in_range.3 lib/allegro/man/man3/fade_interpolate.3 lib/allegro/man/man3/fade_out.3 lib/allegro/man/man3/fade_out_range.3 lib/allegro/man/man3/file_exists.3 lib/allegro/man/man3/file_select.3 lib/allegro/man/man3/file_select_ex.3 lib/allegro/man/man3/file_size.3 lib/allegro/man/man3/file_time.3 lib/allegro/man/man3/find_allegro_resource.3 lib/allegro/man/man3/find_datafile_object.3 lib/allegro/man/man3/find_dialog_focus.3 lib/allegro/man/man3/fix_filename_case.3 lib/allegro/man/man3/fix_filename_path.3 lib/allegro/man/man3/fix_filename_slashes.3 lib/allegro/man/man3/fixacos.3 lib/allegro/man/man3/fixadd.3 lib/allegro/man/man3/fixasin.3 lib/allegro/man/man3/fixatan.3 lib/allegro/man/man3/fixatan2.3 lib/allegro/man/man3/fixceil.3 lib/allegro/man/man3/fixcos.3 lib/allegro/man/man3/fixdiv.3 lib/allegro/man/man3/fixed.3 lib/allegro/man/man3/fixfloor.3 lib/allegro/man/man3/fixhypot.3 lib/allegro/man/man3/fixmul.3 lib/allegro/man/man3/fixsin.3 lib/allegro/man/man3/fixsqrt.3 lib/allegro/man/man3/fixsub.3 lib/allegro/man/man3/fixtan.3 lib/allegro/man/man3/fixtof.3 lib/allegro/man/man3/fixtoi.3 lib/allegro/man/man3/fixtorad_r.3 lib/allegro/man/man3/fixup_datafile.3 lib/allegro/man/man3/fli_bitmap.3 lib/allegro/man/man3/fli_bmp_dirty_from.3 lib/allegro/man/man3/fli_bmp_dirty_to.3 lib/allegro/man/man3/fli_frame.3 lib/allegro/man/man3/fli_pal_dirty_from.3 lib/allegro/man/man3/fli_pal_dirty_to.3 lib/allegro/man/man3/fli_palette.3 lib/allegro/man/man3/fli_timer.3 lib/allegro/man/man3/floodfill.3 lib/allegro/man/man3/flush_config_file.3 lib/allegro/man/man3/font.3 lib/allegro/man/man3/for_each_file.3 lib/allegro/man/man3/free_audio_stream_buffer.3 lib/allegro/man/man3/freeze_mouse_flag.3 lib/allegro/man/man3/ftofix.3 lib/allegro/man/man3/generate_332_palette.3 lib/allegro/man/man3/generate_optimized_palette.3 lib/allegro/man/man3/get_align_matrix.3 lib/allegro/man/man3/get_align_matrix_f.3 lib/allegro/man/man3/get_audio_stream_buffer.3 lib/allegro/man/man3/get_camera_matrix.3 lib/allegro/man/man3/get_camera_matrix_f.3 lib/allegro/man/man3/get_color.3 lib/allegro/man/man3/get_compiled_sprite.3 lib/allegro/man/man3/get_config_argv.3 lib/allegro/man/man3/get_config_float.3 lib/allegro/man/man3/get_config_hex.3 lib/allegro/man/man3/get_config_id.3 lib/allegro/man/man3/get_config_int.3 lib/allegro/man/man3/get_config_string.3 lib/allegro/man/man3/get_config_text.3 lib/allegro/man/man3/get_datafile_property.3 lib/allegro/man/man3/get_desktop_resolution.3 lib/allegro/man/man3/get_display_switch_mode.3 lib/allegro/man/man3/get_executable_name.3 lib/allegro/man/man3/get_extension.3 lib/allegro/man/man3/get_filename.3 lib/allegro/man/man3/get_gfx_mode_list.3 lib/allegro/man/man3/get_mouse_mickeys.3 lib/allegro/man/man3/get_palette.3 lib/allegro/man/man3/get_palette_range.3 lib/allegro/man/man3/get_refresh_rate.3 lib/allegro/man/man3/get_rle_sprite.3 lib/allegro/man/man3/get_rotation_matrix.3 lib/allegro/man/man3/get_rotation_matrix_f.3 lib/allegro/man/man3/get_rotation_quat.3 lib/allegro/man/man3/get_scaling_matrix.3 lib/allegro/man/man3/get_scaling_matrix_f.3 lib/allegro/man/man3/get_sound_input_cap_bits.3 lib/allegro/man/man3/get_sound_input_cap_parm.3 lib/allegro/man/man3/get_sound_input_cap_rate.3 lib/allegro/man/man3/get_sound_input_cap_stereo.3 lib/allegro/man/man3/get_transformation_matrix.3 lib/allegro/man/man3/get_transformation_matrix_f.3 lib/allegro/man/man3/get_translation_matrix.3 lib/allegro/man/man3/get_translation_matrix_f.3 lib/allegro/man/man3/get_uformat.3 lib/allegro/man/man3/get_vector_rotation_matrix.3 lib/allegro/man/man3/get_vector_rotation_matrix_f.3 lib/allegro/man/man3/get_vector_rotation_quat.3 lib/allegro/man/man3/get_x_rotate_matrix.3 lib/allegro/man/man3/get_x_rotate_matrix_f.3 lib/allegro/man/man3/get_x_rotate_quat.3 lib/allegro/man/man3/get_y_rotate_matrix.3 lib/allegro/man/man3/get_y_rotate_matrix_f.3 lib/allegro/man/man3/get_y_rotate_quat.3 lib/allegro/man/man3/get_z_rotate_matrix.3 lib/allegro/man/man3/get_z_rotate_matrix_f.3 lib/allegro/man/man3/get_z_rotate_quat.3 lib/allegro/man/man3/geta.3 lib/allegro/man/man3/geta32.3 lib/allegro/man/man3/geta_depth.3 lib/allegro/man/man3/getb.3 lib/allegro/man/man3/getb15.3 lib/allegro/man/man3/getb16.3 lib/allegro/man/man3/getb24.3 lib/allegro/man/man3/getb32.3 lib/allegro/man/man3/getb8.3 lib/allegro/man/man3/getb_depth.3 lib/allegro/man/man3/getg.3 lib/allegro/man/man3/getg15.3 lib/allegro/man/man3/getg16.3 lib/allegro/man/man3/getg24.3 lib/allegro/man/man3/getg32.3 lib/allegro/man/man3/getg8.3 lib/allegro/man/man3/getg_depth.3 lib/allegro/man/man3/getpixel.3 lib/allegro/man/man3/getr.3 lib/allegro/man/man3/getr15.3 lib/allegro/man/man3/getr16.3 lib/allegro/man/man3/getr24.3 lib/allegro/man/man3/getr32.3 lib/allegro/man/man3/getr8.3 lib/allegro/man/man3/getr_depth.3 lib/allegro/man/man3/gfx_capabilities.3 lib/allegro/man/man3/gfx_mode_select.3 lib/allegro/man/man3/gfx_mode_select_ex.3 lib/allegro/man/man3/gui_bg_color.3 lib/allegro/man/man3/gui_button_proc.3 lib/allegro/man/man3/gui_ctext_proc.3 lib/allegro/man/man3/gui_edit_proc.3 lib/allegro/man/man3/gui_fg_color.3 lib/allegro/man/man3/gui_font_baseline.3 lib/allegro/man/man3/gui_list_proc.3 lib/allegro/man/man3/gui_menu_draw_menu.3 lib/allegro/man/man3/gui_menu_draw_menu_item.3 lib/allegro/man/man3/gui_mg_color.3 lib/allegro/man/man3/gui_mouse_b.3 lib/allegro/man/man3/gui_mouse_focus.3 lib/allegro/man/man3/gui_mouse_x.3 lib/allegro/man/man3/gui_mouse_y.3 lib/allegro/man/man3/gui_mouse_z.3 lib/allegro/man/man3/gui_shadow_box_proc.3 lib/allegro/man/man3/gui_strlen.3 lib/allegro/man/man3/gui_text_list_proc.3 lib/allegro/man/man3/gui_textout.3 lib/allegro/man/man3/hline.3 lib/allegro/man/man3/hook_config_section.3 lib/allegro/man/man3/hsv_to_rgb.3 lib/allegro/man/man3/identity_matrix.3 lib/allegro/man/man3/identity_matrix_f.3 lib/allegro/man/man3/identity_quat.3 lib/allegro/man/man3/init_dialog.3 lib/allegro/man/man3/initialise_joystick.3 lib/allegro/man/man3/install_allegro.3 lib/allegro/man/man3/install_int.3 lib/allegro/man/man3/install_int_ex.3 lib/allegro/man/man3/install_joystick.3 lib/allegro/man/man3/install_keyboard.3 lib/allegro/man/man3/install_keyboard_hooks.3 lib/allegro/man/man3/install_mouse.3 lib/allegro/man/man3/install_param_int.3 lib/allegro/man/man3/install_param_int_ex.3 lib/allegro/man/man3/install_sound.3 lib/allegro/man/man3/install_sound_input.3 lib/allegro/man/man3/install_timer.3 lib/allegro/man/man3/is_linear_bitmap.3 lib/allegro/man/man3/is_memory_bitmap.3 lib/allegro/man/man3/is_planar_bitmap.3 lib/allegro/man/man3/is_same_bitmap.3 lib/allegro/man/man3/is_screen_bitmap.3 lib/allegro/man/man3/is_sub_bitmap.3 lib/allegro/man/man3/is_system_bitmap.3 lib/allegro/man/man3/is_video_bitmap.3 lib/allegro/man/man3/itofix.3 lib/allegro/man/man3/joy.3 lib/allegro/man/man3/key.3 lib/allegro/man/man3/key_led_flag.3 lib/allegro/man/man3/key_shifts.3 lib/allegro/man/man3/keyboard_callback.3 lib/allegro/man/man3/keyboard_lowlevel_callback.3 lib/allegro/man/man3/keyboard_needs_poll.3 lib/allegro/man/man3/keyboard_ucallback.3 lib/allegro/man/man3/keypressed.3 lib/allegro/man/man3/line.3 lib/allegro/man/man3/load_bitmap.3 lib/allegro/man/man3/load_bmp.3 lib/allegro/man/man3/load_datafile.3 lib/allegro/man/man3/load_datafile_callback.3 lib/allegro/man/man3/load_datafile_object.3 lib/allegro/man/man3/load_ibk.3 lib/allegro/man/man3/load_joystick_data.3 lib/allegro/man/man3/load_lbm.3 lib/allegro/man/man3/load_midi.3 lib/allegro/man/man3/load_midi_patches.3 lib/allegro/man/man3/load_pcx.3 lib/allegro/man/man3/load_sample.3 lib/allegro/man/man3/load_tga.3 lib/allegro/man/man3/load_voc.3 lib/allegro/man/man3/load_wav.3 lib/allegro/man/man3/lock_bitmap.3 lib/allegro/man/man3/lock_midi.3 lib/allegro/man/man3/lock_sample.3 lib/allegro/man/man3/makeacol.3 lib/allegro/man/man3/makeacol32.3 lib/allegro/man/man3/makeacol_depth.3 lib/allegro/man/man3/makecol.3 lib/allegro/man/man3/makecol15.3 lib/allegro/man/man3/makecol15_dither.3 lib/allegro/man/man3/makecol16.3 lib/allegro/man/man3/makecol16_dither.3 lib/allegro/man/man3/makecol24.3 lib/allegro/man/man3/makecol32.3 lib/allegro/man/man3/makecol8.3 lib/allegro/man/man3/makecol_depth.3 lib/allegro/man/man3/masked_blit.3 lib/allegro/man/man3/masked_stretch_blit.3 lib/allegro/man/man3/matrix_mul.3 lib/allegro/man/man3/matrix_mul_f.3 lib/allegro/man/man3/matrix_to_quat.3 lib/allegro/man/man3/midi_loop_end.3 lib/allegro/man/man3/midi_loop_start.3 lib/allegro/man/man3/midi_meta_callback.3 lib/allegro/man/man3/midi_msg_callback.3 lib/allegro/man/man3/midi_out.3 lib/allegro/man/man3/midi_pause.3 lib/allegro/man/man3/midi_pos.3 lib/allegro/man/man3/midi_recorder.3 lib/allegro/man/man3/midi_resume.3 lib/allegro/man/man3/midi_seek.3 lib/allegro/man/man3/midi_sysex_callback.3 lib/allegro/man/man3/mouse_b.3 lib/allegro/man/man3/mouse_callback.3 lib/allegro/man/man3/mouse_needs_poll.3 lib/allegro/man/man3/mouse_pos.3 lib/allegro/man/man3/mouse_sprite.3 lib/allegro/man/man3/mouse_x.3 lib/allegro/man/man3/mouse_x_focus.3 lib/allegro/man/man3/mouse_y.3 lib/allegro/man/man3/mouse_y_focus.3 lib/allegro/man/man3/mouse_z.3 lib/allegro/man/man3/need_uconvert.3 lib/allegro/man/man3/next_fli_frame.3 lib/allegro/man/man3/normalize_vector.3 lib/allegro/man/man3/normalize_vector_f.3 lib/allegro/man/man3/num_joysticks.3 lib/allegro/man/man3/object_message.3 lib/allegro/man/man3/offer_focus.3 lib/allegro/man/man3/open_fli.3 lib/allegro/man/man3/open_memory_fli.3 lib/allegro/man/man3/os_multitasking.3 lib/allegro/man/man3/os_revision.3 lib/allegro/man/man3/os_type.3 lib/allegro/man/man3/os_version.3 lib/allegro/man/man3/override_config_data.3 lib/allegro/man/man3/override_config_file.3 lib/allegro/man/man3/pack_fclose.3 lib/allegro/man/man3/pack_fclose_chunk.3 lib/allegro/man/man3/pack_feof.3 lib/allegro/man/man3/pack_ferror.3 lib/allegro/man/man3/pack_fgets.3 lib/allegro/man/man3/pack_fopen.3 lib/allegro/man/man3/pack_fopen_chunk.3 lib/allegro/man/man3/pack_fputs.3 lib/allegro/man/man3/pack_fread.3 lib/allegro/man/man3/pack_fseek.3 lib/allegro/man/man3/pack_fwrite.3 lib/allegro/man/man3/pack_getc.3 lib/allegro/man/man3/pack_igetl.3 lib/allegro/man/man3/pack_igetw.3 lib/allegro/man/man3/pack_iputl.3 lib/allegro/man/man3/pack_iputw.3 lib/allegro/man/man3/pack_mgetl.3 lib/allegro/man/man3/pack_mgetw.3 lib/allegro/man/man3/pack_mputl.3 lib/allegro/man/man3/pack_mputw.3 lib/allegro/man/man3/pack_putc.3 lib/allegro/man/man3/packfile_password.3 lib/allegro/man/man3/palette_color.3 lib/allegro/man/man3/persp_project.3 lib/allegro/man/man3/persp_project_f.3 lib/allegro/man/man3/pivot_scaled_sprite.3 lib/allegro/man/man3/pivot_scaled_sprite_v_flip.3 lib/allegro/man/man3/pivot_sprite.3 lib/allegro/man/man3/pivot_sprite_v_flip.3 lib/allegro/man/man3/play_audio_stream.3 lib/allegro/man/man3/play_fli.3 lib/allegro/man/man3/play_looped_midi.3 lib/allegro/man/man3/play_memory_fli.3 lib/allegro/man/man3/play_midi.3 lib/allegro/man/man3/play_sample.3 lib/allegro/man/man3/poll_joystick.3 lib/allegro/man/man3/poll_keyboard.3 lib/allegro/man/man3/poll_mouse.3 lib/allegro/man/man3/poll_scroll.3 lib/allegro/man/man3/polygon.3 lib/allegro/man/man3/polygon3d.3 lib/allegro/man/man3/polygon3d_f.3 lib/allegro/man/man3/polygon_z_normal.3 lib/allegro/man/man3/polygon_z_normal_f.3 lib/allegro/man/man3/pop_config_state.3 lib/allegro/man/man3/popup_dialog.3 lib/allegro/man/man3/position_dialog.3 lib/allegro/man/man3/position_mouse.3 lib/allegro/man/man3/position_mouse_z.3 lib/allegro/man/man3/push_config_state.3 lib/allegro/man/man3/put_backslash.3 lib/allegro/man/man3/putpixel.3 lib/allegro/man/man3/qnx_get_window.3 lib/allegro/man/man3/qscale_matrix.3 lib/allegro/man/man3/qscale_matrix_f.3 lib/allegro/man/man3/qtranslate_matrix.3 lib/allegro/man/man3/qtranslate_matrix_f.3 lib/allegro/man/man3/quad3d.3 lib/allegro/man/man3/quad3d_f.3 lib/allegro/man/man3/quat_interpolate.3 lib/allegro/man/man3/quat_mul.3 lib/allegro/man/man3/quat_slerp.3 lib/allegro/man/man3/quat_to_matrix.3 lib/allegro/man/man3/radtofix_r.3 lib/allegro/man/man3/read_sound_input.3 lib/allegro/man/man3/readkey.3 lib/allegro/man/man3/reallocate_voice.3 lib/allegro/man/man3/rect.3 lib/allegro/man/man3/rectfill.3 lib/allegro/man/man3/register_assert_handler.3 lib/allegro/man/man3/register_bitmap_file_type.3 lib/allegro/man/man3/register_datafile_object.3 lib/allegro/man/man3/register_sample_file_type.3 lib/allegro/man/man3/register_trace_handler.3 lib/allegro/man/man3/register_uformat.3 lib/allegro/man/man3/release_bitmap.3 lib/allegro/man/man3/release_screen.3 lib/allegro/man/man3/release_voice.3 lib/allegro/man/man3/reload_config_texts.3 lib/allegro/man/man3/remove_display_switch_callback.3 lib/allegro/man/man3/remove_int.3 lib/allegro/man/man3/remove_joystick.3 lib/allegro/man/man3/remove_keyboard.3 lib/allegro/man/man3/remove_mouse.3 lib/allegro/man/man3/remove_param_int.3 lib/allegro/man/man3/remove_sound.3 lib/allegro/man/man3/remove_sound_input.3 lib/allegro/man/man3/remove_timer.3 lib/allegro/man/man3/render_scene.3 lib/allegro/man/man3/replace_extension.3 lib/allegro/man/man3/replace_filename.3 lib/allegro/man/man3/request_refresh_rate.3 lib/allegro/man/man3/request_scroll.3 lib/allegro/man/man3/request_video_bitmap.3 lib/allegro/man/man3/reserve_voices.3 lib/allegro/man/man3/reset_fli_variables.3 lib/allegro/man/man3/rest.3 lib/allegro/man/man3/rest_callback.3 lib/allegro/man/man3/retrace_count.3 lib/allegro/man/man3/retrace_proc.3 lib/allegro/man/man3/rgb_map.3 lib/allegro/man/man3/rgb_to_hsv.3 lib/allegro/man/man3/rotate_scaled_sprite.3 lib/allegro/man/man3/rotate_scaled_sprite_v_flip.3 lib/allegro/man/man3/rotate_sprite.3 lib/allegro/man/man3/rotate_sprite_v_flip.3 lib/allegro/man/man3/save_bitmap.3 lib/allegro/man/man3/save_bmp.3 lib/allegro/man/man3/save_joystick_data.3 lib/allegro/man/man3/save_pcx.3 lib/allegro/man/man3/save_sample.3 lib/allegro/man/man3/save_tga.3 lib/allegro/man/man3/scancode_to_ascii.3 lib/allegro/man/man3/scare_mouse.3 lib/allegro/man/man3/scare_mouse_area.3 lib/allegro/man/man3/scene_gap.3 lib/allegro/man/man3/scene_polygon3d.3 lib/allegro/man/man3/scene_polygon3d_f.3 lib/allegro/man/man3/screen.3 lib/allegro/man/man3/scroll_screen.3 lib/allegro/man/man3/select_palette.3 lib/allegro/man/man3/set_add_blender.3 lib/allegro/man/man3/set_alpha_blender.3 lib/allegro/man/man3/set_blender_mode.3 lib/allegro/man/man3/set_blender_mode_ex.3 lib/allegro/man/man3/set_burn_blender.3 lib/allegro/man/man3/set_clip.3 lib/allegro/man/man3/set_color.3 lib/allegro/man/man3/set_color_blender.3 lib/allegro/man/man3/set_color_conversion.3 lib/allegro/man/man3/set_color_depth.3 lib/allegro/man/man3/set_config_data.3 lib/allegro/man/man3/set_config_file.3 lib/allegro/man/man3/set_config_float.3 lib/allegro/man/man3/set_config_hex.3 lib/allegro/man/man3/set_config_id.3 lib/allegro/man/man3/set_config_int.3 lib/allegro/man/man3/set_config_string.3 lib/allegro/man/man3/set_dialog_color.3 lib/allegro/man/man3/set_difference_blender.3 lib/allegro/man/man3/set_display_switch_callback.3 lib/allegro/man/man3/set_display_switch_mode.3 lib/allegro/man/man3/set_dissolve_blender.3 lib/allegro/man/man3/set_dodge_blender.3 lib/allegro/man/man3/set_gfx_mode.3 lib/allegro/man/man3/set_hue_blender.3 lib/allegro/man/man3/set_invert_blender.3 lib/allegro/man/man3/set_keyboard_rate.3 lib/allegro/man/man3/set_leds.3 lib/allegro/man/man3/set_luminance_blender.3 lib/allegro/man/man3/set_mouse_range.3 lib/allegro/man/man3/set_mouse_speed.3 lib/allegro/man/man3/set_mouse_sprite.3 lib/allegro/man/man3/set_mouse_sprite_focus.3 lib/allegro/man/man3/set_multiply_blender.3 lib/allegro/man/man3/set_palette.3 lib/allegro/man/man3/set_palette_range.3 lib/allegro/man/man3/set_projection_viewport.3 lib/allegro/man/man3/set_saturation_blender.3 lib/allegro/man/man3/set_screen_blender.3 lib/allegro/man/man3/set_sound_input_source.3 lib/allegro/man/man3/set_trans_blender.3 lib/allegro/man/man3/set_ucodepage.3 lib/allegro/man/man3/set_uformat.3 lib/allegro/man/man3/set_volume.3 lib/allegro/man/man3/set_volume_per_voice.3 lib/allegro/man/man3/set_window_close_button.3 lib/allegro/man/man3/set_window_close_hook.3 lib/allegro/man/man3/set_window_title.3 lib/allegro/man/man3/set_write_alpha_blender.3 lib/allegro/man/man3/set_zbuffer.3 lib/allegro/man/man3/show_mouse.3 lib/allegro/man/man3/show_video_bitmap.3 lib/allegro/man/man3/shutdown_dialog.3 lib/allegro/man/man3/simulate_keypress.3 lib/allegro/man/man3/simulate_ukeypress.3 lib/allegro/man/man3/solid_mode.3 lib/allegro/man/man3/spline.3 lib/allegro/man/man3/start_sound_input.3 lib/allegro/man/man3/stop_audio_stream.3 lib/allegro/man/man3/stop_midi.3 lib/allegro/man/man3/stop_sample.3 lib/allegro/man/man3/stop_sound_input.3 lib/allegro/man/man3/stretch_blit.3 lib/allegro/man/man3/stretch_sprite.3 lib/allegro/man/man3/text_height.3 lib/allegro/man/man3/text_length.3 lib/allegro/man/man3/text_mode.3 lib/allegro/man/man3/textout.3 lib/allegro/man/man3/textout_centre.3 lib/allegro/man/man3/textout_justify.3 lib/allegro/man/man3/textout_right.3 lib/allegro/man/man3/textprintf.3 lib/allegro/man/man3/textprintf_centre.3 lib/allegro/man/man3/textprintf_justify.3 lib/allegro/man/man3/textprintf_right.3 lib/allegro/man/man3/three_finger_flag.3 lib/allegro/man/man3/timer_can_simulate_retrace.3 lib/allegro/man/man3/timer_is_using_retrace.3 lib/allegro/man/man3/timer_simulate_retrace.3 lib/allegro/man/man3/triangle.3 lib/allegro/man/man3/triangle3d.3 lib/allegro/man/man3/triangle3d_f.3 lib/allegro/man/man3/uatof.3 lib/allegro/man/man3/uconvert.3 lib/allegro/man/man3/uconvert_ascii.3 lib/allegro/man/man3/uconvert_size.3 lib/allegro/man/man3/uconvert_toascii.3 lib/allegro/man/man3/ucwidth.3 lib/allegro/man/man3/ugetat.3 lib/allegro/man/man3/ugetc.3 lib/allegro/man/man3/ugetx.3 lib/allegro/man/man3/ugetxc.3 lib/allegro/man/man3/uinsert.3 lib/allegro/man/man3/uisdigit.3 lib/allegro/man/man3/uisok.3 lib/allegro/man/man3/uisspace.3 lib/allegro/man/man3/unload_datafile.3 lib/allegro/man/man3/unload_datafile_object.3 lib/allegro/man/man3/unscare_mouse.3 lib/allegro/man/man3/unselect_palette.3 lib/allegro/man/man3/uoffset.3 lib/allegro/man/man3/update_dialog.3 lib/allegro/man/man3/ureadkey.3 lib/allegro/man/man3/uremove.3 lib/allegro/man/man3/usetat.3 lib/allegro/man/man3/usetc.3 lib/allegro/man/man3/usprintf.3 lib/allegro/man/man3/ustrcat.3 lib/allegro/man/man3/ustrchr.3 lib/allegro/man/man3/ustrcmp.3 lib/allegro/man/man3/ustrcpy.3 lib/allegro/man/man3/ustrdup.3 lib/allegro/man/man3/ustrerror.3 lib/allegro/man/man3/ustricmp.3 lib/allegro/man/man3/ustrlen.3 lib/allegro/man/man3/ustrlwr.3 lib/allegro/man/man3/ustrncat.3 lib/allegro/man/man3/ustrncmp.3 lib/allegro/man/man3/ustrncpy.3 lib/allegro/man/man3/ustrnicmp.3 lib/allegro/man/man3/ustrpbrk.3 lib/allegro/man/man3/ustrrchr.3 lib/allegro/man/man3/ustrsize.3 lib/allegro/man/man3/ustrsizez.3 lib/allegro/man/man3/ustrstr.3 lib/allegro/man/man3/ustrtod.3 lib/allegro/man/man3/ustrtok.3 lib/allegro/man/man3/ustrtok_r.3 lib/allegro/man/man3/ustrtol.3 lib/allegro/man/man3/ustrupr.3 lib/allegro/man/man3/ustrzcat.3 lib/allegro/man/man3/ustrzcpy.3 lib/allegro/man/man3/ustrzncat.3 lib/allegro/man/man3/ustrzncpy.3 lib/allegro/man/man3/uszprintf.3 lib/allegro/man/man3/utolower.3 lib/allegro/man/man3/utoupper.3 lib/allegro/man/man3/uvsprintf.3 lib/allegro/man/man3/uvszprintf.3 lib/allegro/man/man3/uwidth.3 lib/allegro/man/man3/uwidth_max.3 lib/allegro/man/man3/vector_length.3 lib/allegro/man/man3/vector_length_f.3 lib/allegro/man/man3/vline.3 lib/allegro/man/man3/voice_check.3 lib/allegro/man/man3/voice_get_frequency.3 lib/allegro/man/man3/voice_get_pan.3 lib/allegro/man/man3/voice_get_position.3 lib/allegro/man/man3/voice_get_volume.3 lib/allegro/man/man3/voice_ramp_volume.3 lib/allegro/man/man3/voice_set_echo.3 lib/allegro/man/man3/voice_set_frequency.3 lib/allegro/man/man3/voice_set_pan.3 lib/allegro/man/man3/voice_set_playmode.3 lib/allegro/man/man3/voice_set_position.3 lib/allegro/man/man3/voice_set_priority.3 lib/allegro/man/man3/voice_set_tremolo.3 lib/allegro/man/man3/voice_set_vibrato.3 lib/allegro/man/man3/voice_set_volume.3 lib/allegro/man/man3/voice_start.3 lib/allegro/man/man3/voice_stop.3 lib/allegro/man/man3/voice_stop_frequency_sweep.3 lib/allegro/man/man3/voice_stop_pan_sweep.3 lib/allegro/man/man3/voice_stop_volumeramp.3 lib/allegro/man/man3/voice_sweep_frequency.3 lib/allegro/man/man3/voice_sweep_pan.3 lib/allegro/man/man3/vsync.3 lib/allegro/man/man3/xor_mode.3 lib/allegro/man/man3/xwin_set_window_name.3 lib/allegro/man/man3/yield_timeslice.3 lib/liballeg-${PKGVERSION}.so lib/liballeg.a lib/liballeg.so.4.1 lib/liballeg.so.4 lib/liballeg.so lib/liballeg_unsharable.a @dirrm lib/allegro/man/man3 @dirrm lib/allegro/man @dirrm lib/allegro/info @dirrm lib/allegro @dirrm include/allegro/platform @dirrm include/allegro/internal @dirrm include/allegro/inline @dirrm include/allegro graphics/allegro-oss/ 40755 0 0 0 7547663564 13236 5ustar rootwheelgraphics/allegro-oss/DESCR100644 0 0 1171 7547404416 14103 0ustar rootwheelallegro with Open Sound System Allegro is a cross-platform library intended for use in computer games and other types of multimedia programming. It was initially conceived on the Atari ST, but that platform sadly died during childbirth. After a brief stay with Borland C, it was adopted by the fantastic djgpp compiler, where it grew to maturity. In the fullness of time it gave birth to children of its own, who went to live in such exotic locations as DirectX and the X Server, but the entire family is now back together again, living in harmony as a single portable entity. How about that for a mixture of metaphors? :-) graphics/allegro-oss/Makefile100644 0 0 362 7547402144 14735 0ustar rootwheel# $NetBSD$ PKGNAME= allegro-oss-4.1.3 ONLY_FOR_PLATFORM= NetBSD-1.6-i386 NetBSD-1.6.*-i386 CONFIGURE_ARGS+= --enable-ossmidi CONFIGURE_ARGS+= --enable-ossdigi .include "../../audio/oss/buildlink2.mk" .include "../allegro/Makefile.common" graphics/svgalib143/ 40755 0 0 0 7547547211 12654 5ustar rootwheelgraphics/svgalib143/patches/ 40755 0 0 0 7544447027 14304 5ustar rootwheelgraphics/svgalib143/patches/patch-az100644 0 0 20277 7544446603 16062 0ustar rootwheel--- gl/cctext.c.orig Sat Sep 30 20:48:05 2000 +++ gl/cctext.c Mon Sep 20 23:00:19 1999 @@ -0,0 +1,322 @@ +/* Framebuffer Graphics Libary for Linux, + * Copyright 1998 Wei Yongming + * This code is based on partially Harm Hanemaayer's work. + */ +/* cctext.c Chinese (two-byte) Character text writing and fonts */ + + +#include +#include +#include +#include +#include "inlstring.h" /* include inline string operations */ + +#include "vgagl.h" +#include "def.h" + + +/* CCText/font functions */ +// The default font matrics values. +static int afont_width = 8; +static int cfont_width = 16; +static int font_height = 16; +static char *afont_address; +static char *cfont_address; +static int afont_charsize = 128; +static int cfont_charsize = 256; +// The writemode of cc font is always COMPRESSED. +static int font_writemode = WRITEMODE_OVERWRITE; +static int compressed_font_bg = 0; +static int compressed_font_fg = 15; + +void gl_setccfont(int afw, int cfw, int fh, void *afont, void* cfont) +{ + afont_width = afw; + cfont_width = cfw; + font_height = fh; + afont_charsize = afont_width * font_height * BYTESPERPIXEL; + cfont_charsize = cfont_width * font_height * BYTESPERPIXEL; + afont_address = afont; + cfont_address = cfont; +} + +void gl_setccwritemode(int m) +{ + font_writemode = m; +} + +void gl_setccfontcolors(int bg, int fg) +{ + compressed_font_bg = bg; + compressed_font_fg = fg; +} + +void gl_ccwriten(int x, int y, int n, char *s) +{ + char *str = alloca(n + 1); + memcpy(str, s, n); + str[n] = 0; + gl_ccwrite(x, y, str); +} + +#ifndef SVGA_AOUT + +static int ccnprintf(int sx, int sy, + size_t bufs, const char *fmt, va_list args) +{ + char *buf; + static int x = 0, y = 0, x_start = 0; + int n; + + buf = alloca(bufs); + n = vsnprintf(buf, bufs, fmt, args); + if (n < 0) + return n; /* buffer did not suffice, return and retry */ + + if ((sx >= 0) && (sy >= 0)) { + x = x_start = sx; + y = sy; + } + + for (; *buf; buf++) + switch (*buf) { + case '\a': /* badly implemented */ + fputc('\a', stdout); + fflush(stdout); + break; + case '\b': + x -= afont_width; + if (x < x_start) { + x = WIDTH + (x_start % afont_width); + while(x + afont_width > WIDTH) + x -= afont_width; + if (y >= font_height) + y -= font_height; + } + break; + case '\n': + newline: + y += font_height; + if (y + font_height > HEIGHT) + y %= font_height; + case '\r': + x = x_start; + break; + case '\t': + x += ((TEXT_TABSIZE - + ((x - x_start) / afont_width) % TEXT_TABSIZE) * afont_width); + goto chk_wrap; + break; + case '\v': + y += font_height; + if (y + font_height > HEIGHT) + y %= font_height; + break; + default: + if( ((unsigned char)(*buf) > 0xa0) + && ((unsigned char)(*(buf + 1)) > 0xa0)) { + gl_ccwriten(x, y, 2, buf); + buf += 1; + x += cfont_width; + } + else { + gl_ccwriten(x, y, 1, buf); + x += afont_width; + } + chk_wrap: + if (x + afont_width > WIDTH) + goto newline; + } + return n; +} + +int gl_ccprintf(int x, int y, const char *fmt, ...) +{ + size_t bufs = BUFSIZ; + int result; + va_list args; + + va_start(args, fmt); + + /* Loop until buffer size suffices */ + do { + result = ccnprintf(x, y, bufs, fmt, args); + bufs <<= 1; + } while(result < 0); + + va_end(args); + return result; +} + +#endif + +static int getnextchar(char* s, uchar* cc) +{ + if( s[0] == '\0') return 0; + + cc[0] = (unsigned char)(*s); + cc[1] = (unsigned char)(*(s + 1)); + + if( ((unsigned char)cc[0] > 0xa0) && ((unsigned char)cc[1] > 0xa0) ) + return 1; + + cc[1] = '\0'; + + return 1; +} + +static void expandcchar(int bg, int fg, uchar* c, unsigned char *bitmap) +{ + int x, y; + int c1, c2; + unsigned char *font; + int b = 0; /* keep gcc happy with b = 0 - MW */ + + c1 = c[0]; + c2 = c[1]; + + font = cfont_address + ((c1 - 161)*94 + c2 - 161) * + (font_height * ((cfont_width + 7) / 8)); + + for (y = 0; y < font_height; y++) + for (x = 0; x < cfont_width; x++) { + if (x % 8 == 0) + b = *font++; + if (b & (128 >> (x % 8))) /* pixel */ + switch (BYTESPERPIXEL) { + case 1: + *bitmap = fg; + bitmap++; + break; + case 2: + *(ushort *) bitmap = fg; + bitmap += 2; + break; + case 3: + *(ushort *) bitmap = fg; + *(bitmap + 2) = fg >> 16; + bitmap += 3; + break; + case 4: + *(uint *) bitmap = fg; + bitmap += 4; + } else /* background pixel */ + switch (BYTESPERPIXEL) { + case 1: + *bitmap = bg; + bitmap++; + break; + case 2: + *(ushort *) bitmap = bg; + bitmap += 2; + break; + case 3: + *(ushort *) bitmap = bg; + *(bitmap + 2) = bg; + bitmap += 3; + break; + case 4: + *(uint *) bitmap = bg; + bitmap += 4; + } + } +} + +static void expandchar(int bg, int fg, int c, unsigned char *bitmap) +{ + int x, y; + unsigned char *font; + int b = 0; /* keep gcc happy with b = 0 - MW */ + + font = afont_address + c * (font_height * ((afont_width + 7) / 8)); + + for (y = 0; y < font_height; y++) + for (x = 0; x < afont_width; x++) { + if (x % 8 == 0) + b = *font++; + if (b & (128 >> (x % 8))) /* pixel */ + switch (BYTESPERPIXEL) { + case 1: + *bitmap = fg; + bitmap++; + break; + case 2: + *(ushort *) bitmap = fg; + bitmap += 2; + break; + case 3: + *(ushort *) bitmap = fg; + *(bitmap + 2) = fg >> 16; + bitmap += 3; + break; + case 4: + *(uint *) bitmap = fg; + bitmap += 4; + } else /* background pixel */ + switch (BYTESPERPIXEL) { + case 1: + *bitmap = bg; + bitmap++; + break; + case 2: + *(ushort *) bitmap = bg; + bitmap += 2; + break; + case 3: + *(ushort *) bitmap = bg; + *(bitmap + 2) = bg; + bitmap += 3; + break; + case 4: + *(uint *) bitmap = bg; + bitmap += 4; + } + } +} + +/* Write using compressed font. */ + +void gl_ccwrite(int x, int y, char* s) +{ + unsigned char *bitmap; + uchar cc[2]; + + bitmap = (unsigned char *)alloca(cfont_width * font_height * BYTESPERPIXEL); + if( !(font_writemode & WRITEMODE_MASKED) ) { + while( getnextchar(s, cc) ) { + if( cc[1] != '\0') { + expandcchar(compressed_font_bg, compressed_font_fg, + cc, bitmap); + gl_putbox(x, y, cfont_width, font_height, bitmap); + s += 2; + x += cfont_width; + } + else { + expandchar(compressed_font_bg, compressed_font_fg, + cc[0], bitmap); + gl_putbox(x, y, afont_width, font_height, bitmap); + s += 1; + x += afont_width; + } + } + } + else { // masked write. + while( getnextchar(s, cc) ) { + if( cc[1] != '\0') { + expandcchar(0, compressed_font_fg, + cc, bitmap); + gl_putboxmask(x, y, cfont_width, font_height, bitmap); + s += 2; + x += cfont_width; + } + else { + expandchar(0, compressed_font_fg, + cc[0], bitmap); + gl_putboxmask(x, y, afont_width, font_height, bitmap); + s += 1; + x += afont_width; + } + } + } +} + graphics/svgalib143/patches/patch-ab100644 0 0 13574 7541403643 16026 0ustar rootwheel$NetBSD$ --- Makefile.orig Wed Apr 18 10:35:51 2001 +++ Makefile Mon Sep 16 06:41:01 2002 @@ -56,8 +56,8 @@ UTILS = restorefont runx restorepalette restoretextmode textmode \ savetextmode dumpreg fix132x43 -OBSOLETEHDIRS = /usr/include/ /usr/include/vga/ /usr/local/include/ /usr/local/include/vga/ -OBSOLETEBDIRS = /usr/bin/ /usr/local/bin/ +OBSOLETEHDIRS = ${PREFIX}/include/ ${PREFIX}/include/vga/ +OBSOLETEBDIRS = ${PREFIX}/bin/ OBSOLETEHEADERS = /inc/vga.h /inc/vgakeyboard.h /inc/vgamouse.h /inc/vgagl.h /inc/vgajoystick.h @@ -66,14 +66,14 @@ OBSOLETESHAREDIMAGES = /lib/libvgagl.so.* /lib/libvga.so.* ifeq (a.out, $(TARGET_FORMAT)) - OBSOLETELDIRS = /lib/ /usr/lib/ /usr/local/lib/ /usr/share/lib/ \ + OBSOLETELDIRS = ${PREFIX}/lib/ \ $(shell sed 's?\#.*$$??' /etc/ld.so.conf 2>/dev/null | \ sed 's?\([^/]\)[ ]*$$?\1/ ?' ) SHAREDLIBS = sharedlib/libvga.so.$(VERSION) SVGALIBSHAREDSTUBS = sharedlib/libvga.sa sharedlib/libvgagl.sa JUMP = jump else - OBSOLETELDIRS = /lib/ /usr/lib/ /usr/local/lib/ /usr/share/lib/ \ + OBSOLETELDIRS = ${PREFIX}/lib/ \ $(shell sed 's?\#.*$$??' /etc/ld.so.conf 2>/dev/null | \ sed 's?\([^/]\)[ ]*$$?\1/ ?' | grep -v aout/ ) @@ -86,22 +86,31 @@ BACKUP = ../svgalib-$(VERSION).tar.gz -default: - @echo "To install SVGAlib, do one of the following:" - @echo "" - @echo " make clean - clean every thing. Do this after every change" - @echo " of Makefile.cfg! Esp. when changing from a.out" - @echo " to ELF and vice versa" - @echo " make install - compile & install components specified in Makefile.cfg" - @echo " make demoprogs - make demo programs in demo/ and threeDKit/" - @echo "" - @echo " make uninstall - remove an existing installation from various" - @echo " common places. (old traces often confuse the" - @echo " compiler even when svgalib is not installed anew)" - @echo " (make install includes an uninstall first)" - @echo "" - @echo " Be sure to read the file 0-INSTALL!" - @echo "" +#default: +# @echo "To install SVGAlib, do one of the following:" +# @echo "" +# @echo " make clean - clean every thing. Do this after every change" +# @echo " of Makefile.cfg! Esp. when changing from a.out" +# @echo " to ELF and vice versa" +# @echo " make install - compile & install components specified in Makefile.cfg" +# @echo " make demoprogs - make demo programs in demo/ and threeDKit/" +# @echo "" +# @echo " make uninstall - remove an existing installation from various" +# @echo " common places. (old traces often confuse the" +# @echo " compiler even when svgalib is not installed anew)" +# @echo " (make install includes an uninstall first)" +# @echo "" +# @echo " Be sure to read the file 0-INSTALL!" +# @echo "" + +all: static shared +# uninstall $(INSTALLAOUTLIB) installheaders $(INSTALLSHAREDLIB) installconfig \ + $(INSTALLSTATICLIB) $(INSTALLUTILS) $(INSTALLMAN) + @echo + @echo + @echo Now run "'make demoprogs'" to make the test and demo programs in + @echo demos/ and threedkit/. + (cd demos; ${MAKE}) .PHONY: default all install installheaders installconfig .PHONY: clean distclean indent uninstall @@ -110,8 +119,8 @@ installheaders: @echo Installing header files in $(includedir). - @if [ -f /usr/include/vga.h ]; then \ - rm -f /usr/include/vga.h /usr/include/vgagl.h; \ + @if [ -f ${PREFIX}/include/vga.h ]; then \ + rm -f ${PREFIX}/include/vga.h ${PREFIX}/include/vgagl.h; \ echo Old header files in /usr/include removed.; \ fi mkdir -p $(includedir) @@ -225,19 +234,19 @@ mkdir $(datadir); \ chmod go-w $(datadir); \ fi - @if [ \( -f /usr/local/lib/libvga.config -a ! -f $(datadir)/libvga.config \) ]; then \ - echo "Moving old config file /usr/local/lib/libvga.config to $(datadir)." ; \ - mv -f /usr/local/lib/libvga.config $(datadir)/libvga.config; \ - fi - @if [ \( -f /usr/local/lib/libvga.et4000 -a ! -f $(datadir)/libvga.et4000 \) ]; then \ - echo "Moving old config file /usr/local/lib/libvga.et4000 to $(datadir)." ; \ - mv -f /usr/local/lib/libvga.et4000 $(datadir)/libvga.et4000; \ - fi - @if [ \( -f /usr/local/lib/libvga.ega -a ! -f $(datadir)/libvga.ega \) ]; then \ - echo "Moving old config file /usr/local/lib/libvga.ega to $(datadir)." ; \ - mv -f /usr/local/lib/libvga.ega $(datadir)/libvga.ega; \ + @if [ \( -f ${PREFIX}/lib/libvga.config -a ! -f $(datadir)/libvga.config \) ]; then \ + echo "Moving old config file ${PREFIX}/lib/libvga.config to $(datadir)." ; \ + mv -f ${PREFIX}/lib/libvga.config $(datadir)/libvga.config; \ + fi + @if [ \( -f ${PREFIX}/lib/libvga.et4000 -a ! -f $(datadir)/libvga.et4000 \) ]; then \ + echo "Moving old config file ${PREFIX}/lib/libvga.et4000 to $(datadir)." ; \ + mv -f ${PREFIX}/lib/libvga.et4000 $(datadir)/libvga.et4000; \ + fi + @if [ \( -f ${PREFIX}/lib/libvga.ega -a ! -f $(datadir)/libvga.ega \) ]; then \ + echo "Moving old config file ${PREFIX}/lib/libvga.ega to $(datadir)." ; \ + mv -f ${PREFIX}/lib/libvga.ega $(datadir)/libvga.ega; \ fi - @if [ \( -f /etc/mach32.eeprom -a ! -f $(datadir)/mach32.eeprom \) ]; then \ + @if [ \( -f ${PREFIX}/etc/mach32.eeprom -a ! -f $(datadir)/mach32.eeprom \) ]; then \ echo Consider moving your /etc/mach32.eeprom file to $(datadir) ; \ echo and changing $(datadir)/libvga.config appropriately. ; \ fi @@ -261,12 +270,9 @@ installman: (cd doc; $(MAKE) -f $(srcdir)/doc/Makefile srcdir="$(srcdir)" install ) -install: uninstall $(INSTALLAOUTLIB) installheaders $(INSTALLSHAREDLIB) installconfig \ - $(INSTALLSTATICLIB) $(INSTALLUTILS) $(INSTALLMAN) - @echo - @echo - @echo Now run "'make demoprogs'" to make the test and demo programs in - @echo demos/ and threedkit/. + +install: $(INSTALLAOUTLIB) installheaders $(INSTALLSHAREDLIB) installconfig installman installstaticlib +#uninstall uninstall: @echo "Removing textmode utilities..." graphics/svgalib143/patches/patch-ac100644 0 0 44377 7542224101 16023 0ustar rootwheel--- src/vga.c.orig Tue May 29 07:37:55 2001 +++ src/vga.c Wed Sep 18 18:27:18 2002 @@ -22,13 +22,20 @@ #include #include #include -#include +#ifdef __NetBSD__ +#include +int iopl(int level); +#include +#include +#endif #include #include -#include #include #include #include +#ifdef USEGLIBC +#include +#endif #include "vga.h" #include "libvga.h" #include "driver.h" @@ -767,12 +774,23 @@ #define _DEBUG(d) #endif +static void save_text(void) +{ +/* memcpy(saved_text,B8000_MEM_POINTER,32768);*/ +}; + +static void restore_text(void) +{ +/* memcpy(B8000_MEM_POINTER,saved_text,32768);*/ +}; + + static void set_graphtermio(void) { /* Leave keyboard alone when rawkeyboard is enabled! */ if (__svgalib_kbd_fd < 0) { /* set graphics mode termio parameters */ - ioctl(0, TCSETSW, &graph_termio); + ioctl(0, TIOCSETAW, &graph_termio); } } @@ -782,7 +800,7 @@ /* Leave keyboard alone when rawkeyboard is enabled! */ if (__svgalib_kbd_fd < 0) { /* restore text mode termio parameters */ - ioctl(0, TCSETSW, &text_termio); + ioctl(0, TIOCSETAW, &text_termio); } } @@ -793,9 +811,9 @@ /* Well, one could argue that sigint is not enabled at all when in __svgalib_nosigint but sometimes they *still* are enabled b4 graph_termio is set.. */ - ioctl(0, TCGETS, &cur_termio); + ioctl(0, TIOCGETA, &cur_termio); cur_termio.c_lflag &= ~ISIG; - ioctl(0, TCSETSW, &cur_termio); + ioctl(0, TIOCSETAW, &cur_termio); } @@ -805,9 +823,9 @@ if (__svgalib_nosigint) /* do not reenable, they are often reenabled by text_termio */ return; - ioctl(0, TCGETS, &cur_termio); + ioctl(0, TIOCGETA, &cur_termio); cur_termio.c_lflag |= ISIG; - ioctl(0, TCSETSW, &cur_termio); + ioctl(0, TIOCSETAW, &cur_termio); } /* The following is rather messy and inelegant. The only solution I can */ @@ -836,10 +854,10 @@ char tmp[40]; #endif #endif - +/* if (CHIPSET == FBDEV) return; - +*/ /* Ensure that the open will get a file descriptor greater * than 2, else problems can occur with stdio functions * under certain strange conditions: */ @@ -893,7 +911,7 @@ void __svgalib_open_devconsole(void) { struct vt_mode vtm; - struct vt_stat vts; + int vts; struct stat sbuf; char fname[30]; @@ -916,33 +934,55 @@ for (__svgalib_tty_fd = 0; __svgalib_tty_fd < 3; __svgalib_tty_fd++) { if (fstat(__svgalib_tty_fd, &sbuf) < 0) continue; - if (ioctl(__svgalib_tty_fd, VT_GETMODE, &vtm) < 0) - continue; - if ((sbuf.st_rdev & 0xff00) != 0x400) + if (ioctl(__svgalib_tty_fd, VT_GETMODE, &vtm) < 0) { +printf("not support VT_GETMODE\n"); continue; - if (!(sbuf.st_rdev & 0xff)) - continue; - svgalib_vc = sbuf.st_rdev & 0xff; + } +#ifdef __NetBSD__ + if ((sbuf.st_rdev & 0xff00) != 0x2f00) { +printf("rdev = %x \n",sbuf.st_rdev); +fflush(stdout); + continue; + } + svgalib_vc = (sbuf.st_rdev & 0xff) + 1; +printf("perfect %d\n",svgalib_vc); +fflush(stdout); return; /* perfect */ +#endif } +printf("not foound\n"); + +#ifdef linux if ((__svgalib_tty_fd = open("/dev/console", O_RDWR)) < 0) { printf("svgalib: can't open /dev/console \n"); exit(1); } - if (ioctl(__svgalib_tty_fd, VT_OPENQRY, &svgalib_vc) < 0) +#endif +#ifdef __NetBSD__ + if ((__svgalib_tty_fd = open("/dev/ttyE0", O_RDWR)) < 0) { + printf("svgalib: can't open /dev/ttyE0 \n"); + exit(1); + } +#endif + if (ioctl(__svgalib_tty_fd, VT_OPENQRY, &svgalib_vc) < 0) { +printf("not support VG_OPENQRY\n"); goto error; + } if (svgalib_vc <= 0) goto error; - sprintf(fname, "/dev/tty%d", svgalib_vc); +#ifdef __NetBSD__ + sprintf(fname, "/dev/ttyE%d", svgalib_vc-1); +#endif close(__svgalib_tty_fd); /* change our control terminal: */ setpgid(0,getppid()); setsid(); /* We must use RDWR to allow for output... */ if (((__svgalib_tty_fd = open(fname, O_RDWR)) >= 0) && - (ioctl(__svgalib_tty_fd, VT_GETSTATE, &vts) >= 0)) { - if (!check_owner(vts.v_active)) + (ioctl(__svgalib_tty_fd, VT_GETACTIVE, &vts) >= 0)) + { + if (!check_owner(vts)) goto error; /* success, redirect all stdios */ if (DREP) @@ -959,13 +999,14 @@ /* clear screen and switch to it */ fwrite("\e[H\e[J", 6, 1, stderr); fflush(stderr); - if (svgalib_vc != vts.v_active) { - startup_vc = vts.v_active; + if (svgalib_vc != vts) { + startup_vc = vts; ioctl(__svgalib_tty_fd, VT_ACTIVATE, svgalib_vc); __svgalib_waitvtactive(); } } else { error: +printf("tty_fd = %d\n",__svgalib_tty_fd); if (__svgalib_tty_fd > 2) close(__svgalib_tty_fd); __svgalib_tty_fd = - 1; @@ -987,7 +1028,8 @@ /* If IOPERM is set, assume permissions have already been obtained */ /* by a calling (exec-ing) process, e.g. ioperm(1). */ - if (CHIPSET != FBDEV && getenv("IOPERM") == NULL) +#ifdef linux + if (getenv("IOPERM") == NULL) #ifdef __alpha__ if (ioperm(0x0000, 0x10000, 1)) { printf("svgalib: Cannot get I/O permissions.\n"); @@ -999,6 +1041,15 @@ exit(1); } #endif +#endif + +#if defined(__NetBSD__) + i386_iopl(3); + if (ioctl(__svgalib_tty_fd, KDENABIO, 0) < 0) { + printf("svgalib: KDENABIO fail\n"); + exit(1); + } +#endif /* Open /dev/mem (also needs supervisor rights; ioperm(1) can be */ /* used together with a special group that has r/w access on */ @@ -1008,7 +1059,7 @@ __svgalib_open_devconsole(); /* color or monochrome text emulation? */ - if (CHIPSET != EGA && CHIPSET != FBDEV && !__svgalib_novga) + if (CHIPSET != EGA && !__svgalib_novga) color_text = port_in(MIS_R) & 0x01; else color_text = 1; /* EGA is assumed color */ @@ -1082,91 +1133,6 @@ } #endif -#define TEXT_SIZE 65536 - -static void restore_text(void) -{ - - __svgalib_outseq(0x02,0x01); - -#ifdef __alpha__ - port_out(0x06, GRA_I); - port_out(0x00, GRA_D); -#endif - -#ifdef BACKGROUND - if (-1 == mprotect(text_buf1,TEXT_SIZE*2,PROT_READ|PROT_WRITE)) - { - printf("svgalib: Memory protect error\n"); - exit(-1); - } -#endif - -#if defined(CONFIG_ALPHA_JENSEN) - slowcpy_to_sm(SM, text_buf1, TEXT_SIZE); -#else - slowcpy(GM, text_buf1, TEXT_SIZE); -#endif - - __svgalib_outseq(0x02,0x02); -#if defined(CONFIG_ALPHA_JENSEN) - slowcpy_to_sm(SM, text_buf2, TEXT_SIZE); -#else - slowcpy(GM, text_buf2, TEXT_SIZE); -#endif -#ifdef BACKGROUND - if (-1 == mprotect(text_buf1,TEXT_SIZE*2,PROT_READ)) - { - printf("svgalib: Memory protect error\n"); - exit(1); - } -#endif -}; - -static void save_text(void) -{ - -#ifndef BACKGROUND - text_buf1 = malloc(TEXT_SIZE * 2); -#endif -#ifdef BACKGROUND - text_buf1 = valloc(TEXT_SIZE * 2); -#endif - text_buf2 = text_buf1 + TEXT_SIZE; - - port_out(0x04, GRA_I); - port_out(0x00, GRA_D); -#ifdef __alpha__ - port_out(0x06, GRA_I); - port_out(0x00, GRA_D); -#endif -#if defined(CONFIG_ALPHA_JENSEN) - slowcpy_from_sm(text_buf1, SM, TEXT_SIZE); -#else - slowcpy(text_buf1, GM, TEXT_SIZE); -#endif - - /* save font data in plane 3 */ - port_out(0x04, GRA_I); - port_out(0x01, GRA_D); -#if defined(CONFIG_ALPHA_JENSEN) - slowcpy_from_sm(text_buf2, SM, TEXT_SIZE); -#else - slowcpy(text_buf2, GM, TEXT_SIZE); -#endif - -#ifdef BACKGROUND - /* Let's protect font. */ - /* Read only */ - if (-1 == mprotect(text_buf1,TEXT_SIZE*2,PROT_READ)) - { - printf("svgalib: Memory protect error\n"); - exit(-1); - } -#endif - -}; - int __svgalib_saveregs(unsigned char *regs) { int i; @@ -1177,7 +1143,8 @@ } /* save VGA registers */ for (i = 0; i < CRT_C; i++) { - regs[CRT + i] = __svgalib_incrtc(i); + port_out(i, __svgalib_CRT_I); + regs[CRT + i] = port_in(__svgalib_CRT_D); } for (i = 0; i < ATT_C; i++) { port_in(__svgalib_IS1_R); @@ -1195,7 +1162,7 @@ port_out(i, SEQ_I); regs[SEQ + i] = port_in(SEQ_D); } - regs[MIS] = __svgalib_inmisc(); + regs[MIS] = port_in(MIS_R); i = chipset_saveregs(regs); /* save chipset-specific registers */ /* i : additional registers */ @@ -1220,29 +1187,33 @@ port_out(0x01, GRA_E1); } /* update misc output register */ - __svgalib_outmisc(regs[MIS]); + port_out(regs[MIS], MIS_W); /* synchronous reset on */ - __svgalib_outseq(0x00,0x01); + port_out(0x00, SEQ_I); + port_out(0x01, SEQ_D); /* write sequencer registers */ - __svgalib_outseq(0x01,regs[SEQ + 1] | 0x20); port_out(1, SEQ_I); port_out(regs[SEQ + 1] | 0x20, SEQ_D); for (i = 2; i < SEQ_C; i++) { - __svgalib_outseq(i,regs[SEQ + i]); + port_out(i, SEQ_I); + port_out(regs[SEQ + i], SEQ_D); } /* synchronous reset off */ - __svgalib_outseq(0x00,0x03); + port_out(0x00, SEQ_I); + port_out(0x03, SEQ_D); if (__svgalib_chipset != EGA) { /* deprotect CRT registers 0-7 */ - __svgalib_outcrtc(0x11,__svgalib_incrtc(0x11)&0x7f); + port_out(0x11, __svgalib_CRT_I); + port_out(port_in(__svgalib_CRT_D) & 0x7F, __svgalib_CRT_D); } /* write CRT registers */ for (i = 0; i < CRT_C; i++) { - __svgalib_outcrtc(i,regs[CRT + i]); + port_out(i, __svgalib_CRT_I); + port_out(regs[CRT + i], __svgalib_CRT_D); } /* write graphics controller registers */ @@ -1271,7 +1242,10 @@ SIGTRAP, SIGIOT, SIGBUS, SIGFPE, SIGSEGV, SIGPIPE, SIGALRM, SIGTERM, SIGXCPU, SIGXFSZ, SIGVTALRM, -/* SIGPROF ,*/ SIGPWR}; +#ifdef SIGPWR +/* SIGPROF ,*/ SIGPWR +#endif +}; static struct sigaction old_signal_handler[sizeof(sig2catch)]; struct vt_mode __svgalib_oldvtmode; @@ -1620,6 +1594,7 @@ void __svgalib_flipaway(void); static void __svgalib_flipback(void); +#define DEBUG static void __svgalib_releasevt_signal(int n) { if (lock_count) { @@ -1635,8 +1610,6 @@ ioctl(__svgalib_tty_fd, VT_RELDISP, 0); return; } - if (__svgalib_go_to_background) - (__svgalib_go_to_background) (); __svgalib_flipaway(); if((__svgalib_textprog&3)==3){ pid_t child; @@ -1654,7 +1627,7 @@ /* Suspend program until switched to again. */ #ifdef DEBUG - printf("Suspended.\n"); + printf("Suspended. %d\n",svgalib_vc); #endif __svgalib_oktowrite = 0; @@ -1673,6 +1646,8 @@ forbidvtrelease = 1; if (forbidvtacquire) { forbidvtrelease = 0; +printf("Acquisition request. ERRR\n"); + ioctl(__svgalib_tty_fd, VT_RELDISP, 0); return; } __svgalib_flipback(); @@ -1681,13 +1656,12 @@ printf("Finished acquisition.\n"); #endif forbidvtrelease = 0; - if (__svgalib_come_from_background) - (__svgalib_come_from_background) (); __svgalib_oktowrite = 1; } #endif +#undef DEBUG #ifndef BACKGROUND void __svgalib_takevtcontrol(void) @@ -1879,12 +1853,12 @@ #endif /* save text mode termio parameters */ - ioctl(0, TCGETS, &text_termio); + ioctl(0, TIOCGETA, &text_termio); graph_termio = text_termio; /* change termio parameters to allow our own I/O processing */ - graph_termio.c_iflag &= ~(BRKINT | PARMRK | INPCK | IUCLC | IXON | IXOFF); + graph_termio.c_iflag &= ~(BRKINT | PARMRK | INPCK | IXON | IXOFF); graph_termio.c_iflag |= (IGNBRK | IGNPAR); graph_termio.c_oflag &= ~(ONOCR); @@ -1990,8 +1964,8 @@ if (__svgalib_driverspecs->emul && __svgalib_driverspecs->emul->savefont) { __svgalib_driverspecs->emul->savefont(); } else if(!__svgalib_novga) { - __svgalib_driverspecs->setmode(GPLANE16, prv_mode); save_text(); + __svgalib_driverspecs->setmode(GPLANE16, prv_mode); /* Allocate space for textmode font. */ #ifndef BACKGROUND @@ -2052,7 +2026,7 @@ inline void vga_setpage(int p) { p += vga_page_offset; - if (p == __svgalib_currentpage && !__svgalib_simple) + if (p == __svgalib_currentpage) return; (*__svgalib_setpage) (p); __svgalib_currentpage = p; @@ -2162,7 +2136,7 @@ * ioperm(1). */ - if (CHIPSET != FBDEV && getenv("IOPERM") == NULL) { + if (getenv("IOPERM") == NULL) { if (iopl(3) < 0) { printf("svgalib(vga_safety_fork): Cannot get I/O permissions.\n"); exit(1); @@ -2193,18 +2167,18 @@ static void prepareforfontloading(void) { if (__svgalib_chipset == CIRRUS) { - outb(SEQ_I, 0x0f); + outb(0x3c4, 0x0f); /* Disable CRT FIFO Fast-Page mode. */ - outb(SEQ_D, inb(SEQ_D) | 0x40); + outb(0x3c5, inb(0x3c5) | 0x40); } } static void fontloadingcomplete(void) { if (__svgalib_chipset == CIRRUS) { - outb(SEQ_I, 0x0f); + outb(0x3c4, 0x0f); /* Re-enable CRT FIFO Fast-Page mode. */ - outb(SEQ_D, inb(SEQ_D) & 0xbf); + outb(0x3c5, inb(0x3c5) & 0xbf); } } @@ -2213,8 +2187,6 @@ { int modeflags=mode&0xfffff000; - if(mode==-1)return vga_version; - mode&=0xfff; #ifdef BACKGROUND __svgalib_dont_switch_vt_yet(); @@ -2269,13 +2241,21 @@ if (__svgalib_getchipset() == CHIPS) { while (((port_in(__svgalib_IS1_R)) & 0x08) == 0x08 );/* wait VSync off */ while (((port_in(__svgalib_IS1_R)) & 0x08) == 0 ); /* wait VSync on */ - port_outw(0x07,SEQ_I); /* reset hsync - just in case... */ + port_outw(0x07,0x3C4); /* reset hsync - just in case... */ } } if (mode == TEXT) { /* Returning to textmode. */ + if (prv_mode != TEXT && mouse_mode == prv_mode) { +#ifdef DEBUG + printf("svgalib: Closing mouse.\n"); +#endif + mouse_close(); + mouse_mode = 0; + /* vga_unlockvc(); */ + } if (SVGAMODE(prv_mode)) vga_setpage(0); @@ -2290,6 +2270,7 @@ __svgalib_driverspecs->emul->restorefont(); chipset_setregs(text_regs, mode); } else if(!__svgalib_novga) { + restore_text(); __svgalib_driverspecs->setmode(GPLANE16, prv_mode); if (CHIPSET != EGA) @@ -2301,7 +2282,6 @@ port_out(0x00, GRA_D); prepareforfontloading(); - restore_text(); /* restore font data in plane 2 - necessary for all VGA's */ port_out(0x02, SEQ_I); @@ -2442,12 +2422,19 @@ if (!flip) vga_screenon(); - if (mouse_support && mouse_open) { + if (mouse_support) { +#ifdef DEBUG + printf("svgalib: Opening mouse (type = %x).\n", mouse_type | mouse_modem_ctl); +#endif + if (mouse_init(mouse_device, mouse_type | mouse_modem_ctl, MOUSE_DEFAULTSAMPLERATE)) + printf("svgalib: Failed to initialize mouse.\n"); + else { /* vga_lockvc(); */ mouse_setxrange(0, CI.xdim - 1); mouse_setyrange(0, CI.ydim - 1); mouse_setwrap(MOUSE_NOWRAP); mouse_mode = mode; + } } { vga_modeinfo *modeinfo; modeinfo = vga_getmodeinfo(mode); @@ -2638,7 +2625,8 @@ int i; for (i = 0; i < CRT_C; i++) { - regs[i] = __svgalib_incrtc(i); + port_out(i, __svgalib_CRT_I); + regs[i] = port_in(__svgalib_CRT_D); } return 0; } @@ -2648,9 +2636,11 @@ if(CM>9) return -1; - __svgalib_outcrtc(0x11,__svgalib_incrtc(0x11)&0x7f); + port_out(0x11, __svgalib_CRT_I); + port_out(port_in(__svgalib_CRT_D) & 0x7F, __svgalib_CRT_D); for (i = 0; i < CRT_C; i++) { - __svgalib_outcrtc(i,regs[i]); + port_out(i, __svgalib_CRT_I); + port_out(regs[i], __svgalib_CRT_D); } return 0; @@ -3174,7 +3164,6 @@ /* wait for any blitter operation to finish */ idle_accel(); /* Save state and go to textmode. */ - __svgalib_saveregs(graph_regs); savestate(); flip = 1; if(!__svgalib_secondary)vga_setmode(TEXT); @@ -3235,7 +3224,6 @@ __svgalib_driverspecs->linear(LINEAR_ENABLE, (long)__svgalib_physaddr); } #endif - __svgalib_setregs(graph_regs); restorestate(); #ifdef BACKGROUND /* Has to make sure right page is on. */ @@ -3632,9 +3620,6 @@ for (i = 0, tabptr = conf_mousenames; *tabptr; tabptr++, i++) { if (!strcasecmp(ptr, *tabptr)) { mouse_type = i; -#ifdef DEBUG_DRMOUSE4DS - fprintf(stderr, "mouse type: %d: %s \n", i, conf_mousenames[i]); -#endif goto leave; } } @@ -4029,12 +4014,8 @@ __svgalib_TextProg_argv[0]=ptb?ptb + 1:__svgalib_TextProg; break; case 56: -#ifdef INCLUDE_VESA_DRIVER __svgalib_vesatext=1; break; -#else - printf("svgalib: Warning: VESA support not enabled!\n"); -#endif case 57: /* Vesa save bitmap */ #ifdef INCLUDE_VESA_DRIVER ptr = strtok(NULL, " "); @@ -4279,49 +4260,10 @@ return __svgalib_oktowrite; } -void vga_chipset_setregs(unsigned char regs[]) -{ - chipset_setregs(regs, TEXT); /* Why TEXT? Can't think of smthg else*/ -} - -void vga_chipset_saveregs(unsigned char regs[]) -{ - chipset_saveregs(regs); -} - -int vga_simple_init(void) -{ - __svgalib_simple = 1; - __svgalib_novccontrol = 1; - __svgalib_driver_report = 0; - readconfigfile(); - vga_hasmode(TEXT); - if(__svgalib_mmio_size) - MMIO_POINTER=mmap((caddr_t) 0, - __svgalib_mmio_size, - PROT_READ | PROT_WRITE, - MAP_SHARED, - __svgalib_mem_fd, - (off_t) __svgalib_mmio_base - ); else MMIO_POINTER=NULL; - close(__svgalib_mem_fd); - return 0; -} - -int vga_initf(int flags) { - if(flags&1) - __svgalib_novccontrol=2; - if(flags&2) - __svgalib_secondary=2; - return vga_init(); -} - - int vga_init(void) { int retval = 0; -#if 0 __svgalib_open_devconsole(); if (__svgalib_tty_fd < 0) { /* Return with error code. */ @@ -4332,14 +4274,6 @@ readconfigfile(); vga_hasmode(TEXT); /* Force driver message and initialization. */ } -#else - readconfigfile(); - vga_hasmode(TEXT); - if(__svgalib_driver_report) { - printf("svgalib %s\n", versionstr); - } - if(!__svgalib_novccontrol)__svgalib_open_devconsole(); -#endif if(B8000_MEM_POINTER==NULL){ if(__svgalib_banked_mem_base==0)__svgalib_banked_mem_base=0xa0000; @@ -4440,6 +4374,12 @@ return i; }; + +#ifdef __NetBSD__ +int iopl(int level) { + return 0; +} +#endif #ifdef __alpha__ graphics/svgalib143/patches/patch-ae100644 0 0 1130 7541403665 15776 0ustar rootwheel$NetBSD$ --- src/vgamisc.c.orig Fri Jul 26 23:31:58 2002 +++ src/vgamisc.c Fri Jul 26 23:36:49 2002 @@ -73,11 +73,18 @@ return __svgalib_graph_mem; } +#ifdef linux #include #include +#endif int __svgalib_physmem(void) { +#ifdef __NetBSD__ + printf("__svgalib_physmem: Cannot use on NetBSD\n"); + return -1; +#endif +#ifdef linux #ifdef __alpha__ printf("__svgalib_physmem: are you sure you wanna do this??\n"); return -1; @@ -86,6 +93,7 @@ si.totalram = 0; syscall(SYS_sysinfo, &si); return si.totalram; +#endif #endif } graphics/svgalib143/patches/patch-af100644 0 0 1554 7541403674 16011 0ustar rootwheel$NetBSD$ --- src/mouse/mouse.c.orig Sat Sep 16 12:07:14 2000 +++ src/mouse/mouse.c Mon Sep 16 01:37:04 2002 @@ -14,7 +14,11 @@ static struct MouseCaps mouse_caps = {0, 0, 0, 0, 0, 0}; +#ifdef __NetBSD__ +#include "wsmouse.c" +#else #include "ms.c" /* include low-level mouse driver */ +#endif static struct sigaction oldsiga; @@ -39,16 +43,20 @@ m_dev = "/dev/mouse"; else m_dev = dev; +#ifndef __NetBSD__ m_type = type & MOUSE_TYPE_MASK; m_modem_ctl = type & ~MOUSE_TYPE_MASK; +#endif m_sample = samplerate; currentinthandler = NULL; +#ifndef __NetBSD__ /* Initialize mouse device. */ - if (m_type == MOUSE_NONE || m_type < MOUSE_MICROSOFT || m_type > MOUSE_LAST) + if (m_type == MOUSE_NONE || m_type < MOUSE_MICROSOFT || m_type > MOUSE_IMPS2) return -1; +#endif if (ms_init()) return -1; graphics/svgalib143/patches/patch-ag100644 0 0 6676 7541403703 16015 0ustar rootwheel$NetBSD$ --- src/mouse/wsmouse.c.orig Fri Jul 26 23:40:46 2002 +++ src/mouse/wsmouse.c Fri Jul 26 23:40:46 2002 @@ -0,0 +1,128 @@ + +/* Based on: + * simple driver for serial mouse + * Andrew Haylett, 14th December 1992 + * and on the driver in XFree86. + * Edited for svgalib (hhanemaa@cs.ruu.nl). + * This probably doesn't work with all types of bus mouse. + * HH: Added PS/2 mouse support. + * Fixed Logitech support thanks to Daniel Jackson. + * MouseSystems movement overflow fixed by Steve VanDevender. + * Logitech fixed again. + * Michael: Added support for controlling DTR and RTS. + * Added mouse acceleration 3/97 - Mike Chapman mike@paranoia.com + * Added Intellimouse support 5/98 - Brion Vibber brion@pobox.com + * Totally customisable mouse behaviour 28 Mar 1998 - by 101; 101@kempelen.inf.bme.hu + * Added rx-axis support for IntelliMouse wheel and improved fake keyboard + * event scancode setting 7/98 - Brion + */ + +/* This file is included by mouse.c. */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +static int m_sample; +static char* m_dev; +static int m_but; +static int m_fdmode; + +int __svgalib_mouse_fd = -1; +unsigned char __svgalib_m_ignore_dx = 0; +unsigned char __svgalib_m_ignore_dy = 0; +unsigned char __svgalib_m_ignore_dz = 0; + +static int ms_init(void) { + if ((__svgalib_mouse_fd = open(m_dev, O_RDWR | O_NDELAY )) < 0) + return -1; + m_fdmode = 0; + return 0; +} + +static inline void ms_close(void) +{ + if (__svgalib_mouse_fd == -1) + return; + close(__svgalib_mouse_fd); + __svgalib_mouse_fd = -1; +} + +#define MOUSEBUFFERSIZE 256 + +static int get_ms_event(int wait) { +/* + Changed to process multiple packets. + wait value: + 0 Process any mouse events, and return status. + 1 Wait for mouse event, then return. + + Status indicates whether an event was processed. + */ + + struct wscons_event ev[16]; + int i,n,c,d,r; + + if (__svgalib_mouse_fd < 0) return -1; + if (wait && !m_fdmode) { + fcntl(__svgalib_mouse_fd, F_SETFL, O_RDONLY); + m_fdmode = 1; + } else if (!wait && m_fdmode) { + fcntl(__svgalib_mouse_fd, F_SETFL, O_RDONLY | O_NDELAY); + m_fdmode = 0; + } + + r = read(__svgalib_mouse_fd,ev,sizeof(ev)); + if (r < 0) { + ms_close(); + return -1; + } + n = r/sizeof(ev[0]); + c = 0; + for (i=0; i +#endif #if ( LINUX_VESION_CODE >= 131584) #include graphics/svgalib143/patches/patch-ai100644 0 0 4557 7542457010 16014 0ustar rootwheel$NetBSD$ --- src/keyboard/keyboard.c.orig Fri Jul 26 23:45:33 2002 +++ src/keyboard/keyboard.c Fri Jul 26 23:52:55 2002 @@ -28,12 +28,22 @@ #include #include #include +#ifdef linux #include /* linux/keyboard.h defines NR_KEYS and some scancode-like constants, so it */ /* should also be useful for svgalib programs using the keyboard. It misses */ /* a few KERNEL ifdefs around kernel data structures though. */ #include #include +#endif +#ifdef __FreeBSD__ +#include +#define NR_KEYS 256 +#endif +#ifdef __NetBSD__ +#include +#define NR_KEYS 256 +#endif /* Needed to check uid of keymap files */ #include #include @@ -112,7 +122,7 @@ static int expand_events(int n) { struct FakeMouseEvent *newptr = 0; -/* int n; */ +/* int n; */ if ( ! fake_mouse_events) { #ifdef DEBUG_KEYBOARD @@ -340,7 +350,12 @@ tcsetattr(__svgalib_kbd_fd, TCSAFLUSH, &newkbdtermios); +#ifdef linux ioctl(__svgalib_kbd_fd, KDSKBMODE, K_MEDIUMRAW); +#endif +#ifdef __NetBSD__ + ioctl(__svgalib_kbd_fd, KDSKBMODE, K_RAW); /* ??? */ +#endif keyboard_clearstate(); @@ -482,7 +497,7 @@ win_state = is_pressed; break; - case SCANCODE_F1 ... SCANCODE_F10: + case SCANCODE_F1...SCANCODE_F10: functionkey_state = (is_pressed) ? functionkey_state | 1 << (scancode - SCANCODE_F1) : functionkey_state & ~(1 << (scancode - SCANCODE_F1)); @@ -578,7 +593,9 @@ /* VT switch. */ /* *** what about F11 & F12? */ int j, vt = 0; +#ifdef VT_GETSTATE struct vt_stat vts; +#endif for (j = 0; j < 12; j++) if (functionkey_state & (1 << j)) { vt = j + 1; @@ -587,8 +604,8 @@ } /* Do not switch vt's if need not to */ +#ifdef VT_GETSTATE ioctl(__svgalib_tty_fd, VT_GETSTATE, &vts); - if(vt != vts.v_active) { /* if switching vt's, need to clear keystates */ keyboard_clearstate(); @@ -599,6 +616,13 @@ ioctl(__svgalib_tty_fd, VT_ACTIVATE, vt); return 1; } +#else + if (0) { /* ??? */ + keyboard_clearstate(); + ioctl(__svgalib_tty_fd, VT_ACTIVATE, vt); + return 1; + } +#endif } __svgalib_keyboard_eventhandler(scancode, (buf[i] & 0x80) ? KEY_EVENTRELEASE : KEY_EVENTPRESS); graphics/svgalib143/patches/patch-aj100644 0 0 432 7541403730 15760 0ustar rootwheel$NetBSD$ --- gl/inlstring.h.orig Tue Sep 21 03:45:31 1999 +++ gl/inlstring.h Thu Aug 1 13:30:36 2002 @@ -1,6 +1,8 @@ /* Based on functions in linux/string.h */ +#ifdef linux #include /* for size_t */ +#endif #if defined(__alpha__) || defined (NO_ASSEMBLY) graphics/svgalib143/patches/patch-ak100644 0 0 3136 7541403736 16013 0ustar rootwheel$NetBSD$ --- src/Makefile.orig Tue May 29 23:36:53 2001 +++ src/Makefile Sun Jul 28 02:01:12 2002 @@ -32,7 +32,7 @@ JOYSTICK = joystick/joystick.o RAMDAC = ramdac/ramdac.o ramdac/normal.o ramdac/attdacs.o ramdac/sierra.o \ ramdac/icw.o ramdac/s3dacs.o ramdac/IBMRGB52x.o -CLOCKCHIP = clockchip/icd2061a.o +#CLOCKCHIP = clockchip/icd2061a.o # defines for all files. ifeq (y, $(NO_ASM)) @@ -403,7 +403,7 @@ $(AR) rcs libvga.a $(ALLOBJS) libvgagl.a: FORCE - make -f $(srcdir)/gl/Makefile $@ srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)" + ${MAKE} -f $(srcdir)/gl/Makefile $@ srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)" vga.o: vga.c $(CC) $(CFLAGS) $(VGA_DEFINES) -c -o $@ $< @@ -425,7 +425,7 @@ dep: rm -f .depend.src - make .depend.src + ${MAKE} .depend.src .depend.src: echo '# Module dependencies' >>.depend.src @@ -448,10 +448,10 @@ $(CC) $(INCLUDES) -MM $(patsubst %.o,$(srcdir)/src/%.c,$(RAMDAC)) >.depend.src.ramdac sed 's#^\(.*\.o\):#ramdac/\1:#g' <.depend.src.ramdac >>.depend.src rm -f .depend.src.ramdac - echo '# Clockchip dependencies' >>.depend.src - $(CC) $(INCLUDES) -MM $(patsubst %.o,$(srcdir)/src/%.c,$(CLOCKCHIP)) >.depend.src.clockchip - sed 's#^\(.*\.o\):#clockchip/\1:#g' <.depend.src.clockchip >>.depend.src - rm -f .depend.src.clockchip +# echo '# Clockchip dependencies' >>.depend.src +# $(CC) $(INCLUDES) -MM $(patsubst %.o,$(srcdir)/src/%.c,$(CLOCKCHIP)) >.depend.src.clockchip +# sed 's#^\(.*\.o\):#clockchip/\1:#g' <.depend.src.clockchip >>.depend.src +# rm -f .depend.src.clockchip clean: rm -f .depend.src *~ *.o mouse/*.o keyboard/*.o mouse/*~ keyboard/*~ \ graphics/svgalib143/patches/patch-al100644 0 0 507 7541403745 15773 0ustar rootwheel$NetBSD$ --- demos/Makefile.orig Sat Jul 27 00:19:29 2002 +++ demos/Makefile Sat Jul 27 00:19:53 2002 @@ -32,7 +32,7 @@ LIBS = -lvgagl -lvga endif ifndef LIBS - LIBS = ../staticlib/libvgagl.a ../staticlib/libvga.a -lm + LIBS = ../staticlib/libvgagl.a ../staticlib/libvga.a -lm -li386 LVGADEP = $(LIBS) endif graphics/svgalib143/patches/patch-am100644 0 0 434 7541403757 15776 0ustar rootwheel$NetBSD$ --- demos/accel.c.orig Sat Jul 27 00:24:30 2002 +++ demos/accel.c Sat Jul 27 00:24:45 2002 @@ -12,7 +12,7 @@ #include #include #include -#include +/* #include */ #include #include "vga.h" #include "vgagl.h" graphics/svgalib143/patches/patch-an100644 0 0 1514 7541403765 16016 0ustar rootwheel$NetBSD$ --- src/config/libvga.config.orig Sun Jul 28 02:07:19 2002 +++ src/config/libvga.config Sun Jul 28 02:13:16 2002 @@ -31,7 +31,7 @@ # mouse DRMOUSE4DS # Digital Research double-wheeled mouse # mouse none # None -mouse Microsoft +mouse PS2 # Mouse/keyboard customisation by 101 (Attila Lendvai). If you have any good # ideas you can reach me at 101@kempelen.inf.bme.hu @@ -102,6 +102,7 @@ # want to specify a different device for svgalib to use # mdev /dev/ttyS0 # mouse is at /dev/ttyS0 +mdev /dev/wsmouse0 # mouse is at /dev/ttyS0 # Some multiprotocol mice will need one of the following: @@ -306,7 +307,7 @@ # # If a chipset driver gives trouble, try forcing VGA. -# chipset VGA # Standard VGA +chipset VGA # Standard VGA # chipset EGA # EGA # chipset ET3000 # Tseng ET3000 # chipset ET4000 # Tseng ET4000 graphics/svgalib143/patches/patch-ao100644 0 0 563 7541403773 16001 0ustar rootwheel$NetBSD$ --- src/libvga.h.orig Thu Jul 6 09:08:11 2000 +++ src/libvga.h Sun Sep 15 13:05:17 2002 @@ -351,14 +347,5 @@ #define zero_sa_mask(maskptr) memset(maskptr, 0, sizeof(sigset_t)) -#if 0 - #define SVGALIB_ACQUIRE_SIG SIGUSR2 #define SVGALIB_RELEASE_SIG SIGUSR1 - -#else - -#define SVGALIB_ACQUIRE_SIG SIGUNUSED -#define SVGALIB_RELEASE_SIG SIGPROF - -#endif graphics/svgalib143/patches/patch-ap100644 0 0 715 7542210304 15764 0ustar rootwheel--- src/g400.c.orig Wed Sep 18 16:46:50 2002 +++ src/g400.c Wed Sep 18 16:47:49 2002 @@ -13,6 +13,8 @@ #include #include #include +#include +#include #include "vga.h" #include "libvga.h" #include "driver.h" @@ -698,7 +700,7 @@ }; - iopl(3); /* Why is it needed? */ + i386_iopl(3); /* Why is it needed? */ found=__svgalib_pci_find_vendor_vga(VENDOR_ID,buf,0); graphics/svgalib143/patches/patch-aq100644 0 0 1057 7542215266 16021 0ustar rootwheel--- src/ati.c.orig Tue Jul 27 09:36:18 1999 +++ src/ati.c Wed Sep 18 17:29:47 2002 @@ -31,6 +31,7 @@ #include #include #include +#include #include "vga.h" #include "libvga.h" @@ -72,7 +73,8 @@ __svgalib_driverspecs = &__svgalib_ati_driverspecs; /* Have to give ourselves some more permissions -- last port currently used is 0x3df */ - if (ioperm(MIN(ati_base, 0x3df), ABS(0x3df - ati_base), 1)) { + + if (i386_iopl(3) < 0) { printf("IOPERM FAILED IN ATI\n"); exit(-2); } graphics/svgalib143/patches/patch-ar100644 0 0 415 7542220271 15767 0ustar rootwheel--- src/lrmi.c.orig Wed Sep 18 17:53:04 2002 +++ src/lrmi.c Wed Sep 18 17:53:23 2002 @@ -12,7 +12,8 @@ #include #include -#include +#include +#include #ifdef USE_LIBC_VM86 #include graphics/svgalib143/patches/patch-as100644 0 0 1072 7544446476 16033 0ustar rootwheel--- demos/fun.c.orig Sat Aug 12 04:55:51 2000 +++ demos/fun.c Thu Sep 26 08:48:22 2002 @@ -19,15 +19,15 @@ /* This can be changed into any 256 color mode. */ /* For planar 256 color modes, enable page flipping. */ /* Even 16 color modes work (ugly colors). */ -#define VGAMODE G800x600x256 +#define VGAMODE G320x200x256 #define USE_PAGEFLIPPING /* #define USE_SMALLOC */ /* This is the size of the animated window. */ -#define MAPWIDTH 800 -#define MAPHEIGHT 560 +#define MAPWIDTH 320 +#define MAPHEIGHT 190 #define MAXMOVERS 2000 #define MAXCITIES 1000 graphics/svgalib143/patches/patch-ay100644 0 0 533 7544447030 16005 0ustar rootwheel--- gl/Makefile.orig Thu Sep 26 08:59:31 2002 +++ gl/Makefile Thu Sep 26 08:59:58 2002 @@ -23,7 +23,7 @@ #---------------------------------------------------------------------- MODULES = grlib.o driver.o line.o palette.o scale.o text.o font8x8.o \ - cbitmap.o mem.o + cbitmap.o mem.o cctext.o all: libvgagl.a .PHONY: all clean dep graphics/svgalib143/patches/patch-aa100644 0 0 10054 7543655064 16023 0ustar rootwheel--- Makefile.cfg.orig Tue May 29 07:39:13 2001 +++ Makefile.cfg Wed Sep 18 18:14:32 2002 @@ -24,8 +24,8 @@ # Common prefix for installation directories. # NOTE: This directory must exist when you start the install. -TOPDIR= -prefix = $(TOPDIR)/usr/local +TOPDIR=${PREFIX} +prefix = $(TOPDIR) exec_prefix = $(prefix) # Directory where the shared stubs and static library will be installed. @@ -82,13 +82,13 @@ # BACKGROUND = y # Uncomment this if you want to compile and install the static libs. -# INSTALLSTATICLIB = installstaticlib +INSTALLSTATICLIB = installstaticlib # Comment this out if you don't want to install the shared libs. # If you do not install the shared nor the static libs, 'make static' # first to enforce just building the static lib, then the demos will # use this local static library! -INSTALLSHAREDLIB = installsharedlib +#INSTALLSHAREDLIB = installsharedlib # In case your TARGET_FORMAT is elf and if a pre-compiled shared library # a.out image is available install it in the first directory named something @@ -113,7 +113,7 @@ # pages and install them when possible. # MANFORMAT = compressed -# MANFORMAT = uncompressed +MANFORMAT = uncompressed # This is the command to update the man pages whatis database. # This is a slow command. If you are not very patient, simple @@ -129,17 +129,17 @@ #INCLUDE_OAK_DRIVER = y #INCLUDE_EGA_DRIVER = y INCLUDE_MACH32_DRIVER = y -INCLUDE_S3_DRIVER = y +#INCLUDE_S3_DRIVER = y #INCLUDE_ET3000_DRIVER = y #INCLUDE_GVGA6400_DRIVER = y #INCLUDE_ARK_DRIVER = y -#INCLUDE_ATI_DRIVER = y +INCLUDE_ATI_DRIVER = y #INCLUDE_ALI_DRIVER = y INCLUDE_CHIPS_DRIVER = y INCLUDE_APM_DRIVER = y INCLUDE_NV3_DRIVER = y -INCLUDE_ET6000_DRIVER = y -INCLUDE_VESA_DRIVER = y +#INCLUDE_ET6000_DRIVER = y +#INCLUDE_VESA_DRIVER = y INCLUDE_MX_DRIVER = y INCLUDE_PARADISE_DRIVER = y INCLUDE_RAGE_DRIVER = y @@ -150,7 +150,7 @@ INCLUDE_NEO_DRIVER = y INCLUDE_R128_DRIVER = y INCLUDE_G400_DRIVER = y -INCLUDE_FBDEV_DRIVER = y +#INCLUDE_FBDEV_DRIVER = y INCLUDE_SAVAGE_DRIVER = y # # Comment out any adapter you don't want to autodetect. @@ -162,15 +162,15 @@ #INCLUDE_EGA_DRIVER_TEST = y INCLUDE_MACH32_DRIVER_TEST = y #INCLUDE_GVGA6400_DRIVER_TEST = y -INCLUDE_S3_DRIVER_TEST = y +#INCLUDE_S3_DRIVER_TEST = y #INCLUDE_ET3000_DRIVER_TEST = y #INCLUDE_ARK_DRIVER_TEST = y -#INCLUDE_ATI_DRIVER_TEST = y +INCLUDE_ATI_DRIVER_TEST = y #INCLUDE_ALI_DRIVER_TEST = y INCLUDE_CHIPS_DRIVER_TEST = y INCLUDE_APM_DRIVER_TEST = y INCLUDE_NV3_DRIVER_TEST = y -INCLUDE_ET6000_DRIVER_TEST = y +#INCLUDE_ET6000_DRIVER_TEST = y INCLUDE_MX_DRIVER_TEST = y INCLUDE_PARADISE_DRIVER_TEST = y INCLUDE_RAGE_DRIVER_TEST = y @@ -185,7 +185,7 @@ INCLUDE_SAVAGE_DRIVER_TEST = y #Might be too dangerous: -INCLUDE_VESA_DRIVER_TEST = y +#INCLUDE_VESA_DRIVER_TEST = y # # Comment out any dac support that you don't want included in the library. @@ -193,27 +193,27 @@ # you must include SIERRA_DAC, if you include any of SCxxxx DACs. INCLUDE_NORMAL_DAC = y -INCLUDE_S3_SDAC_DAC = y -INCLUDE_S3_GENDAC_DAC = y -INCLUDE_S3_TRIO64_DAC = y -INCLUDE_SIERRA_DAC = y -INCLUDE_SC15025_DAC = y -INCLUDE_ATT20C490_DAC = y -INCLUDE_ATT20C498_DAC = y -INCLUDE_ICW_DAC = y -INCLUDE_IBMRGB52x_DAC = y -INCLUDE_SC1148X_DAC = y +#INCLUDE_S3_SDAC_DAC = y +#INCLUDE_S3_GENDAC_DAC = y +#INCLUDE_S3_TRIO64_DAC = y +#INCLUDE_SIERRA_DAC = y +#INCLUDE_SC15025_DAC = y +#INCLUDE_ATT20C490_DAC = y +#INCLUDE_ATT20C498_DAC = y +#INCLUDE_ICW_DAC = y +#INCLUDE_IBMRGB52x_DAC = y +#INCLUDE_SC1148X_DAC = y # # Comment out any dac you don't want to autodetect. # (not all dacs can be autodetected, at this time) # -INCLUDE_S3_SDAC_DAC_TEST = y -INCLUDE_S3_GENDAC_DAC_TEST = y -INCLUDE_SC15025_DAC_TEST = y -INCLUDE_ATT20C490_DAC_TEST = y -INCLUDE_IBMRGB52x_DAC_TEST = y -INCLUDE_SC1148X_DAC_TEST = y +#INCLUDE_S3_SDAC_DAC_TEST = y +#INCLUDE_S3_GENDAC_DAC_TEST = y +#INCLUDE_SC15025_DAC_TEST = y +#INCLUDE_ATT20C490_DAC_TEST = y +#INCLUDE_IBMRGB52x_DAC_TEST = y +#INCLUDE_SC1148X_DAC_TEST = y # Location of the svgalib configuration file. SVGALIB_CONFIG_FILE = $(datadir)/libvga.config graphics/svgalib143/DESCR100644 0 0 63 7541403475 13470 0ustar rootwheelsvgalib - a low level graphics library for console graphics/svgalib143/Makefile100644 0 0 1007 7541404024 14373 0ustar rootwheel# $NetBSD$ DISTNAME= svgalib-1.4.3 CATEGORIES= graphics MASTER_SITES= http://www.cs.bgu.ac.il/~zivav/svgalib/ #EXTRACT_SUFX= .tar.bz2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} netbsd-pcvt-20000611.tar.gz MAINTAINER= oishi@ims.ac.jp HOMEPAGE= http://www.cs.bgu.ac.il/~zivav/svgalib/ COMMENT= svgalib - a low level graphics library for console USE_GMAKE= yes MANCOMPRESSED= yes post-extract: ${MKDIR} ${WRKSRC}/include/machine ${CP} ${WRKDIR}/pcvt/pcvt_ioctl.h ${WRKSRC}/include/machine .include "../../mk/bsd.pkg.mk" graphics/svgalib143/PLIST100644 0 0 15752 7541357152 13616 0ustar rootwheel@comment $NetBSD$ etc/vga/dvorak-us.keymap etc/vga/libvga.config etc/vga/libvga.et4000 etc/vga/null.keymap include/vga.h include/vgagl.h include/vgajoystick.h include/vgakeyboard.h include/vgamouse.h lib/libvga.a lib/libvgagl.a man/man1/convfont.1.gz man/man1/dumpreg.1.gz man/man1/fix132x43.1.gz man/man1/restorefont.1.gz man/man1/restorepalette.1.gz man/man1/restoretextmode.1.gz man/man1/runx.1.gz man/man1/savetextmode.1.gz man/man1/setmclk.1.gz man/man1/svgakeymap.1.gz man/man1/textmode.1.gz man/man3/currentcontext.3.gz man/man3/gl_allocatecontext.3.gz man/man3/gl_bcircle.3.gz man/man3/gl_circle.3.gz man/man3/gl_clearscreen.3.gz man/man3/gl_colorfont.3.gz man/man3/gl_compileboxmask.3.gz man/man3/gl_compiledboxmasksize.3.gz man/man3/gl_copybox.3.gz man/man3/gl_copyboxfromcontext.3.gz man/man3/gl_copyboxtocontext.3.gz man/man3/gl_copyscreen.3.gz man/man3/gl_disableclipping.3.gz man/man3/gl_enableclipping.3.gz man/man3/gl_enablepageflipping.3.gz man/man3/gl_expandfont.3.gz man/man3/gl_fillbox.3.gz man/man3/gl_fillcircle.3.gz man/man3/gl_font8x8.3.gz man/man3/gl_freecontext.3.gz man/man3/gl_getbox.3.gz man/man3/gl_getcontext.3.gz man/man3/gl_getpalette.3.gz man/man3/gl_getpalettecolor.3.gz man/man3/gl_getpalettecolors.3.gz man/man3/gl_getpixel.3.gz man/man3/gl_getpixelrgb.3.gz man/man3/gl_hline.3.gz man/man3/gl_line.3.gz man/man3/gl_printf.3.gz man/man3/gl_putbox.3.gz man/man3/gl_putboxmask.3.gz man/man3/gl_putboxmaskcompiled.3.gz man/man3/gl_putboxpart.3.gz man/man3/gl_rgbcolor.3.gz man/man3/gl_scalebox.3.gz man/man3/gl_setclippingwindow.3.gz man/man3/gl_setcontext.3.gz man/man3/gl_setcontextheight.3.gz man/man3/gl_setcontextvga.3.gz man/man3/gl_setcontextvgavirtual.3.gz man/man3/gl_setcontextvirtual.3.gz man/man3/gl_setcontextwidth.3.gz man/man3/gl_setdisplaystart.3.gz man/man3/gl_setfont.3.gz man/man3/gl_setfontcolors.3.gz man/man3/gl_setpalette.3.gz man/man3/gl_setpalettecolor.3.gz man/man3/gl_setpalettecolors.3.gz man/man3/gl_setpixel.3.gz man/man3/gl_setpixelrgb.3.gz man/man3/gl_setrgbpalette.3.gz man/man3/gl_setscreenoffset.3.gz man/man3/gl_setwritemode.3.gz man/man3/gl_striangle.3.gz man/man3/gl_swtriangle.3.gz man/man3/gl_triangle.3.gz man/man3/gl_trigetcolorlookup.3.gz man/man3/gl_trisetcolorlookup.3.gz man/man3/gl_trisetdrawpoint.3.gz man/man3/gl_write.3.gz man/man3/gl_writen.3.gz man/man3/gl_wtriangle.3.gz man/man3/graph_mem.3.gz man/man3/joystick_button1.3.gz man/man3/joystick_button2.3.gz man/man3/joystick_button3.3.gz man/man3/joystick_button4.3.gz man/man3/joystick_close.3.gz man/man3/joystick_getaxis.3.gz man/man3/joystick_getb1.3.gz man/man3/joystick_getb2.3.gz man/man3/joystick_getb3.3.gz man/man3/joystick_getb4.3.gz man/man3/joystick_getbutton.3.gz man/man3/joystick_getnumaxes.3.gz man/man3/joystick_getnumbuttons.3.gz man/man3/joystick_getx.3.gz man/man3/joystick_gety.3.gz man/man3/joystick_getz.3.gz man/man3/joystick_init.3.gz man/man3/joystick_setdefaulthandler.3.gz man/man3/joystick_sethandler.3.gz man/man3/joystick_update.3.gz man/man3/joystick_x.3.gz man/man3/joystick_y.3.gz man/man3/joystick_z.3.gz man/man3/keyboard_clearstate.3.gz man/man3/keyboard_close.3.gz man/man3/keyboard_getstate.3.gz man/man3/keyboard_init.3.gz man/man3/keyboard_init_return_fd.3.gz man/man3/keyboard_keypressed.3.gz man/man3/keyboard_setdefaulteventhandler.3.gz man/man3/keyboard_seteventhandler.3.gz man/man3/keyboard_translatekeys.3.gz man/man3/keyboard_update.3.gz man/man3/keyboard_waitforupdate.3.gz man/man3/mouse_close.3.gz man/man3/mouse_getbutton.3.gz man/man3/mouse_getcaps.3.gz man/man3/mouse_getposition_6d.3.gz man/man3/mouse_getx.3.gz man/man3/mouse_gety.3.gz man/man3/mouse_init.3.gz man/man3/mouse_init_return_fd.3.gz man/man3/mouse_setdefaulteventhandler.3.gz man/man3/mouse_seteventhandler.3.gz man/man3/mouse_setposition.3.gz man/man3/mouse_setposition_6d.3.gz man/man3/mouse_setrange_6d.3.gz man/man3/mouse_setscale.3.gz man/man3/mouse_setwrap.3.gz man/man3/mouse_setxrange.3.gz man/man3/mouse_setyrange.3.gz man/man3/mouse_update.3.gz man/man3/mouse_waitforupdate.3.gz man/man3/vga_accel.3.gz man/man3/vga_addmode.3.gz man/man3/vga_addtiming.3.gz man/man3/vga_bitblt.3.gz man/man3/vga_blitwait.3.gz man/man3/vga_changetiming.3.gz man/man3/vga_claimvideomemory.3.gz man/man3/vga_clear.3.gz man/man3/vga_copytoplanar16.3.gz man/man3/vga_copytoplanar256.3.gz man/man3/vga_copytoplane.3.gz man/man3/vga_disabledriverreport.3.gz man/man3/vga_drawline.3.gz man/man3/vga_drawpixel.3.gz man/man3/vga_drawscanline.3.gz man/man3/vga_drawscansegment.3.gz man/man3/vga_dumpregs.3.gz man/man3/vga_ext_set.3.gz man/man3/vga_fillblt.3.gz man/man3/vga_flip.3.gz man/man3/vga_getch.3.gz man/man3/vga_getcolors.3.gz man/man3/vga_getcurrentchipset.3.gz man/man3/vga_getcurrentmode.3.gz man/man3/vga_getcurrenttiming.3.gz man/man3/vga_getdefaultmode.3.gz man/man3/vga_getgraphmem.3.gz man/man3/vga_getkey.3.gz man/man3/vga_getmodeinfo.3.gz man/man3/vga_getmodename.3.gz man/man3/vga_getmodenumber.3.gz man/man3/vga_getmonitortype.3.gz man/man3/vga_getmousetype.3.gz man/man3/vga_getpalette.3.gz man/man3/vga_getpalvec.3.gz man/man3/vga_getpixel.3.gz man/man3/vga_getscansegment.3.gz man/man3/vga_gettextfont.3.gz man/man3/vga_gettextmoderegs.3.gz man/man3/vga_getxdim.3.gz man/man3/vga_getydim.3.gz man/man3/vga_guesstiming.3.gz man/man3/vga_hasmode.3.gz man/man3/vga_hlinelistblt.3.gz man/man3/vga_imageblt.3.gz man/man3/vga_init.3.gz man/man3/vga_lastmodenumber.3.gz man/man3/vga_lockvc.3.gz man/man3/vga_oktowrite.3.gz man/man3/vga_puttextfont.3.gz man/man3/vga_runinbackground.3.gz man/man3/vga_runinbackground_version.3.gz man/man3/vga_safety_fork.3.gz man/man3/vga_screenoff.3.gz man/man3/vga_screenon.3.gz man/man3/vga_setchipset.3.gz man/man3/vga_setchipsetandfeatures.3.gz man/man3/vga_setcolor.3.gz man/man3/vga_setdisplaystart.3.gz man/man3/vga_setegacolor.3.gz man/man3/vga_setflipchar.3.gz man/man3/vga_setlinearaddressing.3.gz man/man3/vga_setlogicalwidth.3.gz man/man3/vga_setmode.3.gz man/man3/vga_setmodeX.3.gz man/man3/vga_setmousesupport.3.gz man/man3/vga_setpage.3.gz man/man3/vga_setpalette.3.gz man/man3/vga_setpalvec.3.gz man/man3/vga_setreadpage.3.gz man/man3/vga_setrgbcolor.3.gz man/man3/vga_settextmoderegs.3.gz man/man3/vga_setwritepage.3.gz man/man3/vga_unlockvc.3.gz man/man3/vga_waitevent.3.gz man/man3/vga_waitretrace.3.gz man/man3/vga_white.3.gz man/man5/libvga.config.5.gz man/man5/libvga.et4000.5.gz man/man5/svgalibrc.5.gz man/man6/accel.6.gz man/man6/bg_test.6.gz man/man6/eventtest.6.gz man/man6/forktest.6.gz man/man6/fun.6.gz man/man6/joytest.6.gz man/man6/keytest.6.gz man/man6/lineart.6.gz man/man6/mach32info.6.gz man/man6/mjoytest.6.gz man/man6/mousetest.6.gz man/man6/plane.6.gz man/man6/printftest.6.gz man/man6/scrolltest.6.gz man/man6/speedtest.6.gz man/man6/spin.6.gz man/man6/svidtune.6.gz man/man6/testaccel.6.gz man/man6/testgl.6.gz man/man6/testlinear.6.gz man/man6/threed.6.gz man/man6/vgatest.6.gz man/man6/wrapdemo.6.gz man/man7/svgalib.7.gz man/man7/svgalib.chips.7.gz man/man7/svgalib.et4000.7.gz man/man7/svgalib.faq.7.gz man/man7/svgalib.mach32.7.gz man/man7/threedkit.7.gz man/man7/vgagl.7.gz man/man8/mode3.8.gz @dirrm etc/vga graphics/svgalib143/buildlink.mk100644 0 0 3607 7547107263 15264 0ustar rootwheel# $NetBSD: buildlink.mk,v 1.1 2002/03/17 14:53:57 uebayasi Exp $ # # This Makefile fragment is included by packages that use SVGALIB. # # To use this Makefile fragment, simply: # # (1) Optionally define BUILDLINK_DEPENDS.svgalib to the dependency pattern # for the version of SVGALIB desired. # (2) Include this Makefile fragment in the package Makefile, # (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header # search path, and # (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search # path. .if !defined(SVGALIB_BUILDLINK_MK) SVGALIB_BUILDLINK_MK= # defined .include "../../mk/bsd.buildlink.mk" BUILDLINK_DEPENDS.svgalib?= svgalib>=0.3.0 DEPENDS+= ${BUILDLINK_DEPENDS.svgalib}:../../graphics/svgalib EVAL_PREFIX+= BUILDLINK_PREFIX.svgalib=svgalib BUILDLINK_PREFIX.svgalib_DEFAULT= ${LOCALBASE} BUILDLINK_FILES.svgalib+= include/vga.h BUILDLINK_FILES.svgalib+= include/vgagl.h BUILDLINK_FILES.svgalib+= include/vgajoystick.h BUILDLINK_FILES.svgalib+= include/vgakeyboard.h BUILDLINK_FILES.svgalib+= include/vgamouse.h BUILDLINK_FILES.svgalib+= lib/libvga.a BUILDLINK_FILES.svgalib+= lib/libvgagl.a BUILDLINK_TARGETS.svgalib= svgalib-buildlink BUILDLINK_TARGETS.svgalib+= svgalib-buildlink-config-wrapper BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.svgalib} BUILDLINK_CONFIG.svgalib= ${BUILDLINK_PREFIX.svgalib}/bin/svgalib-config BUILDLINK_CONFIG_WRAPPER.svgalib= ${BUILDLINK_DIR}/bin/svgalib-config REPLACE_BUILDLINK_SED+= \ -e "s|${BUILDLINK_CONFIG_WRAPPER.svgalib}|${BUILDLINK_CONFIG.svgalib}|g" .if defined(USE_CONFIG_WRAPPER) SVGALIB_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.svgalib} CONFIGURE_ENV+= SVGALIB_CONFIG="${SVGALIB_CONFIG}" MAKE_ENV+= SVGALIB_CONFIG="${SVGALIB_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.svgalib} svgalib-buildlink: _BUILDLINK_USE svgalib-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE .endif # SVGALIB_BUILDLINK_MK