Re: [ANNOUNCE] xcalc 1.0.4

2010-11-27 Thread Dan Nicholson
On Fri, Nov 26, 2010 at 1:42 PM, Alan Coopersmith
 wrote:
> Somchai Smythe wrote:
>> I compared it to the install-sh in xcalc-1.0.3 and it seems random
>> lines were deleted from the case statement.
>> -    -g) chgrpcmd="$chgrpprog $2"
>
> *sigh*   I see what happened now - the lines deleted are very much not
> random - they're the lines with $ in, due to my use of perl to remove
> CVS tags from * in that directory, not noticing I had a copy of install-sh
> in there (I usually build in separate directories so my git repos don't
> normally have those in).
>
> I'll go post new tarballs with a clean install-sh.   Sorry about that.
> (Strangely, "make distcheck" worked with the broken install-sh.)

Probably because distcheck doesn't exercise install-strip as far as I
can tell. It uses the normal install targets, which use
/usr/bin/install on most hosts.

--
Dan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: [ANNOUNCE] xcalc 1.0.4

2010-11-27 Thread Gaetan Nadon
On Fri, 2010-11-26 at 12:25 -0800, Alan Coopersmith wrote:

> We just pass through install-sh from the autotools - certainly I am
> using newer versions of those in current releases than I did last
> year - right now I'm building releases with:
> autoconf (GNU Autoconf) 2.68
> automake (GNU automake) 1.11.1
> libtool (GNU libtool) 2.2.10
> 

I downloaded the tarball, ran ./configure and "make install-strip"
and get the same failure. This should work regardless of what I have
on my computer. Perhaps the 2.68 install-sh has a bug.

Does this target work for you?


signature.asc
Description: This is a digitally signed message part
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: [ANNOUNCE] xcalc 1.0.4

2010-11-26 Thread Jeremy Huddleston
And here I thought this might've been because the git repos were compromised...




... too soon? 


On Nov 26, 2010, at 16:42, Alan Coopersmith wrote:

> Somchai Smythe wrote:
>> I compared it to the install-sh in xcalc-1.0.3 and it seems random
>> lines were deleted from the case statement. 
>> --g) chgrpcmd="$chgrpprog $2"
> 
> *sigh*   I see what happened now - the lines deleted are very much not
> random - they're the lines with $ in, due to my use of perl to remove
> CVS tags from * in that directory, not noticing I had a copy of install-sh
> in there (I usually build in separate directories so my git repos don't
> normally have those in).
> 
> I'll go post new tarballs with a clean install-sh.   Sorry about that.
> (Strangely, "make distcheck" worked with the broken install-sh.)
> 
> -- 
>   -Alan Coopersmith-alan.coopersm...@oracle.com
>Oracle Solaris Platform Engineering: X Window System
> 
> ___
> xorg@lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: jerem...@freedesktop.org

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: [ANNOUNCE] xcalc 1.0.4

2010-11-26 Thread Alan Coopersmith
Somchai Smythe wrote:
> I compared it to the install-sh in xcalc-1.0.3 and it seems random
> lines were deleted from the case statement. 
> --g) chgrpcmd="$chgrpprog $2"

*sigh*   I see what happened now - the lines deleted are very much not
random - they're the lines with $ in, due to my use of perl to remove
CVS tags from * in that directory, not noticing I had a copy of install-sh
in there (I usually build in separate directories so my git repos don't
normally have those in).

I'll go post new tarballs with a clean install-sh.   Sorry about that.
(Strangely, "make distcheck" worked with the broken install-sh.)

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: [ANNOUNCE] xcalc 1.0.4

2010-11-26 Thread Alan Coopersmith
Somchai Smythe wrote:
> Hello list,
> 
> Am I doing something wrong?  The install-sh seems to be broken now:
> 
> I compared it to the install-sh in xcalc-1.0.3 and it seems random
> lines were deleted from the case statement. 

We just pass through install-sh from the autotools - certainly I am
using newer versions of those in current releases than I did last
year - right now I'm building releases with:
autoconf (GNU Autoconf) 2.68
automake (GNU automake) 1.11.1
libtool (GNU libtool) 2.2.10

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


