Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
Add $(LDLIBS) support to enable clean static builds (for libintl).
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura gptfdisk-0.8.10.orig/Makefile gptfdisk-0.8.10/Makefile
--- gptfdisk-0.8.10.orig/Makefile 2015-05-01 08:45:14.667748141 -0300
+++ gptfdisk-0.8.10/Makefile 2015-05-01 08:45:42.685699419 -0300
@@ -14,19 +14,19 @@
all: cgdisk gdisk sgdisk fixparts
gdisk: $(LIB_OBJS) gdisk.o gpttext.o
- $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk
+ $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid $(LDLIBS) -o gdisk
# $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk
cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o
- $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncursesw -o cgdisk
+ $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncursesw $(LDLIBS) -o cgdisk
# $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk
sgdisk: $(LIB_OBJS) sgdisk.o gptcl.o
- $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk
+ $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt $(LDLIBS) -o sgdisk
# $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk
fixparts: $(MBR_LIB_OBJS) fixparts.o
- $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts
+ $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) $(LDLIBS) -o fixparts
lint: #no pre-reqs
lint $(SRCS)

View File

@@ -0,0 +1,46 @@
comment "gptfdisk needs a toolchain w/ wchar, C++"
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
config BR2_PACKAGE_GPTFDISK
bool "gptfdisk"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # util-linux
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_GPTFDISK_GDISK if \
!(BR2_PACKAGE_GPTFDISK_SGDISK || BR2_PACKAGE_GPTFDISK_CGDISK)
help
GPT fdisk (consisting of the gdisk and sgdisk programs) is a
text-mode partitioning tool that works on Globally Unique Identifier
(GUID) Partition Table (GPT) disks, rather than on the more common
(through 2010) Master Boot Record (MBR) partition tables.
http://www.rodsbooks.com/gdisk/
if BR2_PACKAGE_GPTFDISK
config BR2_PACKAGE_GPTFDISK_GDISK
bool "interactive gdisk"
help
Install the interactive GUID partition table (GPT) manipulator
/usr/sbin/gdisk which is modelled after and quite similar in use
to the traditional MBR based fdisk tool.
config BR2_PACKAGE_GPTFDISK_SGDISK
bool "command line sgdisk"
select BR2_PACKAGE_POPT
help
Install the command-line GUID partition table (GPT) manipulator
/usr/sbin/sgdisk which is named after the traditional MBR based
sfdisk tool albeit with an entirely different option syntax.
config BR2_PACKAGE_GPTFDISK_CGDISK
bool "ncurses cgdisk"
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_NCURSES_WCHAR # needed because of UTF-16
depends on !(BR2_bfin && BR2_BINFMT_FLAT) # ncurses wchar support
help
Install the ncurses-based GUID partition table (GPT)
manipulator /usr/sbin/cgdisk.
endif

View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_HOST_GPTFDISK
bool "host gptfdisk"
select BR2_PACKAGE_HOST_UTIL_LINUX
help
GPT fdisk (consisting of the gdisk and sgdisk programs) is a
text-mode partitioning tool that works on Globally Unique
Identifier (GUID) Partition Table (GPT) disks, rather than
on the more common (through 2010) Master Boot Record (MBR)
partition tables.
http://www.rodsbooks.com/gdisk/

View File

@@ -0,0 +1,3 @@
# From http://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.0/
md5 2061f917af084215898d4fea04d8388f gptfdisk-1.0.0.tar.gz
sha1 97f25db2def1c1939ed3954520bfd9948806d95a gptfdisk-1.0.0.tar.gz

View File

@@ -0,0 +1,60 @@
################################################################################
#
# gptfdisk
#
################################################################################
GPTFDISK_VERSION = 1.0.0
GPTFDISK_SITE = http://downloads.sourceforge.net/sourceforge/gptfdisk
GPTFDISK_LICENSE = GPLv2+
GPTFDISK_LICENSE_FILES = COPYING
GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_GDISK) += gdisk
GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk
GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk
GPTFDISK_DEPENDENCIES += util-linux
ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y)
GPTFDISK_DEPENDENCIES += popt
endif
ifeq ($(BR2_PACKAGE_GPTFDISK_CGDISK),y)
GPTFDISK_DEPENDENCIES += ncurses
endif
ifeq ($(BR2_STATIC_LIBS),y)
# gptfdisk dependencies may link against libintl/libiconv, so we need
# to do so as well when linking statically
ifeq ($(BR2_PACKAGE_GETTEXT),y)
GPTFDISK_DEPENDENCIES += gettext
GPTFDISK_LDLIBS += -lintl
endif
ifeq ($(BR2_PACKAGE_LIBICONV),y)
GPTFDISK_DEPENDENCIES += libiconv
GPTFDISK_LDLIBS += -liconv
endif
endif
define GPTFDISK_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
LDLIBS='$(GPTFDISK_LDLIBS)' $(GPTFDISK_TARGETS_y)
endef
define GPTFDISK_INSTALL_TARGET_CMDS
for i in $(GPTFDISK_TARGETS_y); do \
$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \
done
endef
HOST_GPTFDISK_DEPENDENCIES = host-util-linux host-popt
define HOST_GPTFDISK_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) sgdisk
endef
define HOST_GPTFDISK_INSTALL_CMDS
$(INSTALL) -D -m 0755 $(@D)/sgdisk $(HOST_DIR)/usr/sbin/sgdisk
endef
$(eval $(generic-package))
$(eval $(host-generic-package))