media-gfx/dawn: treeclean

Closes: https://bugs.gentoo.org/934619 (pkgremoved)
Closes: https://bugs.gentoo.org/730758 (pkgremoved)
Closes: https://bugs.gentoo.org/713760 (pkgremoved)
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2024-07-20 10:34:57 +03:00
parent 4d9d2459d7
commit b6fdf53d31
6 changed files with 0 additions and 272 deletions

View File

@@ -1 +0,0 @@
DIST dawn_3_90b.tgz 1334732 BLAKE2B 97f4e747b8f9d2eb60d9c8f0e7358fe549052e36a02127f02363c328775f33ae9fd36afd850ef06b365aaaa9723a541d89d7f2fccb37d1dd30f626054d7939b3 SHA512 5ff0b3572442ad1f435d5f894a0f1637efbc8eb3dae4f67dd456ff220a497cc59fe3bdf773cd38a0690d3689e9cda48f49c408ddab56f31efb9c87447d439fea

View File

@@ -1,59 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eapi7-ver toolchain-funcs
MY_P=${PN}_$(ver_rs 1 _)
DESCRIPTION="3D geometrical postscript renderer"
HOMEPAGE="http://geant4.kek.jp/~tanaka/DAWN/About_DAWN.html"
SRC_URI="http://geant4.kek.jp/~tanaka/src/${MY_P}.tgz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc opengl X"
RDEPEND="dev-lang/tk:*
opengl? ( virtual/opengl )
X? ( x11-libs/libX11 )"
DEPEND="${RDEPEND}
app-shells/tcsh
doc? ( virtual/latex-base )"
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/${P}-no-interactive.patch
"${FILESDIR}"/${P}-gcc7.patch
)
DOCS=( README.txt )
src_prepare() {
default
sed -i -e "s/\$(LIB_DIR)/\$(LDFLAGS) &/" \
-e '/strip/d' Makefile*in || die
if use X; then
mv -f configure_xwin configure || die
fi
tc-export CXX
}
src_install() {
dodir /usr/bin
if use doc; then
pdflatex DOC/G4PRIM_FORMAT_24.tex || die "pdf generation failed"
DOCS+=( DOC/*.pdf )
HTML_DOCS=( DOC/*.html )
fi
default
}

View File

@@ -1,21 +0,0 @@
Bug: https://bugs.gentoo.org/638616
--- a/FRString.h
+++ b/FRString.h
@@ -137,13 +137,13 @@
char* p = m_string ;
// skip first blank if any
- while( isspace(*p) && p != '\0' ) {p++;}
+ while( isspace(*p) && *p != '\0' ) {p++;}
// skip one word
- while( !isspace(*p) && p != '\0' ) {p++;}
+ while( !isspace(*p) && *p != '\0' ) {p++;}
// skip second blank if any
- while( isspace(*p) && p != '\0' ) {p++;}
+ while( isspace(*p) && *p != '\0' ) {p++;}
// reset string
strcpy( tmp, p );

View File

@@ -1,158 +0,0 @@
--- a/configure_xwin
+++ b/configure_xwin
@@ -16,17 +16,17 @@
#----- C++ compiler name
echo "Input C++ compiler name (e.g. g++, no default)."
echo -n " :"
-set cpp_compiler=$<
+set cpp_compiler=
#----- Optimization option of the C++ compiler
echo "Input optimization option (e.g. -O2, no default)"
echo -n " :"
-set optimize=$<
+set optimize=
#----- Input Tcl/Tk window shell name
echo "Input Tcl/Tk window shell name"
echo -n " (e.g. wish, no default): "
-set wish=$<
+set wish=wish
#-----
@@ -34,7 +34,7 @@
echo " (e.g. -I/usr/X11R6/include) "
echo " Hit return key if path is already set properly. )"
echo -n " : "
-set xlib_inc=$<
+set xlib_inc=
echo ""
@@ -43,17 +43,17 @@
echo " (e.g. -L/usr/X11R6/lib) "
echo " Hit return key if path is already set properly.)"
echo -n " : "
-set xlib_lib=$<
+set xlib_lib=
echo ""
#----- Input directory name to install dawn and DAWN_GUI
echo "Input directory to install executable files"
echo -n " (e.g. /usr/local/bin, no default ): "
-set install_dir=$<
+set install_dir=
#----- Input system name
echo -n "Select a system (0: Defalut, 1: AIX, 2: IRIX, 3: Solaris, 4: RedHat/FedoraCore): "
-set sysid=$<
+set sysid=0
switch ($sysid)
case "0":
set sysname = "Default"
@@ -80,7 +80,7 @@
echo "Do you use remote-visualization function? (y/n, no default)"
echo " (Select n if your compilation fails for FRClientServer.cc)"
echo -n " : "
-set ynflag_socket=$<
+set ynflag_socket=n
switch ($ynflag_socket)
case "y":
set macro_socket = '#define USE_SOCKET'
@@ -123,14 +123,14 @@
echo "### C++ compiler" >> Makefile
#echo "ifndef CXX" >> Makefile
-echo "CC = $cpp_compiler" >> Makefile
+#echo "CC = $cpp_compiler" >> Makefile
#echo "else" >> Makefile
-#echo 'CC = $(CXX)' >> Makefile
+echo 'CC = $(CXX)' >> Makefile
#echo "endif" >> Makefile
echo "" >> Makefile
echo "### Optimization" >> Makefile
-echo "OPTIMIZE = $optimize" >> Makefile
+echo 'OPTIMIZE = $(CXXFLAGS)' >> Makefile
echo "" >> Makefile
echo "### Waring level" >> Makefile
@@ -152,7 +152,7 @@
echo "" >> Makefile
echo "### Directory where to install executable files" >> Makefile
-echo "INSTALL_DIR = $install_dir" >> Makefile
+echo 'INSTALL_DIR = $(DESTDIR)/usr/bin' >> Makefile
echo "" >> Makefile
echo "### Socket libraries to be linked " >> Makefile
--- a/FRSocketMacro.h
+++ b/FRSocketMacro.h
@@ -14,8 +14,8 @@
#elif defined SOCKET_REDHAT61
#define CLIENT_ADDR_LENGTH socklen_t
#else
- #define CLIENT_ADDR_LENGTH int
-// #define CLIENT_ADDR_LENGTH size_t
+// #define CLIENT_ADDR_LENGTH int
+ #define CLIENT_ADDR_LENGTH size_t
#endif
//----- gethostname
--- a/configure
+++ b/configure
@@ -13,22 +13,22 @@
#----- C++ compiler name
echo "Input C++ compiler name (e.g. g++, no default)."
echo -n " :"
-set cpp_compiler=$<
+set cpp_compiler=
#----- Optimization option of the C++ compiler
echo "Input optimization option (e.g. -O2, no default)"
echo -n " :"
-set optimize=$<
+set optimize=
#----- Input Tcl/Tk window shell name
echo "Input Tcl/Tk window shell name"
echo -n " (e.g. wish, no default): "
-set wish=$<
+set wish=wish
#----- Input directory name to install dawn and DAWN_GUI
echo "Input directory to install executable files"
echo -n " (e.g. /usr/local/bin, no default ): "
-set install_dir=$<
+set install_dir=
##### DELETE #####
@@ -57,14 +57,14 @@
echo "### C++ compiler" >> Makefile
#echo "ifndef CXX" >> Makefile
-echo "CC = $cpp_compiler" >> Makefile
+#echo "CC = $cpp_compiler" >> Makefile
#echo "else" >> Makefile
-#echo 'CC = $(CXX)' >> Makefile
+echo 'CC = $(CXX)' >> Makefile
#echo "endif" >> Makefile
echo "" >> Makefile
echo "### Optimization" >> Makefile
-echo "OPTIMIZE = $optimize" >> Makefile
+echo 'OPTIMIZE = $(CXXFLAGS)' >> Makefile
echo "" >> Makefile
echo "### Waring level" >> Makefile
@@ -78,7 +78,7 @@
echo "### Directory where to install executable files" >> Makefile
-echo "INSTALL_DIR = $install_dir" >> Makefile
+echo 'INSTALL_DIR = $(DESTDIR)/usr/bin' >> Makefile
echo "" >> Makefile
echo "" >> Makefile

View File

@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-physics@gentoo.org</email>
<name>Gentoo Physics Project</name>
</maintainer>
<longdescription lang="en">
Fukui Renderer DAWN (Drawer for Academic WritiNgs)
is a renderer, which reads 3D geometrical data and visualize them.
It is a vectorized 3D PostScript processor with analytical
hidden line/surface removal.
It aims at precise technical drawing of complicated objects.
It performs geometrical hidden line/surface removal and calculates
out all visible parts of the 3D data before drawing. This drawing
algorithm realizes device-independent technical high quality of
vectorized graphics.
3D Data files should be generated by a modeler or by hands
separately. If you use DAWN as a visualizer of,
say, a simulator of physical experiments,
the simulator application itself is recognized as a modeler.
An important feature of DAWN is that it has been developed to
visualize 3D data generated by a high-energy experimental detector
simulator "GEANT4".
</longdescription>
</pkgmetadata>

View File

@@ -247,11 +247,6 @@ games-strategy/majesty-demo
# Removal on 2024-07-20. Bugs #934621, #925090, #724078, #727438.
dev-debug/ald
# Arthur Zamarin <arthurzam@gentoo.org> (2024-06-20)
# EAPI=6, no reverse dependencies, waiting for a version bump.
# Removal on 2024-07-20. Bugs #934619, #730758, #713760.
media-gfx/dawn
# Jakov Smolić <jsmolic@gentoo.org> (2024-06-18)
# Outdated by several versions, very difficult to package due to the
# complicated Cargo dependency management.