Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PKGBUILD files
03-09-2012, 02:45 PM (This post was last modified: 03-09-2012 02:45 PM by tavvva.)
Post: #191
RE: PKGBUILD files
(03-09-2012 12:48 PM)Compact Wrote:  
(03-09-2012 12:26 PM)tavvva Wrote:  We could do something like meta-package, but I'm not aware of any missing things .... maybe binutils, gcc, srcget, make, patch, libtool/autotools ... ?

Whoo. Thats a good question. Hoped you knew that better than me ? But perhaps
it's also good to include the following as far as not already installed with a fresh install ?
- fakeroot
- bison
- flex
- cmake
- automake
- autoconf
- wget
- patchutils
- sed
- tar
But I'm still not sure anything is missing then ?


All packages should have these in the makedepends list .... I know they're often missing. I never needed to remember them because if the build fails I can easily figure out what's missing and install it. But I can imagine it could be a problem for newcomers. Let's create something like delicate-packager package and put all of the above in the list of dependencies, whilst the package would be dummy.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-09-2012, 07:32 PM (This post was last modified: 03-09-2012 07:42 PM by tavvva.)
Post: #192
RE: PKGBUILD files
(03-09-2012 03:08 PM)Compact Wrote:  I hope, you too, think its usefull. And that it will invite newcomers more easily to start compiling.

We have currently "ONLY" several thousands of unique downloaders and just a part of them probably really continues using DeLi(cate). And if you multiply it by average percentage of users willing to contribute, then we're already over the limit right now Big Grin It's probably caused by insufficient advertisement. But first I'd like to have at least the 0.1 final release done. You know ... It's maybe better to make the basic stuff working better before we offer that to people. They may get easily discouraged and then never ever try it again.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-12-2012, 07:07 PM
Post: #193
RE: PKGBUILD files
(12-31-2011 01:31 PM)nl2stk Wrote:  A clipboard manager, no 'beautycontest-winner', but it works.

seems ok .... I just found GPL icons and added them + desktop files.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-12-2012, 07:09 PM
Post: #194
RE: PKGBUILD files
Guys, please ... try to find some time and add all your packages in the Packages (Applications) section of the forum ... of course only the missing ones ...
Visit this user's website Find all posts by this user
Quote this message in a reply
03-13-2012, 12:03 AM
Post: #195
RE: PKGBUILD files
(03-12-2012 07:09 PM)tavvva Wrote:  Guys, please ... try to find some time and add all your packages in the Packages (Applications) section of the forum ... of course only the missing ones ...

I believe that I've done 'my' job Smile

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
03-13-2012, 06:01 PM
Post: #196
RE: PKGBUILD files
Streamtuner
---> Needs taglib library (it's the first PKGBUILD + patchfile)
---> A musicplayer (XMMS will do)
Note: I don't know why but the helpfile seems to be missing but it's very easy to work with.

taglib - pkgbuild

Code:
# Maintainer: theo - nl2stk
# Thanks to: Andrea Scarpino

pkgname=taglib
pkgver=1.7
pkgrel=1
pkgdesc="A Library for reading and editing the meta-data of several popular audio formats"
url="http://developer.kde.org/~wheeler/taglib.html"
license=('GPL2')
depends=('bash' 'zlib' 'gcc')
makedepends=('cmake' 'pkgconfig')
source=("http://developer.kde.org/~wheeler/files/src/$pkgname-$pkgver.tar.gz"
        'ape-idev2.patch')
options=('!libtool')
md5sums=('6a7e312668f153fa905a81714aebc257' 'c7c165d99acf01456351ba39ff7056cb')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  patch -p1 -i "${srcdir}"/ape-idev2.patch

  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DWITH_MP4=ON \
    -DWITH_ASF=ON
  sed -i "s/CC=gcc/CC=gcc -march=i386/g" Makefile
  make || return 1
  make DESTDIR="${pkgdir}" install
# Remove the libtool stuff
find ${pkgdir} -depth | grep "\.la" | while read libtool_file ;do
rm -f $libtool_file
done
}

---patchfile: ape-idev2.patch

