[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (3ea78de6c3d110ad43167deaf43f73bca7e42cc8)

Treeve Jelbert scm at sourcemage.org
Sat Apr 14 07:32:58 EDT 2007


GIT changes to master grimoire by Treeve Jelbert <treeve at sourcemage.org>:

 dev/null                             |binary
 editors/biew/BUILD                   |   28 -------
 editors/biew/DEPENDS                 |    1 
 editors/biew/DETAILS                 |    8 +-
 editors/biew/HISTORY                 |    7 +
 editors/biew/INSTALL                 |    4 -
 editors/biew/PRE_BUILD               |    2 
 editors/biew/biew-562-gcc4.asp.patch |  134 -----------------------------------
 editors/biew/biew562.tar.bz2.sig     |    0 
 9 files changed, 13 insertions(+), 171 deletions(-)

New commits:
commit ed43fba6c75eba466779862f387763b6e019ab1b
Author: Treeve Jelbert <treeve at sourcemage.org>
Commit: Treeve Jelbert <treeve at sourcemage.org>

    biew-564

diff --git a/editors/biew/BUILD b/editors/biew/BUILD
deleted file mode 100755
index 0243971..0000000
--- a/editors/biew/BUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-  disable_pic
-  HC="$CFLAGS"
-
-  if    [ "$I586"   == "on" ];  then  TP="i586" HC="$HC -DHAVE_MMX"
-  elif  [ "$I686"   == "on" ];  then  TP="i686" HC="$HC -DHAVE_MMX2 -DHAVE_SSE"
-  elif  [ "$K6"     == "on" ];  then  TP="k6"   HC="$HC -DHAVE_MMX"
-  elif  [ "$ATHLON" == "on" ];  then  TP="athlon" HC="$HC -DHAVE_MMX2 -DHAVE_SSE -DHAVE_3DNOWEX"
-  fi
-
-
-  if spell_ok gpm ; then
-    UM="y"
-  else
-    UM="n"
-  fi
-
-  echo "UM=$UM"
-  # Something changed in the way sorcery saves the architecture
-  # Going to use the 'uname' call to figure out the architecture for now
-  # Fixes Bug #936
-  TP=`uname -m`
-  sedit  "s/TARGET_OS=unix/TARGET_OS=linux/"            makefile  &&
-  sedit  "s/TARGET_PLATFORM=i386/TARGET_PLATFORM=$TP/"  makefile  &&
-  sedit  "s/HOST_CFLAGS=/HOST_CFLAGS=$HC/"              makefile  &&
-  sedit  "s/USE_MOUSE=n/USE_MOUSE=$UM/"                 makefile  &&
-  sedit  "s/\/usr\/local/\/usr/"  biewlib/sysdep/generic/unix/os_dep.c  &&
-
-  make
diff --git a/editors/biew/DEPENDS b/editors/biew/DEPENDS
index 22b5e46..603680f 100755
--- a/editors/biew/DEPENDS
+++ b/editors/biew/DEPENDS
@@ -1,4 +1,3 @@
-depends gcc33   &&
 depends  slang  &&
 
 optional_depends  "gpm"                \
diff --git a/editors/biew/DETAILS b/editors/biew/DETAILS
index 8d6eac3..b479161 100755
--- a/editors/biew/DETAILS
+++ b/editors/biew/DETAILS
@@ -1,13 +1,13 @@
            SPELL=biew
-         VERSION=562
-          SOURCE=${SPELL}${VERSION}.tar.bz2
+         VERSION=564
+     SOURCE_HASH=sha512:b1f631918272cbea88ac831f7e226be02b5e5350de462ffe58ef0fedd7e0ddf2baeec88b61e264ac11769e5f2b8852d22ad1c53c1241c9806ed9bb4edfea2b3a
+          SOURCE=${SPELL}-${VERSION}.tar.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
    SOURCE_URL[0]=$SOURCEFORGE_URL/biew/$SOURCE
-      SOURCE_GPG=gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME
+#      SOURCE_GPG=gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME
         WEB_SITE=http://biew.sourceforge.net/en/biew.html
       LICENSE[0]=GPL
          ENTERED=20020106
-         UPDATED=20040617
         KEYWORDS="editors"
            SHORT="BIEW is a binary file viewer/editor/disassembler"
 
diff --git a/editors/biew/HISTORY b/editors/biew/HISTORY
index 63132f3..360bd38 100644
--- a/editors/biew/HISTORY
+++ b/editors/biew/HISTORY
@@ -1,3 +1,10 @@
+2007-04-14 Treeve Jelbert <treeve at sourcemage.org>
+	* DETAILS: version 564
+	* DEPENDS: remove gcc33
+	* PRE_BUILD,  gcc4 patch: deleted
+	* BUILD: use default_build
+	* INSTALL: fix location of manpage
+
 2006-09-21 Juuso Alasuutari <iuso at sourcemage.org>
 	* DETAILS: [automated] Removed BUILD_API=2.
 
diff --git a/editors/biew/INSTALL b/editors/biew/INSTALL
index af3aa71..e2186fe 100755
--- a/editors/biew/INSTALL
+++ b/editors/biew/INSTALL
@@ -1,5 +1,5 @@
-  gzip       ${SOURCE_DIRECTORY}/doc/biew.1                                                            &&
-  cp         ${SOURCE_DIRECTORY}/doc/biew.1.gz     ${INSTALL_ROOT}/usr/man/man1    &&
+  gzip       ${SOURCE_DIRECTORY}/doc/biew.1                                           &&
+  cp         ${SOURCE_DIRECTORY}/doc/biew.1.gz     ${INSTALL_ROOT}/usr/share/man/man1 &&
   cp         ${SOURCE_DIRECTORY}/biew              ${INSTALL_ROOT}/usr/bin         &&
   mkdir  -p                                        ${INSTALL_ROOT}/usr/share/biew  &&
   cp         ${SOURCE_DIRECTORY}/bin_rc/skn/*.skn  ${INSTALL_ROOT}/usr/share/biew  &&
diff --git a/editors/biew/PRE_BUILD b/editors/biew/PRE_BUILD
deleted file mode 100755
index 4c641f9..0000000
--- a/editors/biew/PRE_BUILD
+++ /dev/null
@@ -1,2 +0,0 @@
-default_pre_build &&
-patch -p1 -d ${SOURCE_DIRECTORY} < ${SCRIPT_DIRECTORY}/biew-562-gcc4.asp.patch
diff --git a/editors/biew/biew-562-gcc4.asp.patch b/editors/biew/biew-562-gcc4.asp.patch
deleted file mode 100644
index 449c1d9..0000000
--- a/editors/biew/biew-562-gcc4.asp.patch
+++ /dev/null
@@ -1,134 +0,0 @@
---- biew-562/biewlib/twin.c.gcc4	2003-05-28 19:30:26.000000000 +0300
-+++ biew-562/biewlib/twin.c	2005-12-07 19:09:29.000000000 +0200
-@@ -1891,9 +1891,9 @@ int __FASTCALL__ twPutS(const char *str)
-        strcpy(__nls,str);
-        __nls_OemToOsdep((unsigned char *)__nls,len);
-      }
--     else (const char *)__nls = str;
-+     else __nls = str;
-   }
--  else (const char *)__nls = str;
-+  else __nls = str;
-   __nls_ptr = __nls;
-   __oem_ptr = str;
-   vidx = active->cur_x + active->cur_y*active->wwidth;
---- biew-562/biewlib/sysdep/ia16/cmn_ix86.c.gcc4	2003-03-27 08:19:30.000000000 +0200
-+++ biew-562/biewlib/sysdep/ia16/cmn_ix86.c	2005-12-07 19:09:29.000000000 +0200
-@@ -47,7 +47,7 @@ static unsigned long __NEAR__ __FASTCALL
-   ctrl_arr = c_arr;
-   /* align pointer on 16-byte boundary */
- 
--  if((tUInt32)ctrl_arr & 15) ((tUInt32)ctrl_arr) += 16-((tUInt32)ctrl_arr&15);
-+  if((tUInt32)ctrl_arr & 15) ctrl_arr += 16-((tUInt32)ctrl_arr&15);
- 
-   memset(ctrl_arr,0,sizeof(ctrl_arr));
-   if(time_interval)
---- biew-562/biewlib/sysdep/ia32/linux/keyboard.c.gcc4	2003-06-26 18:48:31.000000000 +0300
-+++ biew-562/biewlib/sysdep/ia32/linux/keyboard.c	2005-12-07 19:12:37.000000000 +0200
-@@ -371,7 +371,6 @@ void __FASTCALL__ ReadNextEvent(void)
- 		    while (!console_restart) __OsYield();
- 		}
- 	    }
--c_end:
-         } else {
- /*
-     VT100 emulation
-@@ -453,6 +452,7 @@ c_end:
- 	    }
- #undef S
- 	}
-+c_end:
- place_key:
- 	if(!rawkb_mode) { ret(key); }
- 	else { rawkb_escape=(key==KE_ESCAPE&&rawkb_len==1); rawkb_mode=0; }
---- biew-562/biewlib/sysdep/ia32/aclib_template.c.gcc4	2002-12-13 17:31:20.000000000 +0200
-+++ biew-562/biewlib/sysdep/ia32/aclib_template.c	2005-12-07 19:09:29.000000000 +0200
-@@ -209,8 +209,8 @@ static void * RENAME(fast_memcpy)(void *
- 		MOVNTQ" %%mm6, 48(%1)\n"
- 		MOVNTQ" %%mm7, 56(%1)\n"
- 		:: "r" (from), "r" (to) : "memory");
--		((const unsigned char *)from)+=64;
--		((unsigned char *)to)+=64;
-+		from+=64;
-+		to+=64;
- 	}
- 
- 	// Pure Assembly cuz gcc is a bit unpredictable ;)
-@@ -297,8 +297,8 @@ static void * RENAME(fast_memcpy)(void *
- 		MOVNTQ" %%mm6, 48(%1)\n"
- 		MOVNTQ" %%mm7, 56(%1)\n"
- 		:: "r" (from), "r" (to) : "memory");
--		((const unsigned char *)from)+=64;
--		((unsigned char *)to)+=64;
-+		from+=64;
-+		to+=64;
- 	}
- 
- #endif /* Have SSE */
-@@ -393,7 +393,7 @@ static void * RENAME(fast_memset)(void *
- 		MOVNTQ" %%mm0, 112(%0)\n"
- 		MOVNTQ" %%mm0, 120(%0)\n"
- 		:: "r" (to) : "memory");
--		((unsigned char *)to)+=128;
-+		to+=128;
- 	}
- #endif /* Have SSE */
- #ifdef HAVE_MMX2
---- biew-562/biewlib/file_ini.c.gcc4	2004-02-26 17:53:22.000000000 +0200
-+++ biew-562/biewlib/file_ini.c	2005-12-07 19:09:29.000000000 +0200
-@@ -1295,7 +1295,7 @@ static tBool __NEAR__ __FASTCALL__ __add
-   void __HUGE__ *found;
-   ini_cache __HUGE__ *it;
-   ini_cache ic;
--  (const char *)ic.item = section;
-+  ic.item = section;
-   ic.flags = 0;
-   if(!(found =la_Find((linearArray *)opening->cache,&ic,__full_compare_cache)))
-   {
-@@ -1325,7 +1325,7 @@ static tBool __NEAR__ __FASTCALL__ __add
-   {
-     do_subsect:
-       it = (ini_cache __HUGE__ *)found;
--      (const char *)ic.item = subsection;
-+      ic.item = subsection;
-       if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache)))
-       {
-         ic.item = PMalloc(strlen(subsection)+1);
-@@ -1354,7 +1354,7 @@ static tBool __NEAR__ __FASTCALL__ __add
-       {
-         do_item:
-         it = (ini_cache __HUGE__ *)found;
--        (const char *)ic.item = item;
-+        ic.item = item;
-         ic.flags = IC_STRING;
-         if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache)))
-         {
-@@ -1589,15 +1589,15 @@ unsigned __FASTCALL__ iniReadProfileStri
-           ini_cache ic;
-           void __HUGE__ *found,__HUGE__ *foundi,__HUGE__ *foundv;
-           ini_cache __HUGE__ *fi;
--          (const char *)ic.item = section;
-+          ic.item = section;
-           ic.flags = 0;
-           if((found=la_Find(ini->cache,&ic,__full_compare_cache))!=NULL)
-           {
--            (const char *)ic.item=subsection;
-+            ic.item=subsection;
-             fi = (ini_cache __HUGE__ *)found;
-             if((foundi=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL)
-             {
--               (const char *)ic.item = _item;
-+               ic.item = _item;
-                ic.flags = IC_STRING;
-                fi = (ini_cache __HUGE__ *)foundi;
-                if((foundv=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL)
---- biew-562/biewlib/tw_class.c.gcc4	2001-11-18 19:05:48.000000000 +0200
-+++ biew-562/biewlib/tw_class.c	2005-12-07 19:09:29.000000000 +0200
-@@ -71,6 +71,6 @@ void __FASTCALL__ twcDestroyClassSet(voi
- TwClass * __FASTCALL__ twcFindClass(const char *name)
- {
-  TwClass key;
-- (const char *)(key.name) = name;
-+ key.name = name;
-  return (TwClass *)la_Find(class_set,&key, comp_class);
- }
\ No newline at end of file
diff --git a/editors/biew/biew562.tar.bz2.sig b/editors/biew/biew562.tar.bz2.sig
deleted file mode 100644
index 75337d5..0000000
Binary files a/editors/biew/biew562.tar.bz2.sig and /dev/null differ



More information about the SM-Commit mailing list