Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PKGBUILD files
06-27-2012, 02:49 AM
Post: #281
RE: PKGBUILD files
Hmmm, I will wait for E17 Smile.
Oh!, also I have a problem, the system sometimes detects and sometimes dont detect the USB Flash Drives.
I already configured the driver but I have this problem.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-27-2012, 08:16 PM (This post was last modified: 06-27-2012 09:48 PM by nl2stk.)
Post: #282
RE: PKGBUILD files
(06-27-2012 02:49 AM)CharlieBros Wrote:  Hmmm, I will wait for E17 Smile.

If I take a look at it, it has to wait a bit (I don't know if someone else can build it).
There are several things on my todo list :]
At first the JWM 'gnomish' without the extra icons etc.
And a while a go I found a distro called Austrumi (slackware based with FvwM as Window Manager) and I like that desktop.
The PKGBUILD from FvwM shouldn't be a problem (found at Arch Linux) and the theme from Austrumi can be copied and edit to suite with Delicate :]

EDIT: This is what Austrumi looks like and I hope that I can 'convert' it to Delicate :]

[Image: f69acf198833211.jpg]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
06-28-2012, 09:30 PM
Post: #283
RE: PKGBUILD files
Is beautiful!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-30-2012, 09:05 PM
Post: #284
RE: PKGBUILD files
yup ... very nice :]
Visit this user's website Find all posts by this user
Quote this message in a reply
07-01-2012, 08:42 AM
Post: #285
RE: PKGBUILD files
I've tried to build it, but lot's of problems Sad
Something with fribidi Confused
It's a pity, because I think Autrumi did a good job making FvwM that pretty (I only knew the ugly ones, from a long time ago). It goes that far, that I replaced Mint (LXDE) from a machine by Austrumi.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
07-01-2012, 08:31 PM
Post: #286
RE: PKGBUILD files
(07-01-2012 08:42 AM)nl2stk Wrote:  I've tried to build it, but lot's of problems Sad

Share the buildlog, please ...
Visit this user's website Find all posts by this user
Quote this message in a reply
07-09-2012, 04:07 AM (This post was last modified: 07-09-2012 04:52 AM by snacsnoc.)
Post: #287
RE: PKGBUILD files
Here's docbook-xml and docbook-xsl. They're both required by asciidoc when I try to compile Git.

Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Maintainer: baudolino <baudolino@linexa.de>

pkgname=docbook-xml
pkgver=4.5
pkgrel=1
pkgdesc="A widely used XML scheme for writing documentation and help"
url="http://scrollkeeper.sourceforge.net/docbook.shtml"
license=('MIT')
depends=('libxml2')
groups=('extra-doc')
install=docbook-xml.install
source=(http://www.docbook.org/xml/4.1.2/docbkx412.zip \
http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip \
http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip \
http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip \
http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip \
LICENSE)
noextract=('docbook-xml-4.5.zip' 'docbook-xml-4.4.zip' 'docbook-xml-4.3.zip' 'docbook-xml-4.2.zip' 'docbkx412.zip')
md5sums=(
'900d7609fb7e6d78901b357e4acfbc17'  #   docbkx412.zip
'73fe50dfe74ca631c1602f558ed8961f'  #   docbook-xml-4.2.zip
'ab200202b9e136a144db1e0864c45074'  #   docbook-xml-4.3.zip
'cbb04e9a700955d88c50962ef22c1634'  #   docbook-xml-4.4.zip
'03083e288e87a7e829e437358da7ef9e'  #   docbook-xml-4.5.zip
'50e1eea70bc071b812e963e65af6707e'  #   LICENSE
)