app-xcalc 1.0.4: install-sh fails on "install-strip" target - Was:Re: [ANNOUNCE] xcalc 1.0.4

2010-11-26 Thread Gaetan Nadon
On Fri, 2010-11-26 at 22:00 +0700, Somchai Smythe wrote:

> Hello list,
> 
> Am I doing something wrong?  The install-sh seems to be broken now:

I can reproduce the problem. Simply invoking "make install-strip" will
do it.
I don't know the root cause of the problem, but a workaround is to
"autoreconf -vfi" and then "./configure --prefix ... "
This will re-create the configuration using your version of automake.
That fixed it for me.

The tarball was created from Automake 2.68, I have 2.63.
Further investigation is required, it could be the level of automake
or just some accident on disk.


> 
> make install-strip DESTDIR=/tmp/package-xcalc V=1
> make  INSTALL_PROGRAM="/bin/sh /tmp/xcalc-1.0.4/install-sh -c -s" \
>   install_sh_PROGRAM="/bin/sh /tmp/xcalc-1.0.4/install-sh -c
> -s" INSTALL_STRIP_FLAG=-s \
>   `test -z '' || \
> echo "INSTALL_PROGRAM_ENV=STRIPPROG=''"` install
> make[1]: Entering directory `/tmp/xcalc-1.0.4'
> make[2]: Entering directory `/tmp/xcalc-1.0.4'
> test -z "/usr/X11R7/bin" || /bin/mkdir -p
> "/tmp/package-xcalc/usr/X11R7/bin"
>   /bin/sh /tmp/xcalc-1.0.4/install-sh -c -s xcalc
> '/tmp/package-xcalc/usr/X11R7/bin'
> /tmp/xcalc-1.0.4/install-sh: line 139: syntax error near unexpected
> token `;;'
> /tmp/xcalc-1.0.4/install-sh: line 139: `shift;;'
> make[2]: *** [install-binPROGRAMS] Error 2
> make[2]: Leaving directory `/tmp/xcalc-1.0.4'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/tmp/xcalc-1.0.4'
> make: *** [install-strip] Error 2
> 
> I compared it to the install-sh in xcalc-1.0.3 and it seems random
> lines were deleted from the case statement.  I'm using bash 4.1.9 if
> it matters.
> 


signature.asc
Description: This is a digitally signed message part
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: [ANNOUNCE] xcalc 1.0.4

2010-11-26 Thread Somchai Smythe
Hello list,

Am I doing something wrong?  The install-sh seems to be broken now:

make install-strip DESTDIR=/tmp/package-xcalc V=1
make  INSTALL_PROGRAM="/bin/sh /tmp/xcalc-1.0.4/install-sh -c -s" \
  install_sh_PROGRAM="/bin/sh /tmp/xcalc-1.0.4/install-sh -c
-s" INSTALL_STRIP_FLAG=-s \
  `test -z '' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG=''"` install
make[1]: Entering directory `/tmp/xcalc-1.0.4'
make[2]: Entering directory `/tmp/xcalc-1.0.4'
test -z "/usr/X11R7/bin" || /bin/mkdir -p "/tmp/package-xcalc/usr/X11R7/bin"
  /bin/sh /tmp/xcalc-1.0.4/install-sh -c -s xcalc
'/tmp/package-xcalc/usr/X11R7/bin'
/tmp/xcalc-1.0.4/install-sh: line 139: syntax error near unexpected token `;;'
/tmp/xcalc-1.0.4/install-sh: line 139: `shift;;'
make[2]: *** [install-binPROGRAMS] Error 2
make[2]: Leaving directory `/tmp/xcalc-1.0.4'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/xcalc-1.0.4'
make: *** [install-strip] Error 2

I compared it to the install-sh in xcalc-1.0.3 and it seems random
lines were deleted from the case statement.  I'm using bash 4.1.9 if
it matters.

--- xcalc-1.0.3/install-sh  2009-12-18 10:52:00.0 +0700
+++ xcalc-1.0.4/install-sh  2010-11-21 01:54:55.0 +0700
@@ -136,21 +136,17 @@

 -d) dir_arg=true;;

--g) chgrpcmd="$chgrpprog $2"
shift;;

---help) echo "$usage"; exit $?;;

 -m) mode=$2
case $mode in
  *' '* | *''* | *'
 '*   | *'*'* | *'?'* | *'['*)
-   echo "$0: invalid mode: $mode" >&2
exit 1;;
esac
shift;;

--o) chowncmd="$chownprog $2"
shift;;

 -s) stripcmd=$stripprog;;

(and many more changes after that).


On 11/25/10, Alan Coopersmith  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> xcalc is a Xaw-toolkit based scientific calculator X11 client
> that can emulate a TI-30 or an HP-10C.
>
> This minor maintenance release provides the usual recent collection of
> improvements to the calculation of the build configuration and other
> janitorial cleanups.
>
> Alan Coopersmith (7):
>   config: upgrade to util-macros 1.8 for additional man page support
>   config: Remove unnecessary calls from configure.ac
>   config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
>   config: Explicitly check for xt & x11 pkgs, since xcalc calls those
> directly
>   Purge RCS/CVS version tags
>   create_keypad: declare list of button name strings as const
>   xcalc 1.0.4
>
> Gaetan Nadon (3):
>   configure.ac: use backticks rather than $() for cmd subs
>   config: move CWARNFLAGS from configure.ac to Makefile.am
>   config: update AC_PREREQ statement to 2.60
>
> git tag: xcalc-1.0.4
>
> http://xorg.freedesktop.org/archive/individual/app/xcalc-1.0.4.tar.bz2
> MD5:  261ccaa767420ece55bceeff9463e7e6
> SHA1: 25e96001331e03a5aae38184887fa0d92eaaf647
>
> http://xorg.freedesktop.org/archive/individual/app/xcalc-1.0.4.tar.gz
> MD5:  e8a07c7b23ae8372312183754cadb5dd
> SHA1: 95c866d82f7fa7f70e99d7e6677dbf127b926955
>
>
> - --
>   -Alan Coopersmith-alan.coopersm...@oracle.com
>Oracle Solaris Platform Engineering: X Window System
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.9 (SunOS)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkztq2QACgkQovueCB8tEw6b9gCePZeWi6+0H39BKGGu5ZOKntOS
> mxYAn0YHTKZx3floV3pZwRho3bgOh6Hk
> =CXlH
> -END PGP SIGNATURE-
> ___
> xorg-announce mailing list
> xorg-annou...@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg-announce
>
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


[ANNOUNCE] xcalc 1.0.4

2010-11-24 Thread Alan Coopersmith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

xcalc is a Xaw-toolkit based scientific calculator X11 client
that can emulate a TI-30 or an HP-10C.

This minor maintenance release provides the usual recent collection of
improvements to the calculation of the build configuration and other
janitorial cleanups.

Alan Coopersmith (7):
  config: upgrade to util-macros 1.8 for additional man page support
  config: Remove unnecessary calls from configure.ac
  config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
  config: Explicitly check for xt & x11 pkgs, since xcalc calls those 
directly
  Purge RCS/CVS version tags
  create_keypad: declare list of button name strings as const
  xcalc 1.0.4

Gaetan Nadon (3):
  configure.ac: use backticks rather than $() for cmd subs
  config: move CWARNFLAGS from configure.ac to Makefile.am
  config: update AC_PREREQ statement to 2.60

git tag: xcalc-1.0.4

http://xorg.freedesktop.org/archive/individual/app/xcalc-1.0.4.tar.bz2
MD5:  261ccaa767420ece55bceeff9463e7e6
SHA1: 25e96001331e03a5aae38184887fa0d92eaaf647

http://xorg.freedesktop.org/archive/individual/app/xcalc-1.0.4.tar.gz
MD5:  e8a07c7b23ae8372312183754cadb5dd
SHA1: 95c866d82f7fa7f70e99d7e6677dbf127b926955


- --
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkztq2QACgkQovueCB8tEw6b9gCePZeWi6+0H39BKGGu5ZOKntOS
mxYAn0YHTKZx3floV3pZwRho3bgOh6Hk
=CXlH
-END PGP SIGNATURE-
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com