Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 18 Dec 2017, 10:57
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Pet building system
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 6 [79 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 8660
Location: qld

PostPosted: Fri 30 Oct 2015, 07:18    Post subject:  

gyro wrote:
01micko wrote:
Basically yes, but it is a bug that the .pot file is missing. The system is designed for woof-CE and I don't want to overwrite icons that already exist.
What if they don't already exist?

But they do in any woof-CE puppy (almost from the start - 2 years ago).
01micko wrote:
The system is designed for woof-CE and I don't want to overwrite icons that already exist.

gyro wrote:
These icons are fairly vital to freememapplet_tray, have you ever run it when they are not present?
gyro

Yes I know. If the icons are deleted from woof-CE then I'll change the build script.

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
norgo


Joined: 13 Nov 2015
Posts: 169
Location: Germany

PostPosted: Fri 19 May 2017, 20:48    Post subject: gnome-mplayer.desktop  

puppylinux-woof-CE/petbuilds
slacko_142

gnome-mplayer.desktop

unfortunately since Slacko 6.3.0 Gnome-mplayer is located in the wrong category.

Gnome-mplayer is located in CATEGORY "Multimedia" SUB-CATEGORY "audiovideo"
but belongs actually in CATEGORY "Multimedia" SUB-CATEGORY "mediaplayer"

So the category of the menu where gnome-mplayer actually belongs is empty.
This has been already complained in Slacko 6.3.0
http://murga-linux.com/puppy/viewtopic.php?p=873753#873753

I changed the category in the *.desktop files from "audiovideo" to "X-Multimedia-mediaplayer"
and the icon path from png to the svg icon.
gnome-mplayer.desktop.tar
Description  gnome-mplayer.desktop ( remove tar fake extension )
tar

 Download 
Filename  gnome-mplayer.desktop.tar 
Filesize  2.88 KB 
Downloaded  41 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
norgo


Joined: 13 Nov 2015
Posts: 169
Location: Germany

PostPosted: Fri 02 Jun 2017, 03:09    Post subject: transmission  

puppylinux-woof-CE/petbuilds
slacko_142

transmission.petbuild is using DESKTOP=transmission.desktop file

but should use instead DESKTOP=transmission-gtk.desktop

The currently used desktop file contains
Categories=Network;FileTransfer;P2P;GTK;

This leads to several places in menu
Back to top
View user's profile Send private message Visit poster's website 
norgo


Joined: 13 Nov 2015
Posts: 169
Location: Germany

PostPosted: Fri 02 Jun 2017, 03:21    Post subject:  

puppylinux-woof-CE/petbuilds
slacko_142

sylpheed.desktop file contains

Categories=GTK;Network;Email;News;

this leads to several places in menu
Back to top
View user's profile Send private message Visit poster's website 
norgo


Joined: 13 Nov 2015
Posts: 169
Location: Germany

PostPosted: Fri 02 Jun 2017, 03:43    Post subject:  

puppylinux-woof-CE/petbuilds
slacko_142

leafpad.desktop file contains:

Categories=Viewer;

very strange but this leads to several places in menu

However Leafpad is an editor not a viewer and Category should become corrected by

Categories=X-Document-edit
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 8660
Location: qld

PostPosted: Fri 02 Jun 2017, 06:31    Post subject:  

@norgo, thanks for reports and fixes Smile

Should now be fixed at petbuilds (slacko_142 branch). Packages also uploaded to repo.

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
Pelo

Joined: 10 Sep 2011
Posts: 12591
Location: Mer méditerrannée (1 kms°)

PostPosted: Mon 05 Jun 2017, 15:16    Post subject: Gnome-mplayer : change done in my Slaxen 6.3.2  

Gnome-mplayer : change done in my Slaxen 6.3.2 (experimental french version of Slacko 6.3.2). Efficient Exclamation
_________________
Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 
sc0ttman


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Mon 04 Sep 2017, 15:05    Post subject: petbuild for latest freeciv (2.5.9)  

Hi guys, dunno if I am allowed to do pull requests, so I'll post here for now..

This is a bog standard petbuild script, except the 4th option for build_configure(), which adds CLAGS to enable running FreeCiv as root..

(originally copied it from homebank.petbuild.. not sure if I need the 'DESKTOP=freeciv-gtk2.desktop' bit)

Advice/corrections appreciated.

USED:

puppylinux-woof-CE/petbuilds
slacko_142

Code:
# freeciv
# Builds from https://github.com/puppylinux-woof-CE/petbuilds

. ../func
. ../build.conf

URL=http://files.freeciv.org/stable/
PKG=freeciv
VER=2.5.9
COMP=tar.bz2
DESC="Turn based strategy game"
DEPS=
CAT=Fun
DESKTOP=freeciv-gtk2.desktop
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
# comment these 2 below if you use a custom package() function
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not

ARCH=$(uname -m)
case $ARCH in # set in build.conf
 *64)    LIBDIR=$LIBCONF64 ;;
 arm*)   LIBDIR=$LIBCONFarm;;
 *)    LIBDIR=$LIBCONF32 ;;
