summaryrefslogtreecommitdiff
path: root/app-backup/timeshift/files/timeshift-22.11.1-build-system.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/timeshift/files/timeshift-22.11.1-build-system.patch')
-rw-r--r--app-backup/timeshift/files/timeshift-22.11.1-build-system.patch73
1 files changed, 0 insertions, 73 deletions
diff --git a/app-backup/timeshift/files/timeshift-22.11.1-build-system.patch b/app-backup/timeshift/files/timeshift-22.11.1-build-system.patch
deleted file mode 100644
index cac54b28..00000000
--- a/app-backup/timeshift/files/timeshift-22.11.1-build-system.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-diff --git a/src/makefile b/src/makefile
-index 0f61c35..add4dc2 100644
---- a/src/makefile
-+++ b/src/makefile
-@@ -1,8 +1,11 @@
- SHELL=/bin/bash
--CFLAGS=--std=c99
--EXECUTABLES = find msgmerge msgfmt install rm mkdir cp chmod valac
-+CFLAGS+= --std=c99
-+EXECUTABLES = find msgmerge msgfmt install rm mkdir cp chmod $(VALAC)
- CHECKEXECS := $(foreach exec,$(EXECUTABLES), $(if $(shell which $(exec)),,$(error No $(exec) found, install it)))
-
-+INSTALL_GTK ?= true
-+INSTALL_CONSOLE ?= true
-+
- prefix=/usr
- sysconfdir=/etc
- appconfdir=$(sysconfdir)/timeshift
-@@ -50,8 +53,8 @@ all: app-gtk app-console
- app-gtk:
-
- #timeshift-gtk
-- valac -X -D'GETTEXT_PACKAGE="${app_name}"' \
-- --Xcc="-lm" --Xcc="-Os" ${symbols} \
-+ $(VALAC) -v -X -D'GETTEXT_PACKAGE="${app_name}"' \
-+ --cc="$(CC)" $(foreach flag, $(CFLAGS) $(LDFLAGS), -X $(flag)) --Xcc="-lm" ${symbols} \
- Core/*.vala Gtk/*.vala Utility/*.vala Utility/Gtk/*.vala \
- -o ${app_name}-gtk \
- --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix \
-@@ -61,8 +64,8 @@ app-gtk:
- app-console:
-
- #timeshift
-- valac -X -D'GETTEXT_PACKAGE="${app_name}"' \
-- --Xcc="-lm" --Xcc="-Os" ${symbols} \
-+ $(VALAC) -v -X -D'GETTEXT_PACKAGE="${app_name}"' \
-+ --cc="$(CC)" $(foreach flag, $(CFLAGS) $(LDFLAGS), -X $(flag)) --Xcc="-lm" ${symbols} \
- Core/*.vala Utility/*.vala Utility/Gtk/*.vala Console/*.vala \
- -o ${app_name} \
- --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix \
-@@ -71,7 +74,6 @@ app-console:
-
- manpage:
- ./${app_name} --help > ../man/${app_name}.1
-- gzip -f ../man/${app_name}.1
-
- clean:
- rm -rfv ../release/{source,i386,amd64,armel,armhf}
-@@ -96,10 +98,12 @@ install:
-
- # binary
- install -m 0755 ${app_name} "$(DESTDIR)$(bindir)"
-- install -m 0755 ${app_name}-gtk "$(DESTDIR)$(bindir)"
-+ @if test "$(INSTALL_GTK)" = true; then \
-+ install -m 0755 ${app_name}-gtk "$(DESTDIR)$(bindir)"; \
-+ install -m 0755 ${app_name}-launcher "$(DESTDIR)$(bindir)"; \
-+ fi
- #install -m 0755 ${app_name}-uninstall "$(DESTDIR)$(bindir)"
-- install -m 0755 ${app_name}-launcher "$(DESTDIR)$(bindir)"
--
-+
- # shared files
- cp -dpr --no-preserve=ownership -t "$(DESTDIR)$(sharedir)/${app_name}" ./share/${app_name}/*
- find $(DESTDIR)$(sharedir)/${app_name} -type d -exec chmod 755 {} \+
-@@ -115,7 +119,7 @@ install:
- install -m 0644 ../files/${app_name}.json "$(DESTDIR)$(appconfdir)/default.json"
-
- # man page
-- install -m 0644 ../man/${app_name}.1.gz "$(DESTDIR)$(man1dir)/${app_name}.1.gz"
-+ install -m 0644 ../man/${app_name}.1 "$(DESTDIR)$(man1dir)/${app_name}.1"
-
- # app icons
- cp -dpr --no-preserve=ownership -t "$(DESTDIR)$(sharedir)/icons" ./share/icons/*