gfxboot and pisilinux themes in main
This commit is contained in:
@@ -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 <freetype/ftsynth.h>", "#include <freetype2/ftsynth.h>")
|
||||
|
||||
|
||||
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")
|
||||
@@ -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)
|
||||
@@ -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',
|
||||
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gfxboot</Name>
|
||||
<Homepage>https://github.com/openSUSE/gfxboot</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>gfxboot</Icon>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Tools to create graphical boot logos</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="5a087821613adc605fce8be55fb0366642d1bc48" type="targz">https://github.com/openSUSE/gfxboot/archive/4.5.7.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>xmlto</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>util-linux</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>lynx</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="0">productname.patch</Patch>
|
||||
<Patch>no-theme-no-git.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gfxboot</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>perl-HTML-Parser</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="executable">/usr/share/gfxboot/bin</Path>
|
||||
<Path fileType="data">/usr/share/gfxboot</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-08-05</Date>
|
||||
<Version>4.5.7</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-06-14</Date>
|
||||
<Version>4.5.1</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-23</Date>
|
||||
<Version>4.5.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-13</Date>
|
||||
<Version>4.5.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gfxboot</Name>
|
||||
<Summary xml:lang="tr">Grafik açılış logosu oluşturma araçları</Summary>
|
||||
<Description xml:lang="tr">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.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
|
||||
@@ -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:
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gfxtheme-pisilinux-install</Name>
|
||||
<Homepage>www.pisilinux.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Pisi Linux gfxboot install theme</Summary>
|
||||
<Description>Gfxtheme install package for Pisi Linux</Description>
|
||||
<Archive sha1sum="e7ba6a4f7afd9a271ba8ce6d1cb980d7d2e265e4" type="tarxz">http://source.pisilinux.org/1.0/gfxtheme-pisilinux-install-0.2.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gfxboot</Dependency>
|
||||
<Dependency>fribidi-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>chmod-t.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gfxtheme-pisilinux-install</Name>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/gfxtheme/pisilinux/install</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-08-04</Date>
|
||||
<Version>0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-06-14</Date>
|
||||
<Version>0.1</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-23</Date>
|
||||
<Version>0.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-04-06</Date>
|
||||
<Version>0.1</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gfxtheme-pisilinux-install</Name>
|
||||
<Summary xml:lang="tr">Pisi Linux gfxboot teması</Summary>
|
||||
<Description xml:lang="tr">Kurulum sistemi ve kurulu sistem için Pisi Linux gfxboot teması.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user