Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 54c6f7ec66321678cbb6ecf5548c0c7b > files > 2

grafx2-2.4-1.mga5.src.rpm

Index: grafx2/src/Makefile
===================================================================
--- grafx2/src/Makefile
+++ grafx2/src/Makefile	2015-03-04 21:45:04.050330911 +0100
@@ -27,7 +27,7 @@
   bindir = $(exec_prefix)/bin
   datarootdir = $(prefix)/share
   datadir = $(datarootdir)
-  pixmapdir = $(datarootdir)/icons
+  pixmapdir = $(datarootdir)/icons/hicolor/scalable/apps
 
 # Compile with OPTIM=0 to disable gcc optimizations, to enable debug.
   STRIP = strip
@@ -603,7 +603,6 @@
 	for f in $(SCRIPT_FILES); do cp "$$f" "$(DESTDIR)$(bindir)/$$f" ; done
 	# Icon and desktop file for debian
 	$(CP) ../misc/unix/grafx2.desktop $(DESTDIR)$(datadir)/applications/
-	$(CP) ../misc/unix/grafx2.xpm $(DESTDIR)$(pixmapdir)
 	$(CP) ../share/icons/grafx2.svg $(DESTDIR)$(pixmapdir)
 	@echo Install complete
   
@@ -629,7 +628,6 @@
 	$(if $(wildcard $(DESTDIR)$(datadir)/grafx2),$(RMDIR) $(DESTDIR)$(datadir)/grafx2,)
 	# Icon and desktop file for debian
 	$(DELCOMMAND) $(DESTDIR)$(datadir)/applications/grafx2.desktop
-	$(DELCOMMAND) $(DESTDIR)$(pixmapdir)/grafx2.xpm
 	$(DELCOMMAND) $(DESTDIR)$(pixmapdir)/grafx2.svg
 	@echo Uninstall complete