[arch-commits] Commit in nmap/repos (3 files)

Douglas Soares de Andrade douglas at archlinux.org
Thu Jul 10 02:53:59 UTC 2008


    Date: Wednesday, July 9, 2008 @ 22:53:58
  Author: douglas
Revision: 4778

Merged revisions 4715-4777 via svnmerge from 
svn+ssh://archlinux.org/home/svn-packages/nmap/trunk

........
  r4777 | douglas | 2008-07-09 23:53:20 -0300 (Qua, 09 Jul 2008) | 2 lines
  
  upgpkg: nmap 4.68-2
      Fixing the zenmap pixmaps path
........

Modified:
  nmap/repos/extra-i686/	(properties)
  nmap/repos/extra-i686/PKGBUILD
Deleted:
  nmap/repos/extra-i686/zenmap_pixmaps.patch

----------------------+
 PKGBUILD             |    7 +------
 zenmap_pixmaps.patch |   24 ------------------------
 2 files changed, 1 insertion(+), 30 deletions(-)


Property changes on: nmap/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /nmap/trunk:1-4714
   + /nmap/trunk:1-4777

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-07-10 02:53:20 UTC (rev 4777)
+++ extra-i686/PKGBUILD	2008-07-10 02:53:58 UTC (rev 4778)
@@ -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: extra-i686/zenmap_pixmaps.patch
===================================================================
--- extra-i686/zenmap_pixmaps.patch	2008-07-10 02:53:20 UTC (rev 4777)
+++ extra-i686/zenmap_pixmaps.patch	2008-07-10 02:53:58 UTC (rev 4778)
@@ -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