aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-04-09 11:38:29 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-04-09 11:38:29 +0200
commite334d3e4b465eae0736845e2dc6316f8f27d5f9e (patch)
tree0b00197974e4081b0e1a37f21f313b9e59e6c6be
parentf8919f615045070d728a23840ff7feb68bc76b55 (diff)
downloadisodumper-e334d3e4b465eae0736845e2dc6316f8f27d5f9e.tar
isodumper-e334d3e4b465eae0736845e2dc6316f8f27d5f9e.tar.gz
isodumper-e334d3e4b465eae0736845e2dc6316f8f27d5f9e.tar.bz2
isodumper-e334d3e4b465eae0736845e2dc6316f8f27d5f9e.tar.xz
isodumper-e334d3e4b465eae0736845e2dc6316f8f27d5f9e.zip
Adapt Makefile and pu-update for yui
-rw-r--r--Makefile13
-rwxr-xr-xtools/po-update.sh3
2 files changed, 10 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 7509d40..5dac2e8 100644
--- a/Makefile
+++ b/Makefile
@@ -73,11 +73,18 @@ install:
# for DATADIR isodumper.py header.png
mkdir -p $(DESTDIR)$(DATADIR)/isodumper
- install -m 644 share/isodumper/header.png $(DESTDIR)$(DATADIR)/isodumper
+ install -m 644 share/isodumper/header.svg $(DESTDIR)$(DATADIR)/isodumper
- # for isodumper desktop menu entry
+ # for isodumper-qt desktop menu entry
mkdir -p $(DESTDIR)$(DATADIR)/applications
- install -m 644 share/applications/isodumper.desktop $(DESTDIR)$(DATADIR)/applications
+ install -m 644 share/applications/isodumper.desktop $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
+ sed -i -e "s|Name=IsoDumper|Name=IsoDumper (Qt)|" $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
+ sed -i -e "s|Exec=isodumper|Exec=isodumper --qt|" $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
+
+ # for isodumper-gtk desktop menu entry
+ install -m 644 share/applications/isodumper.desktop $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
+ sed -i -e "s|Name=IsoDumper|Name=IsoDumper (GTK)|" $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
+ sed -i -e "s|Exec=isodumper|Exec=isodumper --gtk|" $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
# for isodumper doc
mkdir -p $(DESTDIR)$(DOCDIR)
diff --git a/tools/po-update.sh b/tools/po-update.sh
index cd85ef9..3c39be8 100755
--- a/tools/po-update.sh
+++ b/tools/po-update.sh
@@ -13,7 +13,6 @@ cd "$(readlink -f "$(dirname "$0")/..")"
VERSION=(0.41)
DOMAIN=(isodumper)
-intltool-extract --type=gettext/glade share/isodumper/isodumper.glade
intltool-extract --type=gettext/xml polkit/org.mageia.isodumper.policy.in
intltool-extract --type=gettext/ini share/applications/isodumper.desktop.in
@@ -30,7 +29,6 @@ POT_FILE="$POT_DIR/$DOMAIN.pot"
--add-comments=I18N \
--output="$POT_FILE" \
lib/isodumper.py \
- share/isodumper/isodumper.glade.h \
polkit/org.mageia.isodumper.policy.in.h \
share/applications/isodumper.desktop.in.h
@@ -38,7 +36,6 @@ POT_FILE="$POT_DIR/$DOMAIN.pot"
intltool-merge --desktop-style po share/applications/isodumper.desktop.in share/applications/isodumper.desktop
-rm -f share/isodumper/isodumper.glade.h
rm -f polkit/org.mageia.isodumper.policy.in.h
rm -f share/applications/isodumper.desktop.in.h