Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of github.com:sm/sm-libraries

  • Loading branch information...
commit c9c16bef943a62a9bd6923cee9ed4d7a9ea66ef4 2 parents 45fbf2f + a2d747d
Wayne E. Seguin wayneeseguin authored

Showing 59 changed files with 91 additions and 193 deletions. Show diff stats Hide diff stats

  1. 0  jpeg/config/md5 → expat/CHANGELOG.md
  2. +2 0  expat/README.md
  3. 0  expat/TODO.md
  4. 0  {imagemagick → expat}/VERSION
  5. 0  {libpng → expat}/bin/help
  6. +3 0  expat/config/defaults
  7. +1 0  expat/config/md5
  8. 0  {imagemagick → expat}/map
  9. +6 0 expat/shell/functions
  10. 0  {imagemagick → expat}/shell/includes
  11. +0 4 imagemagick/CHANGELOG.md
  12. +0 4 imagemagick/README.md
  13. +0 3  imagemagick/TODO.md
  14. +0 8 imagemagick/bin/help
  15. +0 3  imagemagick/config/defaults
  16. +0 1  imagemagick/config/md5
  17. +0 10 imagemagick/shell/functions
  18. +0 4 jpeg/CHANGELOG.md
  19. +0 4 jpeg/README.md
  20. +0 4 jpeg/TODO.md
  21. +0 1  jpeg/VERSION
  22. +0 9 jpeg/bin/help
  23. +0 2  jpeg/config/defaults
  24. +0 1  jpeg/map
  25. +0 19 jpeg/shell/functions
  26. +0 2  jpeg/shell/includes
  27. +58 0 libffi/patches/darwin/3.0.10/wc-test-configure.patch
  28. +10 0 libffi/shell/functions
  29. +0 4 libpng/CHANGELOG.md
  30. +0 4 libpng/README.md
  31. +0 7 libpng/TODO.md
  32. +0 1  libpng/VERSION
  33. +0 1  libpng/config/defaults
  34. +0 7 libpng/config/md5
  35. +0 1  libpng/map
  36. +0 8 libpng/shell/functions
  37. +0 1  libpng/shell/includes
  38. +0 4 libwmf/CHANGELOG.md
  39. +0 4 libwmf/README.md
  40. +0 4 libwmf/TODO.md
  41. +0 1  libwmf/VERSION
  42. +0 8 libwmf/bin/help
  43. +0 1  libwmf/config/defaults
  44. +0 7 libwmf/config/md5
  45. +0 1  libwmf/map
  46. +0 8 libwmf/shell/functions
  47. +0 1  libwmf/shell/includes
  48. +1 1  openssl/config/defaults
  49. +9 6 openssl/shell/functions
  50. +0 4 tiff/CHANGELOG.md
  51. +0 4 tiff/README.md
  52. +0 4 tiff/TODO.md
  53. +0 1  tiff/VERSION
  54. +0 9 tiff/bin/help
  55. +0 2  tiff/config/defaults
  56. +0 7 tiff/config/md5
  57. +0 1  tiff/map
  58. +0 1  tiff/shell/includes
  59. +1 1  zlib/config/defaults
0  jpeg/config/md5 → expat/CHANGELOG.md
File renamed without changes
2  expat/README.md
Source Rendered
... ... @@ -0,0 +1,2 @@
  1 +# Extension Template
  2 +
0  expat/TODO.md
Source Rendered
No changes.
0  imagemagick/VERSION → expat/VERSION
File renamed without changes
0  libpng/bin/help → expat/bin/help
File renamed without changes
3  expat/config/defaults
... ... @@ -0,0 +1,3 @@
  1 +version=2.0.1
  2 +base_url=http://sourceforge.net/projects/expat/files/expat
  3 +archive_format=tar.gz
1  expat/config/md5
... ... @@ -0,0 +1 @@
  1 +expat-2.0.1.tar.gz=ee8b492592568805593f81f8cdf2a04c
0  imagemagick/map → expat/map
File renamed without changes
6 expat/shell/functions
... ... @@ -0,0 +1,6 @@
  1 +#!/bin/sh
  2 +
  3 +expat_prefetch()
  4 +{
  5 + package define base_url "http://sourceforge.net/projects/expat/files/expat/${package_version}"
  6 +}
