[arch-commits] Commit in racket/repos (14 files)

Eric Bélanger eric at nymeria.archlinux.org
Sat May 18 02:31:13 UTC 2013


    Date: Saturday, May 18, 2013 @ 04:31:12
  Author: eric
Revision: 185732

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  racket/repos/extra-i686/PKGBUILD
    (from rev 185731, racket/trunk/PKGBUILD)
  racket/repos/extra-i686/drracket.desktop
    (from rev 185731, racket/trunk/drracket.desktop)
  racket/repos/extra-i686/racket-libpng16.patch
    (from rev 185731, racket/trunk/racket-libpng16.patch)
  racket/repos/extra-i686/racket.install
    (from rev 185731, racket/trunk/racket.install)
  racket/repos/extra-x86_64/PKGBUILD
    (from rev 185731, racket/trunk/PKGBUILD)
  racket/repos/extra-x86_64/drracket.desktop
    (from rev 185731, racket/trunk/drracket.desktop)
  racket/repos/extra-x86_64/racket-libpng16.patch
    (from rev 185731, racket/trunk/racket-libpng16.patch)
  racket/repos/extra-x86_64/racket.install
    (from rev 185731, racket/trunk/racket.install)
Deleted:
  racket/repos/extra-i686/PKGBUILD
  racket/repos/extra-i686/drracket.desktop
  racket/repos/extra-i686/racket.install
  racket/repos/extra-x86_64/PKGBUILD
  racket/repos/extra-x86_64/drracket.desktop
  racket/repos/extra-x86_64/racket.install

------------------------------------+
 /PKGBUILD                          |   78 +++++++++++++++++++++++++++++++++++
 /drracket.desktop                  |   18 ++++++++
 /racket.install                    |   22 +++++++++
 extra-i686/PKGBUILD                |   33 --------------
 extra-i686/drracket.desktop        |    9 ----
 extra-i686/racket-libpng16.patch   |   52 +++++++++++++++++++++++
 extra-i686/racket.install          |   11 ----
 extra-x86_64/PKGBUILD              |   33 --------------
 extra-x86_64/drracket.desktop      |    9 ----
 extra-x86_64/racket-libpng16.patch |   52 +++++++++++++++++++++++
 extra-x86_64/racket.install        |   11 ----
 11 files changed, 222 insertions(+), 106 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-05-18 02:29:32 UTC (rev 185731)
+++ extra-i686/PKGBUILD	2013-05-18 02:31:12 UTC (rev 185732)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=racket
-pkgver=5.3.3
-pkgrel=1
-pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development"
-arch=('i686' 'x86_64')
-url="http://racket-lang.org/"
-license=('LGPL')
-depends=('gtk2' 'desktop-file-utils')
-makedepends=('gsfonts' 'sqlite')
-options=('!libtool' '!strip')
-install=racket.install
-source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz \
-        drracket.desktop)
-sha1sums=('96995fe20b332c4644dd51668851193b16976071'
-          'a20808f6b250225704856f82a544681a962a299d')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}/src"
-  [ "$CARCH" == "x86_64" ] && export CFLAGS+="-fPIC"
-  ./configure --prefix=/usr --enable-shared
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}/src"
-  make DESTDIR="${pkgdir}" install
-
-  install -D -m644 ../collects/icons/plt.xpm "${pkgdir}/usr/share/pixmaps/drracket.xpm"
-  install -D -m644 "${srcdir}/drracket.desktop" "${pkgdir}/usr/share/applications/drracket.desktop"
-}

