diff options
Diffstat (limited to 'emacs-gtk2')
-rw-r--r-- | emacs-gtk2/PKGBUILD | 47 | ||||
-rw-r--r-- | emacs-gtk2/emacs-24.3-giflib5.patch | 26 | ||||
-rw-r--r-- | emacs-gtk2/emacs-gtk2.install | 33 | ||||
l--------- | emacs-gtk2/upload | 1 | ||||
-rwxr-xr-x | emacs-gtk2/watch | 30 |
5 files changed, 0 insertions, 137 deletions
diff --git a/emacs-gtk2/PKGBUILD b/emacs-gtk2/PKGBUILD deleted file mode 100644 index ddd8427..0000000 --- a/emacs-gtk2/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> -# Official Arch Linux package repository [gtk3 version] maintainer: Juergen Hoetzel <juergen@archlinux.org> -# Official Arch Linux package repository [gtk3 version] contributor: Renchi Raju <renchi@green.tam.uiuc.edu> - -_pkgname=emacs -pkgname=$_pkgname-gtk2 -pkgver=24.5 -pkgrel=1 -pkgdesc="The extensible, customizable, self-documenting real-time display editor. GTK2 version" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/emacs/emacs.html" -license=('GPL3') -depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'gtk2' 'hicolor-icon-theme' 'desktop-file-utils' 'alsa-lib' 'imagemagick>=6.8.4.7') -install=emacs-gtk2.install -source=(ftp://ftp.gnu.org/gnu/emacs/$_pkgname-$pkgver.tar.xz) -sha256sums=(dd47d71dd2a526cf6b47cb49af793ec2e26af69a0951cc40e43ae290eacfc34e) -provides=('emacs') -conflicts=('emacs') - -build() { - cd "$srcdir"/emacs-$pkgver - export ac_cv_lib_gif_EGifPutExtensionLast=yes - ./configure --without-gif \ - --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ - --localstatedir=/var --with-x-toolkit=gtk2 --with-xft \ - --without-gconf - make -} - -package() { - cd "$srcdir"/$_pkgname-$pkgver - make DESTDIR="$pkgdir" install - - # fix file conflicts - mv "$pkgdir"/usr/bin/{ctags,ctags.emacs} || true - mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1} || true - rm "$pkgdir"/usr/share/info/info.info.gz || true - - # fix user/root permissions on usr/share files - find "$pkgdir"/usr/share/emacs/$pkgver -exec chown root:root {} \; - - # fix perms on /var/games - chmod 775 "$pkgdir"/var/games - chmod 775 "$pkgdir"/var/games/emacs - chmod 664 "$pkgdir"/var/games/emacs/* - chown -R root:games "$pkgdir"/var/games -} diff --git a/emacs-gtk2/emacs-24.3-giflib5.patch b/emacs-gtk2/emacs-24.3-giflib5.patch deleted file mode 100644 index b8571ab..0000000 --- a/emacs-gtk2/emacs-24.3-giflib5.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- src/image.c -+++ src/image.c 2013-05-21 15:49:41.945819346 +0000 -@@ -7192,7 +7192,11 @@ gif_load (struct frame *f, struct image - } - - /* Open the GIF file. */ -+#if GIFLIB_MAJOR < 5 - gif = fn_DGifOpenFileName (SSDATA (file)); -+#else -+ gif = fn_DGifOpenFileName (SSDATA (file), NULL); -+#endif - if (gif == NULL) - { - image_error ("Cannot open `%s'", file, Qnil); -@@ -7213,7 +7217,11 @@ gif_load (struct frame *f, struct image - memsrc.len = SBYTES (specified_data); - memsrc.index = 0; - -+#if GIFLIB_MAJOR < 5 - gif = fn_DGifOpen (&memsrc, gif_read_from_memory); -+#else -+ gif = fn_DGifOpen (&memsrc, gif_read_from_memory, NULL); -+#endif - if (!gif) - { - image_error ("Cannot open memory source `%s'", img->spec, Qnil); diff --git a/emacs-gtk2/emacs-gtk2.install b/emacs-gtk2/emacs-gtk2.install deleted file mode 100644 index 2ef379e..0000000 --- a/emacs-gtk2/emacs-gtk2.install +++ /dev/null @@ -1,33 +0,0 @@ -ICON_PATH=usr/share/icons/hicolor -INFO_DIR=usr/share/info - -INFO_FILES=(ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse -ede ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime epa erc ert eshell eudc flymake -forms gnus htmlfontify idlwave mairix-el message mh-e newsticker nxml-mode -org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail -speedbar srecode tramp url vip viper widget wisent woman) - - -post_install() { - gtk-update-icon-cache -q -t -f ${ICON_PATH} - update-desktop-database -q - - [[ -x usr/bin/install-info ]] || return 0 - for f in ${INFO_FILES[@]}; do - install-info ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - gtk-update-icon-cache -q -t -f ${ICON_PATH} - update-desktop-database -q - - [[ -x usr/bin/install-info ]] || return 0 - for f in ${INFO_FILES[@]}; do - install-info --delete ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null - done -} diff --git a/emacs-gtk2/upload b/emacs-gtk2/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/emacs-gtk2/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/emacs-gtk2/watch b/emacs-gtk2/watch deleted file mode 100755 index fe196c5..0000000 --- a/emacs-gtk2/watch +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -[ -f 'PKGBUILD?h=packages%2Femacs' ] && rm 'PKGBUILD?h=packages%2Femacs' -[ -f 'emacs.install?h=packages%2Femacs' ] && rm 'emacs.install?h=packages%2Femacs' - -wget 'https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/emacs' >/dev/null 2>/dev/null -wget 'https://projects.archlinux.org/svntogit/packages.git/plain/trunk/emacs.install?h=packages/emacs' >/dev/null 2>/dev/null - -mv 'PKGBUILD?h=packages%2Femacs' PKGBUILD.upstream.new -mv 'emacs.install?h=packages%2Femacs' emacs.install.upstream.new - -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - grep ^pkg < PKGBUILD.upstream.new | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - diff PKGBUILD.upstream.{old,new} > PKGBUILD.upstream.diff - diff emacs.install.upstream.{old,new} > emacs.install.upstream.diff - mv PKGBUILD.upstream.{new,old} - mv emacs.install.upstream.{new,old} - echo 'emacs-gtk2' - fi -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'emacs-gtk2 (unfetchable)' -fi - |