0  imagemagick/shell/includes → expat/shell/includes
File renamed without changes
4 imagemagick/CHANGELOG.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension Change Log
2   -
3   -* 0.0.1 - Initial Extension Release
4   -
4 imagemagick/README.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension README
2   -
3   -This extension installs ImageMagick.
4   -
3  imagemagick/TODO.md
Source Rendered
... ... @@ -1,3 +0,0 @@
1   -# BDSM Extension TODO List
2   -
3   -* TODO: Package and release the extension.
8 imagemagick/bin/help
... ... @@ -1,8 +0,0 @@
1   -#!/bin/sh
2   -
3   -description "${extension} BDSM extension."
4   -
5   -action "install" "Installs ${package_name} ${package_version}."
6   -action "uninstall" "Uninstalls ${package_name} ${package_version}."
7   -
8   -show_help usage
3  imagemagick/config/defaults
... ... @@ -1,3 +0,0 @@
1   -version=6.6.9-3
2   -archive_format=tar.bz2
3   -base_url=ftp://ftp.imagemagick.org/pub
1  imagemagick/config/md5
... ... @@ -1 +0,0 @@
1   -ImageMagick-6.6.9-3.tar.bz2=8beac838b52eedd9039227d95b870fdb
10 imagemagick/shell/functions
... ... @@ -1,10 +0,0 @@
1   -#!/bin/sh
2   -
3   -imagemagick_initialize()
4   -{
5   - package define \
6   - file "ImageMagick-${package_version}.${archive_format}" \
7   - dir "ImageMagick-${package_version}"
8   -
9   - package_dependencies=( freetype libpng jpeg tiff libwmf lcms ghostscript)
10   -}
4 jpeg/CHANGELOG.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension Change Log
2   -
3   -* 0.0.1 - Initial Extension Release
4   -
4 jpeg/README.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension README
2   -
3   -This extension installs libjpeg.
4   -
4 jpeg/TODO.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension TODO List
2   -
3   -* TODO: Package and release the extension.
4   -
1  jpeg/VERSION
... ... @@ -1 +0,0 @@
1   -0.0.1
9 jpeg/bin/help
... ... @@ -1,9 +0,0 @@
1   -#!/bin/sh
2   -
3   -description "${extension} BDSM extension."
4   -
5   -action "package install" "Installs ${package_name} ${package_version}."
6   -action "package uninstall" "Installs ${package_name} ${package_version}."
7   -
8   -show_help usage
9   -
2  jpeg/config/defaults
... ... @@ -1,2 +0,0 @@
1   -name=jpegsrc
2   -version=v8b
1  jpeg/map
... ... @@ -1 +0,0 @@
1   -
19 jpeg/shell/functions
... ... @@ -1,19 +0,0 @@
1   -#!/bin/sh
2   -
3   -jpeg_initialize()
4   -{
5   - package define \
6   - dir="jpeg-8b" \
7   - file="${package_name}.${package_version}.$archive_format" \
8   - base_url="http://www.ijg.org/files/${package_name}.${package_version}.$archive_format"
9   -
10   - if file_is_missing /usr/local/bin/libtool && command_exists glibtool ; then
11   - link $(which glibtool) to /usr/local/bin/libtool
12   - fi
13   -
14   - if os is darwin ; then
15   - export MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | awk -F'.' '{print $1"."$2}')
16   - fi
17   -
18   - configure_flags=( --enable-shared )
19   -}
2  jpeg/shell/includes
... ... @@ -1,2 +0,0 @@
1   -api/defaults
2   -api/package
58 libffi/patches/darwin/3.0.10/wc-test-configure.patch
... ... @@ -0,0 +1,58 @@
  1 +--- a/m4/ax_enable_builddir.m4
  2 ++++ b/m4/ax_enable_builddir.m4
  3 +@@ -204,7 +204,7 @@ a\\
  4 + ; test ".\$\$HOST" = "." && HOST=$x sh $AUX/config.guess $x \\\\\\
  5 + ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
  6 + ; use=$x basename "\$\@" _ALL $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
  7 +- ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" = "0" ; then : \\\\\\
  8 ++ ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" -eq 0 ; then : \\\\\\
  9 + ; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\
  10 + ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
  11 + ; test "\$\$use" = "\$\@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\
  12 +@@ -217,7 +217,7 @@ dnl special rule add-on: "dist" copies the tarball to $(PUB). (source tree)
  13 + ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
  14 + ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
  15 + ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).tar.*" \\\\\\
  16 +- ; if test "\$\$found" = "0" ; then : \\\\\\
  17 ++ ; if test "\$\$found" -eq 0 ; then : \\\\\\
  18 + ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
  19 + ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
  20 + ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).tar.* \\\\\\
  21 +@@ -229,7 +229,7 @@ dnl special rule add-on: "dist-foo" copies all the archives to $(PUB). (source t
  22 + ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
  23 + ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
  24 + ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).*" \\\\\\
  25 +- ; if test "\$\$found" = "0" ; then : \\\\\\
  26 ++ ; if test "\$\$found" -eq 0 ; then : \\\\\\
  27 + ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
  28 + ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
  29 + ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).* \\\\\\
  30 +--- a/configure
  31 ++++ b/configure
  32 +@@ -16339,7 +16339,7 @@
  33 + ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
  34 + ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
  35 + ; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
  36 +- ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" = "0" ; then : \\\\\\
  37 ++ ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" -gt "0" ; then : \\\\\\
  38 + ; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\
  39 + ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
  40 + ; test "\$\$use" = "\$\@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\
  41 +@@ -16351,7 +16351,7 @@
  42 + ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
  43 + ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
  44 + ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).tar.*" \\\\\\
  45 +- ; if test "\$\$found" = "0" ; then : \\\\\\
  46 ++ ; if test "\$\$found" -gt "0" ; then : \\\\\\
  47 + ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
  48 + ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
  49 + ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).tar.* \\\\\\
  50 +@@ -16362,7 +16362,7 @@
  51 + ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
  52 + ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
  53 + ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).*" \\\\\\
  54 +- ; if test "\$\$found" = "0" ; then : \\\\\\
  55 ++ ; if test "\$\$found" -gt "0" ; then : \\\\\\
  56 + ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
  57 + ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
  58 + ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).* \\\\\\
