[REQUEST] Uget 1.5.0.1
Why not simply compile and package the version of the software you want -on and for the version of Puppy you are running -seems to work for other distros... If the software needs newer versions of gtk or others than what your Puppy has, then you are simply out of luck until Puppy ugrades to those versions. The worst thing to do is start mixing libs and progs from all over the place...
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
I know and I have been. Was going to install gstreamer dev files to see if it compiles then but then I found out it needed new gtk and gave up on the new version.amigo wrote:Why not simply compile and package the version of the software you want -on and for the version of Puppy you are running -seems to work for other distros...
If the software needs newer versions of gtk or others than what your Puppy has, then you are simply out of luck until Puppy upgrades to those versions.
That is a pain I am leaning about .amigo wrote:The worst thing to do is start mixing libs and progs from all over the place...
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
well sometimes recycling libs works and sometimes it doesn't, but its good for newbee's to learn this, because when it backfires they tend to want to learn more, and that is part of the learning curb.abushcrafter wrote:That is a pain I am leaning about .amigo wrote:The worst thing to do is start mixing libs and progs from all over the place...
ok and this is where it starts.
When your compiling a application, first you try your regular configure line, hmmm
Barry's is as follows
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu
I like a bit better
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i386-pc-linux-gnu --enable-shared --enable-strip
now when it says No package 'gstreamer-0.10' found
First thing to come to mind is rats, lol next thing might be, "hmmm time for a beer" and then you say to yourself "maybe I'll try the built in help??"
so then you try this in the terminal
./configure -help
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--disable-nls do not use Native Language Support
--disable-notify Disable libnotify support.
--disable-gstreamer Disable GStreamer audio support.
well now your feeling a bit better so now you alter your configure line to some like
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i386-pc-linux-gnu --enable-shared --enable-strip --disable-gstreamer
now you no longer need to add gstreamer
when your finished compiling type
new2dir make install
that will build a package for you
usually you have to check it, meaning when you open do you see a root folder in the package? sometimes when it gets packaged it builds a root folder, just delete it, its left over compiling junk.
next find the .desktop in the package,usually in /usr/share/applications or /usr/local/share/applications
right click on it and open it as text
now look at the icon section, lot of the times it doesn't give the full path and doesn't register the icon in the menu
lets look at the Uget version
[Desktop Entry]
Name=Uget
Comment=Download multiple URLs and apply it to one of setting/queue.
Exec=uget-gtk %u
Icon=uget-icon
Terminal=false
Type=Application
Categories=Network;FileTransfer
hmmm classic
now this is the way it should be
[Desktop Entry]
Name=Uget
Comment=Download multiple URLs and apply it to one of setting/queue.
Exec=uget-gtk
Icon=/usr/share/icons/hicolor/24x24/apps/uget-icon.png
Terminal=false
Type=Application
Categories=Network;
now the trick is can you find the 3 changes I made to the .desktop file?
ttuuxxx
Last edited by ttuuxxx on Wed 13 Jan 2010, 02:48, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I would but I haven't got the time, plus how far do you take it? compiling is a never ending learning curve. Sometimes you can alter the configure file and lower the min standards like if your gtk is outdated, or sometimes you can remove complete library like I did in GSepticaclarf wrote:Great post ttuuxxx,
You should start a HOW-To Thread: "Compile - tips" or a maybe a full WIKI.
clarf
lets try that one
http://sourceforge.net/projects/gseptic ... z/download
then configure it
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i386-pc-linux-gnu --enable-shared --enable-strip
( --enable-strip is left out if you read the code but its ok to have it part of the config, it just gets ignored)
and now you get your worst nightmare when compiling on puppy
No package 'gnome-vfs-2.0' found
ok listen closely this means your looking at whole lot of hurt, so quickly go to the fridge and get a 6 pack of beer, a cooler and some ice, pronto. lol
next call up your boss and say you won't be back at work for the next couple of days.
Or you might just want to reconfigure that config script, This doesn't always work but its worth a shot.
open the configure script up as text in geany and search for gnome-vfs
line 17406 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors "libglade-2.0 gtk+-2.0 >= 2.12 gnome-vfs-2.0 >gnome-vfs-2.0 >= 2.4= 2.4 glib-2.0 >= 2.8""; } >&5
now delete the the gnome-vfs-2.0 >= 2.4 so it looks like
17406 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors "libglade-2.0 gtk+-2.0 >= 2.12 glib-2.0 >= 2.8""; } >&5
now search again and repeat
17407
17411
17424
17425
17429
17448
17450
17455
finally save it and run the configure again
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i386-pc-linux-gnu --enable-shared --enable-strip
and finally it configures, yessss you say, hmmmm don't get too excited yet
type make
sh-3.00# make
make all-recursive
make[1]: Entering directory `/root/Downloads/gseptica-0.1.2'
Making all in src
make[2]: Entering directory `/root/Downloads/gseptica-0.1.2/src'
make all-am
make[3]: Entering directory `/root/Downloads/gseptica-0.1.2/src'
g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALE_DIR=""/usr/share/locale"" -DSRC_DIR=""."" -DDATA_DIR=""/usr/share"" -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/X11R7/include -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
main.cpp:25:35: libgnomevfs/gnome-vfs.h: No such file or directory
main.cpp:26:41: libgnomevfs/gnome-vfs-utils.h: No such file or directory
main.cpp: In function `void open_url(const char*)':
main.cpp:58: error: `gnome_vfs_url_show' undeclared (first use this function)
main.cpp:58: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp: In function `int main(int, char**)':
main.cpp:94: error: `gnome_vfs_init' undeclared (first use this function)
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/root/Downloads/gseptica-0.1.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Downloads/gseptica-0.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Downloads/gseptica-0.1.2'
make: *** [all] Error 2
sh-3.00#
Now you think to yourself "what a waste of time and what the heck is this guy upto??", lol,
lets read the error above
main.cpp:25:35: libgnomevfs/gnome-vfs.h: No such file or directory
hmmm that just means what we removed from the configure is missing from the build so lets go remove that.
first find main.cpp and open it as text and look for line 25 and below it I see another in gseptica-0.1.2/src/main.cpp
25 #include <libgnomevfs/gnome-vfs.h>
26 #include <libgnomevfs/gnome-vfs-utils.h>
just delete both lines and to save time just search for gnome-vfs and delete them all in main.cpp good there was only just the 2 of them, now look at the above error. There were other gnome deps missing.line 58&94
delete line 58 and 94
and type make
now we get these errors
mainwindow.cpp:25:35: libgnomevfs/gnome-vfs.h: No such file or directory
mainwindow.cpp:26:41: libgnomevfs/gnome-vfs-utils.h: No such file or directory
mainwindow.cpp: In function `gboolean load_cards_resource()':
mainwindow.cpp:67: warning: converting to `int' from `double'
now open mainwindow.cpp as text located in gseptica-0.1.2/src/mainwindow.cpp
and delete lines 25&26
and finally type make and then new2dir make install
wow it works
now yo can edit the package you just made
usually we remove locales and man pages so just delete
gseptica-0.1.2-i386/usr/share/locale
gseptica-0.1.2-i386/usr/share/man
next lets fix the .desktop
[Desktop Entry]
Name=GSeptica
Name[ro]=GSeptica
Comment=Play septica card game
Comment[ro]=Joacă șeptică
TryExec=gseptica
Exec=gseptica
Icon=gseptica.png
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Game;CardGame;
should be
[Desktop Entry]
Name=GSeptica
Name[ro]=GSeptica Card Game
Comment=Play septica card game
Comment[ro]=Joacă șeptică
TryExec=gseptica
Exec=gseptica
Icon=/usr/share/pixmaps/gseptica.png
Terminal=false
Type=Application
StartupNotify=true
Categories=Game;
now open a terminal and type
dir2pet /root/Downloads/gseptica-0.1.2-i386
and after a few clicks you have a game that shouldn't run on puppy without extra deps buts it does, This only works sometimes, never if your missing QT or Python, but you still learned something new along the way.
ttuuxxx
below is the package for 2.14X
Last edited by ttuuxxx on Thu 14 Jan 2010, 11:19, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Thanks ttuuxx.
However I installed the dev pet for gstreamer so I could have it . Now thought it moans about intltool:
However I installed the dev pet for gstreamer so I could have it . Now thought it moans about intltool:
Code: Select all
configure: error: The intltool scripts were not found. Please install intltool.
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
now I need to fix:
Code: Select all
checking for LIBNOTIFY... configure: error: Package requirements (libnotify) were not met:
Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dbus-1', required by 'libnotify', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
You need to compile dbusabushcrafter wrote:now I need to fix:
Code: Select all
checking for LIBNOTIFY... configure: error: Package requirements (libnotify) were not met: Package dbus-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `dbus-1.pc' to the PKG_CONFIG_PATH environment variable Package 'dbus-1', required by 'libnotify', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS and LIBNOTIFY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
http://dbus.freedesktop.org/releases/db ... .16.tar.gz
and usually dbus-glib
http://dbus.freedesktop.org/releases/db ... .80.tar.gz
I usually auto start dbus by adding this line
dbus-uuidgen --ensure &
to /root/.xinitrc near the bottom just above line #exec $CURRENTWM
ttuuxxx
Ps the next version of 2.14X I might very well include Uget Should be out in a week or 2
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Please can you include in 2.14X the latest version of Uget with Gstreamer enabled.
Gstreamer:
http://dotpups.de/puppy3/dotpups/Librar ... er-python/
Gstreamer:
http://dotpups.de/puppy3/dotpups/Librar ... er-python/
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
sorry but that would be way too big, The thing about puppy is that we try to keep it small, 2.14X already has a media player, adding Gstreamer wouldn't bring any real benefits to 2.14X for the amount of weight that Gstreamer would bring. What extra features does Gstreamer bring to Uget, since it works without it.abushcrafter wrote:Please can you include in 2.14X the latest version of Uget with Gstreamer enabled.
Gstreamer:
http://dotpups.de/puppy3/dotpups/Librar ... er-python/
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
I am looking for a decent download manager that will work in Puppy Wary. I had previously used Aria 1 and it did everything I needed well, but it doesn't work any more in current Puppies because of the GTK version.ttuuxxx wrote:sorry but that would be way too big, The thing about puppy is that we try to keep it small, 2.14X already has a media player, adding Gstreamer wouldn't bring any real benefits to 2.14X for the amount of weight that Gstreamer would bring. What extra features does Gstreamer bring to Uget, since it works without it.abushcrafter wrote:Please can you include in 2.14X the latest version of Uget with Gstreamer enabled.
Gstreamer:
http://dotpups.de/puppy3/dotpups/Librar ... er-python/
ttuuxxx
Uget/urlgfe always seemed rather useless to me as it lacked important features. However, it finally has a download speed limiter from version 1.7.1 onwards plus a scheduler and now seems to offer what I think is needed in a download manager.
I'm rather dumb when it comes to compiling but I can't find any mention of Gstreamer. If it has something to do with previewing media within Uget then that seems rather unnecessary to me but if Uget can stiil be made without that then it is well worth having.
http://urlget.sourceforge.net/
Is there any chance someone can have a look at it and see if at least version 1.7.1 or later can be compiled for Wary?
Hello Lapis,
posting from wary-512 right now and, until someone compiles the latest uget for you, (I unfortunately don't think I can with current setup), just reporting that aria works fine...providing you install glib12-1.2.10.pet & gtk+12-1.2.10.pet
posting from wary-512 right now and, until someone compiles the latest uget for you, (I unfortunately don't think I can with current setup), just reporting that aria works fine...providing you install glib12-1.2.10.pet & gtk+12-1.2.10.pet
(via pm; edited):
I wrote:
http://distro.ibiblio.org/pub/linux/dis ... 2.2-p4.pet
I wrote:
ttuuxxx wrote:Hi ttuuxxx:
I tried uget-1.4.8.5-1-pup4.pet with Puppy Linux 4.1.2, and it will install to menu, but won't launch.
It lists the following missing dependencies:
usr/bin/uget-gtk/libgio-2.0.so.0
I wrote:Hi that is because 4.12 used an older glib, the later 4 series had glib with gio, below is libgio from 2.14X it should work, not many deps, if it doesn't then just upgrade glib to a newer one found in the repo, but use the 2.14X one first since its just the gio and not the full glib.
http://distro.ibiblio.org/pub/linux/dis ... 1-pup4.petHi ttuuxxx:
As always, thanks!
With Puppy Linux 4.1.2, uget-1.4.8.5-1-pup4.pet will only work if the full glib-2.22.2-p4.pet is installed.
(With Wary 5.1.1, uget-1.4.8.5-1-pup4.pet will work by itself; nothing else is needed.)
http://distro.ibiblio.org/pub/linux/dis ... 2.2-p4.pet
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I also compiled the latest version on 2.14 located at http://www.murga-linux.com/puppy/viewto ... 300#562300
I lowered the min gtk version to 2.0 from 2.18 and glib from 2.22 to glib 2.0 so that if your running older versions of gtk/glib that has libgio like puppy 4.3 etc it should work with a couple system links to libcurl etc
ttuuxxx
I lowered the min gtk version to 2.0 from 2.18 and glib from 2.22 to glib 2.0 so that if your running older versions of gtk/glib that has libgio like puppy 4.3 etc it should work with a couple system links to libcurl etc
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)