build() {
  for ver in 4.2 4.3 4.4 4.5; do
    mkdir docbook-xml-${ver}
    pushd docbook-xml-${ver}
    unzip ${startdir}/src/docbook-xml-${ver}.zip
    mkdir -p ${startdir}/pkg/usr/share/xml/docbook/xml-dtd-${ver}
    cp -af docbook.cat *.dtd ent/ *.mod \
              ${startdir}/pkg/usr/share/xml/docbook/xml-dtd-${ver}/
    popd
  done
  mkdir docbook-xml-4.1.2
  pushd docbook-xml-4.1.2
  unzip ${startdir}/src/docbkx412.zip
  mkdir -p ${startdir}/pkg/usr/share/xml/docbook/xml-dtd-4.1.2
  cp -af docbook.cat *.dtd ent/ *.mod \
            ${startdir}/pkg/usr/share/xml/docbook/xml-dtd-4.1.2/
  popd

  mkdir -p ${startdir}/pkg/etc/xml
  xmlcatalog --noout --create ${startdir}/pkg/etc/xml/docbook-xml

  # V4.1.2
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML V4.1.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/soextblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteSystem" \
    "http://www.oasis-open.org/docbook/xml/4.1.2" \
    "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteURI" \
    "http://www.oasis-open.org/docbook/xml/4.1.2" \
    "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \
    ${startdir}/pkg/etc/xml/docbook-xml

  # V4.2
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML V4.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.2/calstblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
    "http://www.oasis-open.org/docbook/xml/4.2/soextblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.2/dbgenent.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Notations V4.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.2/dbnotnx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" \
    "http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteSystem" \
    "http://www.oasis-open.org/docbook/xml/4.2" \
    "file:///usr/share/xml/docbook/xml-dtd-4.2" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteURI" \
    "http://www.oasis-open.org/docbook/xml/4.2" \
    "file:///usr/share/xml/docbook/xml-dtd-4.2" \
    ${startdir}/pkg/etc/xml/docbook-xml

  # V4.3
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML V4.3//EN" \
    "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" \
    "http://www.oasis-open.org/docbook/xml/4.3/calstblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
    "http://www.oasis-open.org/docbook/xml/4.3/soextblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" \
    "http://www.oasis-open.org/docbook/xml/4.3/dbpoolx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" \
    "http://www.oasis-open.org/docbook/xml/4.3/dbhierx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" \
    "http://www.oasis-open.org/docbook/xml/4.3/dbgenent.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Notations V4.3//EN" \
    "http://www.oasis-open.org/docbook/xml/4.3/dbnotnx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" \
    "http://www.oasis-open.org/docbook/xml/4.3/dbcentx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteSystem" \
    "http://www.oasis-open.org/docbook/xml/4.3" \
    "file:///usr/share/xml/docbook/xml-dtd-4.3" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteURI" \
    "http://www.oasis-open.org/docbook/xml/4.3" \
    "file:///usr/share/xml/docbook/xml-dtd-4.3" \
    ${startdir}/pkg/etc/xml/docbook-xml

  # V4.4
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/calstblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/htmltblx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/soextblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/dbpoolx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Notations V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/dbnotnx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteSystem" \
    "http://www.oasis-open.org/docbook/xml/4.4" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteURI" \
    "http://www.oasis-open.org/docbook/xml/4.4" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
    ${startdir}/pkg/etc/xml/docbook-xml

  # V4.5
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML V4.5//EN" \
    "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteSystem" \
    "http://www.oasis-open.org/docbook/xml/4.5" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5" \
    ${startdir}/pkg/etc/xml/docbook-xml
  xmlcatalog --noout --add "rewriteURI" \
    "http://www.oasis-open.org/docbook/xml/4.5" \
    "file:///usr/share/xml/docbook/xml-dtd-4.5" \
    ${startdir}/pkg/etc/xml/docbook-xml
    
# install license file
  install -v -D -m644 $startdir/src/LICENSE $startdir/pkg/usr/share/doc/$pkgname-$pkgver/LICENSE
}
The rest of the files (LICENSE, docbook.patch and docbook-xml.install) can be found here: http://www.linexa.de/browser/trunk/i686/...l?rev=3304

And docbook-xsl:
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Contributor: baudolino <baudolino@linexa.de>