10 libffi/shell/functions
... ... @@ -0,0 +1,10 @@
  1 +#!/bin/sh
  2 +
  3 +libffi_preconfigure()
  4 +{
  5 + if __sm.os.type.is darwin
  6 + then
  7 + export HOST
  8 + HOST="$( ./config.guess )"
  9 + fi
  10 +}
4 libpng/CHANGELOG.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension Change Log
2   -
3   -* 0.0.1 - Initial Extension Release
4   -
4 libpng/README.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension README
2   -
3   -This is a BDSM extension which has the purpose to...
4   -
7 libpng/TODO.md
Source Rendered
... ... @@ -1,7 +0,0 @@
1   -# BDSM Extension TODO List
2   -
3   -* TODO: Package and release the extension.
4   -* TODO: Write the extension actions
5   -* TODO: Write the extension functions
6   -* TODO: Write the extension initialize
7   -* TODO: Write the extension README
1  libpng/VERSION
... ... @@ -1 +0,0 @@
1   -0.0.1
1  libpng/config/defaults
... ... @@ -1 +0,0 @@
1   -version=1.2.39
7 libpng/config/md5
... ... @@ -1,7 +0,0 @@
1   -#
2   -# The format for this file is:
3   -#
4   -# ${downloaded file name}=${md5 sum}
5   -#
6   -# For example,
7   -#bash-4.2.tar.gz=3fb927c7c33022f1c327f14a81c0d4b0
1  libpng/map
... ... @@ -1 +0,0 @@
1   -
8 libpng/shell/functions
... ... @@ -1,8 +0,0 @@
1   -#!/bin/sh
2   -
3   -libpng_initialize()
4   -{
5   - package define \
6   - base_url="http://surfnet.dl.sourceforge.net/project/libpng/00-libpng-stable/$version"
7   -}
8   -
1  libpng/shell/includes
... ... @@ -1 +0,0 @@
1   -api/package
4 libwmf/CHANGELOG.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension Change Log
2   -
3   -* 0.0.1 - Initial Extension Release
4   -
4 libwmf/README.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension README
2   -
3   -This is a BDSM extension which has the purpose to...
4   -
4 libwmf/TODO.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension TODO List
2   -
3   -* TODO: Package and release the extension.
4   -* TODO: Write the extension README
1  libwmf/VERSION
... ... @@ -1 +0,0 @@
1   -0.0.1
8 libwmf/bin/help
... ... @@ -1,8 +0,0 @@
1   -#!/bin/sh
2   -
3   -description "${extension} BDSM extension."
4   -
5   -action "package install" "Installs ${package_name} ${package_version}."
6   -action "package uninstall" "Installs ${package_name} ${package_version}."
7   -
8   -show_help usage
1  libwmf/config/defaults
... ... @@ -1 +0,0 @@
1   -version=0.2.8.4
7 libwmf/config/md5
... ... @@ -1,7 +0,0 @@
1   -#
2   -# The format for this file is:
3   -#
4   -# ${downloaded file name}=${md5 sum}
5   -#
6   -# For example,
7   -#bash-4.2.tar.gz=3fb927c7c33022f1c327f14a81c0d4b0
1  libwmf/map
... ... @@ -1 +0,0 @@
1   -
8 libwmf/shell/functions
... ... @@ -1,8 +0,0 @@
1   -#!/bin/sh
2   -
3   -libwmf_initialize()
4   -{
5   - package define \
6   - base_url="http://voxel.dl.sourceforge.net/project/wvware/${package_name}/${package_version}"
7   -}
8   -
1  libwmf/shell/includes
... ... @@ -1 +0,0 @@
1   -api/package
2  openssl/config/defaults
@@ -2,4 +2,4 @@ version=1.0.0d
2 2 base_url=http://www.openssl.org/source
3 3 md5_url=http://www.openssl.org/source
4 4 configure_flags=zlib no-asm
5   -make_flags=-j1
  5 +make_flags=-j 1
