Page MenuHomeSolus

D577.id1363.diff
No OneTemporary

D577.id1363.diff

Index: Makefile
===================================================================
--- /dev/null
+++ Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
Index: files/0001-Fix-gprename-Makefile.patch
===================================================================
--- /dev/null
+++ files/0001-Fix-gprename-Makefile.patch
@@ -0,0 +1,328 @@
+From fa012aaa30761ea092428bc7f5d4fcf540bba372 Mon Sep 17 00:00:00 2001
+From: Pierre-Yves <pyu@riseup.net>
+Date: Sun, 16 Jul 2017 17:31:10 +0200
+Subject: [PATCH] Fix gprename Makefile
+
+Signed-off-by: Pierre-Yves <pyu@riseup.net>
+---
+ 0001-Fix-gprename-Makefile.patch | 160 +++++++++++++++++++++++++++++++++++++++
+ Makefile | 117 ++++++++++++++--------------
+ 2 files changed, 217 insertions(+), 60 deletions(-)
+ create mode 100644 0001-Fix-gprename-Makefile.patch
+
+diff --git a/0001-Fix-gprename-Makefile.patch b/0001-Fix-gprename-Makefile.patch
+new file mode 100644
+index 0000000..68d9e2a
+--- /dev/null
++++ b/0001-Fix-gprename-Makefile.patch
+@@ -0,0 +1,160 @@
++From 7307df1cbd1db151d5b450f097395439d0951a44 Mon Sep 17 00:00:00 2001
++From: Pierre-Yves <pyu@riseup.net>
++Date: Sun, 16 Jul 2017 17:31:10 +0200
++Subject: [PATCH] Fix gprename Makefile
++
++Signed-off-by: Pierre-Yves <pyu@riseup.net>
++---
++ Makefile | 117 +++++++++++++++++++++++++++++++--------------------------------
++ 1 file changed, 57 insertions(+), 60 deletions(-)
++
++diff --git a/Makefile b/Makefile
++index 911f5d3..9c41098 100644
++--- a/Makefile
+++++ b/Makefile
++@@ -4,7 +4,6 @@
++
++ # Globals:
++ PREFIX=/usr/local
++-DESTDIR=/usr/local
++
++ build:
++ # Create temporary build directory and modify file locations.
++@@ -26,7 +25,7 @@ build:
++ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename > build/gprename
++ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename.desktop > build/gprename.desktop
++
++-install: uninstall build
+++install: build
++ # Compile all .po files to .mo
++ msgfmt -o build/locale/ca.mo locale/ca.po
++ msgfmt -o build/locale/de.mo locale/de.po
++@@ -43,69 +42,67 @@ install: uninstall build
++ msgfmt -o build/locale/zh_CN.mo locale/zh_CN.po
++
++ # Create directories
++- install -d "$(DESTDIR)"
++- install -d "$(DESTDIR)/bin"
++- install -d "/usr/share"
++- install -d "/usr/share/icons"
++- install -d "$(DESTDIR)/share/applications"
++- install -d "$(DESTDIR)/share/man"
++- install -d "$(DESTDIR)/share/man/man1"
++- install -d "$(DESTDIR)/share/locale/ca/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/de/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/es/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/et/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/fr/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/id/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/it/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/nl/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/pl/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/pt_BR/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/ru/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/sv/LC_MESSAGES"
++- install -d "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)"
+++ install -d "$(DESTDIR)$(PREFIX)/bin"
+++ install -d "$(DESTDIR)/usr/share"
+++ install -d "$(DESTDIR)/usr/share/icons"
+++ install -d "$(DESTDIR)/usr/share/applications"
+++ install -d "$(DESTDIR)$(PREFIX)/share/man"
+++ install -d "$(DESTDIR)$(PREFIX)/share/man/man1"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/ca/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/de/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/et/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/id/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/it/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/nl/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/pl/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/pt_BR/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/sv/LC_MESSAGES"
+++ install -d "$(DESTDIR)$(PREFIX)/share/locale/zh_CN/LC_MESSAGES"
++
++ # Copy all files in the filesystem
++- install -m 755 build/gprename "$(DESTDIR)/bin/"
++- install -m 644 gprename-nautilus-actions.xml "$(DESTDIR)/share/applications/"
++- install -m 644 icon/gprename.png "/usr/share/icons/"
++- install -m 644 man/gprename.1 "$(DESTDIR)/share/man/man1/"
++- install -m 644 build/locale/ca.mo "$(DESTDIR)/share/locale/ca/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/de.mo "$(DESTDIR)/share/locale/de/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/es.mo "$(DESTDIR)/share/locale/es/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/et.mo "$(DESTDIR)/share/locale/et/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/fr.mo "$(DESTDIR)/share/locale/fr/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/id.mo "$(DESTDIR)/share/locale/id/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/it.mo "$(DESTDIR)/share/locale/it/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/nl.mo "$(DESTDIR)/share/locale/nl/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/pl.mo "$(DESTDIR)/share/locale/pl/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/pt_BR.mo "$(DESTDIR)/share/locale/pt_BR/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/ru.mo "$(DESTDIR)/share/locale/ru/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/sv.mo "$(DESTDIR)/share/locale/sv/LC_MESSAGES/gprename.mo"
++- install -m 644 build/locale/zh_CN.mo "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
++- desktop-file-install bin/gprename.desktop
++- update-desktop-database
+++ install -m 755 build/gprename "$(DESTDIR)$(PREFIX)/bin/"
+++ install -m 644 gprename-nautilus-actions.xml "$(DESTDIR)/usr/share/applications/"
+++ install -m 644 icon/gprename.png "$(DESTDIR)/usr/share/icons/"
+++ install -m 644 man/gprename.1 "$(DESTDIR)$(PREFIX)/share/man/man1/"
+++ install -m 644 build/locale/ca.mo "$(DESTDIR)$(PREFIX)/share/locale/ca/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/de.mo "$(DESTDIR)$(PREFIX)/share/locale/de/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/es.mo "$(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/et.mo "$(DESTDIR)$(PREFIX)/share/locale/et/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/fr.mo "$(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/id.mo "$(DESTDIR)$(PREFIX)/share/locale/id/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/it.mo "$(DESTDIR)$(PREFIX)/share/locale/it/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/nl.mo "$(DESTDIR)$(PREFIX)/share/locale/nl/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/pl.mo "$(DESTDIR)$(PREFIX)/share/locale/pl/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/pt_BR.mo "$(DESTDIR)$(PREFIX)/share/locale/pt_BR/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/ru.mo "$(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/sv.mo "$(DESTDIR)$(PREFIX)/share/locale/sv/LC_MESSAGES/gprename.mo"
+++ install -m 644 build/locale/zh_CN.mo "$(DESTDIR)$(PREFIX)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
+++ install -m 644 bin/gprename.desktop "$(DESTDIR)$/usr/share/applications/gprename.desktop"
++ @echo "Installation completed."
++
++ uninstall: clean
++- rm -f "$(DESTDIR)/bin/gprename"
++- rm -f "/usr/share/applications/gprename.desktop"
++- rm -f "$(DESTDIR)/share/applications/gprename-nautilus-actions.xml"
++- rm -f "$(DESTDIR)/share/man/man1/gprename.1"
++- rm -f "$(DESTDIR)/share/locale/ca/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/de/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/es/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/et/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/fr/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/id/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/it/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/nl/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/pl/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/pt_BR/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/ru/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/sv/LC_MESSAGES/gprename.mo"
++- rm -f "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
++- rm -fr "/usr/share/icons/gprename"
++- update-desktop-database
+++ rm -f "$(DESTDIR)$(PREFIX)/bin/gprename"
+++ rm -f "$(DESTDIR)/usr/share/applications/gprename.desktop"
+++ rm -f "$(DESTDIR)/usr/share/applications/gprename-nautilus-actions.xml"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/man/man1/gprename.1"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/ca/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/de/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/et/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/id/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/it/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/nl/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/pl/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/pt_BR/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/sv/LC_MESSAGES/gprename.mo"
+++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
+++ rm -fr "$(DESTDIR)/usr/share/icons/gprename"
++
++ clean:
++ rm -rf build
++--
++2.13.3
++
+diff --git a/Makefile b/Makefile
+index 911f5d3..0b1f97e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -4,7 +4,6 @@
+
+ # Globals:
+ PREFIX=/usr/local
+-DESTDIR=/usr/local
+
+ build:
+ # Create temporary build directory and modify file locations.
+@@ -26,7 +25,7 @@ build:
+ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename > build/gprename
+ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename.desktop > build/gprename.desktop
+
+-install: uninstall build
++install: build
+ # Compile all .po files to .mo
+ msgfmt -o build/locale/ca.mo locale/ca.po
+ msgfmt -o build/locale/de.mo locale/de.po
+@@ -43,69 +42,67 @@ install: uninstall build
+ msgfmt -o build/locale/zh_CN.mo locale/zh_CN.po
+
+ # Create directories
+- install -d "$(DESTDIR)"
+- install -d "$(DESTDIR)/bin"
+- install -d "/usr/share"
+- install -d "/usr/share/icons"
+- install -d "$(DESTDIR)/share/applications"
+- install -d "$(DESTDIR)/share/man"
+- install -d "$(DESTDIR)/share/man/man1"
+- install -d "$(DESTDIR)/share/locale/ca/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/de/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/es/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/et/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/fr/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/id/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/it/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/nl/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/pl/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/pt_BR/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/ru/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/sv/LC_MESSAGES"
+- install -d "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)"
++ install -d "$(DESTDIR)$(PREFIX)/bin"
++ install -d "$(DESTDIR)/usr/share"
++ install -d "$(DESTDIR)/usr/share/icons"
++ install -d "$(DESTDIR)/usr/share/applications"
++ install -d "$(DESTDIR)$(PREFIX)/share/man"
++ install -d "$(DESTDIR)$(PREFIX)/share/man/man1"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/ca/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/de/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/et/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/id/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/it/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/nl/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/pl/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/pt_BR/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/sv/LC_MESSAGES"
++ install -d "$(DESTDIR)$(PREFIX)/share/locale/zh_CN/LC_MESSAGES"
+
+ # Copy all files in the filesystem
+- install -m 755 build/gprename "$(DESTDIR)/bin/"
+- install -m 644 gprename-nautilus-actions.xml "$(DESTDIR)/share/applications/"
+- install -m 644 icon/gprename.png "/usr/share/icons/"
+- install -m 644 man/gprename.1 "$(DESTDIR)/share/man/man1/"
+- install -m 644 build/locale/ca.mo "$(DESTDIR)/share/locale/ca/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/de.mo "$(DESTDIR)/share/locale/de/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/es.mo "$(DESTDIR)/share/locale/es/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/et.mo "$(DESTDIR)/share/locale/et/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/fr.mo "$(DESTDIR)/share/locale/fr/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/id.mo "$(DESTDIR)/share/locale/id/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/it.mo "$(DESTDIR)/share/locale/it/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/nl.mo "$(DESTDIR)/share/locale/nl/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/pl.mo "$(DESTDIR)/share/locale/pl/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/pt_BR.mo "$(DESTDIR)/share/locale/pt_BR/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/ru.mo "$(DESTDIR)/share/locale/ru/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/sv.mo "$(DESTDIR)/share/locale/sv/LC_MESSAGES/gprename.mo"
+- install -m 644 build/locale/zh_CN.mo "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
+- desktop-file-install bin/gprename.desktop
+- update-desktop-database
++ install -m 755 build/gprename "$(DESTDIR)$(PREFIX)/bin/"
++ install -m 644 gprename-nautilus-actions.xml "$(DESTDIR)/usr/share/applications/"
++ install -m 644 icon/gprename.png "$(DESTDIR)/usr/share/icons/"
++ install -m 644 man/gprename.1 "$(DESTDIR)$(PREFIX)/share/man/man1/"
++ install -m 644 build/locale/ca.mo "$(DESTDIR)$(PREFIX)/share/locale/ca/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/de.mo "$(DESTDIR)$(PREFIX)/share/locale/de/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/es.mo "$(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/et.mo "$(DESTDIR)$(PREFIX)/share/locale/et/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/fr.mo "$(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/id.mo "$(DESTDIR)$(PREFIX)/share/locale/id/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/it.mo "$(DESTDIR)$(PREFIX)/share/locale/it/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/nl.mo "$(DESTDIR)$(PREFIX)/share/locale/nl/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/pl.mo "$(DESTDIR)$(PREFIX)/share/locale/pl/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/pt_BR.mo "$(DESTDIR)$(PREFIX)/share/locale/pt_BR/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/ru.mo "$(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/sv.mo "$(DESTDIR)$(PREFIX)/share/locale/sv/LC_MESSAGES/gprename.mo"
++ install -m 644 build/locale/zh_CN.mo "$(DESTDIR)$(PREFIX)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
++ install -m 644 bin/gprename.desktop "$(DESTDIR)/usr/share/applications/gprename.desktop"
+ @echo "Installation completed."
+
+ uninstall: clean
+- rm -f "$(DESTDIR)/bin/gprename"
+- rm -f "/usr/share/applications/gprename.desktop"
+- rm -f "$(DESTDIR)/share/applications/gprename-nautilus-actions.xml"
+- rm -f "$(DESTDIR)/share/man/man1/gprename.1"
+- rm -f "$(DESTDIR)/share/locale/ca/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/de/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/es/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/et/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/fr/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/id/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/it/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/nl/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/pl/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/pt_BR/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/ru/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/sv/LC_MESSAGES/gprename.mo"
+- rm -f "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
+- rm -fr "/usr/share/icons/gprename"
+- update-desktop-database
++ rm -f "$(DESTDIR)$(PREFIX)/bin/gprename"
++ rm -f "$(DESTDIR)/usr/share/applications/gprename.desktop"
++ rm -f "$(DESTDIR)/usr/share/applications/gprename-nautilus-actions.xml"
++ rm -f "$(DESTDIR)$(PREFIX)/share/man/man1/gprename.1"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/ca/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/de/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/et/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/id/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/it/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/nl/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/pl/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/pt_BR/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/sv/LC_MESSAGES/gprename.mo"
++ rm -f "$(DESTDIR)$(PREFIX)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
++ rm -fr "$(DESTDIR)/usr/share/icons/gprename"
+
+ clean:
+ rm -rf build
+--
+2.13.3
+
Index: package.yml
===================================================================
--- /dev/null
+++ package.yml
@@ -0,0 +1,23 @@
+name : gprename
+version : 20160905
+release : 1
+source :
+ - https://kent.dl.sourceforge.net/project/gprename/gprename/20160905/gprename-20160905.tar.bz2 : 915140caf40559cdbbc368b8a936192ed07984098c14c95a8e6262e8987449b7
+license : GPL-3.0
+component : system.utils
+summary : GPRename is a complete batch renamer for files and directories
+description: |
+ GPRename is a complete batch renamer for files and directories.
+rundeps :
+ - perl-gettext
+ - perl-glib
+ - perl-gtk2
+ - perl-libintl
+ - perl-pango
+setup : |
+ %patch -p1 < $pkgfiles/0001-Fix-gprename-Makefile.patch
+install : |
+ %make_install PREFIX=/usr
+ sed -i 's|/usr/local|/usr|' $installdir/usr/bin/gprename
+ sed -i 's|/usr/local|/usr|' $installdir/usr/share/applications/gprename*.*
+ sed -i 's|/usr/share/pixmaps/gprename|/usr/share/icons|' $installdir/usr/bin/gprename
Index: pspec_x86_64.xml
===================================================================
--- /dev/null
+++ pspec_x86_64.xml
@@ -0,0 +1,39 @@
+<PISI>
+ <Source>
+ <Name>gprename</Name>
+ <Packager>
+ <Name>Pierre-Yves</Name>
+ <Email>pyu@riseup.net</Email>
+ </Packager>
+ <License>GPL-3.0</License>
+ <PartOf>system.utils</PartOf>
+ <Summary xml:lang="en">GPRename is a complete batch renamer for files and directories</Summary>
+ <Description xml:lang="en">GPRename is a complete batch renamer for files and directories.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>gprename</Name>
+ <Summary xml:lang="en">GPRename is a complete batch renamer for files and directories</Summary>
+ <Description xml:lang="en">GPRename is a complete batch renamer for files and directories.
+</Description>
+ <PartOf>system.utils</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin</Path>
+ <Path fileType="data">/usr/share/applications/gprename-nautilus-actions.xml</Path>
+ <Path fileType="data">/usr/share/applications/gprename.desktop</Path>
+ <Path fileType="data">/usr/share/icons/gprename.png</Path>
+ <Path fileType="localedata">/usr/share/locale</Path>
+ <Path fileType="man">/usr/share/man</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2017-07-16</Date>
+ <Version>20160905</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Pierre-Yves</Name>
+ <Email>pyu@riseup.net</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Jul 2 2023, 5:40 PM (5 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5861909
Default Alt Text
D577.id1363.diff (21 KB)

Event Timeline