diff options
Diffstat (limited to 'graphics')
33 files changed, 0 insertions, 1719 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 93e4ead8bf68..d4723a3ced93 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -45,7 +45,6 @@ SUBDIR += agg SUBDIR += alembic SUBDIR += alpng - SUBDIR += amide SUBDIR += ampasACES-container SUBDIR += ampasCTL SUBDIR += animorph @@ -87,7 +86,6 @@ SUBDIR += cal3d SUBDIR += camera SUBDIR += camerakit - SUBDIR += cbrpager SUBDIR += cbview SUBDIR += cbviewer SUBDIR += cegui @@ -353,7 +351,6 @@ SUBDIR += guilib SUBDIR += gwenview SUBDIR += gwenview-kde4 - SUBDIR += gx SUBDIR += hdr_tools SUBDIR += hiptext SUBDIR += hobbes-icons-xpm @@ -1110,7 +1107,6 @@ SUBDIR += tinyows SUBDIR += tkpng SUBDIR += togl - SUBDIR += truevision SUBDIR += ttygif SUBDIR += tulip SUBDIR += tumble diff --git a/graphics/amide/Makefile b/graphics/amide/Makefile deleted file mode 100644 index 16aa2ef0b18c..000000000000 --- a/graphics/amide/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -# $FreeBSD$ - -PORTNAME= amide -PORTVERSION= 1.0.5 -PORTREVISION= 13 -CATEGORIES= graphics -MASTER_SITES= SF - -MAINTAINER= madpilot@FreeBSD.org -COMMENT= Medical Imaging Data Examiner - -LICENSE= GPLv2 - -DEPRECATED= GNOME 2 application -EXPIRATION_DATE= 2018-12-10 - -BUILD_DEPENDS= gm4:devel/m4 - -GNU_CONFIGURE= yes -USE_CSTD= gnu89 -MAKE_JOBS_UNSAFE= yes -USES= gettext gmake pkgconfig tar:tgz -USE_GNOME= gtk20 intltool libgnomecanvas libgnomeui libxml2 gnomedocutils -INSTALLS_OMF= yes - -OPTIONS_DEFINE= CODEC DCMTK GSL NLS VOLPACK XMEDCON -OPTIONS_SINGLE= CODEC -OPTIONS_SINGLE_CODEC= FFMPEG FAME -OPTIONS_DEFAULT= CODEC DCMTK FFMPEG GSL VOLPACK XMEDCON - -CODEC_DESC= Enable codec support. Choose one of FAME or FFMPEG -DCMTK_DESC= Use dcmtk -FAME_DESC= Use libfame -FFMPEG_DESC= Use ffmpeg -GSL_DESC= Use gsl -VOLPACK_DESC= Use volpack -XMEDCON_DESC= Use xmedcon - -OPTIONS_SUB= yes -DCMTK_CONFIGURE_ON= --enable-libdcmdata -DCMTK_CONFIGURE_OFF= --enable-libdcmdata=no -DCMTK_LIB_DEPENDS= libdcmdata.so:devel/dcmtk -FAME_CONFIGURE_ENABLE= libfame -FAME_LIB_DEPENDS= libfame.so:multimedia/libfame -FFMPEG_CONFIGURE_ENABLE= ffmpeg -FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg -GSL_CONFIGURE_ENABLE= libgsl -GSL_LIB_DEPENDS= libgsl.so:math/gsl -VOLPACK_CONFIGURE_ENABLE= libvolpack -VOLPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/libvolpack.a:graphics/volpack -XMEDCON_CONFIGURE_ENABLE= libmdc -XMEDCON_LIB_DEPENDS= libmdc.so:graphics/xmedcon -NLS_CONFIGURE_ENABLE= nls - -post-patch: - @${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \ - ${WRKSRC}/amide_config.h.in - @${REINPLACE_CMD} \ - -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - ${WRKSRC}/configure - -.include <bsd.port.mk> diff --git a/graphics/amide/distinfo b/graphics/amide/distinfo deleted file mode 100644 index 3ddfca688860..000000000000 --- a/graphics/amide/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (amide-1.0.5.tgz) = d54e812363af7ca5f6ccce5d536dd8f2d11f8a06fd53aa5721b8717487de5881 -SIZE (amide-1.0.5.tgz) = 1419560 diff --git a/graphics/amide/files/patch-Makefile.in b/graphics/amide/files/patch-Makefile.in deleted file mode 100644 index 08da412a6016..000000000000 --- a/graphics/amide/files/patch-Makefile.in +++ /dev/null @@ -1,12 +0,0 @@ ---- Makefile.in.orig 2014-01-27 03:04:32 UTC -+++ Makefile.in -@@ -89,8 +89,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/g - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/configure.ac --am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ -- $(ACLOCAL_M4) -+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) - am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/graphics/amide/files/patch-configure b/graphics/amide/files/patch-configure deleted file mode 100644 index d161708f9b4b..000000000000 --- a/graphics/amide/files/patch-configure +++ /dev/null @@ -1,71 +0,0 @@ ---- configure.orig 2014-01-27 03:04:34 UTC -+++ configure -@@ -16216,7 +16216,7 @@ if test "x$ac_cv_func_bind_textdomain_co - DATADIRNAME=share - else - CATOBJEXT=.mo -- DATADIRNAME=lib -+ DATADIRNAME=share - fi - - ;; -@@ -16226,7 +16226,7 @@ fi - ;; - *) - CATOBJEXT=.mo -- DATADIRNAME=lib -+ DATADIRNAME=share - ;; - esac - fi -@@ -16914,12 +16914,12 @@ else - if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : - DATADIRNAME=share - else -- DATADIRNAME=lib -+ DATADIRNAME=share - fi - - ;; - *) -- DATADIRNAME=lib -+ DATADIRNAME=share - ;; - esac - fi -@@ -17612,8 +17612,8 @@ else - THREAD_LIBS="" - fi - --AMIDE_LIBDCMDATA_LIBS="-L/usr/local/dicom/lib -L/usr/lib64/dcmtk -L/usr/lib/dcmtk -ldcmdata -loflog -lofstd -lz $THREAD_LIBS" --AMIDE_LIBDCMDATA_CFLAGS="-I/usr/local/dicom/include" -+AMIDE_LIBDCMDATA_LIBS="-L%%LOCALBASE%%/lib -ldcmdata -loflog -lofstd -lz $THREAD_LIBS" -+AMIDE_LIBDCMDATA_CFLAGS="-I%%LOCALBASE%%/include" - saved_libs="${LIBS}" - LIBS="${LIBS} ${AMIDE_LIBDCMDATA_LIBS}" - saved_cxxflags="${CXXFLAGS}" -@@ -17643,6 +17643,8 @@ if ac_fn_cxx_try_link "$LINENO"; then : - else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdcmdata was not found." >&5 - $as_echo "$as_me: WARNING: libdcmdata was not found." >&2;} -+ AMIDE_LIBDCMDATA_LIBS="" -+ AMIDE_LIBDCMDATA_CFLAGS="" - fi - rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -@@ -18154,6 +18156,7 @@ $as_echo_n "checking for libfame - versi - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $LIBFAME_CFLAGS" -+ CXXFLAGS="$CFLAGS $LIBFAME_CFLAGS" - LIBS="$LIBFAME_LIBS $LIBS" - rm -f conf.libfametest - if test "$cross_compiling" = yes; then : -@@ -18165,6 +18168,7 @@ else - #include <fame.h> - #include <stdio.h> - #include <stdlib.h> -+#include <string.h> - - int - main () diff --git a/graphics/amide/files/patch-gsl_2x b/graphics/amide/files/patch-gsl_2x deleted file mode 100644 index 14f97d80f474..000000000000 --- a/graphics/amide/files/patch-gsl_2x +++ /dev/null @@ -1,44 +0,0 @@ -Obtained from: -https://sourceforge.net/p/amide/mailman/message/34638848/ - -Description: Fix compilation against GSL >= 2.0 -Author: Gert Wollny <gw.fossdev@gmail.com> -Last-Update: Sun, 22 Nov 2015 14:21:00 +0000 -Bug-Debian: http://bugs.debian.org/805748 - ---- src/tb_profile.c 2015-11-22 14:00:16.361526795 +0100 -+++ src/tb_profile.c 2015-11-22 14:14:58.993881660 +0100 -@@ -32,6 +32,7 @@ - #include "ui_common.h" - #ifdef AMIDE_LIBGSL_SUPPORT - #include <gsl/gsl_multifit_nlin.h> -+#include <gsl/gsl_version.h> - #endif - - -@@ -605,6 +606,7 @@ - result_t * result; - gsl_multifit_fdfsolver * solver; - gsl_matrix *covar; -+ gsl_matrix *J; - gsl_multifit_function_fdf fdf; - gsl_vector * init_p; - gint iter; -@@ -668,8 +670,16 @@ - } - while ((status == GSL_CONTINUE) && (iter < 100)); - -+#if GSL_MAJOR_VERSION > 1 -+ { -+ gsl_matrix *J = gsl_matrix_alloc (result->line->len, num_p);; -+ gsl_multifit_fdfsolver_jac(solver, J); -+ gsl_multifit_covar (J, 0.0, covar); -+ gsl_matrix_free(J); -+ } -+#else - gsl_multifit_covar (solver->J, 0.0, covar); -- -+#endif - j=0; - result->s_fit = gsl_vector_get(solver->x, j++); - result->p_fit = gsl_vector_get(solver->x, j++); diff --git a/graphics/amide/files/patch-src-alignment_mutual_information.c b/graphics/amide/files/patch-src-alignment_mutual_information.c deleted file mode 100644 index 4f299e7bf312..000000000000 --- a/graphics/amide/files/patch-src-alignment_mutual_information.c +++ /dev/null @@ -1,25 +0,0 @@ ---- src/alignment_mutual_information.c.orig 2012-01-22 16:25:06 UTC -+++ src/alignment_mutual_information.c -@@ -28,6 +28,13 @@ - #include "amitk_data_set_DOUBLE_0D_SCALING.h" - #include "alignment_mutual_information.h" - -+#if __FreeBSD__ >= 2 -+#include <osreldate.h> -+#if __FreeBSD_version <= 802502 -+#define log2(x) (log(x) / M_LN2) -+#endif -+#endif -+ - /* this algorithm will calculate the amount of mutual information between two data sets in their current orientations */ - /* it is a re-write of the original algorithm for purposes of improved speed. the hope is that it won't affect accuracy. */ - /* rather than computing mutual information for the whole volume of data, the algorithm computes it for three orthogonal */ -@@ -209,7 +216,7 @@ gdouble calculate_mutual_information(Ami - //g_print("\t\%i", mutual_information_array[i][j] ); // for point-wise counts - // g_print("\t\%4.3f", incremental_mi ); // for point-wise probability - -- if isinf(incremental_mi) { -+ if(isinf(incremental_mi)) { - //count it (because lots and lots of zeroes mean bad registration) and go to the next loop - mi_nan_count++; - // this is most often a problem when the incemental MI is infinity, due to divide by zero diff --git a/graphics/amide/files/patch-src_mpeg__encode.c b/graphics/amide/files/patch-src_mpeg__encode.c deleted file mode 100644 index a630e34cd72f..000000000000 --- a/graphics/amide/files/patch-src_mpeg__encode.c +++ /dev/null @@ -1,81 +0,0 @@ ---- src/mpeg_encode.c.orig 2014-01-23 20:13:52 UTC -+++ src/mpeg_encode.c -@@ -143,6 +143,7 @@ static void convert_rgb_pixbuf_to_yuv(yu - - #include <libavcodec/avcodec.h> - -+#include <libavutil/frame.h> - - typedef struct { - AVCodec *codec; -@@ -234,11 +235,11 @@ gpointer mpeg_encode_setup(gchar * outpu - - switch(type) { - case ENCODE_MPEG4: -- codec_type = CODEC_ID_MPEG4; -+ codec_type = AV_CODEC_ID_MPEG4; - break; - case ENCODE_MPEG1: - default: -- codec_type=CODEC_ID_MPEG1VIDEO; -+ codec_type=AV_CODEC_ID_MPEG1VIDEO; - break; - } - -@@ -268,7 +269,7 @@ gpointer mpeg_encode_setup(gchar * outpu - return NULL; - } - -- encode->picture= avcodec_alloc_frame(); -+ encode->picture= av_frame_alloc(); - if (!encode->picture) { - g_warning("couldn't allocate memory for encode->picture"); - encode_free(encode); -@@ -293,11 +294,10 @@ gpointer mpeg_encode_setup(gchar * output_filename, mp - encode->context->time_base= (AVRational){1,FRAMES_PER_SECOND}; - encode->context->gop_size = 10; /* emit one intra frame every ten frames */ - encode->context->max_b_frames=10; -- encode->context->pix_fmt = PIX_FMT_YUV420P; -+ encode->context->pix_fmt = AV_PIX_FMT_YUV420P; - - /* encoding parameters */ - encode->context->sample_aspect_ratio= (AVRational){1,1}; /* our pixels are square */ -- encode->context->me_method=5; /* 5 is epzs */ - encode->context->trellis=2; /* turn trellis quantization on */ - - /* open it */ -@@ -355,6 +356,10 @@ gpointer mpeg_encode_setup(gchar * outpu - encode->picture->linesize[1] = encode->context->width/2; - encode->picture->linesize[2] = encode->context->width/2; - -+ encode->picture->width = xsize; -+ encode->picture->height = ysize; -+ encode->picture->format = AV_PIX_FMT_YUV420P; -+ - return (gpointer) encode; - } - -@@ -362,12 +367,21 @@ gpointer mpeg_encode_setup(gchar * outpu - gboolean mpeg_encode_frame(gpointer data, GdkPixbuf * pixbuf) { - encode_t * encode = data; - gint out_size; -+ AVPacket packet = { 0 }; -+ int ret, got_output = 0; - - convert_rgb_pixbuf_to_yuv(encode->yuv, pixbuf); - - /* encode the image */ -- out_size = avcodec_encode_video(encode->context, encode->output_buffer, encode->output_buffer_size, encode->picture); -- fwrite(encode->output_buffer, 1, out_size, encode->output_file); -+ av_init_packet(&packet); -+ packet.data = encode->output_buffer; -+ packet.size = encode->output_buffer_size; -+ ret = avcodec_encode_video2(encode->context, &packet, -+ encode->picture, &got_output); -+ if (ret < 0) -+ return FALSE; -+ -+ fwrite(packet.data, 1, packet.size, encode->output_file); - - return TRUE; - }; diff --git a/graphics/amide/pkg-descr b/graphics/amide/pkg-descr deleted file mode 100644 index e93cdd546fb6..000000000000 --- a/graphics/amide/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -AMIDE is a competely free tool for viewing, analyzing, and registering -volumetric medical imaging data sets. It's been written on top of GTK+, and runs -on any system that supports this toolkit. - -WWW: http://amide.sourceforge.net diff --git a/graphics/amide/pkg-plist b/graphics/amide/pkg-plist deleted file mode 100644 index 47af01848371..000000000000 --- a/graphics/amide/pkg-plist +++ /dev/null @@ -1,16 +0,0 @@ -bin/amide -man/man1/amide.1.gz -share/applications/amide.desktop -share/gnome/help/amide/C/amide.xml -share/gnome/help/amide/C/figures/amide_main_window.png -share/gnome/help/amide/C/figures/study_tree.png -share/gnome/help/amide/C/legal.xml -share/gnome/help/amide/es/amide.xml -share/gnome/help/amide/es/figures/amide_main_window.png -share/gnome/help/amide/es/figures/study_tree.png -%%NLS%%share/locale/zh_CN/LC_MESSAGES/amide.mo -%%NLS%%share/locale/zh_TW/LC_MESSAGES/amide.mo -share/omf/amide/amide-C.omf -share/omf/amide/amide-es.omf -share/pixmaps/amide_logo.png -share/pixmaps/amide_file_logo.png diff --git a/graphics/cbrpager/Makefile b/graphics/cbrpager/Makefile deleted file mode 100644 index 8022a34c8128..000000000000 --- a/graphics/cbrpager/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -# Created by: ijliao -# $FreeBSD$ - -PORTNAME= cbrpager -PORTVERSION= 0.9.22 -PORTREVISION= 7 -CATEGORIES= graphics -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ - SF/nemysisfreebsdp/${CATEGORIES}/:icons -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - ${PORTNAME}.png:icons -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Viewer for cbr (comic book archive) files - -LICENSE= GPLv3 - -DEPRECATED= GNOME 2 application -EXPIRATION_DATE= 2018-12-10 - -USES= pkgconfig -GNU_CONFIGURE= yes -USE_GNOME= libgnomeui - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -OPTIONS_DEFINE= NLS -OPTIONS_SUB= yes - -NLS_USES= gettext - -PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}.png \ - %%NLS%%share/locale/es/LC_MESSAGES/${PORTNAME}.mo \ - %%NLS%%share/locale/fr/LC_MESSAGES/${PORTNAME}.mo - -DESKTOP_ENTRIES="cbrPager" "Comic book viewer" "${PORTNAME}" \ - "${PORTNAME}" "Graphics;Viewer;GNOME;" "" - -.include <bsd.port.options.mk> - -post-configure: -.if ! ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile -.endif - -post-install: - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/ - -.include <bsd.port.mk> diff --git a/graphics/cbrpager/distinfo b/graphics/cbrpager/distinfo deleted file mode 100644 index 0c3c10556a6d..000000000000 --- a/graphics/cbrpager/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (cbrpager-0.9.22.tar.gz) = 1852303374d7777f2a5f395fda97d78f970fa87c854ee048495a901922b7dd84 -SIZE (cbrpager-0.9.22.tar.gz) = 146216 -SHA256 (cbrpager.png) = 9c0660c34361f3afb5e2ceb3361bf52ba1abf6740c3598c3cbfdbe185c00754b -SIZE (cbrpager.png) = 3809 diff --git a/graphics/cbrpager/files/patch-src__global.c b/graphics/cbrpager/files/patch-src__global.c deleted file mode 100644 index 5057972044b4..000000000000 --- a/graphics/cbrpager/files/patch-src__global.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/global.c.orig 2012-12-03 17:33:00.000000000 +0100 -+++ ./src/global.c 2012-12-03 17:33:17.000000000 +0100 -@@ -730,7 +730,7 @@ - printf("Key1: %04x\n", event->keyval); - } - --gboolean -+void - main_canvas_keypressed1(GdkEventKey *event) - { - GtkWidget *w; diff --git a/graphics/cbrpager/pkg-descr b/graphics/cbrpager/pkg-descr deleted file mode 100644 index ffda754c84c7..000000000000 --- a/graphics/cbrpager/pkg-descr +++ /dev/null @@ -1,22 +0,0 @@ -A no-nonsense, simple to use, small viewer for cbr and cbz (comic book archive) -files. As it is written in C, the executable is small and fast. It views jpg -(or jpeg), gif and png images, and you can zoom in and out. - -It's main features are: - * Simple usage: A navigation bar stays on top of the pages. - * It works on any RAR-compressed image archive - normally the extension - would be .cbr or .cbz, but other extensions work too. - * Advance/backup pages, and go to the begin and end. - * Zoom in and zoom out (10% steps) and return to 1:1. - * It should manage jpeg (jpg), png and gif images. - * A configuration window permits defining a few slightly more advanced - tricks: - * When advancing go to the top of the next page (or bottom or stay where you - are.) - * Same possibilities when paging backwards. - * Remember the last directory visited on startup, or always start in a - defineable directory. - * Determine the initial size of the pager. - * Define where the navigation bar should be and its orientation. - -WWW: http://jcoppens.com/soft/cbrpager/index.en.php diff --git a/graphics/gx/Makefile b/graphics/gx/Makefile deleted file mode 100644 index 2f588bc87b8d..000000000000 --- a/graphics/gx/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= gx -PORTVERSION= 0.4.0 -PORTREVISION= 11 -CATEGORIES= graphics -MASTER_SITES= http://BSDforge.com/projects/source/graphics/gx/ - -MAINTAINER= portmaster@BSDforge.com -COMMENT= Lightweight image viewer - -LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/COPYING - -DEPRECATED= GNOME 2 application -EXPIRATION_DATE= 2018-12-10 - -LIB_DEPENDS= libgnomevfsmm-2.6.so:devel/gnome-vfsmm - -USES= compiler:c++11-lang desktop-file-utils gettext pkgconfig -USE_CXXSTD= c++11 -USE_GNOME= gconfmm26 gtkmm24 -GNU_CONFIGURE= yes - -PLIST_FILES= bin/gx \ - share/applications/gx.desktop \ - share/pixmaps/gx.png \ - share/pixmaps/gx_logo.png \ - -.include <bsd.port.mk> diff --git a/graphics/gx/distinfo b/graphics/gx/distinfo deleted file mode 100644 index f3052d008d55..000000000000 --- a/graphics/gx/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gx-0.4.0.tar.gz) = 4367995f0d7ebe2973a077291e5277ccb2746b32c1088baa705564833cf59e76 -SIZE (gx-0.4.0.tar.gz) = 378729 diff --git a/graphics/gx/files/patch-Makefile.am b/graphics/gx/files/patch-Makefile.am deleted file mode 100644 index d07de5fb2c58..000000000000 --- a/graphics/gx/files/patch-Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.am.orig 2007-06-05 23:08:39 UTC -+++ Makefile.am -@@ -3,10 +3,10 @@ SUBDIRS = src - icondir = $(datadir)/pixmaps - icon_DATA = icons/gx_logo.png icons/gx.png - --desktopdir = $(datadir)/app-install/desktop -+desktopdir = $(datadir)/applications - desktop_DATA = gx.desktop - --desk_icondir = $(datadir)/app-install/icons -+desk_icondir = $(datadir)/pixmaps - desk_icon_DATA = icons/gx.png - - EXTRA_DIST = AUTHORS \ diff --git a/graphics/gx/files/patch-Makefile.in b/graphics/gx/files/patch-Makefile.in deleted file mode 100644 index 2b69f5bc6c7a..000000000000 --- a/graphics/gx/files/patch-Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile.in.orig 2007-06-07 14:21:06 UTC -+++ Makefile.in -@@ -176,9 +176,9 @@ target_alias = @target_alias@ - SUBDIRS = src - icondir = $(datadir)/pixmaps - icon_DATA = icons/gx_logo.png icons/gx.png --desktopdir = $(datadir)/app-install/desktop -+desktopdir = $(datadir)/applications - desktop_DATA = gx.desktop --desk_icondir = $(datadir)/app-install/icons -+desk_icondir = $(datadir)/pixmaps - desk_icon_DATA = icons/gx.png - EXTRA_DIST = AUTHORS \ - ChangeLog \ diff --git a/graphics/gx/files/patch-gx.desktop b/graphics/gx/files/patch-gx.desktop deleted file mode 100644 index ad7b92ad955a..000000000000 --- a/graphics/gx/files/patch-gx.desktop +++ /dev/null @@ -1,11 +0,0 @@ ---- gx.desktop.orig 2007-06-07 16:00:13 UTC -+++ gx.desktop -@@ -1,7 +1,7 @@ - [Desktop Entry] - Encoding=UTF-8 - Name=gx --GenericName=Image Viewer -+GenericName=GX Image Viewer - Comment=The lightweight image viewer - TryExec=gx - Exec=gx %U diff --git a/graphics/gx/pkg-descr b/graphics/gx/pkg-descr deleted file mode 100644 index f63089174fa5..000000000000 --- a/graphics/gx/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -gx is a small image viewer for UNIX like systems. It's written -in C++ (using gtkmm). It can rotate, rescale, and zoom images. - -WWW: http://BSDforge.com/projects/graphics/gx/ diff --git a/graphics/truevision/Makefile b/graphics/truevision/Makefile deleted file mode 100644 index 864d19a7f3f4..000000000000 --- a/graphics/truevision/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -# Created by: ijliao -# $FreeBSD$ - -PORTNAME= truevision -DISTVERSION= 0.5.5-2 -PORTREVISION= 13 -CATEGORIES= graphics -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20sources/${PORTVERSION:R} - -MAINTAINER= ports@FreeBSD.org -COMMENT= GNOME 3D modeler - -LICENSE= GPLv2+ - -DEPRECATED= GNOME 2 application -EXPIRATION_DATE= 2018-12-10 - -LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} - -USES= desktop-file-utils gettext gmake gnome libtool pathfix pkgconfig \ - python:2.7 shared-mime-info tar:bzip2 -USE_CXXSTD= gnu++98 -USE_GNOME= gnomeprefix intlhack libgnomeui -USE_GL= gl -GNU_CONFIGURE= yes - -CPPFLAGS+= $$(pkg-config --cflags gtkglext-1.0) \ - -I${LOCALBASE}/include -LIBS+= $$(pkg-config --libs gtkglext-1.0) \ - -L${LOCALBASE}/lib -lz - -post-patch: - @${REINPLACE_CMD} -e 's|CXXFLAGS=""||g ; \ - s|-I/usr/include/gtkglext-1.0/||g ; \ - s|-I/usr/local/include/gtkglext-1.0/||g ; \ - s|-I/usr/lib/gtkglext-1.0/include/||g ; \ - s|-I/usr/local/lib/gtkglext-1.0/include/||g ; \ - s|-I/usr/local/include ||g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|-I/usr/include||g ; \ - s|-I/usr/local/include||g ; \ - s|-I/usr/X11R6/include||g ; \ - s|-L/usr/lib||g ; \ - s|-L/usr/local/lib||g ; \ - s|-L/usr/X11R6/lib||g ; \ - s|-O2||g ; \ - s|^truevisiondoc|#truevisiondoc|g ; \ - /update-mime-database/s|^|#|' - -.include <bsd.port.mk> diff --git a/graphics/truevision/distinfo b/graphics/truevision/distinfo deleted file mode 100644 index 37299504b812..000000000000 --- a/graphics/truevision/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (truevision-0.5.5-2.tar.bz2) = a9217d3351ea258ed17034688a333723b1945ccc4f7821909a9a783b858e2023 -SIZE (truevision-0.5.5-2.tar.bz2) = 1799585 diff --git a/graphics/truevision/files/patch-gentoo-gcc4 b/graphics/truevision/files/patch-gentoo-gcc4 deleted file mode 100644 index 1ecc9b6c8456..000000000000 --- a/graphics/truevision/files/patch-gentoo-gcc4 +++ /dev/null @@ -1,848 +0,0 @@ ---- include/bicubic.h.orig 2005-08-29 12:24:53.000000000 +0200 -+++ include/bicubic.h 2007-03-23 16:12:08.934381832 +0100 -@@ -27,6 +27,10 @@ - #include "object3d.h" - - -+// declarations to avoid friend injection problems -+void sign_bicubic_current_point_changed( GtkWidget *wid, gpointer data ); -+void sign_bicubic_current_point_num_changed( GtkWidget *wid, gpointer data ); -+ - // Definition - class Bicubic : public Object3D_with_material { - #define SENDER ((Bicubic*)data) ---- include/blob.h.orig 2005-08-29 12:19:22.000000000 +0200 -+++ include/blob.h 2007-03-23 15:22:43.688748645 +0100 -@@ -29,6 +29,11 @@ - - - -+// declarations to avoid friend injection problems -+void sign_blob_add_sphere( GtkWidget *wid, gpointer data ); -+void sign_blob_add_cylinder( GtkWidget *wid, gpointer data ); -+bool BlobTestFunc( gpointer data, float x, float y, float z ); -+ - class Blob : public ObjCSG { - - #define SENDER ((Blob*)data) ---- include/camera.h.orig 2005-08-29 11:45:42.000000000 +0200 -+++ include/camera.h 2007-03-23 11:30:35.370600907 +0100 -@@ -26,6 +26,9 @@ - using namespace std; - #include "object3d.h" - -+// declaration to avoid friend injection problems -+void sign_camera_mode( GtkWidget *wid, gpointer data ); -+ - // Definition - // Camera object - class Camera : public Object3D { ---- include/density.h.orig 2005-08-27 15:04:26.000000000 +0200 -+++ include/density.h 2007-03-23 11:30:09.030619237 +0100 -@@ -27,6 +27,11 @@ - #include "material.h" - #include "mapedit.h" - -+// declarations to avoid friend injection problems -+void sign_density_delete( GtkWidget *wid, gpointer data ); -+void sign_density_type_changed( GtkWidget *wid, gpointer data ); -+void sign_density_densblocktype_changed( gpointer data ); -+ - //**************************************************** - // Density class : - // Used to modify media in pov material interiors & in atmospheric ---- include/dlgutils.h.orig 2005-08-31 19:31:43.000000000 +0200 -+++ include/dlgutils.h 2007-03-23 11:32:23.767064347 +0100 -@@ -87,6 +87,9 @@ - //************************************** - char* extract_filename( char *str ); - -+// declaration to avoid friend injection problems -+void sign_splash_closed( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+ - //************************************************************* - // Splash screen - // create & destroy a window displayed during ---- include/glview2d.h.orig 2005-04-01 10:19:53.000000000 +0200 -+++ include/glview2d.h 2007-03-23 11:36:02.818646655 +0100 -@@ -26,6 +26,10 @@ - using namespace std; - #include "glview.h" - -+// declarations to avoid friend injection probems -+void sign_toggle_grid( GtkWidget *wid, gpointer obj ); -+void sign_toggle_labels( GtkWidget *wid, gpointer obj ); -+ - // Classe 2D - class glview2d : public glview { - #define SENDER ((glview2d*)obj) ---- include/glview3d.h.orig 2005-04-01 10:19:53.000000000 +0200 -+++ include/glview3d.h 2007-03-23 11:38:45.119886583 +0100 -@@ -27,6 +27,10 @@ - #include "glview.h" - #include "dlgutils.h" - -+// declarations to avoid friend injection problems -+gint sign_toggle_3Dlabels( GtkWidget *wid, gpointer obj ); -+gint sign_toggle_grids( GtkWidget *wid, gpointer obj ); -+ - class glview3d : public glview { - // Callback - #define SENDER ((glview3d*)obj) ---- include/glview.h.orig 2005-06-08 19:45:26.000000000 +0200 -+++ include/glview.h 2007-03-23 11:31:45.109961731 +0100 -@@ -76,6 +76,31 @@ - }; - - -+// declarations to avoid friend injection problems -+void initgl( GtkWidget *wid, gpointer data ); -+void display( GtkWidget *wid, GdkEventExpose *ev, gpointer data ); -+void reshape( GtkWidget *wid, GdkEventConfigure *ev, gpointer data ); -+void sign_mouse_button_pressed( GtkWidget *wid, GdkEventButton *ev, gpointer data ); -+void sign_mouse_moved( GtkWidget *wid, GdkEventMotion *ev, gpointer data ); -+void sign_mouse_scroll( GtkWidget *wid, GdkEventScroll *ev, gpointer data ); -+void sign_toggle_lighting( GtkWidget *wid, gpointer data ); -+void sign_toggle_solid( GtkWidget *wid, gpointer data ); -+void sign_toggle_smooth( GtkWidget *wid, gpointer data ); -+void popup_detacher( GtkWidget *wid, GtkMenu *men ); -+void sign_view_refresh( GtkWidget *wid, gpointer data ); -+void sign_view_home( GtkWidget *wid, gpointer data ); -+void sign_toggle_axis( GtkWidget *wid, gpointer data ); -+void sign_change_view_type( GtkWidget *wid, gpointer data ); -+void sign_maximize( GtkWidget *wid, gpointer data ); -+void sign_roll( GtkWidget *wid, gpointer data ); -+void sign_pop_menu( GtkWidget *wid, gpointer data ); -+void sign_glview_tbar_expose( GtkWidget *wid, GdkEventExpose *ev, gpointer data ); -+void sign_glview_tbar_configure( GtkWidget *wid, GdkEventConfigure *ev, gpointer data ); -+void sign_glview_tbar_mouse_click( GtkWidget *wid, GdkEventButton *ev, gpointer data ); -+void sign_glview_tbar_focus_in( GtkWidget *wid, GdkEventFocus *ev, gpointer data ); -+void sign_glview_tbar_focus_out( GtkWidget *wid, GdkEventFocus *ev, gpointer data ); -+void sign_glview_tbar_key_press( GtkWidget *wid, GdkEventKey *ev, gpointer data ); -+ - //******************************************* - // Classe de base - //******************************************* ---- include/interface.h.orig 2005-09-30 10:45:08.000000000 +0200 -+++ include/interface.h 2007-03-23 11:52:32.722630596 +0100 -@@ -40,6 +40,38 @@ - - #define INTERF_DEF Interface *interf = (Interface*)(app_ref->interf); - -+// declarations to avoid friend injection problems -+void sign_interface_recent_file( GtkWidget *wid, gpointer data ); -+void sign_interf_hide_panel( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_new( GtkAction *action, gpointer data ); -+void interf_sign_menu_open( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_save( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_saveas( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_exportpov( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_exportpack( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_loadobj( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_saveobj( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_exit( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_undo( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_redo( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_cut( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_copy( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_paste( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_prefs( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_render( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_stop( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_frontend( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_options( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_fullscreen( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_matedit( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_matlib( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_script( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_help( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_helpon( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_website( GtkWidget *wid, gpointer data ); -+void interf_sign_menu_about( GtkWidget *wid, gpointer data ); -+void interf_sign_toolbar_pointer( GtkAction *action, gpointer data ); -+ - //******************************************************************* - // Class Interface - // ---- include/interior.h.orig 2005-08-27 11:46:43.000000000 +0200 -+++ include/interior.h 2007-03-23 12:01:45.403315691 +0100 -@@ -28,6 +28,10 @@ - #include "media.h" - #include <vector> - -+// declarations to avoid friend injection problems -+void sign_int_addmedia( GtkWidget *wid, gpointer data ); -+void sign_int_media_suicide( gpointer data, gpointer victim ); -+ - class PovTexInterior : public MaterialItem { - #define SENDER ((PovTexInterior*)data) - friend void sign_int_addmedia( GtkWidget *wid, gpointer data ) { SENDER->add_media(); } ---- include/isosurface.h.orig 2005-08-29 12:24:53.000000000 +0200 -+++ include/isosurface.h 2007-03-23 16:06:38.515789260 +0100 -@@ -26,6 +26,9 @@ - using namespace std; - #include "object3d.h" - -+// declaration to avoid friend injection problems -+bool IsoSurfaceTestFunc( gpointer data, float x, float y, float z ); -+ - // Definition - // Box object - class IsoSurface : public Object3D_with_material { ---- include/lathe.h.orig 2005-08-29 12:24:52.000000000 +0200 -+++ include/lathe.h 2007-03-23 15:37:28.640743670 +0100 -@@ -29,6 +29,14 @@ - - - -+// declarations to avoid friend injection problems -+void sign_lathe_current_point_num_changed( GtkWidget *wid, gpointer data ); -+void sign_lathe_current_point_changed( GtkWidget *wid, gpointer data ); -+void sign_lathe_delete_point( GtkWidget *wid, gpointer data ); -+void sign_lathe_append_point( GtkWidget *wid, gpointer data ); -+void sign_lathe_prepend_point( GtkWidget *wid, gpointer data ); -+void sign_lathe_insert_point( GtkWidget *wid, gpointer data ); -+ - // Definition - class Lathe : public Object3D_with_material { - #define SENDER ((Lathe*)data) ---- include/mapedit.h.orig 2005-08-27 12:01:49.000000000 +0200 -+++ include/mapedit.h 2007-03-23 12:25:16.516041598 +0100 -@@ -80,6 +80,21 @@ - ~MapItem_test() {} - }; - -+// declarations to avoid friend injection problems -+void sign_mapedit_expose( GtkWidget *wid, GdkEventExpose *ev, gpointer data ); -+void sign_mapedit_configure( GtkWidget *wid, GdkEventConfigure *ev, gpointer data ); -+void sign_mapedit_realize( GtkWidget *wid, gpointer data ); -+void sign_mapedit_mouse_moved( GtkWidget *wid, GdkEventMotion *ev, gpointer data ); -+void sign_mapedit_mouse_click( GtkWidget *wid, GdkEventButton *ev, gpointer data ); -+void sign_mapedit_mouse_release( GtkWidget *wid, GdkEventButton *ev, gpointer data ); -+void sign_mapedit_selection( GtkWidget *wid, gpointer data ); -+void sign_mapedit_delete_item( GtkWidget *wid, gpointer data ); -+void sign_mapedit_append_item( GtkWidget *wid, gpointer data ); -+void sign_mapedit_prepend_item( GtkWidget *wid, gpointer data ); -+void sign_mapedit_duplicate_item( GtkWidget *wid, gpointer data ); -+void sign_mapedit_item_changed( gpointer data ); -+void sign_mapedit_valentry_changed( GtkWidget *wid, gpointer data ); -+ - //******************************************** - // MapEditor - //******************************************** ---- include/material.h.orig 2005-10-03 20:52:55.000000000 +0200 -+++ include/material.h 2007-03-23 12:30:01.067631469 +0100 -@@ -45,6 +45,9 @@ - typedef matit_type MaterialItemType; - - -+// declaration to avoid friend injection problems -+void sign_miname_changed( GtkWidget *wid, gpointer data ); -+ - //**************************************************** - // Classe Item de Texture - //**************************************************** -@@ -116,6 +119,8 @@ - }; - typedef mattypes MaterialType; - -+// declaration to avoid friend injection problems -+void sign_name_focusout( GtkWidget *wid, GdkEvent *ev, gpointer data ); - - //**************************************************** - // Classe Texture de base ---- include/matlib.h.orig 2005-09-25 20:57:05.000000000 +0200 -+++ include/matlib.h 2007-03-23 12:38:27.173421857 +0100 -@@ -28,6 +28,9 @@ - #include "main.h" - #include "tvwidgets.h" - -+// declarations to avoid friend injection problems -+void sign_thumb_data_free( guchar *data, gpointer sender ); -+ - //****************************************************** - // Material library tree Item - //****************************************************** -@@ -94,6 +97,15 @@ - #define MATLIB_DEF MatLib *matlib = (MatLib*)(app_ref->matlib); - - -+// declarations to avoid friend injection problems -+void sign_matlib_dlg_click( GtkDialog *wid, gint button, gpointer data ); -+void sign_matlib_dlg_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+void sign_matlib_icon_select( GtkIconView *view, gpointer data ); -+void sign_matlib_icon_doubleclick( GtkIconView *view, GtkTreePath *path, gpointer data ); -+void sign_matlib_tree_select( GtkTreeSelection *selection, gpointer data ); -+void sign_matlib_tree_doubleclick( GtkTreeView* view, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data ); -+void sign_matlib_open( GtkWidget *wid, gpointer data ); -+ - class MatLib : public app_object { - - // Gtk Callbacks ---- include/matlist.h.orig 2005-10-25 20:33:57.000000000 +0200 -+++ include/matlist.h 2007-03-23 12:51:39.446555624 +0100 -@@ -43,6 +43,19 @@ - - - -+// declarations to avoid friend injection problems -+void sign_matlist_row_select( GtkTreeSelection *select, gpointer data ); -+void sign_matlist_row_activated( GtkTreeView *View, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data ); -+void sign_matlist_button_clicked( GtkWidget *wid, gpointer data ); -+void sign_ed_dlg_click( GtkDialog *wid, gint button, gpointer data ); -+void sign_ed_dlg_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+void sign_matlist_editor_tree_select( GtkTreeSelection *selection, gpointer data ); -+void sign_ed_dlg_select( GtkWidget *wid, gpointer data ); -+void sign_edit_button_clicked( GtkWidget *wid, gpointer data ); -+void sign_mat_save( GtkWidget *wid, gpointer data ); -+void sign_save_dlg_click( GtkWidget *wid, gint button, gpointer data ); -+void sign_save_dlg_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+ - //************************************** - // Classe MatList - // ---- include/matpov.h.orig 2005-08-27 12:23:58.000000000 +0200 -+++ include/matpov.h 2007-03-23 12:57:03.887060190 +0100 -@@ -32,6 +32,14 @@ - #include <vector> - - -+// declarations to avoid friend injection problems -+void sign_texture_type_changed( GtkWidget *wid, gpointer data ); -+void sign_texture_delete( GtkWidget *wid, gpointer data ); -+void sign_texture_add( GtkWidget *wid, gpointer data ); -+void sign_blockpat_changed( gpointer data ); -+void sign_texture_child_delete( gpointer data, gpointer child ); -+void sign_texture_child_move( gpointer data, gpointer child, int sens ); -+ - //**************************************************** - // Classe Texture POV - //**************************************************** ---- include/media.h.orig 2005-08-27 15:12:27.000000000 +0200 -+++ include/media.h 2007-03-23 13:03:26.374709301 +0100 -@@ -68,6 +68,11 @@ - - - -+// declarations to avoid friend injection problems -+void sign_media_delete( GtkWidget *wid, gpointer data ); -+void sign_media_add_density( GtkWidget *wid, gpointer data ); -+void sign_media_density_suicide( gpointer data, gpointer victim ); -+ - //**************************************************** - // Classe Media - //**************************************************** ---- include/object3d.h.orig 2005-09-30 19:47:29.000000000 +0200 -+++ include/object3d.h 2007-03-23 13:07:05.553272237 +0100 -@@ -93,7 +93,11 @@ - typedef obj3dcat Object3DCategory; - - -- -+// declarations to avoid friend injection problems -+void sign_entry( GtkWidget *wid, gpointer data ); -+bool sign_entry2( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+void sign_hidden_changed( GtkWidget *wid, gpointer data ); -+void sign_render_changed( GtkWidget *wid, gpointer data ); - - //************************************** - // Classe de base pour les objets 3D ---- include/objectlayer.h.orig 2005-09-30 19:47:29.000000000 +0200 -+++ include/objectlayer.h 2007-03-23 13:11:02.888065328 +0100 -@@ -28,6 +28,11 @@ - #include "material.h" - #include <vector> - -+// declarations to avoid friend injection problems -+void sign_objlayer_edit_clicked( GtkWidget *wid, gint button, gpointer data ); -+void sign_objlayer_edit_ok_clicked( GtkWidget *wid, gpointer data ); -+void sign_objlayer_edit_box_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+ - //************************************** - // Layer - //************************************** ---- include/objectlist.h.orig 2005-09-24 19:33:47.000000000 +0200 -+++ include/objectlist.h 2007-03-23 13:21:22.641518051 +0100 -@@ -65,6 +65,26 @@ - - - -+// declarations to avoid friend injection problems -+void sign_layer_select( GtkTreeSelection *selection, gpointer data ); -+void sign_select_lbuttons_clicked( GtkWidget *wid, gpointer data ); -+gboolean sign_layer_view_clicked( GtkWidget *wid, GdkEventButton *ev, gpointer data ); -+void sign_object_select( GtkTreeSelection *selection, gpointer data ); -+void sign_select_buttons_clicked( GtkWidget *wid, gpointer data ); -+gboolean sign_object_view_clicked( GtkWidget *wid, GdkEventButton *ev, gpointer data ); -+void sign_object_view_double_clicked( GtkTreeView *View, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data); -+void sign_create_button_clicked( GtkWidget *wid, gpointer data ); -+void sign_create_tree_select( GtkTreeSelection *selection, gpointer data ); -+void sign_create_tree_click( GtkTreeView *View, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data ); -+void sign_object_drag(GtkWidget *widget, GdkDragContext *dc, GtkSelectionData *selection_data, guint info, guint t, gpointer data ); -+void sign_object_drop_on_layer( GtkWidget *widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *selection_data, guint info, guint t, gpointer data ); -+void sign_object_motion_on_layer( GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint t, gpointer data ); -+void sign_object_drop_on_tree( GtkWidget *widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *selection_data, guint info, guint t, gpointer data ); -+void sign_object_motion_on_tree( GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint t, gpointer data ); -+void sign_objlist_cut_object( GtkWidget *wid, gpointer data ); -+void sign_objlist_copy_object( GtkWidget *wid, gpointer data ); -+void sign_objlist_paste_object( GtkWidget *wid, gpointer data ); -+ - //************************************************************ - // Class Object List - // ---- include/objparam.h.orig 2005-09-29 21:12:01.000000000 +0200 -+++ include/objparam.h 2007-03-23 13:37:02.455143591 +0100 -@@ -70,6 +70,9 @@ - virtual void display( glview *view ) {} - }; - -+// declaration to avoid friend injection problems -+void sign_option_combo_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe option combo - //********************************************* -@@ -87,6 +90,9 @@ - void swap_data( ObjParam *param ); - }; - -+// declaration to avoid friend injection problems -+void sign_int_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe int - //********************************************* -@@ -104,6 +110,9 @@ - void swap_data( ObjParam *param ); - }; - -+// declaration to avoid friend injection problems -+void sign_float_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe float - //********************************************* -@@ -122,6 +131,10 @@ - void swap_data( ObjParam *param ); - }; - -+// declarations to avoid friend injection problems -+void sign_float_angle_flush( GtkWidget *wid, gpointer data ); -+void sign_float_angle_clicked( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe float angle - //********************************************* -@@ -147,6 +160,9 @@ - }; - - -+// declaration to avoid friend injection problems -+void sign_bool_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe bool - //********************************************* -@@ -157,7 +173,7 @@ - ObjParam_bool( const char *name, const char *sname, const char *tooltip, app_objs *appref, bool refr, bool val = false ) - : ObjParam( refr ) , - TvWidget_bool( name, sname, tooltip, appref, val ) {} -- ObjParam_bool::ObjParam_bool( ObjParam_bool & ref ) : ObjParam( ref ), TvWidget_bool( ref ) {} -+ ObjParam_bool( ObjParam_bool & ref ) : ObjParam( ref ), TvWidget_bool( ref ) {} - void get_widget( GtkWidget *box, bool tt ); - void get_widget( GtkWidget *table, bool tt, int row ); - void flush(); -@@ -165,6 +181,9 @@ - virtual void output_to_povray( ofstream & file ) { file << ( data ? "on" : "off"); } - }; - -+// declaration to avoid friend injection problems -+void sign_bool_activator_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe bool activator - //********************************************* -@@ -185,6 +204,8 @@ - virtual void output_to_povray( ofstream & file ) { file << ( data ? "on" : "off" ); } - }; - -+// declaration to avoid friend injection problems -+void sign_color_flush( GtkWidget *wid, gpointer data ); - //********************************************* - // Classe color - //********************************************* -@@ -205,6 +226,10 @@ - - - -+// declarations to avoid friend injection problems -+void sign_point_flush( GtkWidget *wid, gpointer data ); -+void sign_point_clicked( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe point - //********************************************* -@@ -243,6 +268,9 @@ - }; - - -+// declaration to avoid friend injection problems -+void sign_vector4_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe vector4 - //********************************************* -@@ -312,6 +340,10 @@ - }; - - -+// declarations to avoid friend injection problems -+void sign_rotation_flush( GtkWidget *wid, gpointer data ); -+void sign_rotation_clicked( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe rotation - //********************************************* -@@ -352,6 +384,10 @@ - }; - - -+// declarations to avoid friend injection problems -+void sign_ref_changed( GtkWidget *wid, gpointer data ); -+void sign_texref_edit( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Texture ref - //********************************************* -@@ -413,6 +449,10 @@ - bool load( ifstream & file, char *tag ); - //void get_material( vector<Material*> & mlist ); - }; -+ -+// declaration to avoid friend injection problems -+void sign_objparam_entry_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe entry - //********************************************* -@@ -431,6 +471,9 @@ - }; - - -+// declaration to avoid friend injection problems -+void sign_objparam_path_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe path - //********************************************* -@@ -448,6 +491,9 @@ - void swap_data( ObjParam *param ); - }; - -+// declaration to avoid friend injection problems -+void sign_objparam_file_flush( GtkWidget *wid, gpointer data ); -+ - //********************************************* - // Classe file - //********************************************* ---- include/povfe.h.orig 2005-10-03 21:15:11.000000000 +0200 -+++ include/povfe.h 2007-03-23 13:55:59.141734924 +0100 -@@ -36,6 +36,19 @@ - #define POVFE_DEF PovrayFE *povfe = (PovrayFE*)(app_ref->povfe); - - -+// declarations to avoid friend injection problems -+void sign_options_box( GtkWidget *wid, gpointer data ); -+void sign_povfe_opt_click( GtkWidget *wid, gint button, gpointer data ); -+void sign_povfe_opt_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+void sign_povfe_presets( GtkWidget *wid, gpointer data ); -+void sign_povfe_rend_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+void sign_povfe_rend_close( GtkWidget *wid, gpointer data ); -+void sign_povfe_start_stop_clicked( GtkWidget *wid, gpointer data ); -+void *read_console_thread( void * data ); -+void sign_povfe_console( GtkWidget *wid, gpointer data ); -+void sign_povfe_cons_click( GtkWidget *wid, gint button, gpointer data ); -+void sign_povfe_cons_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+ - //********************************************** - // Front end Class - // ---- include/povpreview.h.orig 2005-09-17 23:24:52.000000000 +0200 -+++ include/povpreview.h 2007-03-23 14:02:56.935997790 +0100 -@@ -36,6 +36,11 @@ - #define MATPREV_DEF MaterialPreview *povfe = (MaterialPreview*)(app_ref->povfe); - - -+// declarations to avoid friend injection problems -+void *reading_image_thread( void * data ); -+void *reading_console_thread( void * data ); -+void sign_matpreview_start_clicked( GtkWidget *wid, gpointer data ); -+ - //********************************************** - // Front end Class - // ---- include/preferences.h.orig 2005-09-03 22:38:59.000000000 +0200 -+++ include/preferences.h 2007-03-23 14:07:13.699826858 +0100 -@@ -31,6 +31,10 @@ - #define PREF_DEF Preferences *pref = (Preferences*)(app_ref->prefer); - - -+// declarations to avoid friend injection problems -+gint dlg_click( GtkDialog *wid, gint button, gpointer data ); -+gint dlg_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+ - //*********************************************** - // Objet préférences - //*********************************************** ---- include/prism.h.orig 2005-08-29 12:24:53.000000000 +0200 -+++ include/prism.h 2007-03-23 15:59:41.470412147 +0100 -@@ -30,6 +30,17 @@ - - - -+// declarations to avoid friend injection problems -+void sign_prism_current_point_num_changed( GtkWidget *wid, gpointer data ); -+void sign_prism_current_spline_num_changed( GtkWidget *wid, gpointer data ); -+void sign_prism_current_point_changed( GtkWidget *wid, gpointer data ); -+void sign_prism_delete_point( GtkWidget *wid, gpointer data ); -+void sign_prism_append_point( GtkWidget *wid, gpointer data ); -+void sign_prism_prepend_point( GtkWidget *wid, gpointer data ); -+void sign_prism_insert_point( GtkWidget *wid, gpointer data ); -+void sign_prism_append_spline( GtkWidget *wid, gpointer data ); -+void sign_prism_delete_spline( GtkWidget *wid, gpointer data ); -+ - // Definition - class Prism : public Object3D_with_material { - #define SENDER ((Prism*)data) ---- include/proppanel.h.orig 2005-08-25 11:32:40.000000000 +0200 -+++ include/proppanel.h 2007-03-23 14:14:05.156056630 +0100 -@@ -29,6 +29,12 @@ - #define PROPPANEL_DEF PropPanel *proppanel = (PropPanel*)(app_ref->proppanel); - #define PROPPANEL_MAX_PAGE 5 - -+// declarations to avoid friend injection problems -+void sign_proppanel_clicked( GtkWidget *wid, gpointer data ); -+void sign_proppanel_detach( GtkWidget *wid, gpointer data ); -+bool sign_proppanel_attach( GtkWidget *wid, GdkEvent *event, gpointer data ); -+void sign_proppanel_attach2( GtkWidget *wid, gpointer data ); -+ - class PropPanel : public app_object { - #define SENDER ((PropPanel*)data) - friend void sign_proppanel_clicked( GtkWidget *wid, gpointer data ) { SENDER->label_clicked( wid ); } ---- include/pyscriptdb.h.orig 2005-10-01 07:00:57.000000000 +0200 -+++ include/pyscriptdb.h 2007-03-23 16:18:43.035259272 +0100 -@@ -59,6 +59,9 @@ - }; - - -+// declaration to avoid friend injection problems -+void sign_run_script_from_menu( GtkWidget *wid, gpointer data ); -+ - class PyScriptDB : public app_object - { - friend void sign_run_script_from_menu( GtkWidget *wid, gpointer data ) { ((PyScript*)data)->execute(); } ---- include/scriptobj.h.orig 2005-09-23 15:25:05.000000000 +0200 -+++ include/scriptobj.h 2007-03-23 16:14:06.547439223 +0100 -@@ -58,6 +58,9 @@ - float x4; float y4; float z4; - } GLQuad; - -+// declaration to avoid friend injection problems -+void sign_scriptobj_edit( GtkWidget *wid, gpointer data ); -+ - // ScriptObj object - class ScriptObj : public Object3D_with_material { - #define SENDER ((ScriptObj*)data) ---- include/slopemap.h.orig 2003-07-04 23:32:12.000000000 +0200 -+++ include/slopemap.h 2007-03-23 14:19:27.373900278 +0100 -@@ -60,6 +60,19 @@ - #define MAX_SLMAP_BUT 4 - - -+// declarations to avoid friend injection problems -+void sign_slopemap_edit( GtkWidget *wid, gpointer data ); -+gint sign_slopemap_editor_click( GtkWidget *wid, gint button, gpointer data ); -+gint sign_slopemap_editor_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+void sign_slopecurve_expose( GtkWidget *wid, GdkEventExpose *ev, gpointer data ); -+void sign_slopecurve_configure( GtkWidget *wid, GdkEventConfigure *ev, gpointer data ); -+void sign_slopecurve_realize( GtkWidget *wid, gpointer data ); -+void sign_slopecurve_mouse_moved( GtkWidget *wid, GdkEventMotion *ev, gpointer data ); -+void sign_slopecurve_mouse_click( GtkWidget *wid, GdkEventButton *ev, gpointer data ); -+void sign_slopecurve_mouse_release( GtkWidget *wid, GdkEventButton *ev, gpointer data ); -+void sign_slmap_button_clicked( GtkWidget *wid, gpointer data ); -+void sign_slmap_value_changed( GtkWidget *wid, gpointer data ); -+ - class TvWidget_slopemap : public TvWidget { - #define SENDER ((TvWidget_slopemap*)data) - friend void sign_slopemap_edit( GtkWidget *wid, gpointer data ) { SENDER->open_editor(); } ---- include/spheresweep.h.orig 2005-09-29 20:47:51.000000000 +0200 -+++ include/spheresweep.h 2007-03-23 16:10:24.722280042 +0100 -@@ -28,6 +28,14 @@ - #include "spline3d.h" - - -+// declarations to avoid friend injection problems -+void sign_ssweep_current_point_num_changed( GtkWidget *wid, gpointer data ); -+void sign_ssweep_current_point_changed( GtkWidget *wid, gpointer data ); -+void sign_ssweep_delete_point( GtkWidget *wid, gpointer data ); -+void sign_ssweep_append_point( GtkWidget *wid, gpointer data ); -+void sign_ssweep_prepend_point( GtkWidget *wid, gpointer data ); -+void sign_ssweep_insert_point( GtkWidget *wid, gpointer data ); -+ - //******************************************************* - // Class sphere sweep - // ---- include/texnormal.h.orig 2005-08-27 12:40:52.000000000 +0200 -+++ include/texnormal.h 2007-03-23 14:25:59.402093919 +0100 -@@ -29,6 +29,11 @@ - #include "slopemap.h" - - -+// declarations to avoid friend injection problems -+void sign_normal_type_changed( GtkWidget *wid, gpointer data ); -+void sign_normblocktype_changed( gpointer data ); -+MapItem *mapedit_feeder_normal( gpointer data ); -+ - class PovTexNormal : public MaterialItem { - #define SENDER ((PovTexNormal*)data) - friend void sign_normal_type_changed( GtkWidget *wid, gpointer data ) { SENDER->type_changed(); } ---- include/texpigment.h.orig 2005-08-27 12:40:09.000000000 +0200 -+++ include/texpigment.h 2007-03-23 14:38:56.816494478 +0100 -@@ -27,6 +27,11 @@ - #include "material.h" - #include "mapedit.h" - -+// declarations to avoid friend injection problems -+void sign_pigtype_changed( GtkWidget *wid, gpointer data ); -+void sign_colblocktype_changed( gpointer data ); -+void sign_pigblocktype_changed( gpointer data ); -+ - //**************************************************** - // Pigment class - //**************************************************** -@@ -111,6 +116,9 @@ - }; - - -+// declaration to avoid friend injection problems -+void sign_mapitemcol_changed( gpointer data ); -+ - //**************************************************** - // MapItem solid color - //**************************************************** ---- include/tvwidgets.h.orig 2005-09-30 11:33:29.000000000 +0200 -+++ include/tvwidgets.h 2007-03-23 15:11:14.460894676 +0100 -@@ -84,6 +84,9 @@ - virtual void copy( TvWidget *wid ) {} - }; - -+// declaration to avois friend injection problems -+void sign_rolling_box_clicked( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // Rolling box - //********************************************************** -@@ -143,6 +146,9 @@ - bool load( ifstream & file, char * tag ); - }; - -+// declaration to avois friend injection problems -+void sign_bool_activator_clicked( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // TvWidget BOOL ACTIVATOR - //********************************************************** -@@ -352,6 +358,10 @@ - //int get_blue() { return data[2]; } - }; - -+// declarations to avois friend injection problems -+void sign_pigcolor_changed( GtkWidget *picker, gpointer data ); -+void sign_pigalpha_changed( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // TvWidget PIGMENT - //********************************************************** -@@ -702,6 +712,9 @@ - void get_widget_rb( GtkWidget *box, bool tt ) { rb->get_widget_rb( box, tt ); } - }; - -+// declaration to avoid friend injection problems -+void sign_file_changed( GnomeFileEntry *fentry, gpointer data ); -+ - //********************************************************** - // TvWidget FILE - //********************************************************** -@@ -740,6 +753,9 @@ - }; - - -+// declaration to avoid friend injection problems -+void sign_blockp_type_changed( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // TvWidget Block Pattern - //********************************************************** -@@ -819,6 +835,9 @@ - void get_widget_rb( GtkWidget *box, bool tt ) { rb->get_widget_rb( box, tt ); } - }; - -+// declaration to avoid friend injection problems -+void sign_warptype_changed( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // TvWidget WARP - //********************************************************** -@@ -879,6 +898,9 @@ - void get_widget_rb( GtkWidget *box, bool tt ) { rb->get_widget_rb( box, tt ); } - }; - -+// declaration to avoid friend injection problems -+void sign_blendtype_changed( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // TvWidget BLENDMAP - //********************************************************** -@@ -917,6 +939,9 @@ - }; - - -+// declaration to avoid friend injection problems -+void sign_wavetype_changed( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // TvWidget BLENDMAP MODIFIERS - //********************************************************** -@@ -1079,6 +1104,16 @@ - }; - */ - -+// declarations to avoid friend injection problems -+void sign_tvwid_func_open_dialog( GtkWidget* wid, gpointer data ); -+void sign_tvwid_func_dlg_click( GtkDialog *wid, gint button, gpointer data ); -+void sign_tvwid_func_dlg_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+void sign_tvwid_func_insert( GtkWidget *wid, gpointer data ); -+void sign_tvwid_func_clear( GtkWidget *wid, gpointer data ); -+void sign_tvwid_func_cut( GtkWidget *wid, gpointer data ); -+void sign_tvwid_func_copy( GtkWidget *wid, gpointer data ); -+void sign_tvwid_func_paste( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // TvWidget Function - //********************************************************** -@@ -1132,6 +1167,15 @@ - - - -+// declarations to avoid friend injection problems -+void sign_tvwid_tb_open_dialog( GtkWidget* wid, gpointer data ); -+void sign_tvwid_tb_dlg_click( GtkDialog *wid, gint button, gpointer data ); -+void sign_tvwid_tb_dlg_destroy( GtkWidget *wid, GdkEvent *ev, gpointer data ); -+void sign_tvwid_tb_clear( GtkWidget *wid, gpointer data ); -+void sign_tvwid_tb_cut( GtkWidget *wid, gpointer data ); -+void sign_tvwid_tb_copy( GtkWidget *wid, gpointer data ); -+void sign_tvwid_tb_paste( GtkWidget *wid, gpointer data ); -+ - //********************************************************** - // TvWidget TextButton - //********************************************************** diff --git a/graphics/truevision/files/patch-include__objparam.h b/graphics/truevision/files/patch-include__objparam.h deleted file mode 100644 index 59d53257faaa..000000000000 --- a/graphics/truevision/files/patch-include__objparam.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/objparam.h.orig -+++ include/objparam.h -@@ -465,7 +465,7 @@ - TvWidget_entry( name, sname, tooltip, appref, val) {} - ObjParam_entry( ObjParam_entry & ref ) : ObjParam( ref ), TvWidget_entry( ref ) {} - void get_widget( GtkWidget *box, bool tt ); -- void get_widget( GtkWidget *row, bool tt, int row ); -+ void get_widget( GtkWidget *tab, bool tt, int row ); - void flush(); - void swap_data( ObjParam *param ); - }; diff --git a/graphics/truevision/files/patch-src-density.cc b/graphics/truevision/files/patch-src-density.cc deleted file mode 100644 index f93a18c8b3e9..000000000000 --- a/graphics/truevision/files/patch-src-density.cc +++ /dev/null @@ -1,37 +0,0 @@ ---- src/density.cc.orig Tue Oct 4 03:02:24 2005 -+++ src/density.cc Tue Oct 18 18:54:34 2005 -@@ -198,9 +198,9 @@ - - if ( blockdens1 == NULL && type->value() == 1 ) - { -- blockdens1 = new PovTexDensity( app_ref, NULL, NULL, false ); -- blockdens2 = new PovTexDensity( app_ref, NULL, NULL, false ); -- blockdens3 = new PovTexDensity( app_ref, NULL, NULL, false ); -+ blockdens1 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); -+ blockdens2 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); -+ blockdens3 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); - blockdens1->add_to_tree( tree_view, tree_store, tree_selection, &node_iter ); - blockdens2->add_to_tree( tree_view, tree_store, tree_selection, &node_iter ); - } -@@ -479,9 +479,9 @@ - - if ( !strcmp( tag, "DENSITY" ) ) - { -- if ( blockdens1 == NULL ) { blockdens1 = new PovTexDensity( app_ref, NULL, NULL, false ); blockdens1->load( file, tag ); continue; } -- if ( blockdens2 == NULL ) { blockdens2 = new PovTexDensity( app_ref, NULL, NULL, false ); blockdens2->load( file, tag ); continue; } -- if ( blockdens3 == NULL ) { blockdens3 = new PovTexDensity( app_ref, NULL, NULL, false ); blockdens3->load( file, tag ); continue; } -+ if ( blockdens1 == NULL ) { blockdens1 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); blockdens1->load( file, tag ); continue; } -+ if ( blockdens2 == NULL ) { blockdens2 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); blockdens2->load( file, tag ); continue; } -+ if ( blockdens3 == NULL ) { blockdens3 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); blockdens3->load( file, tag ); continue; } - tvio_skip_section( file ); - } - -@@ -556,7 +556,7 @@ - MapItem_density::MapItem_density( float val, guint8 c, app_objs *appref ) : MapItem( _("Density"), val ) - { - color[0]=color[1]=color[2]=c; color[3]=255; --density = new PovTexDensity( appref, NULL, NULL, false ); -+density = new PovTexDensity( appref, NULL, NULL, NULL, false ); - char text[25]; - sprintf( text, "Map density #%u", obj_count++ ); - density->set_name( text ); diff --git a/graphics/truevision/files/patch-src-dlgutils.cc b/graphics/truevision/files/patch-src-dlgutils.cc deleted file mode 100644 index 9c4a840a1beb..000000000000 --- a/graphics/truevision/files/patch-src-dlgutils.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/dlgutils.cc.orig Sun Jun 12 02:34:25 2005 -+++ src/dlgutils.cc Mon Jun 20 23:50:40 2005 -@@ -27,7 +27,7 @@ - - #include "include/dlgutils.h" - #include <unistd.h> --#include <libintl.h> -+#include <ctype.h> - #include "include/main.h" - #include "include/preferences.h" - #include "config.h" diff --git a/graphics/truevision/files/patch-src-glview.cc b/graphics/truevision/files/patch-src-glview.cc deleted file mode 100644 index c6e79fb25a9a..000000000000 --- a/graphics/truevision/files/patch-src-glview.cc +++ /dev/null @@ -1,21 +0,0 @@ ---- src/glview.cc.orig Sun Jun 12 02:34:25 2005 -+++ src/glview.cc Tue Jun 21 01:06:43 2005 -@@ -676,15 +676,15 @@ - default: - break; - case TV_VIEW_TOP: -- tmp_coord += fmax(fabs(lookat->get(0)), fabs(lookat->get(2))); -+ tmp_coord += ((fabs(lookat->get(0)))>(fabs(lookat->get(2)))?(fabs(lookat->get(0))):(fabs(lookat->get(2)))); - break; - - case TV_VIEW_FRONT: -- tmp_coord += fmax(fabs(lookat->get(0)), fabs(lookat->get(1))); -+ tmp_coord += ((fabs(lookat->get(0)))>(fabs(lookat->get(1)))?(fabs(lookat->get(0))):(fabs(lookat->get(1)))); - break; - - case TV_VIEW_RIGHT: -- tmp_coord += fmax(fabs(lookat->get(1)), fabs(lookat->get(2))); -+ tmp_coord += ((fabs(lookat->get(1)))>(fabs(lookat->get(2)))?(fabs(lookat->get(1))):(fabs(lookat->get(2)))); - break; - } - diff --git a/graphics/truevision/files/patch-src-linkobj.cc b/graphics/truevision/files/patch-src-linkobj.cc deleted file mode 100644 index 6022b0b2ad91..000000000000 --- a/graphics/truevision/files/patch-src-linkobj.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/linkobj.cc.orig Sun Feb 27 02:02:13 2005 -+++ src/linkobj.cc Wed Mar 16 22:15:22 2005 -@@ -94,7 +94,7 @@ - glScalef( a, b, c ); - rotation->gl_rotate(); - -- link->get_current()->display( false ); -+ link->get_current()->display( NULL, false ); - - glPopMatrix(); - list.end(); diff --git a/graphics/truevision/files/patch-src-texnormal.cc b/graphics/truevision/files/patch-src-texnormal.cc deleted file mode 100644 index e9097d30fe8a..000000000000 --- a/graphics/truevision/files/patch-src-texnormal.cc +++ /dev/null @@ -1,37 +0,0 @@ ---- src/texnormal.cc.orig Tue Oct 4 02:54:01 2005 -+++ src/texnormal.cc Tue Oct 18 18:56:50 2005 -@@ -199,9 +199,9 @@ - - if ( normal1 == NULL && type->value() == 1 ) - { -- normal1 = new PovTexNormal( app_ref, false ); -- normal2 = new PovTexNormal( app_ref, false ); -- normal3 = new PovTexNormal( app_ref, false ); -+ normal1 = new PovTexNormal( app_ref, NULL, false ); -+ normal2 = new PovTexNormal( app_ref, NULL, false ); -+ normal3 = new PovTexNormal( app_ref, NULL, false ); - normal1->add_to_tree( tree_view, tree_store, tree_selection, &node_iter ); - normal2->add_to_tree( tree_view, tree_store, tree_selection, &node_iter ); - } -@@ -528,9 +528,9 @@ - - if ( !strcmp( tag, "NORMAL" ) ) - { -- if ( normal1 == NULL ) { normal1 = new PovTexNormal( app_ref, false ); normal1->load( file, tag ); continue; } -- if ( normal2 == NULL ) { normal2 = new PovTexNormal( app_ref, false ); normal2->load( file, tag ); continue; } -- if ( normal3 == NULL ) { normal3 = new PovTexNormal( app_ref, false ); normal3->load( file, tag ); continue; } -+ if ( normal1 == NULL ) { normal1 = new PovTexNormal( app_ref, NULL, false ); normal1->load( file, tag ); continue; } -+ if ( normal2 == NULL ) { normal2 = new PovTexNormal( app_ref, NULL, false ); normal2->load( file, tag ); continue; } -+ if ( normal3 == NULL ) { normal3 = new PovTexNormal( app_ref, NULL, false ); normal3->load( file, tag ); continue; } - tvio_skip_section( file ); - } - -@@ -614,7 +614,7 @@ - MapItem_normal::MapItem_normal( float val, guint8 c, app_objs *appref ) : MapItem( _("Normal"), val ) - { - color[0]=color[1]=color[2]=c; color[3]=255; --normal = new PovTexNormal( appref, false ); -+normal = new PovTexNormal( appref, NULL, false ); - char text[25]; - sprintf( text, "Map normal #%u", obj_count++ ); - normal->set_name( text ); diff --git a/graphics/truevision/files/patch-src-texpigment.cc b/graphics/truevision/files/patch-src-texpigment.cc deleted file mode 100644 index 5487d5f30dac..000000000000 --- a/graphics/truevision/files/patch-src-texpigment.cc +++ /dev/null @@ -1,37 +0,0 @@ ---- src/texpigment.cc.orig Tue Oct 4 02:54:41 2005 -+++ src/texpigment.cc Tue Oct 18 18:58:11 2005 -@@ -236,9 +236,9 @@ - - if ( blockpig1 == NULL && type->value() == 2 ) - { -- blockpig1 = new PovTexPigment( app_ref, false ); -- blockpig2 = new PovTexPigment( app_ref, false ); -- blockpig3 = new PovTexPigment( app_ref, false ); -+ blockpig1 = new PovTexPigment( app_ref, NULL, false ); -+ blockpig2 = new PovTexPigment( app_ref, NULL, false ); -+ blockpig3 = new PovTexPigment( app_ref, NULL, false ); - blockpig1->add_to_tree( tree_view, tree_store, tree_selection, &node_iter ); - blockpig2->add_to_tree( tree_view, tree_store, tree_selection, &node_iter ); - } -@@ -555,9 +555,9 @@ - - if ( !strcmp( tag, "PIGMENT" ) ) - { -- if ( blockpig1 == NULL ) { blockpig1 = new PovTexPigment( app_ref, false ); blockpig1->load( file, tag ); continue; } -- if ( blockpig2 == NULL ) { blockpig2 = new PovTexPigment( app_ref, false ); blockpig2->load( file, tag ); continue; } -- if ( blockpig3 == NULL ) { blockpig3 = new PovTexPigment( app_ref, false ); blockpig3->load( file, tag ); continue; } -+ if ( blockpig1 == NULL ) { blockpig1 = new PovTexPigment( app_ref, NULL, false ); blockpig1->load( file, tag ); continue; } -+ if ( blockpig2 == NULL ) { blockpig2 = new PovTexPigment( app_ref, NULL, false ); blockpig2->load( file, tag ); continue; } -+ if ( blockpig3 == NULL ) { blockpig3 = new PovTexPigment( app_ref, NULL, false ); blockpig3->load( file, tag ); continue; } - tvio_skip_section( file ); - } - -@@ -641,7 +641,7 @@ - MapItem_pigment::MapItem_pigment( float val, guint8 c, app_objs *appref ) : MapItem( _("Pigment"), val ) - { - color[0]=color[1]=color[2]=c; color[3]=255; --pigment = new PovTexPigment( appref, false ); -+pigment = new PovTexPigment( appref, NULL, false ); - char text[25]; - sprintf( text, "Map pigment #%u", obj_count++ ); - pigment->set_name( text ); diff --git a/graphics/truevision/files/patch-src__povfe.cc b/graphics/truevision/files/patch-src__povfe.cc deleted file mode 100644 index befe9affcfd2..000000000000 --- a/graphics/truevision/files/patch-src__povfe.cc +++ /dev/null @@ -1,13 +0,0 @@ ---- src/povfe.cc.orig Tue Oct 4 04:24:37 2005 -+++ src/povfe.cc Tue Oct 18 19:11:46 2005 -@@ -36,6 +36,10 @@ - #include "include/scene.h" - #include "include/tvio.h" - -+#if defined(__FreeBSD__) -+ #define O_SYNC O_FSYNC -+#endif -+ - // Output file format definitions - const int file_type_num = 4; - const char *file_type_list[file_type_num] = { "PNG", "PPM", "TGA", "TGA+RLE" }; diff --git a/graphics/truevision/pkg-descr b/graphics/truevision/pkg-descr deleted file mode 100644 index b66bf040d3e2..000000000000 --- a/graphics/truevision/pkg-descr +++ /dev/null @@ -1,22 +0,0 @@ -Truevision is a 3D modeler for Gnome. It is still in development, so not -really stable and quite not usable yet. - -Features: - - - Create some objects: - - finite solid primitives: box, sphere, cone, cylinder, torus, - heightfield, superellipsoid - - finite patch primitive: disc - - infinite solid primitive: plane - - lights: point, cylindrical, spot, area - - csg operators: union, merge, intersection, difference - - atmospherics: background, skysphere, media, fog - - Manipulate them (rotate, scale, translate, etc) - - Manipulate and edit the camera - - Render the scene with the multithreaded povray frontend - - Create and edit materials (except slope maps), with preview in editor - - Output the scene to povray - - Save and load scenes, objects, materials - - Save materials with preview in material library - -WWW: http://truevision.sourceforge.net/ diff --git a/graphics/truevision/pkg-plist b/graphics/truevision/pkg-plist deleted file mode 100644 index d41877f7d5fb..000000000000 --- a/graphics/truevision/pkg-plist +++ /dev/null @@ -1,128 +0,0 @@ -bin/truevision -lib/libftgltv.a -man/man1/truevision.1.gz -share/applications/truevision.desktop -share/application-registry/truevision.applications -share/gnome/help/truevision/C/athmospherics.xml -share/gnome/help/truevision/C/camera.xml -share/gnome/help/truevision/C/figures/interface_editor.png -share/gnome/help/truevision/C/figures/interface_glviews.png -share/gnome/help/truevision/C/figures/interface_mateditor.png -share/gnome/help/truevision/C/figures/interface_matlibrary.png -share/gnome/help/truevision/C/figures/interface_objcreate.png -share/gnome/help/truevision/C/figures/interface_objeditor.png -share/gnome/help/truevision/C/figures/interface_objmaterial.png -share/gnome/help/truevision/C/figures/interface_objselect.png -share/gnome/help/truevision/C/figures/interface_prefs1.png -share/gnome/help/truevision/C/figures/interface_prefs2.png -share/gnome/help/truevision/C/figures/interface_prefs3.png -share/gnome/help/truevision/C/figures/interface_prefs4.png -share/gnome/help/truevision/C/figures/interface_renderbox.png -share/gnome/help/truevision/C/figures/interface_rendopt1.png -share/gnome/help/truevision/C/figures/interface_rendopt2.png -share/gnome/help/truevision/C/figures/interface_rendopt3.png -share/gnome/help/truevision/C/figures/interface_rendopt4.png -share/gnome/help/truevision/C/figures/interface_rendopt5.png -share/gnome/help/truevision/C/figures/interface_rendopt6.png -share/gnome/help/truevision/C/figures/interface_rendopt7.png -share/gnome/help/truevision/C/figures/interface_rendopt8.png -share/gnome/help/truevision/C/figures/interface_toolbar.png -share/gnome/help/truevision/C/figures/perspcam.png -share/gnome/help/truevision/C/functions.xml -share/gnome/help/truevision/C/interface_editor.xml -share/gnome/help/truevision/C/interface_glviews.xml -share/gnome/help/truevision/C/interface_mateditor.xml -share/gnome/help/truevision/C/interface_matlibrary.xml -share/gnome/help/truevision/C/interface_prefs.xml -share/gnome/help/truevision/C/interface_prefs1.xml -share/gnome/help/truevision/C/interface_prefs2.xml -share/gnome/help/truevision/C/interface_prefs3.xml -share/gnome/help/truevision/C/interface_prefs4.xml -share/gnome/help/truevision/C/interface_renderbox.xml -share/gnome/help/truevision/C/interface_rendopt.xml -share/gnome/help/truevision/C/interface_rendopt1.xml -share/gnome/help/truevision/C/interface_rendopt2.xml -share/gnome/help/truevision/C/interface_rendopt3.xml -share/gnome/help/truevision/C/interface_rendopt4.xml -share/gnome/help/truevision/C/interface_rendopt5.xml -share/gnome/help/truevision/C/interface_rendopt6.xml -share/gnome/help/truevision/C/interface_rendopt7.xml -share/gnome/help/truevision/C/interface_rendopt8.xml -share/gnome/help/truevision/C/interface_toolbar.xml -share/gnome/help/truevision/C/legal.xml -share/gnome/help/truevision/C/truevision.xml -share/gnome/help/truevision/C/welcome.xml -share/locale/de/LC_MESSAGES/truevision.mo -share/locale/fr/LC_MESSAGES/truevision.mo -share/locale/ru/LC_MESSAGES/truevision.mo -share/mime/packages/truevision.xml -share/mime-info/truevision.keys -share/mime-info/truevision.mime -share/pixmaps/truevision/create_icon.png -share/pixmaps/truevision/gnome-mime-application-x-truevision.png -share/pixmaps/truevision/gnome-truevision.png -share/pixmaps/truevision/lock.xpm -share/pixmaps/truevision/mapedit_cursor.xpm -share/pixmaps/truevision/move_icon.png -share/pixmaps/truevision/nopreview.xpm -share/pixmaps/truevision/object_bkgd.xpm -share/pixmaps/truevision/object_blob.xpm -share/pixmaps/truevision/object_box.xpm -share/pixmaps/truevision/object_camera.xpm -share/pixmaps/truevision/object_cone.xpm -share/pixmaps/truevision/object_csg.xpm -share/pixmaps/truevision/object_cylinder.xpm -share/pixmaps/truevision/object_default.xpm -share/pixmaps/truevision/object_default2.xpm -share/pixmaps/truevision/object_diff.xpm -share/pixmaps/truevision/object_disc.xpm -share/pixmaps/truevision/object_fog.xpm -share/pixmaps/truevision/object_hf.xpm -share/pixmaps/truevision/object_inter.xpm -share/pixmaps/truevision/object_lathe.xpm -share/pixmaps/truevision/object_light.xpm -share/pixmaps/truevision/object_link.xpm -share/pixmaps/truevision/object_merge.xpm -share/pixmaps/truevision/object_plane.xpm -share/pixmaps/truevision/object_prism.xpm -share/pixmaps/truevision/object_sphere.xpm -share/pixmaps/truevision/object_superellipsoid.xpm -share/pixmaps/truevision/object_text.xpm -share/pixmaps/truevision/object_torus.xpm -share/pixmaps/truevision/object_union.xpm -share/pixmaps/truevision/object_visible.xpm -share/pixmaps/truevision/page_detach.png -share/pixmaps/truevision/render.xpm -share/pixmaps/truevision/rotate_icon.png -share/pixmaps/truevision/scale_icon.png -share/pixmaps/truevision/select_icon.png -share/pixmaps/truevision/splash.png -share/pixmaps/truevision/trackball_icon.png -share/pixmaps/truevision/uscale_icon.png -share/pixmaps/truevision/view_maximize.png -share/pixmaps/truevision/view_menu.png -share/pixmaps/truevision/view_restore.png -share/pixmaps/truevision/view_rolldown.png -share/pixmaps/truevision/view_rollup.png -share/pixmaps/truevision/warning.xpm -share/truevision/materials/Effects/Fire1.tvm -share/truevision/materials/Effects/water.tvm -share/truevision/materials/Metals/Brass/Brass1A.tvm -share/truevision/materials/Metals/Brass/Brass1B.tvm -share/truevision/materials/Metals/Brass/Brass1C.tvm -share/truevision/materials/Metals/Brass/Brass1D.tvm -share/truevision/materials/Metals/Copper/Copper_1A.tvm -share/truevision/materials/Metals/Copper/Copper_1B.tvm -share/truevision/materials/Metals/Copper/Copper_1C.tvm -share/truevision/materials/Metals/Gold/Gold_1A.tvm -share/truevision/materials/Metals/Gold/Gold_1B.tvm -share/truevision/materials/Metals/Gold/Gold_1C.tvm -share/truevision/materials/Skies/Cloud1.tvm -share/truevision/materials/Stones/Marble1.tvm -share/truevision/materials/Stones/granite3.tvm -share/truevision/materials/Woods/Golden_Oak.tvm -share/truevision/materials/Woods/Soft_Pine.tvm -share/truevision/python/plug-ins/about_python.py -share/truevision/python/plug-ins/starfield.py -share/truevision/python/tv_classes.py -@dir %%DATADIR%%/materials/Glass |