15 openssl/shell/functions
... ... @@ -1,11 +1,14 @@
1 1 #!/bin/sh
2 2
3   -openssl_configure()
  3 +openssl_preconfigure()
4 4 {
5   - if (( ${static_flag:-0} == 1 ))
6   - then
7   - ./config --prefix="${install_path}" ${configure_flags[@]} > configure.log 2>&1
8   - else
9   - ./config --prefix="${install_path}" ${configure_flags[@]} shared > configure.log 2>&1
  5 + typeset -gx configure_command
  6 + if os is darwin && os arch type is x86_64
  7 + then configure_command="./Configure darwin64-x86_64-cc"
  8 + else configure_command="./config"
  9 + fi
  10 +
  11 + if (( ${static_flag:-0} == 0 ))
  12 + then __sm.package.configure.flags shared
10 13 fi
11 14 }
4 tiff/CHANGELOG.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension Change Log
2   -
3   -* 0.0.1 - Initial Extension Release
4   -
4 tiff/README.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension README
2   -
3   -This extension installs the tiff library.
4   -
4 tiff/TODO.md
Source Rendered
... ... @@ -1,4 +0,0 @@
1   -# BDSM Extension TODO List
2   -
3   -* TODO: Package and release the extension.
4   -* TODO: Write the extension README
1  tiff/VERSION
... ... @@ -1 +0,0 @@
1   -0.0.1
9 tiff/bin/help
... ... @@ -1,9 +0,0 @@
1   -#!/bin/sh
2   -
3   -description "${extension} BDSM extension."
4   -
5   -action "package install" "Installs ${package_name} ${package_version}."
6   -action "package uninstall" "Installs ${package_name} ${package_version}."
7   -
8   -show_help usage
9   -
2  tiff/config/defaults
... ... @@ -1,2 +0,0 @@
1   -version=3.9.4
2   -base_url=ftp://ftp.remotesensing.org/libtiff
7 tiff/config/md5
... ... @@ -1,7 +0,0 @@
1   -#
2   -# The format for this file is:
3   -#
4   -# ${downloaded file name}=${md5 sum}
5   -#
6   -# For example,
7   -#bash-4.2.tar.gz=3fb927c7c33022f1c327f14a81c0d4b0
1  tiff/map
... ... @@ -1 +0,0 @@
1   -
1  tiff/shell/includes
... ... @@ -1 +0,0 @@
1   -api/package
2  zlib/config/defaults
... ... @@ -1,2 +1,2 @@
1   -version=1.2.5
  1 +version=1.2.6
2 2 base_url=http://zlib.net

0 comments on commit c9c16be

Please sign in to comment.
Something went wrong with that request. Please try again.