aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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