Copied: racket/repos/extra-i686/PKGBUILD (from rev 185731, racket/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-05-18 02:31:12 UTC (rev 185732)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=racket
+pkgver=5.3.4
+pkgrel=1
+pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development"
+arch=('i686' 'x86_64')
+url="http://racket-lang.org/"
+license=('LGPL')
+depends=('gtk2' 'desktop-file-utils')
+makedepends=('gsfonts' 'sqlite')
+options=('!libtool' '!strip')
+install=racket.install
+source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz \
+        drracket.desktop racket-libpng16.patch)
+sha1sums=('7e37738e34c73a25bc7d51aeb53cf3dc5b0d533d'
+          'a20808f6b250225704856f82a544681a962a299d'
+          '5b0260f92fc1ec4dc09d90a5264683bd3b5eed5e')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/racket-libpng16.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}/src
+  [ "$CARCH" == "x86_64" ] && export CFLAGS+=" -fPIC"
+  ./configure --prefix=/usr --enable-shared
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}/src
+  make DESTDIR="${pkgdir}" install
+
+  install -D -m644 ../collects/icons/plt.xpm "${pkgdir}/usr/share/pixmaps/drracket.xpm"
+  install -D -m644 "${srcdir}/drracket.desktop" "${pkgdir}/usr/share/applications/drracket.desktop"
+}

Deleted: extra-i686/drracket.desktop
===================================================================
--- extra-i686/drracket.desktop	2013-05-18 02:29:32 UTC (rev 185731)
+++ extra-i686/drracket.desktop	2013-05-18 02:31:12 UTC (rev 185732)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=DrRacket
-GenericName=IDE for Racket
-Comment=DrRacket is an interactive, integrated, graphical programming environment for the Racket programming languages.
-Exec=drracket
-Terminal=false
-Type=Application
-Categories=Education;Development;
-Icon=drracket

Copied: racket/repos/extra-i686/drracket.desktop (from rev 185731, racket/trunk/drracket.desktop)
===================================================================
--- extra-i686/drracket.desktop	                        (rev 0)
+++ extra-i686/drracket.desktop	2013-05-18 02:31:12 UTC (rev 185732)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=DrRacket
+GenericName=IDE for Racket
+Comment=DrRacket is an interactive, integrated, graphical programming environment for the Racket programming languages.
+Exec=drracket
+Terminal=false
+Type=Application
+Categories=Education;Development;
+Icon=drracket

Copied: racket/repos/extra-i686/racket-libpng16.patch (from rev 185731, racket/trunk/racket-libpng16.patch)
===================================================================
--- extra-i686/racket-libpng16.patch	                        (rev 0)
+++ extra-i686/racket-libpng16.patch	2013-05-18 02:31:12 UTC (rev 185732)
@@ -0,0 +1,52 @@
+From 5629a6156a5720e51a277849f75b3135cb93664f Mon Sep 17 00:00:00 2001
+From: Matthew Flatt <mflatt at racket-lang.org>
+Date: Wed, 15 May 2013 20:28:05 -0600
+Subject: [PATCH] support libpng16
+
+---
+ collects/racket/draw/unsafe/png.rkt | 21 ++++++++++++++-------
+ 1 file changed, 14 insertions(+), 7 deletions(-)
+
+diff --git a/collects/racket/draw/unsafe/png.rkt b/collects/racket/draw/unsafe/png.rkt
+index 596fcb4..a6b028d 100644
+--- a/collects/racket/draw/unsafe/png.rkt
++++ b/collects/racket/draw/unsafe/png.rkt
+@@ -10,11 +10,15 @@
+   [(unix)
+    ;; Most Linux distros supply "libpng12", while other Unix
+    ;; variants often have just "libpng", etc.
+-   (ffi-lib "libpng15" '("15" "")
+-	    #:fail (lambda ()
+-		     (ffi-lib "libpng12" '("0" "")
+-			      #:fail (lambda ()
+-				       (ffi-lib "libpng")))))]
++   (let loop ([alts '(("libpng16" ("16" ""))
++                      ("libpng15" ("15" ""))
++                      ("libpng12" ("0" ""))
++                      ("libpng"))])
++     (cond
++      [(null? alts) #f]
++      [else (apply ffi-lib (car alts)
++                   #:fail (lambda ()
++                            (loop (cdr alts))))]))]
+   [(macosx) (ffi-lib "libpng15.15.dylib")]
+   [(windows)
+    (ffi-lib "zlib1.dll")
+@@ -29,9 +33,12 @@
+ ;;  assume that other versions are also ok
+ (define PNG_LIBPNG_VER_STRING (string->bytes/latin-1
+                                (let ([v (png_access_version_number)])
+-                                 (format "~s.~s"
++                                 (format "~s.~s~a"
+                                          (quotient v 10000)
+-                                         (quotient (remainder v 10000) 100)))))
++                                         (quotient (remainder v 10000) 100)
++                                         (if (zero? (remainder v 100))
++                                             ""
++                                             (format ".~a" (remainder v 100)))))))
+ 
+ (define _png_structp (_cpointer 'png_structp))
+ (define _png_infop (_cpointer 'png_infop))
+-- 
+1.8.1.6
+

Deleted: extra-i686/racket.install
===================================================================
--- extra-i686/racket.install	2013-05-18 02:29:32 UTC (rev 185731)
+++ extra-i686/racket.install	2013-05-18 02:31:12 UTC (rev 185732)
@@ -1,11 +0,0 @@
-post_install() {
-    update-desktop-database -q
-}
-
-post_upgrade() {
-    post_install
-}
-
-post_remove() {
-    post_install
-}

Copied: racket/repos/extra-i686/racket.install (from rev 185731, racket/trunk/racket.install)
===================================================================
--- extra-i686/racket.install	                        (rev 0)
+++ extra-i686/racket.install	2013-05-18 02:31:12 UTC (rev 185732)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-05-18 02:29:32 UTC (rev 185731)
+++ extra-x86_64/PKGBUILD	2013-05-18 02:31:12 UTC (rev 185732)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=racket
-pkgver=5.3.3
-pkgrel=1
-pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development"
-arch=('i686' 'x86_64')
-url="http://racket-lang.org/"
-license=('LGPL')
-depends=('gtk2' 'desktop-file-utils')
-makedepends=('gsfonts' 'sqlite')
-options=('!libtool' '!strip')
-install=racket.install
-source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz \
-        drracket.desktop)
-sha1sums=('96995fe20b332c4644dd51668851193b16976071'
-          'a20808f6b250225704856f82a544681a962a299d')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}/src"
-  [ "$CARCH" == "x86_64" ] && export CFLAGS+="-fPIC"
-  ./configure --prefix=/usr --enable-shared
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}/src"
-  make DESTDIR="${pkgdir}" install
-
-  install -D -m644 ../collects/icons/plt.xpm "${pkgdir}/usr/share/pixmaps/drracket.xpm"
-  install -D -m644 "${srcdir}/drracket.desktop" "${pkgdir}/usr/share/applications/drracket.desktop"
-}

