OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web openpkg$ Date: 23-Feb-2003 10:42:38
Branch: HEAD Handle: 2003022309423502
Added files:
openpkg-re/vcheck vc.gtk2
openpkg-src/gtk2 gtk2.spec
Modified files:
openpkg-web news.txt
Log:
finally try packaging gtk2. Unfortunately it still fails on 'make
install'
Summary:
Revision Changes Path
1.1 +11 -0 openpkg-re/vcheck/vc.gtk2
1.1 +106 -0 openpkg-src/gtk2/gtk2.spec
1.3422 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.gtk2
============================================================================
$ cvs diff -u -r0 -r1.1 vc.gtk2
--- /dev/null 2003-02-23 10:42:36.000000000 +0100
+++ vc.gtk2 2003-02-23 10:42:36.000000000 +0100
@@ -0,0 +1,11 @@
+config = {
+}
+
+prog gtk = {
+ version = 2.2.1
+ url = ftp://ftp.gtk.org/pub/gtk/
+ regex = (v2\.[2-9])
+ url = ftp://ftp.gtk.org/pub/gtk/v__NEWVER__/
+ regex = gtk\+-(__VER__)\.tar\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/gtk2/gtk2.spec
============================================================================
$ cvs diff -u -r0 -r1.1 gtk2.spec
--- /dev/null 2003-02-23 10:42:38.000000000 +0100
+++ gtk2.spec 2003-02-23 10:42:38.000000000 +0100
@@ -0,0 +1,106 @@
+##
+## gtk2.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
+## Copyright (c) 2000-2002 The OpenPKG Project <http://www.openpkg.org/>
+## Copyright (c) 2000-2002 Ralf S. Engelschall <[EMAIL PROTECTED]>
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+# FIXME: | on "make install": cannot load module
+# FIXME: | /tmp/rse/openpkg/gtk+-2.2.1/modules/input/im-am-et.la:
+# FIXME: | /tmp/rse/openpkg/gtk+-2.2.1/modules/input/.libs/: inva
+
+# package version
+%define V_gtk 2.2.1
+%define V_gtk_major 2.2
+%define V_glib_major 2.2
+%define V_pango_major 1.2
+%define V_atk_major 1.2
+
+# package information
+Name: gtk2
+Summary: The Gtk Toolkit Library (%{V_gtk_major})
+URL: http://www.gtk.org/
+Vendor: The Gtk Project
+Packager: The OpenPKG Project
+Distribution: OpenPKG [JUNK]
+Group: XWindow
+License: GPL
+Version: %{V_gtk}
+Release: 20030223
+
+# list of sources
+Source0: ftp://ftp.gtk.org/pub/gtk/v%{V_gtk_major}/gtk+-%{V_gtk}.tar.gz
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20021218, glib2 >= %{V_glib_major}, pango >=
%{V_pango_major}, atk >= %{V_atk_major}, X11, png, jpeg, tiff, gettext
+PreReq: OpenPKG, openpkg >= 20021218, glib2 >= %{V_glib_major}, pango >=
%{V_pango_major}, atk >= %{V_atk_major}, X11, png, jpeg, tiff, gettext
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Gtk+ is a multi-platform toolkit for creating graphical user
+ interfaces. Offering a complete set of widgets, Gtk+ is suitable for
+ projects ranging from small one-off projects to complete application
+ suites.
+
+ Options: none
+
+%prep
+ %setup -q -n gtk+-%{version}
+
+%build
+ CC="%{l_cc}" \
+ CFLAGS="%{l_cflags -O}" \
+ CPPFLAGS="%{l_cppflags tiff}" \
+ LDFLAGS="%{l_ldflags}" \
+ LIBS="-lintl" \
+ ./configure \
+ --prefix=%{l_prefix} \
+ --with-x \
+ --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
+ --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \
+ --with-glib-prefix=%{l_prefix} \
+ --enable-nls \
+ --with-native-locale=no \
+ --enable-shm \
+ --disable-debug \
+ --disable-rebuilds \
+ --disable-shared \
+ --enable-static
+ %{l_make} %{l_mflags}
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/themes
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%not %dir %{l_prefix}/share/aclocal' \
+ '%not %dir %{l_prefix}/lib/pkgconfig'
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.3421 -r1.3422 news.txt
--- openpkg-web/news.txt 23 Feb 2003 09:24:55 -0000 1.3421
+++ openpkg-web/news.txt 23 Feb 2003 09:42:36 -0000 1.3422
@@ -1,3 +1,4 @@
+23-Feb-2003: New package: P<gtk2-2.2.1-20030223>
23-Feb-2003: Upgraded package: P<orbit2-2.6.0-20030223>
23-Feb-2003: Upgraded package: P<linc-1.0.1-20030223>
23-Feb-2003: Upgraded package: P<axyftp-0.5.1-20030223>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]