tuxmath.paketlendi
This commit is contained in:
parent
a2053c3f3b
commit
734099aef1
|
@ -0,0 +1,18 @@
|
|||
--- src/t4k_common-0.1.1/src/t4k_loaders.c 2011-04-08 05:46:07.000000000 +0300
|
||||
+++ src.new/t4k_common-0.1.1/src/t4k_loaders.c 2012-05-02 10:35:41.836670434 +0300
|
||||
@@ -1028,12 +1028,9 @@
|
||||
{
|
||||
png_init_io(png_ptr, fi);
|
||||
|
||||
- info_ptr->width = surf->w;
|
||||
- info_ptr->height = surf->h;
|
||||
- info_ptr->bit_depth = 8;
|
||||
- info_ptr->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
|
||||
- info_ptr->interlace_type = 1;
|
||||
- info_ptr->valid = 0; /* will be updated by various png_set_FOO() functions */
|
||||
+ png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8,
|
||||
+ PNG_COLOR_TYPE_RGB_ALPHA, 1,
|
||||
+ PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
|
||||
|
||||
png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr,
|
||||
PNG_sRGB_INTENT_PERCEPTUAL);
|
|
@ -0,0 +1,21 @@
|
|||
# Description: TuxType ve TuxMath tarafından paylaşılan kod için ortak kütüphane
|
||||
# URL: http://tux4kids.alioth.debian.org/
|
||||
# Packager: Cihan Alkan
|
||||
# Depends on: sdl-image sdl-mixer sdl-net sdl-ttf sdl-pango librsvg
|
||||
|
||||
name=t4k-common
|
||||
_name=t4k_common
|
||||
version=0.1.1
|
||||
release=1
|
||||
|
||||
source=(http://downloads.sourceforge.net/project/tuxmath/$_name/$_name-$version.tar.gz
|
||||
libpng15.patch)
|
||||
|
||||
|
||||
build() {
|
||||
cd $SRC/$_name-$version
|
||||
patch -Np2 -i "$SRC/libpng15.patch"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
# Description: Çocukların matematik gerçeklerini uygulamalarına yardımcı olan bir arcade oyunu
|
||||
# URL: http://tux4kids.alioth.debian.org/
|
||||
# Packager: Cihan Alkan
|
||||
# Depends on: t4k-common
|
||||
|
||||
name=tuxmath
|
||||
version=2.0.3
|
||||
release=1
|
||||
|
||||
source=(http://distro.ibiblio.org/slitaz/sources/packages/t/tuxmath_w_fonts-2.0.3.tar.gz
|
||||
tuxmath.desktop)
|
||||
|
||||
|
||||
build() {
|
||||
cd tuxmath_w_fonts-2.0.3
|
||||
|
||||
./configure --prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
# install .desktop dosyası ve simge
|
||||
mkdir -p $PKG/usr/share/{applications,pixmaps}
|
||||
install -D $SRC/tuxmath.desktop $PKG/usr/share/applications/tuxmath.desktop
|
||||
install -D -m644 data/images/icons/icon.png $PKG/usr/share/pixmaps/tuxmath.png
|
||||
|
||||
# install lisans
|
||||
install -D -m644 doc/OFL \
|
||||
$PKG/usr/share/licenses/$name/OFL
|
||||
install -D -m644 doc/README_DATA_LICENSES \
|
||||
$PKG/usr/share/licenses/$name/DATA_LICENSES
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
[Desktop Entry]
|
||||
Name=Tux Math
|
||||
GenericName=Educational math game
|
||||
GenericName[de]=Mathe Spiel
|
||||
GenericName[ru]=Образовательная игра
|
||||
GenericName[tr]=Matematik Oyunu
|
||||
Comment=Tux Math - Learn math with Tux!
|
||||
Comment[pl]=Tux Math - Ucz siê matematyki z Tuxem!
|
||||
Comment[de]=Tux Math - Lerne Mathe mit Tux!
|
||||
Comment[ru]=Обучение арифметике с пингвином в главной роли
|
||||
Comment[tr]=Eğitici Matematik Oyunu
|
||||
Exec=tuxmath
|
||||
Icon=tuxmath
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Categories=Education;Math;
|
||||
## X-SuSE-translate=false
|
||||
X-Ubuntu-Gettext-Domain=tuxmath
|
Loading…
Reference in New Issue