pkgname=docbook-xsl
pkgver=1.75.2
pkgrel=1
pkgdesc="XML stylesheets for Docbook-xml transformations."
license=('custom')
url="http://scrollkeeper.sourceforge.net/docbook.shtml"
depends=('libxml2' 'libxslt' 'docbook-xml')
source=(http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-${pkgver}.tar.bz2)
install=docbook-xsl.install
md5sums=(
'0c76a58a8e6cb5ab49f819e79917308f'  #   docbook-xsl-1.74.0.tar.bz2
)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  
  mkdir -p ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/common
  install -m644 common/*.{xml,xsl,dtd,ent} ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/common/

  mkdir -p ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/params
  install -m644 params/*.xml ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/params/

  for fn in fo highlighting html roundtrip; do
    mkdir -p ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/${fn}
    install -m644 ${fn}/*.{xml,xsl} ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/${fn}/
  done
  
  for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml; do
    mkdir -p ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/${fn}
    install -m644 ${fn}/*.xsl ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/${fn}/
  done
  
  mkdir -p ${startdir}/pkg/etc/xml
  install -m644 VERSION ${startdir}/pkg/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/

  install -m644 -D COPYING ${startdir}/pkg/usr/share/doc/${pkgname}-$pkgver/LICENSE
}
And docbook-xsl.install can be found here: http://www.linexa.de/browser/trunk/i686/...l?rev=3304
asciidoc
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Contributor: Chakra GNU/Linux  http://chakra-project.org

pkgname=asciidoc
pkgver=8.6.6
pkgrel=1
pkgdesc='Text document format for short documents, articles, books and UNIX man pages.'
url='http://www.methods.co.nz/asciidoc/'
license=('GPL')
depends=('python' 'libxslt' 'docbook-xsl')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('44b872d9c300ffa5a8fe8b3c4d10957c')

build() {
  cd ${pkgname}-${pkgver}

  # python2 fix
  for file in asciidocapi.py a2x.py asciidoc.py filters/music/music2png.py filters/latex/latex2png.py \
      filters/code/code-filter.py filters/graphviz/graphviz2png.py; do
    sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
  done
  sed -i -e 's_sys:python_sys:python2_g' -e 's_sys3:python_sys3:python2_g' xhtml11.conf
  sed -i 's_sys:python_sys:python2_g' xhtml11-quirks.conf

  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc


  make install DESTDIR=${pkgdir}

  install -Dm644 asciidocapi.py \
    ${pkgdir}/usr/lib/python2.7/site-packages/asciidocapi.py

  install -Dm644 vim/syntax/asciidoc.vim \
    ${pkgdir}/usr/share/vim/vimfiles/syntax/asciidoc.vim

  install -Dm644 vim/ftdetect/asciidoc_filetype.vim \
    ${pkgdir}/usr/share/vim/vimfiles/ftdetect/asciidoc.vim

  # fix FS#21579 - [asciidoc] 8.6.2-2 "asciidoc" table style doesn't work (mismatched python version)
  sed -i 's/python/python2/' \
    ${pkgdir}/etc/asciidoc/asciidoc.conf
}

xmlto
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Contributor: baudolino <baudolino@linexa.de>

pkgname=xmlto
pkgver=0.0.22
pkgrel=1
pkgdesc="Convert xml to many other formats"
url="http://cyberelk.net/tim/software/xmlto/"
license=('GPL')
depends=('libxslt')
source=(https://fedorahosted.org/releases/x/m/xmlto/xmlto-${pkgver}.tar.bz2)
md5sums=('12f297dc7051e4fef08339980f88a1dd')
build() {
  cd $srcdir/${pkgname}-${pkgver}
  
  ./configure --prefix=/usr || return 1
  
  make || return 1
  make DESTDIR=$pkgdir install || return 1
}
Find all posts by this user
Quote this message in a reply
07-09-2012, 11:23 AM (This post was last modified: 07-09-2012 12:34 PM by snacsnoc.)
Post: #288
RE: PKGBUILD files
Here's Git. This took a while to figure out since uClibc doesn't support nano seconds (or something). I went with 1.7.4.5 since it's a year old and may have compiled easier than a more recent version. 1.7.11.1 compiled fine, so here it is:

Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Contributor:  Christoph Vigano <mail at cvigano dot de>
# Contributor: Marcin Karpezo <sirmacik at gmail dot com>
# Contributor: Michael Rosset <mrosset@uarch.org>
# Based on [extra]'s git

pkgname=git
pkgver=1.7.11.1
pkgrel=1
pkgdesc="A distributed version control system"
url="http://git-scm.com/"
license=('GPL2')
depends=('curl' 'expat>=2.0' 'perl' 'openssl' 'libpcre' 'asciidoc' 'xmlto')
makedepends=('python')

source=(http://git-core.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)

md5sums=('2c5d85ec5b6e08986d942461debc9d6b')


build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr

  make prefix=/usr    DESTDIR=${pkgdir}  \
    NEEDS_LIBICONV="No" \
    USE_ST_TIMESPEC="YesPlease" NO_NSEC=Yes


  make prefix=/usr   \
    NEEDS_LIBICONV="No" \
    USE_ST_TIMESPEC="YesPlease" NO_NSEC=Yes DESTDIR=${pkgdir} install

}

Nginx 1.2.2 (latest stable)
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>

pkgname=nginx
pkgver=1.2.2
pkgrel=1
pkgdesc="A high-performance HTTP server, reverse proxy and IMAP/POP3 proxy server"
url="http://nginx.org/"
license=(custom)
depends=(zlib openssl)
source=(http://nginx.org/download/$pkgname-$pkgver.tar.gz \
   LICENSE \
   nginx.rc)


build(){
cd "$srcdir/$pkgname-$pkgver"
   ./configure \
     --prefix=/usr \
     --conf-path=/etc/nginx/nginx.conf \
     --sbin-path=/usr/sbin/nginx \
     --with-mail  --with-http_ssl_module \
     --with-http_gzip_static_module \
     --group=www \
     --with-ipv6

     make
     make DESTDIR=$pkgdir install


     install -D -m755 $srcdir/nginx.rc $pkgdir/etc/rc.d/nginx
     install -D LICENSE $pkgdir/usr/share/licenses/nginx/LICENSE
}
nginx.rc:
Code:
#!/bin/sh
# http://wiki.nginx.org/Standalone_daemon

NGINX_BASE_DIR="/usr"
NGINX_DAEMON="${NGINX_BASE_DIR}/sbin/nginx"
NGINX_CONF="/etc/nginx/nginx.conf"

__launch_signal( ) {

   ${NGINX_DAEMON} -s ${1} &>/dev/null
}

__checkconfig( ) {

   ${NGINX_DAEMON} -c ${NGINX_CONF} -t &>/dev/null
}

__start( ) {

   [ -r ${NGINX_CONF} ] || exit 1

   __checkconfig && ${NGINX_DAEMON} -c ${NGINX_CONF} &>/dev/null || return ${?}
}

__stop( ) {

   __launch_signal stop
}

__reload( ) {

   __checkconfig && __launch_signar reload || return ${?}  
}

__restart( ) {

   __stop && __start
}

__show_usage( ) {

   echo "Usage: ${0} {start|stop|restart|reload}"
   exit 3
}

##
# :: main ::
case "${1}" in
   start|stop|restart|reload)
     [ -x ${NGINX_DAEMON} ] || exit 2
     __${1}
     ;;
   *)
     __show_usage
     ;;
esac
And the LICENSE file can be found here: http://nginx.org/LICENSE
Find all posts by this user
Quote this message in a reply
07-09-2012, 03:39 PM
Post: #289
RE: PKGBUILD files
[quote='snacsnoc' pid='1767' dateline='1341803263']
docbook-xml
docbook-xsl

OK ... just one cosmetic detail ... former maintainers need to be specified in the "Thanks to" section

asciidoc
xmlto
git

--host and --build parameters needs to be explicitly specified when running the configure script. Try the following values:
1.) --host=$CHOST --build=$CHOST
2.) --host=i386-pc-linux-gnu --build=--host=i386-pc-linux-gnu

Note : 1.) is preferred if it works .... use 2.) only when 1.) is unsupported by the project
Visit this user's website Find all posts by this user
Quote this message in a reply
07-09-2012, 08:06 PM (This post was last modified: 07-09-2012 08:34 PM by snacsnoc.)
Post: #290
RE: PKGBUILD files
(07-09-2012 03:39 PM)tavvva Wrote:  
(07-09-2012 04:07 AM)snacsnoc Wrote:  docbook-xml
docbook-xsl
OK ... just one cosmetic detail ... former maintainers need to be specified in the "Thanks to" section

asciidoc
xmlto
git

--host and --build parameters needs to be explicitly specified when running the configure script. Try the following values:
1.) --host=$CHOST --build=$CHOST
2.) --host=i386-pc-linux-gnu --build=--host=i386-pc-linux-gnu

Note : 1.) is preferred if it works .... use 2.) only when 1.) is unsupported by the project
That's a not a problem. I read in the Arch Linux wiki that when taking over a project, previous maintainers move to contributors. Also, I think you made an error. In the PKGBUILDs on the mirror (http://delicate-linux.net/0.1/src/docboo...1/PKGBUILD for example) you attribute it to snacsnoc, when I am Easton Elliott Wink

My /etc/makepkg.conf is already set up for i386-linux-uclibc by default, so it should export the CHOST, CARCH and CFLAGS appropriately.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication