gparted with additional dependencies.

This commit is contained in:
4fury-c3440d8
2021-01-11 18:08:41 +00:00
parent 02d680adb6
commit d876e877a0
24 changed files with 699 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "-Wno-unused-but-set-variable \
-Wno-unused-result \
-Wno-deprecated-declarations \
-Wno-stringop-truncation \
"
def setup():
# suppress compiler warnings
pisitools.cflags.add(j)
shelltools.export("OPTIMIZER", get.CFLAGS())
shelltools.export("DEBUG", "-DNDEBUG")
autotools.configure("--sbindir=/usr/sbin --disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall('DIST_ROOT="%s"' % get.installDIR())
@@ -0,0 +1,22 @@
Do not compress changelog during build.
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -12,7 +12,7 @@ LSRCFILES = INSTALL CHANGES COPYING $(README) \
LDIRT = *.gz
-default: CHANGES.gz
+default:
include $(BUILDRULES)
@@ -22,7 +22,7 @@ CHANGES.gz:
install: default
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
- $(INSTALL) -m 644 CHANGES.gz $(README) $(PKG_DOC_DIR)
+ $(INSTALL) -m 644 CHANGES $(README) $(PKG_DOC_DIR)
ifeq ($(PKG_DISTRIBUTION), debian)
$(INSTALL) -S CHANGES.gz $(PKG_DOC_DIR)/changelog.gz
else
@@ -0,0 +1,26 @@
http://bugs.gentoo.org/311881
--- a/dump/Makefile
+++ b/dump/Makefile
@@ -100,9 +100,6 @@ install: default
$(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR)
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
- # skip symlink when /sbin is alread symlinked to /usr/sbin, like on Fedora
- test $(PKG_ROOT_SBIN_DIR) -ef $(PKG_SBIN_DIR) || \
- $(INSTALL) -S $(PKG_ROOT_SBIN_DIR)/$(LTCOMMAND) $(PKG_SBIN_DIR)/$(LTCOMMAND)
install-dev:
.dep: $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON)
--- a/restore/Makefile
+++ b/restore/Makefile
@@ -114,9 +114,6 @@ install: default
$(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR)
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
- # skip symlink when /sbin is alread symlinked to /usr/sbin, like on Fedora
- test $(PKG_ROOT_SBIN_DIR) -ef $(PKG_SBIN_DIR) || \
- $(INSTALL) -S $(PKG_ROOT_SBIN_DIR)/$(LTCOMMAND) $(PKG_SBIN_DIR)/$(LTCOMMAND)
install-dev:
.dep: $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON)
@@ -0,0 +1,18 @@
Do not build inventory/ subdirectory.
Bug: https://bugs.gentoo.org/692972
Upstream report: https://www.spinics.net/lists/linux-xfs/msg36884.html
Do not build debian/ subdirectory.
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ LDIRT += $(SRCTAR)
endif
LIB_SUBDIRS = librmt
-TOOL_SUBDIRS = common inventory invutil dump restore m4 man doc po debian
+TOOL_SUBDIRS = common invutil dump restore m4 man doc po
SUBDIRS = include $(LIB_SUBDIRS) $(TOOL_SUBDIRS)
+63
View File
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>xfsdump</Name>
<Homepage>https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git/</Homepage>
<Packager>
<Name>AYDIN ATMACA</Name>
<Email>aydinatmaca@gmail</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<PartOf>hardware.disk</PartOf>
<Summary>XFS dump/restore utilities.</Summary>
<Description>xfsdump contains XFS filesystem dump and restore utilities.</Description>
<Archive sha1sum="5701bc32ca23327ce69412a43966f19b1dad64f3" type="tarxz">http://ftp.ntu.edu.tw/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.9.tar.xz</Archive>
<BuildDependencies>
<Dependency>attr-devel</Dependency>
<Dependency>dmapi-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>xfsprogs-devel</Dependency>
<Dependency>libutil-linux-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">no_symlink.patch</Patch>
<Patch level="1">skip_inventory_debian_subfolder.patch</Patch>
<Patch level="1">no_changes_compress.patch</Patch>
</Patches>
</Source>
<Package>
<Name>xfsdump</Name>
<RuntimeDependencies>
<Dependency>gcc</Dependency>
<Dependency>attr</Dependency>
<Dependency>gawk</Dependency>
<Dependency>dmapi</Dependency>
<Dependency>uuidd</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>libtool</Dependency>
<Dependency>gettext</Dependency>
<Dependency>xfsprogs</Dependency>
<Dependency>libutil-linux</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/sbin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2021-01-12</Date>
<Version>3.1.9</Version>
<Comment>First Beta release.</Comment>
<Name>AYDIN ATMACA</Name>
<Email>aydinatmaca@gmail.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>xfsdump</Name>
<Summary xml:lang="tr">XFS döküm ve geri yükleme araçları</Summary>
<Description xml:lang="tr">xfsdump, XFS dosya sistemi döküm (dump) ve geri yükleme (restore) araçlarını içerir.</Description>
</Source>
</PISI>