You are not logged in.

#1 2004-12-05 16:39:48

delmonico
Member
Registered: 2004-06-27
Posts: 82

new: quarry

It installs to /usr/local because this seems to be somewhat hard-coded: using --prefix=/usr, quarry won't run hmm Have fun smile

pkgname=quarry
pkgver=0.1.10
pkgrel=1
pkgdesc="Quarry is a multi-purpose GUI for several board games, at present Go, Amazons and Othello."
#url="http://home.gna.org/quarry/index.html"
license="GPL"
depends=('gtk2')
source=(http://download.gna.org/quarry/$pkgname-$pkgver.tar.gz)
md5sums=('3bd075a63e4cceef0e74620333b217b2')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure
  make
  make DESTDIR=$startdir/pkg install
}

Offline

#2 2005-01-27 14:46:33

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: new: quarry

I know everyone likes new versions, so here you go. enjoy

 pkgname=quarry
 pkgver=0.1.12
 pkgrel=1
 pkgdesc="Quarry is a multi-purpose GUI for several board games, at present Go, Amazons and Othello."
 url="http://home.gna.org/quarry/index.html"
 license="GPL"
 depends=('gtk2')
 source=(http://download.gna.org/quarry/$pkgname-$pkgver.tar.gz)
 md5sums=('62d7d79dbcffd9f79acc213017f403ce')
 
 build() {
 cd $startdir/src/$pkgname-$pkgver
 ./configure --prefix=/usr/local
 make
 make DESTDIR=$startdir/pkg install
 }

Offline

#3 2013-04-20 10:47:39

blue sea & blue sail
Member
Registered: 2012-12-06
Posts: 21

Re: new: quarry

Think a lot, Delmonico.
Quarry is necessary in my life. 
But I have a trouble with installing quarry.  Could you help me?

The librsvg package in my system:

pacman -Qi librsvg
Name           : librsvg
Version        : 2.36.4-1
Description    : A SVG viewing library
Architecture   : x86_64
URL            : http://librsvg.sourceforge.net/
Licenses       : LGPL
Groups         : None
Provides       : None
Depends On     : gdk-pixbuf2  pango  libcroco
Optional Deps  : gtk3: for rsvg-view-3 [installed]
                 gtk2: gtk2 SVG engine module [installed]
Required By    : compiz-core  compiz-fusion-plugins-main  emacs  gimp  gstreamer0.10-bad-plugins  openshot  xfburn
                 xfce4-dict  xfce4-xkb-plugin
Optional For   : gegl  imagemagick  ristretto
Conflicts With : None
Replaces       : None
Installed Size : 688.00 KiB
Packager       : Jan de Groot <jgc@archlinux.org>
Build Date     : Tue 16 Oct 2012 11:34:11 PM CST
Install Date   : Sun 10 Feb 2013 10:40:23 AM CST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By   : Unknown

I don't know how to look GTK+ package information.  Could you teach me?

My procedure of installation:

  1. Add a new-line to your PKGBUILD:

    arch=('x86_64')
  2. Run the commend:

    $ makepkg

Then the screen start scrolling.  But there are many information of error appear.  As it too long, I just cut out a part of screen:

In file included from /usr/include/gtk-2.0/gtk/gtk.h:45:0,
                 from gtk-assistant.h:29,
                 from gtk-assistant.c:23:
/usr/include/gtk-2.0/gtk/gtkassistant.h:123:23: note: previous declaration of ‘gtk_assistant_new’ was here
 GtkWidget            *gtk_assistant_new                   (void);
                       ^
gtk-assistant.c: In function ‘gtk_assistant_init’:
gtk-assistant.c:110:12: error: ‘struct _GtkAssistant’ has no member named ‘notebook’
   assistant->notebook = GTK_NOTEBOOK(notebook);
            ^
gtk-assistant.c:113:42: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
   gtk_utils_standardize_dialog(&assistant->dialog, notebook);
                                          ^
gtk-assistant.c:119:35: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
   gtk_dialog_add_button(&assistant->dialog,
                                   ^
gtk-assistant.c:122:12: error: ‘struct _GtkAssistant’ has no member named ‘back_button’
   assistant->back_button   = gtk_dialog_add_button(&assistant->dialog,
            ^
gtk-assistant.c:122:62: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
   assistant->back_button   = gtk_dialog_add_button(&assistant->dialog,
                                                              ^
gtk-assistant.c:125:12: error: ‘struct _GtkAssistant’ has no member named ‘next_button’
   assistant->next_button   = gtk_dialog_add_button(&assistant->dialog,
            ^
gtk-assistant.c:125:62: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
   assistant->next_button   = gtk_dialog_add_button(&assistant->dialog,
                                                              ^
gtk-assistant.c:128:12: error: ‘struct _GtkAssistant’ has no member named ‘finish_button’
   assistant->finish_button = gtk_dialog_add_button(&assistant->dialog,
            ^
gtk-assistant.c:128:62: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
   assistant->finish_button = gtk_dialog_add_button(&assistant->dialog,
                                                              ^
gtk-assistant.c:131:12: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
   assistant->help_button   = NULL;
            ^
gtk-assistant.c:133:12: error: ‘struct _GtkAssistant’ has no member named ‘user_data’
   assistant->user_data = NULL;
            ^
gtk-assistant.c: At top level:
gtk-assistant.c:138:1: error: conflicting types for ‘gtk_assistant_new’
 gtk_assistant_new(const char *title, gpointer user_data)
 ^
In file included from /usr/include/gtk-2.0/gtk/gtk.h:45:0,
                 from gtk-assistant.h:29,
                 from gtk-assistant.c:23:
/usr/include/gtk-2.0/gtk/gtkassistant.h:123:23: note: previous declaration of ‘gtk_assistant_new’ was here
 GtkWidget            *gtk_assistant_new                   (void);
                       ^
gtk-assistant.c: In function ‘gtk_assistant_new’:
gtk-assistant.c:144:24: error: ‘struct _GtkAssistant’ has no member named ‘user_data’
   GTK_ASSISTANT(widget)->user_data = user_data;
                        ^
gtk-assistant.c: In function ‘gtk_assistant_update_buttons’:
gtk-assistant.c:154:46: error: ‘struct _GtkAssistant’ has no member named ‘notebook’
     = gtk_notebook_get_current_page(assistant->notebook);
                                              ^
gtk-assistant.c:163:41: error: ‘struct _GtkAssistant’ has no member named ‘notebook’
    == gtk_notebook_get_n_pages(assistant->notebook));
                                         ^
gtk-assistant.c:171:32: error: ‘struct _GtkAssistant’ has no member named ‘back_button’
       gtk_widget_show(assistant->back_button);
                                ^
gtk-assistant.c:173:32: error: ‘struct _GtkAssistant’ has no member named ‘back_button’
       gtk_widget_hide(assistant->back_button);
                                ^
gtk-assistant.c:176:32: error: ‘struct _GtkAssistant’ has no member named ‘next_button’
       gtk_widget_show(assistant->next_button);
                                ^
gtk-assistant.c:177:32: error: ‘struct _GtkAssistant’ has no member named ‘finish_button’
       gtk_widget_hide(assistant->finish_button);
                                ^
gtk-assistant.c:179:49: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
       gtk_dialog_set_default_response(&assistant->dialog,
                                                 ^
gtk-assistant.c:183:32: error: ‘struct _GtkAssistant’ has no member named ‘next_button’
       gtk_widget_hide(assistant->next_button);
                                ^
gtk-assistant.c:184:32: error: ‘struct _GtkAssistant’ has no member named ‘finish_button’
       gtk_widget_show(assistant->finish_button);
                                ^
gtk-assistant.c:186:49: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
       gtk_dialog_set_default_response(&assistant->dialog, GTK_RESPONSE_OK);
                                                 ^
gtk-assistant.c:189:18: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
     if (assistant->help_button) {
                  ^
gtk-assistant.c:190:68: error: ‘struct _GtkAssistant’ has no member named ‘notebook’
       GtkWidget *current_page = gtk_notebook_get_nth_page(assistant->notebook,
                                                                    ^
gtk-assistant.c:195:41: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
       gtk_widget_set_sensitive(assistant->help_button,
                                         ^
gtk-assistant.c:201:30: error: ‘struct _GtkAssistant’ has no member named ‘back_button’
     gtk_widget_hide(assistant->back_button);
                              ^
gtk-assistant.c:202:30: error: ‘struct _GtkAssistant’ has no member named ‘next_button’
     gtk_widget_hide(assistant->next_button);
                              ^
gtk-assistant.c:203:30: error: ‘struct _GtkAssistant’ has no member named ‘finish_button’
     gtk_widget_hide(assistant->finish_button);
                              ^
gtk-assistant.c:204:18: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
     if (assistant->help_button)
                  ^
gtk-assistant.c:205:41: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
       gtk_widget_set_sensitive(assistant->help_button, FALSE);
                                         ^
gtk-assistant.c: In function ‘gtk_assistant_response’:
gtk-assistant.c:214:36: error: ‘struct _GtkAssistant’ has no member named ‘notebook’
   GtkNotebook *notebook = assistant->notebook;
                                    ^
gtk-assistant.c:229:52: error: ‘struct _GtkAssistant’ has no member named ‘user_data’
        : page_data->help_link_id_callback(assistant->user_data));
                                                    ^
gtk-assistant.c:244:46: error: ‘struct _GtkAssistant’ has no member named ‘user_data’
  && !page_data->acceptable_callback(assistant->user_data))
                                              ^
gtk-assistant.c:261:42: error: ‘struct _GtkAssistant’ has no member named ‘user_data’
       page_data->shown_callback(assistant->user_data);
                                          ^
gtk-assistant.c: In function ‘gtk_assistant_add_page’:
gtk-assistant.c:294:37: error: ‘struct _GtkAssistant’ has no member named ‘notebook’
   gtk_notebook_append_page(assistant->notebook, page, NULL);
                                     ^
gtk-assistant.c: In function ‘gtk_assistant_set_page_help_link_id’:
gtk-assistant.c:328:17: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
   if (!assistant->help_button) {
                 ^
gtk-assistant.c:329:14: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
     assistant->help_button = gtk_dialog_add_button(&assistant->dialog,
              ^
gtk-assistant.c:329:62: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
     assistant->help_button = gtk_dialog_add_button(&assistant->dialog,
                                                              ^
gtk-assistant.c: In function ‘gtk_assistant_set_page_help_link_id_callback’:
gtk-assistant.c:357:17: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
   if (!assistant->help_button) {
                 ^
gtk-assistant.c:358:14: error: ‘struct _GtkAssistant’ has no member named ‘help_button’
     assistant->help_button = gtk_dialog_add_button(&assistant->dialog,
              ^
gtk-assistant.c:358:62: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
     assistant->help_button = gtk_dialog_add_button(&assistant->dialog,
                                                              ^
gtk-assistant.c: In function ‘gtk_assistant_set_finish_button’:
gtk-assistant.c:371:31: error: ‘struct _GtkAssistant’ has no member named ‘finish_button’
   gtk_widget_destroy(assistant->finish_button);
                               ^
gtk-assistant.c:373:12: error: ‘struct _GtkAssistant’ has no member named ‘finish_button’
   assistant->finish_button = gtk_dialog_add_button(&assistant->dialog,
            ^
gtk-assistant.c:373:62: error: ‘struct _GtkAssistant’ has no member named ‘dialog’
   assistant->finish_button = gtk_dialog_add_button(&assistant->dialog,
                                                              ^
make[4]: *** [gtk-assistant.o] Error 1
make[4]: Leaving directory `/home/j/var/abs/local/quarry10/src/quarry-0.1.10/src/gui-gtk'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/j/var/abs/local/quarry10/src/quarry-0.1.10/src/gui-gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/j/var/abs/local/quarry10/src/quarry-0.1.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/j/var/abs/local/quarry10/src/quarry-0.1.10'
make: *** [all] Error 2

Do you need anything else?  I can paste on here as soon as possible.
Think you.


Acer TM B115-P5BB | intel video card |Seagate 500G 5400rpm AF 7.5mm | 2GB RAM | 2.5 GHz Pentium N3530 CPU

Offline

#4 2013-04-20 10:51:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,520
Website

Re: new: quarry

Blue,

This package was submitted 9 years ago!  Those errors do not look like anything wrong in the packaging (though there are many problems with that PKGBUILD).  Those errors seem to be in the upstream source - if it hasn't been updated in a decade, I wouldn't expect it to work.  If it has been updated, the PKGBUILD needs to be revised to point to the new source code.

EDIT: It seems it was updated to 0.2.0 (which should be put in the PKGBUILD) in 2006 but not again since then.  The webpage itself seems to be last updated in 2008.  I'd be surprised if this was able to work.

EDIT2: http://linux.softpedia.com/get/GAMES-EN … 3452.shtml shows a 0.3 version from 2011, so there is hope that it could still work, but the original website seems unmaintained.  The PKGBUILD should get a new source url.

Last edited by Trilby (2013-04-20 11:01:14)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2013-04-20 11:35:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,520
Website

Re: new: quarry

This builds and runs for me.

pkgname=quarry-git
_gitname="quarry"
pkgver=0.3.1018
pkgrel=1
pkgdesc="Quarry is a multi-purpose GUI for several board games, at present Go, Amazons and Othello."
url=""
arch=('any')
license=("GPLv2")
depends=('gtk2')
makedepends=('git')
source=("$_gitname::git://gitorious.org/quarry/quarry.git")
sha256sums=('SKIP')

pkgver() {
	cd "${srcdir}/${_gitname}"
	echo 0.3.$(git rev-list --count HEAD)
}

build() {
	cd "${_gitname}"
	./configure --prefix=/usr
	make
}

package() {
	cd "${_gitname}"
	# the next line is an ugly hack.  Contact upstream
	# as to why this file is in the wrong place
	cp ./help/C/quarry.html ./help/de/quarry.html
	make DESTDIR="${pkgdir}" install
}

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2013-04-21 05:13:06

blue sea & blue sail
Member
Registered: 2012-12-06
Posts: 21

Re: new: quarry

I think I must to teach write PKGBUILD.  Think you.  Good man!


Acer TM B115-P5BB | intel video card |Seagate 500G 5400rpm AF 7.5mm | 2GB RAM | 2.5 GHz Pentium N3530 CPU

Offline

Board footer

Powered by FluxBB