Copied: racket/repos/extra-x86_64/PKGBUILD (from rev 185731, racket/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-05-18 02:31:12 UTC (rev 185732)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=racket
+pkgver=5.3.4
+pkgrel=1
+pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development"
+arch=('i686' 'x86_64')
+url="http://racket-lang.org/"
+license=('LGPL')
+depends=('gtk2' 'desktop-file-utils')
+makedepends=('gsfonts' 'sqlite')
+options=('!libtool' '!strip')
+install=racket.install
+source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz \
+        drracket.desktop racket-libpng16.patch)
+sha1sums=('7e37738e34c73a25bc7d51aeb53cf3dc5b0d533d'
+          'a20808f6b250225704856f82a544681a962a299d'
+          '5b0260f92fc1ec4dc09d90a5264683bd3b5eed5e')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/racket-libpng16.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}/src
+  [ "$CARCH" == "x86_64" ] && export CFLAGS+=" -fPIC"
+  ./configure --prefix=/usr --enable-shared
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}/src
+  make DESTDIR="${pkgdir}" install
+
+  install -D -m644 ../collects/icons/plt.xpm "${pkgdir}/usr/share/pixmaps/drracket.xpm"
+  install -D -m644 "${srcdir}/drracket.desktop" "${pkgdir}/usr/share/applications/drracket.desktop"
+}

Deleted: extra-x86_64/drracket.desktop
===================================================================
--- extra-x86_64/drracket.desktop	2013-05-18 02:29:32 UTC (rev 185731)
+++ extra-x86_64/drracket.desktop	2013-05-18 02:31:12 UTC (rev 185732)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=DrRacket
-GenericName=IDE for Racket
-Comment=DrRacket is an interactive, integrated, graphical programming environment for the Racket programming languages.
-Exec=drracket
-Terminal=false
-Type=Application
-Categories=Education;Development;
-Icon=drracket