esac

#fix
fixup() {
   (cd ${PKG}-${VER}; chmod 755 *sh)
}

# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
fixup
build_configure $PKG $VER $LIBDIR "$CFLAGS -DALWAYS_ROOT"
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT


Works fine on a recent Slacko 32bit build ...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search

Last edited by sc0ttman on Tue 26 Sep 2017, 18:21; edited 2 times in total
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Mon 04 Sep 2017, 15:14    Post subject: Torcs 1.3.7  

puppylinux-woof-CE/petbuilds
slacko_142

I tried to build Torcs 1.3.7 on the same recent Slacko build, 32-bit ..

The Torcs petbuild script lists no dependencies, but I needed to build plib and freealut before Torcs would compile..

Maybe they should be listed as deps in the Torcs petbuild script?

Also, side note, when Torcs did not compile, petbuild still went ahead and built some (empty and broken) PET files.. I don't know much about how it all works, but maybe it's better to NOT package up a broken build?

But I got Freeciv and Torcs compiled easily enough.. Good stuff.

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Mon 04 Sep 2017, 17:20    Post subject: Mednafen and deps  

Libsndfile

Code:
# libsndfile
# Builds from https://github.com/puppylinux-woof-CE/petbuilds

. ../func
. ../build.conf

URL=http://www.mega-nerd.com/libsndfile/files/
PKG=libsndfile
VER=1.0.28
COMP=tar.gz
DESC="sound library"
DEPS=
CAT=Fun
DESKTOP=
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
# comment these 2 below if you use a custom package() function
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not

ARCH=$(uname -m)
case $ARCH in # set in build.conf
 *64)    LIBDIR=$LIBCONF64 ;;
 arm*)   LIBDIR=$LIBCONFarm;;
 *)    LIBDIR=$LIBCONF32 ;;
esac

#fix
fixup() {
   (cd ${PKG}-${VER}; chmod 755 *sh)
}

# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
fixup
build_configure $PKG $VER $LIBDIR
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT


Libz

Code:
# zlib
# Builds from https://github.com/puppylinux-woof-CE/petbuilds

. ../func
. ../build.conf

URL=https://zlib.net/
PKG=zlib
VER=1.2.11
COMP=tar.gz
DESC="compression library"
DEPS=
CAT=Fun
DESKTOP=
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
# comment these 2 below if you use a custom package() function
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not

ARCH=$(uname -m)
case $ARCH in # set in build.conf
 *64)    LIBDIR=$LIBCONF64 ;;
 arm*)   LIBDIR=$LIBCONFarm;;
 *)    LIBDIR=$LIBCONF32 ;;
esac

#fix
fixup() {
   (cd ${PKG}-${VER}; chmod 755 *sh)
}

# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
fixup
build_configure $PKG $VER $LIBDIR
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT



Still working on getting mednafen to work... :/

TESTED ON a recent Slacko WoofCE 32-bit,

Used this branch to build SDL (also a dep of mednafen):
puppylinux-woof-CE/petbuilds
slacko_142

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Mon 04 Sep 2017, 18:08    Post subject: libcdio-0.94  

Libcdio

Code:
# libcdio
# Builds from https://github.com/puppylinux-woof-CE/petbuilds

. ../func
. ../build.conf

URL=https://ftp.gnu.org/gnu/libcdio/
PKG=libcdio
VER=0.94
COMP=tar.gz
DESC="CD image library"
DEPS=
CAT=Utility
DESKTOP=
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
# comment these 2 below if you use a custom package() function
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not

ARCH=$(uname -m)
case $ARCH in # set in build.conf
 *64)    LIBDIR=$LIBCONF64 ;;
 arm*)   LIBDIR=$LIBCONFarm;;
 *)    LIBDIR=$LIBCONF32 ;;
esac

#fix
fixup() {
   (cd ${PKG}-${VER}; chmod 755 *sh)
}

# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
fixup
build_configure ${PKG} $VER $LIBDIR
package_std ${PKG} $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT


TESTED ON:
a recent Slacko WoofCE 32-bit,

FOR:
puppylinux-woof-CE/petbuilds
slacko_142

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Tue 12 Sep 2017, 20:35    Post subject:  

Aqualung

Code:
# aqualung
# Builds from https://github.com/puppylinux-woof-CE/petbuilds

. ../func
. ../build.conf

URL=https://github.com/jeremyevans/aqualung/releases/download/1.0/
PKG=aqualung
VER=1.0
COMP=tar.gz
DESC="lightweight gtk music player"
DEPS=+gtk+2
CAT=Multimedia
DESKTOP=aqualung.desktop
BUILD=
CWD=$(pwd)

[ -z "$MWD" ] && MWD=$(dirname $CWD)   
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not   

ARCH=$(uname -m)
case $ARCH in
 *64)    LIBDIR=$LIBCONF64 ;;
 arm*)   LIBDIR=$LIBCONFarm;;
 *)    LIBDIR=$LIBCONF32 ;;
