[arch-commits] Commit in nmap/trunk (ChangeLog PKGBUILD zenmap_pixmaps.patch)

Douglas Soares de Andrade douglas at archlinux.org
Wed Jul 9 22:53:21 EDT 2008


    Date: Wednesday, July 9, 2008 @ 22:53:20
  Author: douglas
Revision: 4777

upgpkg: nmap 4.68-2
    Fixing the zenmap pixmaps path

Modified:
  nmap/trunk/ChangeLog
  nmap/trunk/PKGBUILD
Deleted:
  nmap/trunk/zenmap_pixmaps.patch

----------------------+
 ChangeLog            |    4 ++++
 PKGBUILD             |    7 +------
 zenmap_pixmaps.patch |   24 ------------------------
 3 files changed, 5 insertions(+), 30 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2008-07-09 21:51:30 UTC (rev 4776)
+++ ChangeLog	2008-07-10 02:53:20 UTC (rev 4777)
@@ -1,5 +1,9 @@
 
 2008-07-09  Douglas Soares de Andrade  <douglas at archlinux.org>
 
+	* Fixing the pixmaps path for i686: 4.68
+
+2008-07-09  Douglas Soares de Andrade  <douglas at archlinux.org>
+
 	* Updated for i686: 4.68
 

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-09 21:51:30 UTC (rev 4776)
+++ PKGBUILD	2008-07-10 02:53:20 UTC (rev 4777)
@@ -3,7 +3,7 @@
 
 pkgname=nmap
 pkgver=4.68
-pkgrel=1
+pkgrel=2
 pkgdesc="A network exploration tool and security/port scanner"
 arch=(i686 x86_64)
 url="http://nmap.org"
@@ -20,17 +20,12 @@
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
-  # patch so zenmap pixmaps are installed in a subdirectory
-  patch -Np1 < ../zenmap_pixmaps.patch
 
   ./configure --prefix=/usr --mandir=/usr/share/man \
     --libexecdir=/usr/lib
   make || return 1
   make DESTDIR="$startdir/pkg" install
 
-  # super ugly- we have to move these in the source too
-  mv zenmap/share/zenmap/pixmaps/{*.png,*.svg} $startdir/pkg/usr/share/pixmaps/zenmap/
-  
   # remove zenmap uninstall script
   rm "$startdir/pkg/usr/bin/uninstall_zenmap"
 

Deleted: zenmap_pixmaps.patch
===================================================================
--- zenmap_pixmaps.patch	2008-07-09 21:51:30 UTC (rev 4776)
+++ zenmap_pixmaps.patch	2008-07-10 02:53:20 UTC (rev 4777)
@@ -1,24 +0,0 @@
-diff -Naur nmap-4.68/zenmap/setup.py nmap-4.68-new/zenmap/setup.py
---- nmap-4.68/zenmap/setup.py	2008-06-06 02:55:01.000000000 -0300
-+++ nmap-4.68-new/zenmap/setup.py	2008-07-09 00:57:19.000000000 -0300
-@@ -44,7 +44,7 @@
- # These are created after a "install" or "py2exe" command
- # These directories are relative to the installation or dist directory
- data_dir = os.path.join('share', APP_NAME)
--pixmaps_dir = os.path.join(data_dir, 'pixmaps')
-+pixmaps_dir = os.path.join('share', 'pixmaps', APP_NAME)
- locale_dir = os.path.join(data_dir, 'locale')
- config_dir = os.path.join(data_dir, 'config')
- docs_dir = os.path.join(data_dir, 'docs')
-diff -Naur nmap-4.68/zenmap/zenmapCore/Paths.py nmap-4.68-new/zenmap/zenmapCore/Paths.py
---- nmap-4.68/zenmap/zenmapCore/Paths.py	2008-06-06 02:32:19.000000000 -0300
-+++ nmap-4.68-new/zenmap/zenmapCore/Paths.py	2008-07-09 00:59:22.000000000 -0300
-@@ -60,7 +60,7 @@
- CONFIG_DIR = join(prefix, "share", APP_NAME, "config")
- LOCALE_DIR = join(prefix, "share", APP_NAME, "locale")
- MISC_DIR = join(prefix, "share", APP_NAME, "misc")
--PIXMAPS_DIR = join(prefix, "share", "zenmap", "pixmaps")
-+PIXMAPS_DIR = join(prefix, "share", "zenmap", "pixmaps", APP_NAME)
- DOCS_DIR = join(prefix, "share", APP_NAME, "docs")
- 
- def get_extra_executable_search_paths():





More information about the arch-commits mailing list