You are not logged in.
Pages: 1
Rather than do it the easy way and just disable the screensaver, I've found a patch for gnome-screensaver-2.28. It fills in the unfinished "poke" function that media players (VLC in particular) use to inhibit activation of the screensaver when watching a movie. I found srcpac, and I know that 'srcpac -Sw gnome-screensaver' should be downloading source code, but the resultant package is, well... already a compiled package! What did I miss?
Also happy to get bopped on the nose if I'm going about this all wrong. I was only able to find Debian/Ubuntu based source code for gnome-screensaver elsewhere on the webz.
Last edited by falconindy (2009-10-25 15:06:22)
Offline
Can you paste the output you get on screen from when you call srcpac till when it 'delivers' the finished package? I had some strange stuff going on with srcpac recently, too.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Certainly.
[haruko@quake ~]$ ! srcpac -Swv gnome-screensaver
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
Targets : gnome-screensaver
resolving dependencies...
Targets (1): gnome-screensaver-2.28.0-1
Total Download Size: 4.35 MB
Total Installed Size: 7.56 MB
Proceed with download? [Y/n]
:: Retrieving packages from extra...
gnome-screensaver-2... 4.4M 1535.8K/s 00:00:03 [#########################################] 100%
checking package integrity...
This drops a gnome-screensaver-2.28.0-1.x86_64.pkg.tar.gz in my pacman cache. I also have a gnome-screensaver/ under /var/abs/extra, but it essentially only contains the PKGBUILD and .install file. The timestamps make me think this wasn't put here by srcpac.
Last edited by falconindy (2009-10-25 14:41:26)
Offline
I think you need to read "man srcpac". That just downloads the binary package from the repos. You can use the "-b" flag to build packages in combination with "-o" to make adjustments.
What you are probably looking for is this wiki page: http://wiki.archlinux.org/index.php/ABS
Offline
Hrmm, the Pacman rosetta should probably be updated then. Serves me right for following it blindly. Well, according to the man page for srcpac, using the -Sb flags should get and build gnome-screensaver from source.
srcpac -Sb gnome-screensaver
Source Targets: gnome-screensaver
Proceed with upgrade? [Y/n]
makepkg: invalid option -- 'b'
makepkg (pacman) 3.3.2
Usage: /usr/bin/makepkg [options]
Options:
-A, --ignorearch Ignore incomplete arch field in PKGBUILD
-c, --clean Clean up work files after build
-C, --cleancache Clean up source files from the cache
--config <config> Use an alternate config file (instead of '/etc/makepkg.conf')
-d, --nodeps Skip all dependency checks
-e, --noextract Do not extract source files (use existing src/ dir)
-f, --force Overwrite existing package
-g, --geninteg Generate integrity checks for source files
--skipinteg Do not fail when integrity checks are missing
-h, --help This help
-i, --install Install package after successful build
-L, --log Log package build process
-m, --nocolor Disable colorized output messages
-o, --nobuild Download and extract files only
-p <buildscript> Use an alternate build script (instead of 'PKGBUILD')
-r, --rmdeps Remove installed dependencies after a successful build
-R, --repackage Repackage contents of the package without rebuilding
-s, --syncdeps Install missing dependencies with pacman
--allsource Generate a source-only tarball including downloaded sources
--asroot Allow makepkg to run as root user
--holdver Prevent automatic version bumping for development PKGBUILDs
--source Generate a source-only tarball without downloaded sources
These options can be passed to pacman:
--noconfirm Do not ask for confirmation when resolving dependencies
--noprogressbar Do not show a progress bar when downloading files
If -p is not specified, makepkg will look for 'PKGBUILD'
Error: Failed to build "gnome-screensaver"
Further, it says it will run makepkg from /var/srcpac/<repo>/<package>. But like I said in my last post, there's nothing source-ish located there.
edit: And now I understand ABS. Note to self: read the PKGBUILD.
Last edited by falconindy (2009-10-25 15:01:21)
Offline
Pages: 1