esac

build() {
   cd ${PKG}-${VER}
   ./configure --prefix=/usr \
            --localstatedir=/var \
            --sysconfdir=/etc \
            --libdir=/usr/${LIBDIR}
            
   [ "$?" -eq 0 ] || exit 1
   make $MKFLG
   [ "$?" -eq 0 ] || exit 1
   make DESTDIR=$CWD/$PKG-install install
   cd -
}
   
package_fix() {
   echo '[Desktop Entry]
Encoding=UTF-8
Name=Aqualung music player
Icon=/usr/share/aqualung/general.png
Comment=aqualung gtk music player
Exec=aqualung
Terminal=false
Type=Application
Categories=Audio
GenericName=Aqualung music player' > $PKG-install/usr/share/applications/aqualung.desktop
}

# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
build
package_fix
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT   


USED:

puppylinux-woof-CE/petbuilds
slacko_142

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search

Last edited by sc0ttman on Tue 12 Sep 2017, 21:21; edited 2 times in total
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Tue 12 Sep 2017, 20:48    Post subject:  

Ranger - console based file manager with Vi-like bindings

(Python based, very powerful)

Code:
# ranger
# Builds from https://github.com/puppylinux-woof-CE/petbuilds

. ../func
. ../build.conf

URL=http://ranger.nongnu.org/
PKG=ranger
VER=1.8.1
COMP=tar.gz
DESC="powerful console-based file manager with vi-like key bindings"
DEPS=
CAT=Filesystem
DESKTOP=ranger.desktop
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)   
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not   

ARCH=$(uname -m)
case $ARCH in
 *64)    LIBDIR=$LIBCONF64 ;;
 arm*)   LIBDIR=$LIBCONFarm;;
 *)    LIBDIR=$LIBCONF32 ;;
esac

build() {
   cd ${PKG}-${VER}

   [ "$?" -eq 0 ] || exit
   make DESTDIR=$CWD/${PKG}-install install

   cd -
}
   
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
build
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT


ranger.desktop:

Code:
[Desktop Entry]
Encoding=UTF-8
Name=Ranger console-based file manager
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=Ranger console-based file manager
Exec=/usr/bin/urxvt -e ranger
Terminal=false
Type=Application
Categories=FileManager
GenericName=Ranger console-based file manager


USED:

puppylinux-woof-CE/petbuilds
slacko_142

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Tue 12 Sep 2017, 21:25    Post subject:  

Midnight Commander

the petbuild:
Code:
# mc
# Builds from https://github.com/puppylinux-woof-CE/petbuilds

. ../func
. ../build.conf

URL=http://ftp.midnight-commander.org/
PKG=mc
VER=4.8.19
COMP=tar.xz
DESC="powerful dual pane console-based file manager"
DEPS=
CAT=Filesystem
DESKTOP=mc.desktop
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)   
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not   

ARCH=$(uname -m)
case $ARCH in
 *64)    LIBDIR=$LIBCONF64 ;;
 arm*)   LIBDIR=$LIBCONFarm;;
 *)    LIBDIR=$LIBCONF32 ;;
esac

build() {
   cd ${PKG}-${VER}
   ./configure --prefix=/usr \
            --libdir=/usr/${LIBDIR} \
            --localstatedir=/var \
            --sysconfdir=/etc \
            --with-screen=ncurses
   
   [ "$?" -eq 0 ] || exit
   make || exit
   make DESTDIR=${CWD}/${PKG}-install install

   cd -
}
   
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
build
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT


the .desktop file
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Midnight commander console file manager
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=Midnight commander console file manager
Exec=/usr/bin/urxvt -e mc
Terminal=false
Type=Application
Categories=FileManager
GenericName=Midnight commander console file manager


Built on slacko 6.9.x 32bit,
in the slacko142 branch of petbuild

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Tue 12 Sep 2017, 21:44    Post subject:  

Fossil 2.3

Code:
# fossil
# Builds from https://github.com/puppylinux-woof-CE/petbuilds

. ../func
. ../build.conf

URL=http://www.fossil-scm.org/index.html/uv
PKG=fossil-src
VER=2.3
COMP=tar.gz
DESC="version control, issue tracking and more"
DEPS=
CAT=System
SVER=src-2.3
DESKTOP=
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)   
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not   

ARCH=$(uname -m)
case $ARCH in
 *64)    LIBDIR=$LIBCONF64 ;;
 arm*)   LIBDIR=$LIBCONFarm;;
 *)    LIBDIR=$LIBCONF32 ;;
esac

build() {
   PKG=fossil
   cd ${PKG}-${VER}
   ./configure --prefix=/usr \
            --libdir=/usr/${LIBDIR} \
            --localstatedir=/var \
            --sysconfdir=/etc
   
   [ "$?" -eq 0 ] || exit
   make || exit
   make DESTDIR=${CWD}/${PKG}-install install

   cd -
}
   
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
build
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 6 [79 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0916s ][ Queries: 15 (0.0095s) ][ GZIP on ]