Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

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