Code:
diff -Nur taglib-1.7.orig/taglib/ape/apeproperties.cpp taglib-1.7/taglib/ape/apeproperties.cpp
--- taglib-1.7.orig/taglib/ape/apeproperties.cpp    2011-03-12 00:15:38.000000000 +1100
+++ taglib-1.7/taglib/ape/apeproperties.cpp    2011-07-29 21:19:45.984345060 +1000
@@ -137,7 +137,7 @@
   long ID3v2OriginalSize = 0;
   bool hasID3v2 = false;
   if(ID3v2Location >= 0) {
-    ID3v2::Tag tag(d->file, ID3v2Location, 0);
+    ID3v2::Tag tag(d->file, ID3v2Location);
     ID3v2OriginalSize = tag.header()->completeTagSize();
     if(tag.header()->tagSize() > 0)
       hasID3v2 = true;

----------------------------------------------------------

Streamtuner.

There are a lot of patches and diff files.
I've included them into the tar file with the xpm files.
Otherwise (if it isn't already) a very messy message

Code:
# Maintainer: theo - nl2stk
# Thanks to: Andreas Radke

pkgname=streamtuner
pkgver=0.99.99
pkgrel=1
pkgdesc="A stream directory browser"
url="http://www.nongnu.org/streamtuner/"
license=('custom')
depends=('taglib' 'libxml2' 'gtk2' 'curl' 'pygtk')
source=(http://savannah.nongnu.org/download/streamtuner/$pkgname-$pkgver.tar.gz \
        http://savannah.nongnu.org/download/streamtuner/streamtuner-0.99.99-live365.diff \
        http://savannah.nongnu.org/download/streamtuner/streamtuner-0.99.99-pygtk-2.6.diff
    streamtuner-0.99.99-shoutcast.diff
    shoutcast-redesign-patch.diff
        ${pkgname}_16x16.xpm
        ${pkgname}_32x32.xpm)
options=('!libtool' '!emptydirs')
md5sums=('2027b7c34e85b594524b0b4351c14362' '8aa1994a849b05d2b8fffbda702b8a25'\
         '7aff45a41c60358cb2332c7ce644f661' 'd695e276ad30573ac9ff520216bdf869'\
         'd2defc49df5ad2a173adb512e643f2e1' 'b19890274f75fb62163a2216e786a596'\
         'e989737866349f7f70e0cc2356fac9ff')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -p0 -i ${srcdir}/streamtuner-0.99.99-live365.diff
  patch -p0 -i ${srcdir}/streamtuner-0.99.99-pygtk-2.6.diff
  # fix http://bugs.archlinux.org/task/10308
  patch -p0 -i ${srcdir}/streamtuner-0.99.99-shoutcast.diff
  # fix http://bugs.archlinux.org/task/11463
  patch -p1 -i ${srcdir}/shoutcast-redesign-patch.diff
  
    
  ./configure --prefix=/usr --host=i386-pc-linux-gnu --build=i386-pc-linux-gnu
  make || return 1
  make prefix=${pkgdir}/usr install

  #Add license file
  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING

  #Add the xpm files (desktop file and icon.png are already in it)
  install -Dm 644 $srcdir/${pkgname}_32x32.xpm $pkgdir/usr/share/pixmaps/${pkgname}_32x32.xpm
  install -Dm 644 $srcdir/${pkgname}_16x16.xpm $pkgdir/usr/share/pixmaps/${pkgname}_16x16.xpm
  
  # Remove the libtool stuff
find ${pkgdir} -depth | grep "\.la" | while read libtool_file ;do
rm -f $libtool_file
done
}


Attached File(s)
.gz  streamstuff.tar.gz (Size: 3.69 KB / Downloads: 1)

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
03-15-2012, 07:06 PM
Post: #197
RE: PKGBUILD files
CALCURSE -- a concole PIM

Code:
# Maintainer: delix
# Thanks to: Christian Stankowic <info at stankowic hypen development dot net>

pkgname=calcurse
pkgver=2.9.2
pkgrel=1
pkgdesc="Personal organizer using ncurses"
url="http://www.calcurse.org"
arch=('i486')
license=('BSD')
depends=('ncurses' 'libintl')
optdepends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=("http://calcurse.org/files/calcurse-${pkgver}.tar.gz")
md5sums=('5cb7d9c9edddc551fc62c9c5733591c5')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --mandir=/usr/man
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}

# vim:set ts=2 sw=2 et:

I took the file from the ConnOS INCOMING folder, so it is not tested much
Find all posts by this user
Quote this message in a reply
03-15-2012, 10:58 PM
Post: #198
RE: PKGBUILD files
(03-15-2012 07:06 PM)delix Wrote:  CALCURSE -- a concole PIM

That's a very nice one! :]
Thanks for sharing

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
03-16-2012, 09:51 AM (This post was last modified: 03-16-2012 09:53 AM by tavvva.)
Post: #199
RE: PKGBUILD files
(03-16-2012 09:33 AM)Compact Wrote:  
(03-15-2012 07:06 PM)delix Wrote:  CALCURSE -- a concole PIM
I took the file from the ConnOS INCOMING folder, so it is not tested much

Please Delix. Arch nor Connochaet PKGBUILDs work for Delicate.
Did you read our forum or manual before you posted your Delicate PKGBUILD ??

This forum already contains too much information for one to read that all. I believe delix is willing to read that if you give him a direct link to the right howto :]

We should really have a separate forum section or wiki ... that would make the things easier ...
Visit this user's website Find all posts by this user
Quote this message in a reply
03-16-2012, 10:19 AM
Post: #200
RE: PKGBUILD files
I just enhanced the FAQ category to contain howtos and a drafts section writable by members ...

Maybe we should start filtering the info and put it there ....
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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

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