From 34f145fb21abb218b9853a7572da3646ee670dbd Mon Sep 17 00:00:00 2001 From: blue-devil Date: Fri, 22 May 2020 00:25:34 +0300 Subject: [PATCH] scratch deleted due to farm corruption --- programming/language/scratch/actions.py | 47 ----------------- programming/language/scratch/pspec.xml | 50 ------------------- programming/language/scratch/translations.xml | 8 --- 3 files changed, 105 deletions(-) delete mode 100644 programming/language/scratch/actions.py delete mode 100644 programming/language/scratch/pspec.xml delete mode 100644 programming/language/scratch/translations.xml diff --git a/programming/language/scratch/actions.py b/programming/language/scratch/actions.py deleted file mode 100644 index bd76252fb2..0000000000 --- a/programming/language/scratch/actions.py +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# -# Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt - -from pisi.actionsapi import get -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import shelltools - -def setup(): - pisitools.dosed("src/scratch", "-xshm ", "") - # fix unused direct dependency analysis - pisitools.dosed("src/plugins/unicode/Makefile", "gcc -shared", "gcc -Wl,-O1,--as-needed -shared") - -def build(): - pisitools.cflags.add("-Wno-unused-result -Wno-parentheses -Wno-implicit-function-declaration") - shelltools.system("make build") - -def install(): - # install binary and additional files - pisitools.insinto("/usr/bin/", "src/scratch") - shelltools.chmod("%s/usr/bin/scratch" % get.installDIR(), 0755) - pisitools.insinto("/usr/lib/scratch/", "Scratch.image") - pisitools.insinto("/usr/lib/scratch/", "Scratch.ini") - pisitools.insinto("/usr/share/applications/", "src/scratch.desktop") - pisitools.insinto("/usr/share/mime/packages/", "src/scratch.xml") - - # install documentation files - pisitools.dodoc("LICENSE*", "README*", "gpl*") - shelltools.copytree("Help", "%s/usr/share/doc/scratch" % get.installDIR()) - - #install man file - pisitools.insinto("/usr/share/man/man1/", "src/man/scratch.1.gz") - - # install data files under share - for dirs in ["Help", "locale", "Media", "Projects"]: - shelltools.copytree(dirs, "%s/usr/share/scratch" % get.installDIR()) - - # install plugins - shelltools.copytree("Plugins", "%s/usr/lib/scratch" % get.installDIR()) - - # install images - shelltools.cd("src/icons") - for dirs in ["32x32", "48x48", "128x128"]: - pisitools.insinto("/usr/share/icons/hicolor/%s/apps" % dirs, "%s/*.*" % dirs) \ No newline at end of file diff --git a/programming/language/scratch/pspec.xml b/programming/language/scratch/pspec.xml deleted file mode 100644 index 2f9931941c..0000000000 --- a/programming/language/scratch/pspec.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - scratch - https://scratch.mit.edu - - Blue Devil - bluedevil@sctzine.com - - programming.language - GPLv2 - app:gui - Programming language learning environment for stories, games, music and art. - Scratch is a programming language that makes it easy to create your own interactive stories, animations, games, music, and art -- and share your creations on the web. - https://download.scratch.mit.edu/scratch-1.4.0.7.src.tar.gz - - gtk2-devel - pango-devel - - - - - scratch - Programming language learning environment for stories, games, music and art. - - gtk2 - pango - squeak-vm - shared-mime-info - desktop-file-utils - - - /usr/share/ - /usr/lib/ - /usr/bin - /usr/share/doc/fplll - - - - - - 2020-05-21 - 1.4.0.7 - First pisi release. - Blue Devil - bluedevil@sctzine.com - - - \ No newline at end of file diff --git a/programming/language/scratch/translations.xml b/programming/language/scratch/translations.xml deleted file mode 100644 index 14a0f6b878..0000000000 --- a/programming/language/scratch/translations.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - scratch - Çocuklar için, sanat, müzik ve öyküler ile geliştirme yapılan programlama dili ve ortamı. - Scratch, çcuklar için sanat, müzik ve öyküler ile geliştirme yapılan programlama dili ve ortamı sunar. - - \ No newline at end of file