SliTaz SliTaz Forum

You are not logged in.

#1 2012-08-12 04:17:27

ybme
Member
Registered: 2012-08-10
Posts: 5

How could I get the i3 and i3status packages I just made in the repo?

(here are the receipts)
trouble uploading, so here they are:

# SliTaz package receipt.

PACKAGE="i3"
VERSION="4.2"
CATEGORY="x-window"
SHORT_DESC="i3 tiling window manager"
MAINTAINER="Yehuda Ringler"
WEB_SITE="http://i3wm.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$WEB_SITE/downloads/$TARBALL"

DEPENDS="libxcb xorg-libXcursor xorg-libX11 yajl libev dmenu startup-notification xcb-util"
BUILD_DEPENDS="make gcc pkg-config xcb-proto libxcb-dev xcb-util-dev libev-dev flex bison yajl t2 docbook-xml xorg-libXcursor-dev xorg-libX11-dev pcre-dev startup-notification-dev"

# Rules to configure and make the package.
compile_rules()
{
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}

_________________________________

# SliTaz package receipt.

PACKAGE="i3status"
VERSION="2.5.1"
CATEGORY="x-window"
SHORT_DESC="i3 status bar"
MAINTAINER="Yehuda Ringler"
WEB_SITE="http://i3wm.org/i3status"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$WEB_SITE/$TARBALL"

DEPENDS="alsa-lib yajl wireless_tools"
BUILD_DEPENDS="make gcc alsa-lib-dev dev86 libconfuse wireless_tools-dev yajl"

# Rules to configure and make the package.
compile_rules()
{
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}

Offline

#2 2012-08-12 07:35:47

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: How could I get the i3 and i3status packages I just made in the repo?

Pushed. Would you mind check it ?

http://hg.slitaz.org/wok-undigest/rev/09a77f0b1445

http://cook.slitaz.org/undigest/cooker.cgi?pkg=i3

http://cook.slitaz.org/undigest/cooker.cgi?pkg=i3status

http://mirror.slitaz.org/packages/undigest/i3-4.2.tazpkg

http://mirror.slitaz.org/packages/undigest/i3status-2.5.1.tazpkg

Thanks.

Offline

#3 2012-08-12 15:25:38

ybme
Member
Registered: 2012-08-10
Posts: 5

Re: How could I get the i3 and i3status packages I just made in the repo?

Looks good.
Do you think that dmenu and/or i3status should be dependencies of i3?

Offline

#4 2012-08-14 01:25:24

ybme
Member
Registered: 2012-08-10
Posts: 5

Re: How could I get the i3 and i3status packages I just made in the repo?

xcb-util-keysyms-dev + xcb-util-wm-dev  --- I'm running slitaz 4.0 and ran tazpkg recharge, but tazpkg search turned up empty. Are those for cooking?

Offline

#5 2012-08-14 01:49:03

ybme
Member
Registered: 2012-08-10
Posts: 5

Re: How could I get the i3 and i3status packages I just made in the repo?

Here's the latest for i3: now installs the man pages (and I don't have *(keysyms|wm)-dev.tazpkg )

[c]# SliTaz package receipt.

PACKAGE="i3"
VERSION="4.2"
CATEGORY="x-window"
SHORT_DESC="i3 tiling window manager"
MAINTAINER="Yehuda Ringler <ybringler@gmail.com>"
WEB_SITE="http://i3wm.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$WEB_SITE/downloads/$TARBALL"
DEPENDS="libxcb xorg-libXcursor xorg-libX11 yajl libev i3status dmenu \
startup-notification xcb-util"
BUILD_DEPENDS="make gcc pkg-config xcb-proto libxcb-dev xcb-util-dev \
libev-dev flex bison yajl t2 docbook-xml xorg-libXcursor-dev xorg-libX11-dev \
pcre-dev startup-notification-dev"

# Rules to configure and make the package.
compile_rules()
{
    make && make install

    MAN_DIR=../../install/usr/share/man
    mkdir -p $MAN_DIR

    for i in man/*.man; do
        cp $i $MAN_DIR/raw-${i##*/}
    done
}

# Rules to gen a SliTaz package suitable for Tazpkg.

genpkg_rules()
{
    cp -a $install/* $fs
}[/c]

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]