diff options
-rw-r--r-- | pcr/htmldoc/Changelog | 50 | ||||
-rw-r--r-- | pcr/htmldoc/PKGBUILD | 78 | ||||
-rw-r--r-- | pcr/htmldoc/errno.patch | 11 | ||||
-rw-r--r-- | pcr/htmldoc/htmldoc.install | 13 |
4 files changed, 0 insertions, 152 deletions
diff --git a/pcr/htmldoc/Changelog b/pcr/htmldoc/Changelog deleted file mode 100644 index 7e2a21b87..000000000 --- a/pcr/htmldoc/Changelog +++ /dev/null @@ -1,50 +0,0 @@ -2014-08-09 James An <james@jamesan.ca> - - * 1.8.28-1 : - new maintainer. - updated PKGBUILD to new upstream version. - added patch to fix missing include directive for errno.h. - fixed code to use pkg-config instead of obsolete GnuTLS API. - refactored Changelog against its prototype, /usr/share/pacman/ChangeLog.proto. - -2013-09-17 Mariusz Libera <mariusz.libera@gmail.com> - - * 1.8.27-4 : - remove htmldoc.ps - it saves us a LOT of space (~150M). - -2013-08-27 Mariusz Libera <mariusz.libera@gmail.com> - - * 1.8.27-3 : - merged htmldoc and htmldoc-patched. - surrounded paths with variables with quotation marks. - -2013-06-17 Mariusz Libera <mariusz.libera@gmail.com> - - * 1.8.27-2 : - new maintainer. - updated PKGBUILD. - included patches from Debian and one from Fedora. - added documentation. - added mime file. - fixed dependencies. - changed the way icons are installed. - added .install file updateing mime,desktop,icons. - added Changelog. - - -2007-12-01 Your Name <youremail@domain.com> - - * pkgver-pkgrel : - new upstream release. - Reason we changed stuff. - Another reason we changed stuff. - - * gcc-4.1.patch : - Removed, no longer needed. - -2007-11-01 Your Name <youremail@domain.com> - - * 1.0-5 : - added ChangeLog. - the last line should end with just one newline. - you can cat the file to check it displays fine. diff --git a/pcr/htmldoc/PKGBUILD b/pcr/htmldoc/PKGBUILD deleted file mode 100644 index ef001b9d2..000000000 --- a/pcr/htmldoc/PKGBUILD +++ /dev/null @@ -1,78 +0,0 @@ -# Maintainer (Arch): James An <james@jamesan.ca> -# Contributor (Arch): Mariusz Libera <mariusz.libera@gmail.com> -# Contributor (Arch): mortdeus <mortdeus@gocos2d.org> -# Contributor (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor (Arch): tobias <tobias@archlinux.org> -# Contributor (Arch): Simon Rutishauser <simon.rutishauser@gmx.ch> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgname=htmldoc -pkgver=1.8.28 -pkgrel=1 -pkgdesc="Produce PDF or Postscript from HTML documents including TOCs and Indices" -arch=('i686' 'x86_64') -url="http://www.htmldoc.org" -license=('GPL2') -depends=('libxpm' 'fltk' 'libjpeg' 'openssl' 'shared-mime-info') -conflicts=('htmldoc-svn') -changelog=Changelog -install=$pkgname.install -source=( - "http://www.msweet.org/files/project1/htmldoc-${pkgver}-source.tar.gz" - 'errno.patch' -) -md5sums=('1c2f379e4535734ececd59d6629b4d2d' - '2f48488fd485f2583e02b519d6cef553') - -prepare() { - cd "$pkgname-$pkgver" - - # replace obsolete libgnutls-config with pkg-config - grep -rIl 'libgnutls-config --libs' | while read file ; do sed -i 's/libgnutls-config --libs/pkg-config --libs gnutls/' $file ; done - - # apply patches - for patch in ../*.patch ; do - patch -Np1 -i $patch - done - - # fix desktop file - echo "MimeType=application/vnd.htmldoc-book;" >> desktop/htmldoc.desktop - sed -i 's/X-Red-Hat.*$//' desktop/htmldoc.desktop - sed -i 's/htmldoc.png/htmldoc/' desktop/htmldoc.desktop -} - -build() { - cd "$pkgname-$pkgver" - - ./configure \ - prefix="$pkgdir/usr" \ - - make -} - -package() { - cd "$pkgname-$pkgver" - - make install - - # documentation - install -d "$pkgdir/usr/share/doc/htmldoc" - for f in CHANGES.txt README.txt; do - install -Dm644 $f \ - "$pkgdir/usr/share/doc/htmldoc/$f" - done - - # desktop file - install -Dm644 desktop/htmldoc.desktop \ - "$pkgdir/usr/share/applications/htmldoc.desktop" - - # icons - for s in 16 24 32 48 64 96 128; do - install -Dm644 desktop/htmldoc-${s}.png \ - "$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/htmldoc.png" - done - - # mime - install -Dm644 desktop/htmldoc.xml \ - "$pkgdir/usr/share/mime/packages/htmldoc.xml" -} diff --git a/pcr/htmldoc/errno.patch b/pcr/htmldoc/errno.patch deleted file mode 100644 index f0595481d..000000000 --- a/pcr/htmldoc/errno.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nu htmldoc-1.8.28/htmldoc/http-addrlist.c htmldoc-1.8.28_fixed/htmldoc/http-addrlist.c ---- htmldoc-1.8.28/htmldoc/http-addrlist.c 2011-12-30 02:41:10.000000000 -0500 -+++ htmldoc-1.8.28_fixed/htmldoc/http-addrlist.c 2014-02-27 18:08:04.000000000 -0500 -@@ -28,6 +28,7 @@ - # include <resolv.h> - #endif /* HAVE_RESOLV_H */ - -+#include <errno.h> - - /* - * 'httpAddrConnect()' - Connect to any of the addresses in the list. diff --git a/pcr/htmldoc/htmldoc.install b/pcr/htmldoc/htmldoc.install deleted file mode 100644 index f1b73efac..000000000 --- a/pcr/htmldoc/htmldoc.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - update-desktop-database -q - update-mime-database /usr/share/mime &> /dev/null - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |