wok-6.x rev 3913

Add: xtrkcad (4.0.3a)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Aug 17 16:40:30 2009 +0000 (2009-08-17)
parents 56b92e108859
children 7d6b9ead748f
files menu-railroad/receipt menu-railroad/stuff/desktop-directories/railroad.directory menu-railroad/stuff/menus/applications-merged/railroad.menu menu-railroad/stuff/pixmaps/railroad.png xtrkcad-doc/receipt xtrkcad/receipt xtrkcad/stuff/xtrkcad.desktop xtrkcad/stuff/xtrkcad.png
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/menu-railroad/receipt	Mon Aug 17 16:40:30 2009 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="menu-railroad"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Freedesktop menu for railroading applications."
    1.10 +MAINTAINER="rcx@zoominternet"
    1.11 +WEB_SITE="http://icons.mysitemyway.com/free-clipart-icons/1/locomotive-train-icon-id/39275/style-id/294/grunge-brushed-metal-pewter-icons/transport-travel/"
    1.12 +
    1.13 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.14 +genpkg_rules()
    1.15 +{
    1.16 +	# Menu directory icon is free from the above website
    1.17 +	mkdir -p $fs/usr/share $fs/etc/xdg
    1.18 +	cp -a stuff/desktop-directories $fs/usr/share
    1.19 +	cp -a stuff/pixmaps $fs/usr/share
    1.20 +	cp -a stuff/menus $fs/etc/xdg
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/menu-railroad/stuff/desktop-directories/railroad.directory	Mon Aug 17 16:40:30 2009 +0000
     2.3 @@ -0,0 +1,6 @@
     2.4 +[Desktop Entry]
     2.5 +Name=Railroad
     2.6 +Comment=Railroading applications
     2.7 +Icon=railroad
     2.8 +Type=Directory
     2.9 +Encoding=UTF-8
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/menu-railroad/stuff/menus/applications-merged/railroad.menu	Mon Aug 17 16:40:30 2009 +0000
     3.3 @@ -0,0 +1,16 @@
     3.4 +<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
     3.5 + "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
     3.6 +
     3.7 +<Menu>
     3.8 +  <Name>Applications</Name>
     3.9 +  
    3.10 +  <Menu>
    3.11 +    <Name>Railroad</Name>
    3.12 +    <Directory>railroad.directory</Directory>
    3.13 +    <Include>
    3.14 +      <And>
    3.15 +        <Category>Railroad</Category>
    3.16 +	  </And>
    3.17 +    </Include>
    3.18 +  </Menu>
    3.19 +</Menu>
     4.1 Binary file menu-railroad/stuff/pixmaps/railroad.png has changed
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/xtrkcad-doc/receipt	Mon Aug 17 16:40:30 2009 +0000
     5.3 @@ -0,0 +1,18 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="xtrkcad-doc"
     5.7 +VERSION="4.0.3a"
     5.8 +CATEGORY="games"
     5.9 +SHORT_DESC="Documentation, examples, and how-to demos for xtrkcad."
    5.10 +MAINTAINER="rcx@zoominternet.net"
    5.11 +WEB_SITE="http://www.xtrkcad.org/"
    5.12 +WANTED="xtrkcad"
    5.13 +
    5.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.15 +genpkg_rules()
    5.16 +{
    5.17 +	mkdir -p $fs/usr/share/$WANTED
    5.18 +	cp -a $_pkg/usr/share/$WANTED/html $fs/usr/share/$WANTED
    5.19 +	cp -a $_pkg/usr/share/$WANTED/examples $fs/usr/share/$WANTED
    5.20 +	cp -a $_pkg/usr/share/$WANTED/demos $fs/usr/share/$WANTED
    5.21 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/xtrkcad/receipt	Mon Aug 17 16:40:30 2009 +0000
     6.3 @@ -0,0 +1,61 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="xtrkcad"
     6.7 +VERSION="4.0.3a"
     6.8 +CATEGORY="games"
     6.9 +SHORT_DESC="A CAD program for designing model railroad layouts."
    6.10 +MAINTAINER="rcx@zoominternet.net"
    6.11 +DEPENDS="menu-railroad glibc-base glib libgio zlib expat libxml2 gtk+ \
    6.12 +libgtkhtml fontconfig freetype atk cairo libpng pango pixman libxcb \
    6.13 +xcb-util xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
    6.14 +xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
    6.15 +xorg-libXinerama xorg-libXrender"
    6.16 +BUILD_DEPENDS="slitaz-toolchain cmake pkg-config gettext zlib-dev \
    6.17 +gtk+-dev libxml2-dev libgtkhtml-dev libgtkhtml doxygen xorg-xproto \
    6.18 +xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
    6.19 +xorg-libXdmcp-dev"
    6.20 +TARBALL="$PACKAGE-source-$VERSION.tar.gz"
    6.21 +WEB_SITE="http://www.xtrkcad.org/"
    6.22 +WGET_URL="$SF_MIRROR/$PACKAGE-fork/$TARBALL"
    6.23 +
    6.24 +# Rules to configure and make the package.
    6.25 +compile_rules()
    6.26 +{
    6.27 +	# Determine if TOOLPREFIX has been defined in tazwok.conf as it should
    6.28 +	if [ -z "$TOOLPREFIX" ] ; then
    6.29 +		# Provide a default TOOLPREFIX value
    6.30 +		TOOLPREFIX=i486-pc-linux-gnu-
    6.31 +	fi
    6.32 +
    6.33 +	XTRKCAD_STUFF=$PWD/stuff
    6.34 +	
    6.35 +	mv $PACKAGE-source-$VERSION $PACKAGE-$VERSION
    6.36 +	cd $src
    6.37 +	cmake -D CMAKE_C_COMPILER:FILEPATH=${TOOLPREFIX}gcc \
    6.38 +		-D CMAKE_CXX_COMPILER:FILEPATH=${TOOLPREFIX}c++ \
    6.39 +		-D CMAKE_INSTALL_PREFIX=/usr \
    6.40 +		-D XTRKCAD_USE_GTK=ON -D XTRKCAD_USE_GTK_CAIRO=ON . &&
    6.41 +	make PREFIX=/usr &&
    6.42 +	make DESTDIR=$src/_pkg install &&
    6.43 +	mkdir -p $src/_pkg/usr/share/pixmaps &&
    6.44 +	# cp -f $XTRKCAD_STUFF/$PACKAGE.png $src/_pkg/usr/share/pixmaps &&
    6.45 +	cp -f $src/app/bin/xtrkcad.ico $src/_pkg/usr/share/pixmaps
    6.46 +	mkdir -p $src/_pkg/usr/share/applications &&
    6.47 +	cp -f $XTRKCAD_STUFF/$PACKAGE.desktop $src/_pkg/usr/share/applications &&
    6.48 +	sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $src/_pkg/usr/share/applications/xtrkcad.desktop
    6.49 +}
    6.50 +
    6.51 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.52 +genpkg_rules()
    6.53 +{
    6.54 +	mkdir -p $fs/usr/share/$PACKAGE
    6.55 +	cp -f $_pkg/usr/share/$PACKAGE/$PACKAGE.tip $fs/usr/share/$PACKAGE
    6.56 +	cp -f $_pkg/usr/share/$PACKAGE/$PACKAGE.xtq $fs/usr/share/$PACKAGE
    6.57 +	cp -f $_pkg/usr/share/$PACKAGE/logo.bmp $fs/usr/share/$PACKAGE
    6.58 +	cp -a $_pkg/usr/share/$PACKAGE/params $fs/usr/share/$PACKAGE
    6.59 +	
    6.60 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    6.61 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    6.62 +
    6.63 +	cp -a $_pkg/usr/bin $fs/usr
    6.64 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/xtrkcad/stuff/xtrkcad.desktop	Mon Aug 17 16:40:30 2009 +0000
     7.3 @@ -0,0 +1,9 @@
     7.4 +[Desktop Entry]
     7.5 +Encoding=UTF-8
     7.6 +Name=XTrackCAD
     7.7 +Comment=Design model railroad layouts
     7.8 +Exec=xtrkcad
     7.9 +Icon=xtrkcad
    7.10 +Terminal=false
    7.11 +Type=Application
    7.12 +Categories=Application;Railroad;
     8.1 Binary file xtrkcad/stuff/xtrkcad.png has changed