Copied: racket/repos/extra-x86_64/drracket.desktop (from rev 185731, racket/trunk/drracket.desktop)
===================================================================
--- extra-x86_64/drracket.desktop	                        (rev 0)
+++ extra-x86_64/drracket.desktop	2013-05-18 02:31:12 UTC (rev 185732)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=DrRacket
+GenericName=IDE for Racket
+Comment=DrRacket is an interactive, integrated, graphical programming environment for the Racket programming languages.
+Exec=drracket
+Terminal=false
+Type=Application
+Categories=Education;Development;
+Icon=drracket

Copied: racket/repos/extra-x86_64/racket-libpng16.patch (from rev 185731, racket/trunk/racket-libpng16.patch)
===================================================================
--- extra-x86_64/racket-libpng16.patch	                        (rev 0)
+++ extra-x86_64/racket-libpng16.patch	2013-05-18 02:31:12 UTC (rev 185732)
@@ -0,0 +1,52 @@
+From 5629a6156a5720e51a277849f75b3135cb93664f Mon Sep 17 00:00:00 2001
+From: Matthew Flatt <mflatt at racket-lang.org>
+Date: Wed, 15 May 2013 20:28:05 -0600
+Subject: [PATCH] support libpng16
+
+---
+ collects/racket/draw/unsafe/png.rkt | 21 ++++++++++++++-------
+ 1 file changed, 14 insertions(+), 7 deletions(-)
+
+diff --git a/collects/racket/draw/unsafe/png.rkt b/collects/racket/draw/unsafe/png.rkt
+index 596fcb4..a6b028d 100644
+--- a/collects/racket/draw/unsafe/png.rkt
++++ b/collects/racket/draw/unsafe/png.rkt
+@@ -10,11 +10,15 @@
+   [(unix)
+    ;; Most Linux distros supply "libpng12", while other Unix
+    ;; variants often have just "libpng", etc.
+-   (ffi-lib "libpng15" '("15" "")
+-	    #:fail (lambda ()
+-		     (ffi-lib "libpng12" '("0" "")
+-			      #:fail (lambda ()
+-				       (ffi-lib "libpng")))))]
++   (let loop ([alts '(("libpng16" ("16" ""))
++                      ("libpng15" ("15" ""))
++                      ("libpng12" ("0" ""))
++                      ("libpng"))])
++     (cond
++      [(null? alts) #f]
++      [else (apply ffi-lib (car alts)
++                   #:fail (lambda ()
++                            (loop (cdr alts))))]))]
+   [(macosx) (ffi-lib "libpng15.15.dylib")]
+   [(windows)
+    (ffi-lib "zlib1.dll")
+@@ -29,9 +33,12 @@
+ ;;  assume that other versions are also ok
+ (define PNG_LIBPNG_VER_STRING (string->bytes/latin-1
+                                (let ([v (png_access_version_number)])
+-                                 (format "~s.~s"
++                                 (format "~s.~s~a"
+                                          (quotient v 10000)
+-                                         (quotient (remainder v 10000) 100)))))
++                                         (quotient (remainder v 10000) 100)
++                                         (if (zero? (remainder v 100))
++                                             ""
++                                             (format ".~a" (remainder v 100)))))))
+ 
+ (define _png_structp (_cpointer 'png_structp))
+ (define _png_infop (_cpointer 'png_infop))
+-- 
+1.8.1.6
+

Deleted: extra-x86_64/racket.install
===================================================================
--- extra-x86_64/racket.install	2013-05-18 02:29:32 UTC (rev 185731)
+++ extra-x86_64/racket.install	2013-05-18 02:31:12 UTC (rev 185732)
@@ -1,11 +0,0 @@
-post_install() {
-    update-desktop-database -q
-}
-
-post_upgrade() {
-    post_install
-}
-
-post_remove() {
-    post_install
-}

Copied: racket/repos/extra-x86_64/racket.install (from rev 185731, racket/trunk/racket.install)
===================================================================
--- extra-x86_64/racket.install	                        (rev 0)
+++ extra-x86_64/racket.install	2013-05-18 02:31:12 UTC (rev 185732)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list