debian/ 0000755 0000000 0000000 00000000000 11633652220 007166 5 ustar debian/z88-doc.docs 0000644 0000000 0000000 00000000005 11604162041 011222 0 ustar html
debian/README.Debian 0000644 0000000 0000000 00000001021 11604162041 011214 0 ustar Z88 for Debian
--------------
Z88 can be started by typing "z88" in the terminal. Because it is using
the current working directory for saving files it is a good idea to start
Z88 in a fresh created directory.
$ mkdir my_z88_directory
$ cd my_z88_directory
$ z88
The documentation can be accessed at file:///usr/share/doc/z88-doc/html/e88ix.htm
A click on the "Z88-COMMANDER" button opens the documentation in a browser window.
-- Dominique Belhachemi Sun, 15 Feb 2009 03:21:31 -0500
debian/get-orig-source 0000644 0000000 0000000 00000001165 11604162041 012122 0 ustar #!/bin/sh
set -ex
VERSIONDFSG=13.0.0+dfsg2
wget -c http://user.cs.tu-berlin.de/~domibel/z88/z88130.tar.gz
mkdir z88-${VERSIONDFSG}
cd z88-${VERSIONDFSG}
tar -xzf ../z88130.tar.gz # file doesn't contain folder
chmod 644 *
mkdir html
mv *.htm html
mv *.gif html
mv *.jpg html
mkdir src
mv *.c src/
mv *.h src/
mkdir data
mv b* data/
mv z88x.dxf data/
mv z88*txt data/
mkdir oldmake
mv *mk* oldmake
mv COMP* oldmake
mv z88.fcd.linux oldmake/
cd ..
echo "Creating orig tarball."
GZIP=-9 tar -czf z88_${VERSIONDFSG}.orig.tar.gz z88-${VERSIONDFSG}/
echo "Removing extracted directory."
rm -rf z88-${VERSIONDFSG}
rm z88130.tar.gz
debian/rules 0000755 0000000 0000000 00000005121 11604171775 010256 0 ustar #!/usr/bin/make -f
PACKAGE=z88
# DPatch
DEB_SOURCE_PACKAGE:=$(PACKAGE)
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=0
# set the number of build jobs
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
JOBS := -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
get-orig-source:
. debian/get-orig-source
BUILD_PATH = DEB_build
CMAKE_FLAGS = -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_VERBOSE_MAKEFILE=$(DH_VERBOSE) \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed" \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_BUILD_TYPE="Release" \
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
if [ ! -d $(BUILD_PATH) ]; then mkdir $(BUILD_PATH); fi
cd $(BUILD_PATH) \
&& cmake $(CURDIR)/src/ $(CMAKE_FLAGS)
touch $@
build: build-arch
build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
# build shared libs and binaries
$(MAKE) $(JOBS) -C $(BUILD_PATH)
touch $@
build-indep: build-indep-stamp
build-indep-stamp: configure-stamp
dh_testdir
touch $@
clean: clean-patched
clean-patched:
dh_testdir
dh_testroot
# Add here commands to clean up after the build process.
rm -rf $(BUILD_PATH)
dh_clean
install: install-indep install-arch
install-arch: build-arch
dh_testdir
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/tmp
$(MAKE) $(JOBS) -C $(BUILD_PATH) install DESTDIR=$(CURDIR)/debian/tmp
dh_install -pz88 debian/tmp/usr/bin/* z88 usr/bin
dh_install -pz88 z88.fcd z88.dyn usr/share/z88
dh_install -pz88 debian/z88.desktop usr/share/applications
install-indep: build-indep
dh_install -pz88-data data/* usr/share/z88
# Build architecture-independent files here.
binary-indep: install-indep
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# Build architecture-dependent files here.
binary-arch: install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
# Build architecture-dependent files here.
binary-common:
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installmenu
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
debian/source/ 0000755 0000000 0000000 00000000000 11604164042 010464 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11604162233 011672 0 ustar 3.0 (quilt)
debian/z88-doc.doc-base 0000644 0000000 0000000 00000001137 11604162041 011756 0 ustar Document: z88
Title: z88 Manual
Author: Frank Rieg
Abstract: Finite Element Analysis Program
Z88 features 20 finite element types covering plane stress, plate bending,
axial symmetric structures and spacial structures up to 20-node Serendipity
hexahedrons. Z88 comes with a user-friendly interface, a powerful mesh
generator, a DXF-converter, two plot programs and, of course, two powerful
solvers. Import of COSMOS files from Pro/ENGINEER and Pro/MECHANICA is
supported.
Section: Science/Engineering
Format: HTML
Index: /usr/share/doc/z88-doc/html/g88ix.htm
Files: /usr/share/doc/z88-doc/html/*.htm
debian/Notes 0000644 0000000 0000000 00000000244 11604162041 010174 0 ustar Instead of
x11proto-print-dev, libmotif-dev, libxp-dev
the package
lesstif2-dev
can be used.
Unfortunately all the bottons on the Z88-Commander disappear.
debian/copyright 0000644 0000000 0000000 00000001241 11604162041 011112 0 ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
Debianized-By: Dominique Belhachemi
Debianized-Date: Sun, 15 Feb 2009 03:21:31 -0500
Original-Source: http://z88.uni-bayreuth.de/
Files: *
Copyright: 2008, Frank Rieg
License: GPL-2+
On Debian systems the full text of the GNU General Public License can be found
in the `/usr/share/common-licenses/GPL-2' file.
Files: debian/*
Copyright: 2009, Dominique Belhachemi
License: GPL-2+
On Debian systems the full text of the GNU General Public License can be found
in the `/usr/share/common-licenses/GPL-2' file.
debian/z88.desktop 0000644 0000000 0000000 00000000251 11604162041 011203 0 ustar [Desktop Entry]
Version=1.0
Name=Z88
GenericName=Z88
Comment= Finite Element Analysis Program
Exec=z88
Type=Application
Terminal=true
Categories=Education;Math;Science;
debian/control 0000644 0000000 0000000 00000004007 11633611006 010567 0 ustar Source: z88
Section: science
Priority: optional
Maintainer: Debian QA Group
Build-Depends: debhelper (>= 7), cmake, libgtk2.0-dev, libgtkglext1-dev, pkg-config
Standards-Version: 3.8.1
Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/z88/trunk/?rev=0&sc=0
Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/z88/trunk/
Homepage: http://z88.uni-bayreuth.de/
Package: z88
Architecture: any
Depends: z88-data, ${shlibs:Depends}, ${misc:Depends}
Recommends: z88-doc
Description: Finite Element Analysis Program - runtime
Z88 features 20 finite element types covering plane stress, plate bending,
axial symmetric structures and spacial structures up to 20-node Serendipity
hexahedrons. Z88 comes with a user-friendly interface, a powerful mesh
generator, a DXF-converter, two plot programs and, of course, two powerful
solvers. Import of COSMOS files from Pro/ENGINEER and Pro/MECHANICA is
supported.
Package: z88-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Description: Finite Element Analysis Program - documentation
Z88 features 20 finite element types covering plane stress, plate bending,
axial symmetric structures and spacial structures up to 20-node Serendipity
hexahedrons. Z88 comes with a user-friendly interface, a powerful mesh
generator, a DXF-converter, two plot programs and, of course, two powerful
solvers. Import of COSMOS files from Pro/ENGINEER and Pro/MECHANICA is
supported.
.
This package contains the documentation
Package: z88-data
Architecture: all
Depends: ${misc:Depends}
Description: Finite Element Analysis Program - data
Z88 features 20 finite element types covering plane stress, plate bending,
axial symmetric structures and spacial structures up to 20-node Serendipity
hexahedrons. Z88 comes with a user-friendly interface, a powerful mesh
generator, a DXF-converter, two plot programs and, of course, two powerful
solvers. Import of COSMOS files from Pro/ENGINEER and Pro/MECHANICA is
supported.
.
This package contains some data files
debian/changelog 0000644 0000000 0000000 00000003610 11633652220 011040 0 ustar z88 (13.0.0+dfsg2-3) unstable; urgency=low
* QA upload.
* Add multiarch support. Thanks to Micah Gersten! (Closes: #639059)
- debian/control: Add pkg-config as a build-dependency.
- debian/patches/70_use_pkg_config.patch: Use pkg-config
to find GTK and GLIB include paths.
-- Mònica Ramírez Arceda Tue, 13 Sep 2011 10:16:21 +0200
z88 (13.0.0+dfsg2-2) unstable; urgency=low
* QA upload.
* Change maintainer to Debian QA Group.
* Switch to format 3.0 (quilt).
- Add debian/source/format and debian/source/local-options.
- Adapt debian/patches to quilt.
- Adapt debian/rules.
- Remove dpatch as a dependency.
* src/CMakeLists.txt: Include /usr/include/gdk-pixbuf-2.0/
to build successfully (Closes: #621950, #622194)
* 60-fix-spelling-errors.patch: Fix some spelling errors.
* Remove Section field in z88-data to avoid override disparities.
-- Mònica Ramírez Arceda Mon, 04 Jul 2011 08:58:24 +0200
z88 (13.0.0+dfsg2-1) unstable; urgency=low
* New upstream version doesn't depend on libmotif-dev anymore. It's
using GTK+ instead. Because z88 doesn't depend on libmotif-dev
anymore the package can go from contrib to main.
* z88-data will be build only in build-indep not in build-arch anymore
* debian/get-orig-source: upstream's source package doesn't separate
source files, data files, documentation files and build files.
debian/get-orig-source creates some subfolder for a better overview
-- Dominique Belhachemi Sat, 04 Apr 2009 12:49:38 -0400
z88 (13.0.0+dfsg1-1) unstable; urgency=low
* New upstream version
-- Dominique Belhachemi Thu, 02 Apr 2009 23:25:34 -0400
z88 (12.0.1+dfsg1-1) unstable; urgency=low
* Initial release (Closes: #516333)
-- Dominique Belhachemi Sun, 15 Feb 2009 03:21:31 -0500
debian/watch 0000644 0000000 0000000 00000000165 11604162041 010214 0 ustar version=3
opts="dversionmangle=s/\+dfsg1//" ftp://ftp.uni-bayreuth.de/pub/uni-bayreuth/LS-CAD/unix/z88-(.*)\.tar\.gz
debian/patches/ 0000755 0000000 0000000 00000000000 11633615351 010621 5 ustar debian/patches/series 0000644 0000000 0000000 00000000112 11633611056 012026 0 ustar 50_all_changes.patch
60_fix_spelling_errors.patch
70_use_pkg_config.patch
debian/patches/50_all_changes.patch 0000644 0000000 0000000 00000022150 11604373471 014410 0 ustar ## 50_all_changes.patch by
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: This patch replaces old Makefiles by a cmake file,
## DP: fixes some paths to the html documentation and
## DP: adds a missing start script (taken from v12)
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,96 @@
+# The name of our project is "Z88". CMakeLists files in this project can
+# refer to the root source directory of the project as ${Z88_SOURCE_DIR} and
+# to the root binary directory of the project as ${Z88_BINARY_DIR}.
+cmake_minimum_required (VERSION 2.6)
+project (Z88)
+
+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DFR_UNIX -DFR_XINT -DFR_XDOUB -DFR_LINUX -O3 -fomit-frame-pointer")
+
+#FIND_PACKAGE(GTK REQUIRED)
+#IF (GTK_FOUND)
+# INCLUDE_DIRECTORIES (${GTK_INCLUDE_DIR} /usr/include/gtk-2.0/)
+# LINK_LIBRARIES( ${GTK_LIBRARIES} )
+#ELSE (GTK_FOUND)
+# MESSAGE( FATAL_ERROR "This application requires GTK. One of these components is missing. Please verify configuration")
+#ENDIF (GTK_FOUND)
+
+INCLUDE_DIRECTORIES ( /usr/include/gtk-2.0/ /usr/lib/gtk-2.0/include /usr/include/atk-1.0 /usr/include/cairo /usr/include/pango-1.0 /usr/include/glib-2.0 /usr/lib/glib-2.0/include /usr/include/pixman-1 /usr/include/freetype2 /usr/include/directfb /usr/include/libpng12 /usr/include/gtkglext-1.0 /usr/lib/gtkglext-1.0/include /usr/include/gdk-pixbuf-2.0/)
+LINK_LIBRARIES ( gtk-x11-2.0 gdk-x11-2.0 atk-1.0 pangoft2-1.0 gdk_pixbuf-2.0 m pangocairo-1.0 gio-2.0 cairo pango-1.0 freetype fontconfig gobject-2.0 gmodule-2.0 glib-2.0 GL GLU gtkglext-x11-1.0 gdkglext-x11-1.0)
+
+# GTK_INCLUDE_DIR - Directories to include to use GTK
+# GTK_LIBRARIES - Files to link against to use GTK
+# GTK_FOUND - GTK was found
+# GTK_GL_FOUND
+
+
+# Recurse into the "Hello" and "Demo" subdirectories. This does not actually
+# cause another cmake executable to run. The same process will walk through
+# the project's entire directory structure.
+#add_subdirectory (Hello)
+#add_subdirectory (Demo)
+
+# Make sure the compiler can find include files from our library.
+include_directories (${Z88_SOURCE_DIR})
+
+# Make sure the linker can find the library once it is built.
+link_directories (${Z88_BINARY_DIR})
+
+add_executable ( z88f z88f.c ale88f dyn88f clr88 choy88 m1 m2 stop88f
+ cshe88 hexa88 lqua88 qshe88 isod88 tetr88 spur88
+ apla88 spla88 hpla88 ri188 who88f wlog88f prfl88
+ bhexa88 btetr88 bqshe88 bspla88 bspur88 blqua88 bcshe88
+ bapla88 bhpla88 ri588 wrim88f wria88f lan88f z88a z88b z88cc )
+target_link_libraries (z88f m)
+
+
+add_executable ( z88i1 z88i1.c ale88i dyn88i1 clr88 w4y88i stop88i ri188i
+ who88i1 wlog88i1 wrim88i wria88i lan88i1 z88ai )
+target_link_libraries (z88i1 m)
+
+add_executable ( z88i2 z88i2.c ale88i dyn88i2 clr88 jaco88 m1 m2 stop88i cshe88
+ hexa88 lqua88 qshe88 isod88 tetr88 spur88 apla88 spla88 hpla88 r4y88i r1y88i
+ who88i2 wlog88i2 prfl88 wrim88i lan88i2 z88bi z88ci ri588i bhexa88 btetr88
+ bqshe88 bspla88 bspur88 blqua88 bcshe88 bapla88 bhpla88 )
+target_link_libraries (z88i2 m)
+
+add_executable( z88e z88e.c ale88e dyn88e clr88 m1 m2 stop88e cshe88
+ hexa88 lqua88 qshe88 isod88 tetr88 spur88 spla88 hpla88 apla88 riy88
+ forc88 who88e wlog88e wrim88e lan88e )
+target_link_libraries (z88e m)
+
+add_executable( z88d z88d.c ale88d dyn88d clr88 m3 m4 fuvs88 stop88d scsh88
+ shex88 slqu88 sqsh88 siso88 stet88 sspu88 sapl88 sspl88 shpl88 riy88d
+ span88 who88d wlog88d wrim88d lan88d )
+target_link_libraries (z88d m)
+
+add_executable( z88n z88n.c ale88n dyn88n clr88 join88 subn88 stop88n mc188n
+ mc288n mc388n mc488n mc588n rni88 who88n wlog88n wrim88n lan88n )
+target_link_libraries (z88n m)
+
+add_executable( z88v z88v.c ale88v dyn88v clr88 stop88v fr_func vend88 g1i188
+ g2i188 g3i188 g4i188 g5i188 gxi288 g1i388 g1i488 gxi588 lan88v wlog88v who88v )
+target_link_libraries (z88v)
+
+add_executable( z88x z88x.c ale88x dyn88x clr88 koi88x rea88x stop88x sub88x
+ who88x wlog88x wria88x wrim88x z88fx z88tx lan88x )
+target_link_libraries (z88x m)
+
+add_executable( z88g z88g.c ale88g clr88 stop88g cosm88 nast88 dnas88 who88g wlog88g wrim88g lan88g )
+target_link_libraries (z88g)
+
+add_executable( z88h z88h.c ale88h clr88 stop88h who88h wlog88h wrim88h lan88h rdy88h )
+target_link_libraries (z88h)
+
+add_executable( z88o z88o.c cb88o lan88o dyn88o wlog88o ale88o rcoo88
+ m9 m10 m12 m15 oc88 m16 )
+
+add_executable( z88com z88com.c cb88c ale88c lan88c wlog88c rcol88c )
+
+
+#gcc -DFR_UNIX -DFR_LINUX -DFR_XDOUB -DFR_XLONG -I. -O3 -fomit-frame-pointer
+# `pkg-config --cflags --libs gtk+-2.0 gdkglext-1.0 gdkglext-x11-1.0 gtkglext-1.0 gtkglext-x11-1.0` -c -o z88o.o z88o.c
+
+install(TARGETS z88f z88i1 z88i2 z88e z88d z88n z88v z88x z88g z88h z88com z88o
+ RUNTIME DESTINATION bin
+ )
+
--- a/src/ale88c.c
+++ b/src/ale88c.c
@@ -144,7 +144,7 @@
case AL_NOZ88F:
if(LANG == 1) strcpy(cmess,"Kann Z88F nicht starten!");
- if(LANG == 2) strcpy(cmess,"Cannot lauch Z88F!");
+ if(LANG == 2) strcpy(cmess,"Cannot launch Z88F!");
break;
case AL_NOZ88E:
--- a/src/cb88c.c
+++ b/src/cb88c.c
@@ -74,8 +74,8 @@
strcpy(command,CBROWSER);
strcat(command," ");
strcat(command,CPREFIX);
-if(LANG == 1) strcat(command,"g88ge.htm");
-if(LANG == 2) strcat(command,"e88ge.htm");
+if(LANG == 1) strcat(command,"g88ix.htm");
+if(LANG == 2) strcat(command,"e88ix.htm");
iret= system(command);
if(iret != 0) ale88c(AL_NOHELP);
}
@@ -630,8 +630,8 @@
strcpy(command,CBROWSER);
strcat(command," ");
strcat(command,CPREFIX);
- if(LANG == 1) strcat(command,"g88ge.htm");
- if(LANG == 2) strcat(command,"e88ge.htm");
+ if(LANG == 1) strcat(command,"g88ix.htm");
+ if(LANG == 2) strcat(command,"e88ix.htm");
iret= system(command);
if(iret != 0) ale88c(AL_NOHELP);
}
@@ -660,8 +660,8 @@
strcpy(command,CBROWSER);
strcat(command," ");
strcat(command,CPREFIX);
- if(LANG == 1) strcat(command,"g88ge.htm");
- if(LANG == 2) strcat(command,"e88ge.htm");
+ if(LANG == 1) strcat(command,"g88ix.htm");
+ if(LANG == 2) strcat(command,"e88ix.htm");
iret= system(command);
if(iret != 0) ale88c(AL_NOHELP);
}
@@ -690,8 +690,8 @@
strcpy(command,CBROWSER);
strcat(command," ");
strcat(command,CPREFIX);
- if(LANG == 1) strcat(command,"g88ge.htm");
- if(LANG == 2) strcat(command,"e88ge.htm");
+ if(LANG == 1) strcat(command,"g88ix.htm");
+ if(LANG == 2) strcat(command,"e88ix.htm");
iret= system(command);
if(iret != 0) ale88c(AL_NOHELP);
}
@@ -720,8 +720,8 @@
strcpy(command,CBROWSER);
strcat(command," ");
strcat(command,CPREFIX);
- if(LANG == 1) strcat(command,"g88ge.htm");
- if(LANG == 2) strcat(command,"e88ge.htm");
+ if(LANG == 1) strcat(command,"g88ix.htm");
+ if(LANG == 2) strcat(command,"e88ix.htm");
iret= system(command);
if(iret != 0) ale88c(AL_NOHELP);
}
@@ -750,8 +750,8 @@
strcpy(command,CBROWSER);
strcat(command," ");
strcat(command,CPREFIX);
- if(LANG == 1) strcat(command,"g88ge.htm");
- if(LANG == 2) strcat(command,"e88ge.htm");
+ if(LANG == 1) strcat(command,"g88ix.htm");
+ if(LANG == 2) strcat(command,"e88ix.htm");
iret= system(command);
if(iret != 0) ale88c(AL_NOHELP);
}
--- a/src/wrim88i.c
+++ b/src/wrim88i.c
@@ -193,7 +193,7 @@
dann starten Sie den Solver Part 2:\nZ88I2 oder Z88PAR\n");
if(LANG == 2) printf("Z88I1 done\n\
you may now adjust Z88.DYN (MAXGS & MAXKOI)\n\
-then lauch the solver part 2:\nZ88I2 or Z88PAR\n");
+then launch the solver part 2:\nZ88I2 or Z88PAR\n");
break;
case TX_GSERF:
--- /dev/null
+++ b/z88
@@ -0,0 +1,55 @@
+#!/bin/sh
+# This script checks for the existence of the three very important Z88
+# parameter files z88.fcd, z88.dyn and z88i4.txt and launches the
+# Z88 commander
+
+if ! test -f z88.dyn
+ then
+ cp /usr/share/z88/z88.dyn .
+fi
+
+if ! test -f z88.fcd
+ then
+ cp /usr/share/z88/z88.fcd .
+fi
+
+if ! test -f z88i4.txt
+ then
+ cp /usr/share/z88/z88i4.txt .
+fi
+
+if ! test -f z88i1.txt
+ then
+ if ! test -f z88ni.txt
+ then
+ if ! test -f z88x.dxf
+ then
+ if ! test -f z88g.cos
+ then
+ cp /usr/share/z88/b1_x.dxf z88x.dxf
+ cp /usr/share/z88/b1_2.txt z88i2.txt
+ cp /usr/share/z88/b1_3.txt z88i3.txt
+ echo "First Z88 example loaded"
+ else
+ echo "A Z88 input file z88g.cos exists"
+ fi
+ else
+ echo "A Z88 input file z88x.dxf exists"
+ fi
+ else
+ echo "A Z88 input file z88ni.txt exists"
+ fi
+ else
+ echo "A Z88 input file z88i1.txt exists"
+fi
+
+echo "For further information consult"
+echo " /usr/share/doc/z88-doc/html/e88ix.htm or"
+echo "or in German:"
+echo " /usr/share/doc/z88-doc/html/g88ix.htm"
+echo ""
+#echo "/usr/share/doc/z88/z88mane.pdf (English) or"
+#echo "/usr/share/doc/z88/z88mang.pdf (German)"
+echo "*** Starting the Z88 Finite Elements Analysis system ***"
+
+z88com
--- a/z88.fcd
+++ b/z88.fcd
@@ -26,7 +26,7 @@
Your HTML-or Internet Browser's prefix
Prefix fuer Ihren HTML- oder Internet Browser
- CPREFIX file:///home/frank/z88130/
+ CPREFIX file:///usr/share/doc/z88-doc/html/
WINDOW END
debian/patches/70_use_pkg_config.patch 0000644 0000000 0000000 00000002564 11633615346 015145 0 ustar Description: Use pkg-config to find gtk and glib include paths.
Author: Micah Gersten
Last-Update: 2011-09-13
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,7 +14,11 @@
# MESSAGE( FATAL_ERROR "This application requires GTK. One of these components is missing. Please verify configuration")
#ENDIF (GTK_FOUND)
-INCLUDE_DIRECTORIES ( /usr/include/gtk-2.0/ /usr/lib/gtk-2.0/include /usr/include/atk-1.0 /usr/include/cairo /usr/include/pango-1.0 /usr/include/glib-2.0 /usr/lib/glib-2.0/include /usr/include/pixman-1 /usr/include/freetype2 /usr/include/directfb /usr/include/libpng12 /usr/include/gtkglext-1.0 /usr/lib/gtkglext-1.0/include /usr/include/gdk-pixbuf-2.0/)
+include ( FindPkgConfig )
+pkg_check_modules ( GLIB_2.0 glib-2.0 )
+pkg_check_modules ( GTK_2.0 gtk+-2.0 )
+
+INCLUDE_DIRECTORIES ( ${GTK_2.0_INCLUDE_DIRS} /usr/include/atk-1.0 /usr/include/cairo /usr/include/pango-1.0 ${GLIB_2.0_INCLUDE_DIRS} /usr/include/pixman-1 /usr/include/freetype2 /usr/include/directfb /usr/include/libpng12 /usr/include/gtkglext-1.0 /usr/lib/gtkglext-1.0/include /usr/include/gdk-pixbuf-2.0/)
LINK_LIBRARIES ( gtk-x11-2.0 gdk-x11-2.0 atk-1.0 pangoft2-1.0 gdk_pixbuf-2.0 m pangocairo-1.0 gio-2.0 cairo pango-1.0 freetype fontconfig gobject-2.0 gmodule-2.0 glib-2.0 GL GLU gtkglext-x11-1.0 gdkglext-x11-1.0)
# GTK_INCLUDE_DIR - Directories to include to use GTK
debian/patches/60_fix_spelling_errors.patch 0000644 0000000 0000000 00000026042 11604373220 016224 0 ustar Description: fix some spelling errors.
Author: Mònica Ramírez Arceda
Last-Update: 2011-07-04
--- a/html/e88e18.htm
+++ b/html/e88e18.htm
@@ -226,7 +226,7 @@
data for
the plate elements into Z88I1.TXT in the
section
-material informations. However, the possibility for entering the
+material information. However, the possibility for entering the
pressure loads
by the surface and pressure loads file Z88I5.TXT, too, is implemented
for
--- a/html/e88e19.htm
+++ b/html/e88e19.htm
@@ -237,7 +237,7 @@
data for
the plate elements into Z88I1.TXT in the
section
-material informations. However, the possibility for entering the
+material information. However, the possibility for entering the
pressure loads
by the surface and pressure loads file Z88I5.TXT, too, is implemented
for
--- a/html/e88e20.htm
+++ b/html/e88e20.htm
@@ -210,7 +210,7 @@
data for
the plate elements into Z88I1.TXT in the
section
-material informations. However, the possibility for entering the
+material information. However, the possibility for entering the
pressure loads
by the surface and pressure loads file Z88I5.TXT, too, is implemented
for
--- a/html/e88ge.htm
+++ b/html/e88ge.htm
@@ -587,7 +587,7 @@
convert the
data sets back into the CAD system by CAD converters Z88X. In the CAD
system
-you can add more informations, then push the data again to Z88. This
+you can add more information, then push the data again to Z88. This
flexibility is unique!
The 3D
--- a/html/e88h.htm
+++ b/html/e88h.htm
@@ -168,7 +168,7 @@
style="" lang="EN-GB">. However, Z88H can deal with all
Z88 meshes. Z88H reads the Z88 input files Z88I1.TXT
-(general structure informations)
+(general structure information)
and Z88I2.TXT (boundary conditions) and –if
needed- Z88I5.TXT (surface and pressure
--- a/html/e88ia.htm
+++ b/html/e88ia.htm
@@ -149,7 +149,7 @@
style="" lang="EN-GB">
Z88I1.TXT (general structure data,
-coordinates, coincidence, material informations)
+coordinates, coincidence, material information)
Z88I2.TXT (boundary conditions, loads,
constraints)
--- a/html/e88x.htm
+++ b/html/e88x.htm
@@ -219,7 +219,7 @@
style="" lang="EN-GB"> You cover in the CAD system your component
with a FE mesh or a super-structure following certain rules which
follow below,
-and add if necessary boundary conditions and material informations.
+and add if necessary boundary conditions and material information.
Then make
your CAD system generating a DXF file and start the CAD converter Z88X.
The Z88
@@ -284,7 +284,7 @@
- Complete FE structure in CAD e.g. with not-mesh generator capable
elements
- Conversion CAD ---> Z88
-- Change e.g. material informations in Z88
+- Change e.g. material information in Z88
- Conversion Z88 --- > CAD
- Installation of the boundary conditions in CAD
- Conversion CAD ---> Z88
@@ -308,7 +308,7 @@
The general philosophy
of a CAD - FEA data interchange:
CAD files containe nondirectional
-informations. It is
+information. It is
only a wild collections of lines, points and texts, stored in the order
of its
production to make things worse.
@@ -379,7 +379,7 @@
(5) Outline each element
with the LINE function on the layer Z88NET. The only section with firm
work
-rules and orders (because of the topological informations).
+rules and orders (because of the topological information).
(6) Write general
information, material information and control information for the
stress
--- a/oldmake/z88.fcd.linux
+++ b/oldmake/z88.fcd.linux
@@ -168,7 +168,7 @@
The light positions have four entries: X,Y and Z. The 4th entry is the W
value for the so-called homogeneous coordinates. If W is 0 then the point
lies in infinity and the beam meets the point X, Y, Z. Consult the OpenGL
-Reference Manual for further informations.
+Reference Manual for further information.
The value for SHINING (= GL_SHININESS) may vary from 0. to 128.
--- a/src/wlog88f.c
+++ b/src/wlog88f.c
@@ -295,7 +295,7 @@
case LOG_EGES:
if(LANG == 1) fprintf(fwlo,"\nEinlesen der Elastizitaetsgesetze");
- if(LANG == 2) fprintf(fwlo,"\nreading material informations");
+ if(LANG == 2) fprintf(fwlo,"\nreading material information");
fflush(fwlo);
break;
--- a/src/wlog88i1.c
+++ b/src/wlog88i1.c
@@ -296,7 +296,7 @@
case LOG_EGES:
if(LANG == 1) fprintf(fl1,"\nEinlesen der Elastizitaetsgesetze");
- if(LANG == 2) fprintf(fl1,"\nreading material informations");
+ if(LANG == 2) fprintf(fl1,"\nreading material information");
fflush(fl1);
break;
--- a/src/wlog88n.c
+++ b/src/wlog88n.c
@@ -344,7 +344,7 @@
case LOG_BERKOIN:
if(LANG == 1) fprintf(fwlo,"\nKoinzidenzvektor berechnen");
- if(LANG == 2) fprintf(fwlo,"\ncomputing element informations");
+ if(LANG == 2) fprintf(fwlo,"\ncomputing element information");
fflush(fwlo);
break;
--- a/src/wlog88x.c
+++ b/src/wlog88x.c
@@ -418,19 +418,19 @@
case LOG_KOIN:
if(LANG == 1) fprintf(fwlo,"\nEinlesen der Koinzidenz");
- if(LANG == 2) fprintf(fwlo,"\nreading element informations");
+ if(LANG == 2) fprintf(fwlo,"\nreading element information");
fflush(fwlo);
break;
case LOG_EGES:
if(LANG == 1) fprintf(fwlo,"\nEinlesen der Elastizitaetsgesetze");
- if(LANG == 2) fprintf(fwlo,"\nreading material informations");
+ if(LANG == 2) fprintf(fwlo,"\nreading material information");
fflush(fwlo);
break;
case LOG_SINFO:
if(LANG == 1) fprintf(fwlo,"\nEinlesen der Superelement- Infos");
- if(LANG == 2) fprintf(fwlo,"\nreading superelement informations");
+ if(LANG == 2) fprintf(fwlo,"\nreading superelement information");
fflush(fwlo);
break;
@@ -674,7 +674,7 @@
if(LANG == 2)
{
fprintf(fwlo,"\n### Z88X.DXF wrong for Z88I1.TXT/Z88NI.TXT: ###");
- fprintf(fwlo,"\n### material informations missing or wrong ..stop ###");
+ fprintf(fwlo,"\n### material information missing or wrong ..stop ###");
}
fflush(fwlo);
break;
--- a/src/wria88f.c
+++ b/src/wria88f.c
@@ -255,7 +255,7 @@
{
fprintf(fo0,"output file Z88O0.TXT: structure info, produced by Z88F V13.0\n");
fprintf(fo0," **************\n");
-fprintf(fo0,"\ngeneral structure informations:");
+fprintf(fo0,"\ngeneral structure information:");
fprintf(fo0,
"\n\ndimension nodes elements DOF mat-infos KFLAG IBFLAG IPFLAG IQFLAG");
fprintf(fo0,
@@ -440,7 +440,7 @@
* Elastizitaetsgesetze
*---------------------------------------------------------------------*/
if(LANG == 1) fprintf(fo0,"\nElastizitaetsgesetze (1 Zeile pro E-Gesetz) :");
-if(LANG == 2) fprintf(fo0,"\nmaterial informations (1 line per material) :");
+if(LANG == 2) fprintf(fo0,"\nmaterial information (1 line per material) :");
if(ibflag == 0 && ipflag == 0)
{
--- a/src/wria88i.c
+++ b/src/wria88i.c
@@ -252,7 +252,7 @@
{
fprintf(fo0,"output file Z88O0.TXT: structure info, produced by Z88I1 V13.0\n");
fprintf(fo0," **************\n");
-fprintf(fo0,"\ngeneral structure informations:");
+fprintf(fo0,"\ngeneral structure information:");
fprintf(fo0,
"\n\ndimension nodes elements DOF mat-infos KFLAG IBFLAG IPFLAG IQFLAG");
fprintf(fo0,
@@ -438,7 +438,7 @@
* Elastizitaetsgesetze
*---------------------------------------------------------------------*/
if(LANG == 1) fprintf(fo0,"\nElastizitaetsgesetze (1 Zeile pro E-Gesetz) :");
-if(LANG == 2) fprintf(fo0,"\nmaterial informations (1 line per material) :");
+if(LANG == 2) fprintf(fo0,"\nmaterial information (1 line per material) :");
if(ibflag == 0 && ipflag == 0)
{
--- a/src/wrim88f.c
+++ b/src/wrim88f.c
@@ -120,12 +120,12 @@
case TX_KOIN:
if(LANG == 1) printf("Koinzidenz einlesen\n");
- if(LANG == 2) printf("reading element informations\n");
+ if(LANG == 2) printf("reading element information\n");
break;
case TX_EGES:
if(LANG == 1) printf("Elastizitaetsgesetze einlesen\n");
- if(LANG == 2) printf("reading material informations\n");
+ if(LANG == 2) printf("reading material information\n");
break;
case TX_Z88A:
--- a/src/wrim88i.c
+++ b/src/wrim88i.c
@@ -134,12 +134,12 @@
case TX_KOIN:
if(LANG == 1) printf("Koinzidenz einlesen\n");
- if(LANG == 2) printf("reading element informations\n");
+ if(LANG == 2) printf("reading element information\n");
break;
case TX_EGES:
if(LANG == 1) printf("Elastizitaetsgesetze einlesen\n");
- if(LANG == 2) printf("reading material informations\n");
+ if(LANG == 2) printf("reading material information\n");
break;
case TX_Z88A:
--- a/src/wrim88n.c
+++ b/src/wrim88n.c
@@ -73,7 +73,7 @@
break;
case TX_BERKOIN:
if(LANG == 1) printf("\nKoinzidenz berechnen:\n");
- if(LANG == 2) printf("\ncomputing element informations:\n");
+ if(LANG == 2) printf("\ncomputing element information:\n");
break;
case TX_WRII1:
if(LANG == 1) printf("\nZ88I1.TXT beschreiben, Ende Z88N\n");
--- a/src/wrim88x.c
+++ b/src/wrim88x.c
@@ -98,15 +98,15 @@
break;
case TX_KOIN:
if(LANG==1) printf("Koinzidenz einlesen\n");
- if(LANG==2) printf("reading element informations\n");
+ if(LANG==2) printf("reading element information\n");
break;
case TX_EGES:
if(LANG==1) printf("Elastizitaetsgesetze einlesen\n");
- if(LANG==2) printf("reading material informations\n");
+ if(LANG==2) printf("reading material information\n");
break;
case TX_SINFO:
if(LANG==1) printf("Superelement-Informationen einlesen\n");
- if(LANG==2) printf("reading superelement informations\n");
+ if(LANG==2) printf("reading superelement information\n");
break;
case TX_Z88FX:
if(LANG==1) printf("Start Z88FX: von DXF nach Z88\n");
--- a/z88.fcd
+++ b/z88.fcd
@@ -168,7 +168,7 @@
The light positions have four entries: X,Y and Z. The 4th entry is the W
value for the so-called homogeneous coordinates. If W is 0 then the point
lies in infinity and the beam meets the point X, Y, Z. Consult the OpenGL
-Reference Manual for further informations.
+Reference Manual for further information.
The value for SHINING (= GL_SHININESS) may vary from 0. to 128.
debian/menu 0000644 0000000 0000000 00000000341 11604162041 010046 0 ustar ?package(z88): \
needs="X11" \
section="Applications/Science/Engineering" \
title="z88" \
command="/usr/bin/z88"
debian/compat 0000644 0000000 0000000 00000000002 11604162041 010357 0 ustar 7
debian/CMakeLists.txt 0000644 0000000 0000000 00000010450 11604162041 011721 0 ustar # The name of our project is "Z88". CMakeLists files in this project can
# refer to the root source directory of the project as ${Z88_SOURCE_DIR} and
# to the root binary directory of the project as ${Z88_BINARY_DIR}.
cmake_minimum_required (VERSION 2.6)
project (Z88)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DFR_UNIX -DFR_XINT -DFR_XDOUB -DFR_LINUX -O3 -fomit-frame-pointer")
#FIND_PACKAGE(GTK REQUIRED)
#IF (GTK_FOUND)
# INCLUDE_DIRECTORIES (${GTK_INCLUDE_DIR} /usr/include/gtk-2.0/)
# LINK_LIBRARIES( ${GTK_LIBRARIES} )
#ELSE (GTK_FOUND)
# MESSAGE( FATAL_ERROR "This application requires GTK. One of these components is missing. Please verify configuration")
#ENDIF (GTK_FOUND)
INCLUDE_DIRECTORIES ( /usr/include/gtk-2.0/ /usr/lib/gtk-2.0/include /usr/include/atk-1.0 /usr/include/cairo /usr/include/pango-1.0 /usr/include/glib-2.0 /usr/lib/glib-2.0/include /usr/include/pixman-1 /usr/include/freetype2 /usr/include/directfb /usr/include/libpng12 /usr/include/gtkglext-1.0 /usr/lib/gtkglext-1.0/include)
LINK_LIBRARIES ( gtk-x11-2.0 gdk-x11-2.0 atk-1.0 pangoft2-1.0 gdk_pixbuf-2.0 m pangocairo-1.0 gio-2.0 cairo pango-1.0 freetype fontconfig gobject-2.0 gmodule-2.0 glib-2.0 GL GLU gtkglext-x11-1.0 gdkglext-x11-1.0)
# GTK_INCLUDE_DIR - Directories to include to use GTK
# GTK_LIBRARIES - Files to link against to use GTK
# GTK_FOUND - GTK was found
# GTK_GL_FOUND
# Recurse into the "Hello" and "Demo" subdirectories. This does not actually
# cause another cmake executable to run. The same process will walk through
# the project's entire directory structure.
#add_subdirectory (Hello)
#add_subdirectory (Demo)
# Make sure the compiler can find include files from our library.
include_directories (${Z88_SOURCE_DIR})
# Make sure the linker can find the library once it is built.
link_directories (${Z88_BINARY_DIR})
add_executable ( z88f z88f.c ale88f dyn88f clr88 choy88 m1 m2 stop88f
cshe88 hexa88 lqua88 qshe88 isod88 tetr88 spur88
apla88 spla88 hpla88 ri188 who88f wlog88f prfl88
bhexa88 btetr88 bqshe88 bspla88 bspur88 blqua88 bcshe88
bapla88 bhpla88 ri588 wrim88f wria88f lan88f z88a z88b z88cc )
target_link_libraries (z88f m)
add_executable ( z88i1 z88i1.c ale88i dyn88i1 clr88 w4y88i stop88i ri188i
who88i1 wlog88i1 wrim88i wria88i lan88i1 z88ai )
target_link_libraries (z88i1 m)
add_executable ( z88i2 z88i2.c ale88i dyn88i2 clr88 jaco88 m1 m2 stop88i cshe88
hexa88 lqua88 qshe88 isod88 tetr88 spur88 apla88 spla88 hpla88 r4y88i r1y88i
who88i2 wlog88i2 prfl88 wrim88i lan88i2 z88bi z88ci ri588i bhexa88 btetr88
bqshe88 bspla88 bspur88 blqua88 bcshe88 bapla88 bhpla88 )
target_link_libraries (z88i2 m)
add_executable( z88e z88e.c ale88e dyn88e clr88 m1 m2 stop88e cshe88
hexa88 lqua88 qshe88 isod88 tetr88 spur88 spla88 hpla88 apla88 riy88
forc88 who88e wlog88e wrim88e lan88e )
target_link_libraries (z88e m)
add_executable( z88d z88d.c ale88d dyn88d clr88 m3 m4 fuvs88 stop88d scsh88
shex88 slqu88 sqsh88 siso88 stet88 sspu88 sapl88 sspl88 shpl88 riy88d
span88 who88d wlog88d wrim88d lan88d )
target_link_libraries (z88d m)
add_executable( z88n z88n.c ale88n dyn88n clr88 join88 subn88 stop88n mc188n
mc288n mc388n mc488n mc588n rni88 who88n wlog88n wrim88n lan88n )
target_link_libraries (z88n m)
add_executable( z88v z88v.c ale88v dyn88v clr88 stop88v fr_func vend88 g1i188
g2i188 g3i188 g4i188 g5i188 gxi288 g1i388 g1i488 gxi588 lan88v wlog88v who88v )
target_link_libraries (z88v)
add_executable( z88x z88x.c ale88x dyn88x clr88 koi88x rea88x stop88x sub88x
who88x wlog88x wria88x wrim88x z88fx z88tx lan88x )
target_link_libraries (z88x m)
add_executable( z88g z88g.c ale88g clr88 stop88g cosm88 nast88 dnas88 who88g wlog88g wrim88g lan88g )
target_link_libraries (z88g)
add_executable( z88h z88h.c ale88h clr88 stop88h who88h wlog88h wrim88h lan88h rdy88h )
target_link_libraries (z88h)
add_executable( z88o z88o.c cb88o lan88o dyn88o wlog88o ale88o rcoo88
m9 m10 m12 m15 oc88 m16 )
add_executable( z88com z88com.c cb88c ale88c lan88c wlog88c rcol88c )
#gcc -DFR_UNIX -DFR_LINUX -DFR_XDOUB -DFR_XLONG -I. -O3 -fomit-frame-pointer
# `pkg-config --cflags --libs gtk+-2.0 gdkglext-1.0 gdkglext-x11-1.0 gtkglext-1.0 gtkglext-x11-1.0` -c -o z88o.o z88o.c
install(TARGETS z88f z88i1 z88i2 z88e z88d z88n z88v z88x z88g z88h z88com z88o
RUNTIME DESTINATION bin
)
debian/z88.lintian 0000644 0000000 0000000 00000001030 11604162041 011164 0 ustar z88: binary-without-manpage usr/bin/z88
z88: binary-without-manpage usr/bin/z88com
z88: binary-without-manpage usr/bin/z88d
z88: binary-without-manpage usr/bin/z88e
z88: binary-without-manpage usr/bin/z88f
z88: binary-without-manpage usr/bin/z88g
z88: binary-without-manpage usr/bin/z88h
z88: binary-without-manpage usr/bin/z88i1
z88: binary-without-manpage usr/bin/z88i2
z88: binary-without-manpage usr/bin/z88n
z88: binary-without-manpage usr/bin/z88o
z88: binary-without-manpage usr/bin/z88v
z88: binary-without-manpage usr/bin/z88x