diff --git a/system/boot/gfxboot/actions.py b/system/boot/gfxboot/actions.py new file mode 100644 index 0000000000..2116f174db --- /dev/null +++ b/system/boot/gfxboot/actions.py @@ -0,0 +1,26 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + + +def setup(): + pisitools.dosed("Makefile", "^CC.*", "CC = %s" % get.CC()) + #pisitools.dosed("doc/Makefile", "xmlto", "xmlto --skip-validation") + pisitools.dosed("gfxboot-font.c", "#include ", "#include ") + + +def build(): + autotools.make() + autotools.make("-j1 doc") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + autotools.make('DESTDIR="%s" installsrc' % get.installDIR()) + + pisitools.dodoc("doc/*.txt", "doc/*.html") diff --git a/system/boot/gfxboot/files/no-theme-no-git.patch b/system/boot/gfxboot/files/no-theme-no-git.patch new file mode 100644 index 0000000000..75bf8a0d08 --- /dev/null +++ b/system/boot/gfxboot/files/no-theme-no-git.patch @@ -0,0 +1,52 @@ +diff -Nuar gfxboot-4.5.7.orig/Makefile gfxboot-4.5.7/Makefile +--- gfxboot-4.5.7.orig/Makefile 2014-10-14 14:37:02.000000000 +0300 ++++ gfxboot-4.5.7/Makefile 2015-08-05 15:02:12.676842244 +0300 +@@ -1,16 +1,7 @@ + CC = gcc + CFLAGS = -g -Wall -Wno-pointer-sign -O2 -fomit-frame-pointer + +-GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else echo true ; fi) +-GITDEPS := $(shell [ -d .git ] && echo .git/HEAD .git/refs/heads .git/refs/tags) +-VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION) +-BRANCH := $(shell git branch | perl -ne 'print $$_ if s/^\*\s*//') +-PREFIX := gfxboot-$(VERSION) +- +-# THEMES = $(wildcard themes/*) +-THEMES = themes/upstream themes/openSUSE themes/SLES themes/SLED themes/KDE +- +-.PHONY: all clean distclean doc install installsrc themes ++.PHONY: all clean distclean doc install installsrc + + all: changelog bin2c gfxboot-compile bincode gfxboot-font addblack + +@@ -54,20 +45,10 @@ + install -m 755 gfxboot~ $(DESTDIR)/usr/sbin/gfxboot + install -m 755 gfxtest $(DESTDIR)/usr/sbin + install -m 755 gfxboot-compile gfxboot-font $(DESTDIR)/usr/sbin +- @for i in $(THEMES) ; do \ +- install -d -m 755 $(DESTDIR)/etc/bootsplash/$$i/{bootloader,cdrom} ; \ +- cp $$i/bootlogo $(DESTDIR)/etc/bootsplash/$$i/cdrom ; \ +- bin/unpack_bootlogo $(DESTDIR)/etc/bootsplash/$$i/cdrom ; \ +- install -m 644 $$i/{message,po/*.tr,help-boot/*.hlp} $(DESTDIR)/etc/bootsplash/$$i/bootloader ; \ +- bin/2hl --link --quiet $(DESTDIR)/etc/bootsplash/$$i/* ; \ +- done + + installsrc: + install -d -m 755 $(DESTDIR)/usr/share/gfxboot/themes +- @for i in $(THEMES) ; do \ +- cp -a $$i $(DESTDIR)/usr/share/gfxboot/themes ; \ +- done +- cp -a themes/example* $(DESTDIR)/usr/share/gfxboot/themes ++ + cp -a bin test $(DESTDIR)/usr/share/gfxboot + + archive: changelog +@@ -87,8 +68,6 @@ + distclean: clean + @for i in themes/example* ; do make -C $$i clean || break ; done + +-themes: +- @for i in $(THEMES) ; do make -C $$i $(MAKECMDGOALS) || break ; done + + doc: + make -C doc $(MAKECMDGOALS) diff --git a/system/boot/gfxboot/files/productname.patch b/system/boot/gfxboot/files/productname.patch new file mode 100644 index 0000000000..a18541c297 --- /dev/null +++ b/system/boot/gfxboot/files/productname.patch @@ -0,0 +1,12 @@ +diff -ur bin/help2txt~ bin/help2txt +--- bin/help2txt~ 2012-10-01 11:52:39.000000000 +0300 ++++ bin/help2txt 2013-01-13 20:54:56.977178803 +0200 +@@ -12,7 +12,7 @@ + sub find_tag; + sub nospaces; + +-$opt_product = "openSUSE"; ++$opt_product = "PisiLinux"; + + %help_key_rename = ( + 'F2' => 'F3', diff --git a/system/boot/gfxboot/pspec.xml b/system/boot/gfxboot/pspec.xml new file mode 100644 index 0000000000..63395660e7 --- /dev/null +++ b/system/boot/gfxboot/pspec.xml @@ -0,0 +1,74 @@ + + + + + gfxboot + https://github.com/openSUSE/gfxboot + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + gfxboot + app:console + Tools to create graphical boot logos + Set of tools to create graphical boot logos, for grub, lilo and syslinux. It supports arch-specific boot menus, advanced help menus, multiple keymaps, animated images, and more graphical pretty things. + https://github.com/openSUSE/gfxboot/archive/4.5.7.tar.gz + + xmlto + freetype-devel + util-linux + libxslt + lynx + + + productname.patch + no-theme-no-git.patch + + + + + gfxboot + + perl-HTML-Parser + freetype + + + /usr/sbin + /usr/share/gfxboot/bin + /usr/share/gfxboot + /usr/share/doc + + + + + + 2015-08-05 + 4.5.7 + Release bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-06-14 + 4.5.1 + Release bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-02-23 + 4.5.1 + Rebuild + Kamil Atlı + suvarice@gmail.com + + + 2013-01-13 + 4.5.1 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + diff --git a/system/boot/gfxboot/translations.xml b/system/boot/gfxboot/translations.xml new file mode 100644 index 0000000000..894a9f527a --- /dev/null +++ b/system/boot/gfxboot/translations.xml @@ -0,0 +1,8 @@ + + + + gfxboot + Grafik açılış logosu oluşturma araçları + Grub, syslinux ve lilo gibi önyükleyiciler için grafik açılış logoları oluşturma araçları. Mimari bazlı açılış menüsü, gelişmiş yardım menüsü, farklı diller için klavye haritası desteği, hareketli görüntü desteği ve daha pek çok görsel efekt desteği içerir. + + diff --git a/system/boot/gfxtheme-pisilinux-install/actions.py b/system/boot/gfxtheme-pisilinux-install/actions.py new file mode 100644 index 0000000000..bf8ca30edb --- /dev/null +++ b/system/boot/gfxtheme-pisilinux-install/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +datadir = "/usr/share/gfxtheme/pisilinux" + +def build(): + autotools.make('PRODUCT="PisiLinux"') + +def install(): + pisitools.insinto(datadir, "bootlogo.dir", "install") + pisitools.insinto(datadir, "bootlogo", "install") + diff --git a/system/boot/gfxtheme-pisilinux-install/files/chmod-t.patch b/system/boot/gfxtheme-pisilinux-install/files/chmod-t.patch new file mode 100644 index 0000000000..01be3e8aa8 --- /dev/null +++ b/system/boot/gfxtheme-pisilinux-install/files/chmod-t.patch @@ -0,0 +1,11 @@ +--- Makefile~ 2013-04-06 23:49:41.000000000 +0200 ++++ Makefile 2014-02-26 19:21:51.000000000 +0100 +@@ -57,7 +57,7 @@ + ifdef DEFAULT_LANG + @echo $(DEFAULT_LANG) >bootlogo.dir/lang + endif +- @sh -c 'cd bootlogo.dir; chmod +t * ; chmod -t init languages' ++ @sh -c 'cd bootlogo.dir; chmod +t * ; chmod -t init languages gfxboot.cfg pabout.txt lang' + @sh -c 'cd bootlogo.dir; echo * | sed -e "s/ /\n/g" | cpio --quiet -o >../bootlogo' + + clean: diff --git a/system/boot/gfxtheme-pisilinux-install/pspec.xml b/system/boot/gfxtheme-pisilinux-install/pspec.xml new file mode 100644 index 0000000000..210cc82bda --- /dev/null +++ b/system/boot/gfxtheme-pisilinux-install/pspec.xml @@ -0,0 +1,62 @@ + + + + + gfxtheme-pisilinux-install + www.pisilinux.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + data + Pisi Linux gfxboot install theme + Gfxtheme install package for Pisi Linux + http://source.pisilinux.org/1.0/gfxtheme-pisilinux-install-0.2.tar.xz + + gfxboot + fribidi-devel + + + chmod-t.patch + + + + + gfxtheme-pisilinux-install + + /usr/share/gfxtheme/pisilinux/install + + + + + + 2014-08-04 + 0.2 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-06-14 + 0.1 + Release bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-02-23 + 0.1 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2013-04-06 + 0.1 + First release. + Serdar Soytetir + kaptan@pisilinux.org + + + diff --git a/system/boot/gfxtheme-pisilinux-install/translations.xml b/system/boot/gfxtheme-pisilinux-install/translations.xml new file mode 100644 index 0000000000..6554f382d3 --- /dev/null +++ b/system/boot/gfxtheme-pisilinux-install/translations.xml @@ -0,0 +1,8 @@ + + + + gfxtheme-pisilinux-install + Pisi Linux gfxboot teması + Kurulum sistemi ve kurulu sistem için Pisi Linux gfxboot teması. + +