Hello, I want to try to port Cinnamon to Crux 3.0I have found that this are the steps to do : cd muffin git checkout -b stable origin/stable dpkg-buildpackage And for cinnamon: cd Cinnamon git checkout -b stable origin/stable ./autogen.sh dpkg-buildpackage Can anyone give me some pointers how I can begin with the build script for Crux.I have read the page about porting but there are nothing about git builds. I think I have to replace dpkg-buildpackage to ./configure , make, make install. Roelof Roelof
On 01/29/13 09:22, Roelof Wobben wrote:
Hello,
Hi Roelof,
I want to try to port Cinnamon to Crux 3.0I have found that this are the steps to do : cd muffin git checkout -b stable origin/stable dpkg-buildpackage
I'd recommend the source packages instead of getting the source directly from their repository. Take a look at [1]. Just pick the version you want and use the .tar.gz file. Then have a look at the Handbook and create a Pkgfile [2] to do what you want. Basically it should be something like this: - ./configure (with the needed options to comply to packaging guidelines [3]) - make - make DESTDIR=$PKG install ./configure will probably fail because of missing libraries. However, the error messages thrown should be self-explanatory. You'll have to find ports for each missing dependency or create them yourself.
And for cinnamon:
cd Cinnamon git checkout -b stable origin/stable ./autogen.sh dpkg-buildpackage Can anyone give me some pointers how I can begin with the build script for Crux.I have read the page about porting but there are nothing about git builds. I think I have to replace dpkg-buildpackage to ./configure , make, make install. Roelof Roelof
Again, I'd go with the released sources instead of a git build. Then it should be about the same as with muffin (and every other port for that matter :)). Hope this helps Lennart [1] https://github.com/linuxmint/Muffin/tags [2] http://crux.nu/Main/Handbook3-0#ntoc21 [3] http://crux.nu/Main/Handbook3-0#ntoc23
Date: Tue, 29 Jan 2013 11:18:59 +0100 From: lists@lennart.sauerbeck.org To: crux@lists.crux.nu Subject: Re: helping with porting Cinnamon to Crux.
On 01/29/13 09:22, Roelof Wobben wrote:
Hello,
Hi Roelof,
I want to try to port Cinnamon to Crux 3.0I have found that this are the steps to do : cd muffin git checkout -b stable origin/stable dpkg-buildpackage
I'd recommend the source packages instead of getting the source directly from their repository. Take a look at [1]. Just pick the version you want and use the .tar.gz file. Then have a look at the Handbook and create a Pkgfile [2] to do what you want.
Basically it should be something like this: - ./configure (with the needed options to comply to packaging guidelines [3]) - make - make DESTDIR=$PKG install
./configure will probably fail because of missing libraries. However, the error messages thrown should be self-explanatory. You'll have to find ports for each missing dependency or create them yourself.
And for cinnamon:
cd Cinnamon git checkout -b stable origin/stable ./autogen.sh dpkg-buildpackage Can anyone give me some pointers how I can begin with the build script for Crux.I have read the page about porting but there are nothing about git builds. I think I have to replace dpkg-buildpackage to ./configure , make, make install. Roelof Roelof
Again, I'd go with the released sources instead of a git build. Then it should be about the same as with muffin (and every other port for that matter :)).
Hope this helps Lennart
[1] https://github.com/linuxmint/Muffin/tags [2] http://crux.nu/Main/Handbook3-0#ntoc21 [3] http://crux.nu/Main/Handbook3-0#ntoc23
_______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux Hello, I made a Pkgfile with this contents. # Description : muffin the window manager of the Cinnamon Desktop # Url : http://cinnamon.linuxmint.com/# Maintainer : Roelof Wobben, rwobben at hotmail dot nl# Depends on : intltool name=muffinversion=1.1.12release=1 source=(https://github.com/linuxmint/$name/archive/$version.tar.gz build() { cd $name-version ./configure --prefix=/usr make make DESTDIR=$pkg install} So I thought that the depencies are also build when I do pkgmk -d But I still see a message that the build-script cannot find intltool. How to solve this one. Roelof
Hi Roelof, On Wed, Jan 30, 2013 at 1:10 AM, Roelof Wobben <rwobben@hotmail.com> wrote:
I made a Pkgfile with this contents.
# Description : muffin the window manager of the Cinnamon Desktop # Url : http://cinnamon.linuxmint.com/ # Maintainer : Roelof Wobben, rwobben at hotmail dot nl # Depends on : intltool
name=muffin version=1.1.12 release=1 source=(https://github.com/linuxmint/$name/archive/$version.tar.gz
build() { cd $name-version
should be: cd $name-$version
./configure --prefix=/usr make make DESTDIR=$pkg install
should be: make DESTDIR=$PKG install
}
So I thought that the depencies are also build when I do pkgmk -d But I still see a message that the build-script cannot find intltool.
How to solve this one.
pkgutils does not handle dependencies, you need prt-get for this task. handbook, prt-get and prt-get.conf man pages are a good place to start. good luck and welcome to CRUX.
Date: Wed, 30 Jan 2013 18:14:45 +0700 Subject: Re: helping with porting Cinnamon to Crux. From: benisty.e@gmail.com To: rwobben@hotmail.com CC: crux@lists.crux.nu
Hi Roelof,
On Wed, Jan 30, 2013 at 1:10 AM, Roelof Wobben <rwobben@hotmail.com> wrote:
I made a Pkgfile with this contents.
# Description : muffin the window manager of the Cinnamon Desktop # Url : http://cinnamon.linuxmint.com/ # Maintainer : Roelof Wobben, rwobben at hotmail dot nl # Depends on : intltool
name=muffin version=1.1.12 release=1 source=(https://github.com/linuxmint/$name/archive/$version.tar.gz
build() { cd $name-version
should be: cd $name-$version
./configure --prefix=/usr make make DESTDIR=$pkg install
should be: make DESTDIR=$PKG install
}
So I thought that the depencies are also build when I do pkgmk -d But I still see a message that the build-script cannot find intltool.
How to solve this one.
pkgutils does not handle dependencies, you need prt-get for this task. handbook, prt-get and prt-get.conf man pages are a good place to start.
good luck and welcome to CRUX. Thanks for the remarks.So if I understand you right, I have to install all the depencies manual so I can build the package. As far as I know prt-get is only for installing packages not for building packages. Roelof
On Wed, Jan 30, 2013 at 6:18 PM, Roelof Wobben <rwobben@hotmail.com> wrote:
Date: Wed, 30 Jan 2013 18:14:45 +0700
Subject: Re: helping with porting Cinnamon to Crux. From: benisty.e@gmail.com To: rwobben@hotmail.com CC: crux@lists.crux.nu
Hi Roelof,
On Wed, Jan 30, 2013 at 1:10 AM, Roelof Wobben <rwobben@hotmail.com> wrote:
I made a Pkgfile with this contents.
# Description : muffin the window manager of the Cinnamon Desktop # Url : http://cinnamon.linuxmint.com/ # Maintainer : Roelof Wobben, rwobben at hotmail dot nl # Depends on : intltool
name=muffin version=1.1.12 release=1 source=(https://github.com/linuxmint/$name/archive/$version.tar.gz
build() { cd $name-version
should be: cd $name-$version
./configure --prefix=/usr make make DESTDIR=$pkg install
should be: make DESTDIR=$PKG install
}
So I thought that the depencies are also build when I do pkgmk -d But I still see a message that the build-script cannot find intltool.
How to solve this one.
pkgutils does not handle dependencies, you need prt-get for this task. handbook, prt-get and prt-get.conf man pages are a good place to start.
good luck and welcome to CRUX.
Thanks for the remarks. So if I understand you right, I have to install all the depencies manual so I can build the package.
As far as I know prt-get is only for installing packages not for building packages.
prt-get is a frontend to pkgmk and pkgadd, it does both (and more). http://jw.tks6.net/files/crux/prt-get_quickstart.html
participants (3)
-
Emmanuel Benisty
-
Lennart Sauerbeck
-
Roelof Wobben