diff options
author | cvs2git | 2005-09-04 11:29:50 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 0a49b0d43f84aa223e3b723758e3088fb65f1b99 (patch) | |
tree | 6c40d3972eb2777c63a79b01bd2db6b0e68cff94 | |
parent | ddbd2b7445c95ded45d528a9296a98006780eaa4 (diff) | |
download | crossmingw32-wxWidgets-0a49b0d43f84aa223e3b723758e3088fb65f1b99.zip crossmingw32-wxWidgets-0a49b0d43f84aa223e3b723758e3088fb65f1b99.tar.gz |
This commit was manufactured by cvs2git to create branch 'AC-branch'.AC-branch
Sprout from master 2005-09-04 11:29:50 UTC Jakub Bogusz <qboosh@pld-linux.org> '- comment fix'
Delete:
crossmingw32-wxWidgets.spec
wxWidgets-eggtrayicon.patch
-rw-r--r-- | crossmingw32-wxWidgets.spec | 148 | ||||
-rw-r--r-- | wxWidgets-eggtrayicon.patch | 77 |
2 files changed, 0 insertions, 225 deletions
diff --git a/crossmingw32-wxWidgets.spec b/crossmingw32-wxWidgets.spec deleted file mode 100644 index b6111aa..0000000 --- a/crossmingw32-wxWidgets.spec +++ /dev/null @@ -1,148 +0,0 @@ -%define realname wxWidgets -Summary: wxWidgets library - Mingw32 cross version -Summary(pl): Biblioteka wxWidgets - wersja skrośna dla Mingw32 -Name: crossmingw32-%{realname} -Version: 2.6.1 -Release: 1 -License: wxWidgets Licence (LGPL with exception) -Group: Development/Libraries -Source0: http://dl.sourceforge.net/wxwindows/%{realname}-%{version}.tar.bz2 -# Source0-md5: 045f0edad0988620a4aa36096bb16e28 -Patch0: %{realname}-samples.patch -Patch1: %{realname}-ac.patch -Patch2: %{realname}-gif0delay.patch -URL: http://www.wxWidgets.org/ -BuildRequires: autoconf >= 2.58 -BuildRequires: automake -BuildRequires: bakefile >= 0.1.8 -BuildRequires: crossmingw32-gcc-c++ -BuildRequires: crossmingw32-libjpeg -BuildRequires: crossmingw32-libpng -BuildRequires: crossmingw32-runtime -BuildRequires: libtool -Requires: crossmingw32-libjpeg -Requires: crossmingw32-libpng -Requires: crossmingw32-runtime -Obsoletes: crossmingw32-wxMSW -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) - -%define no_install_post_strip 1 - -%define target i386-mingw32 -%define target_platform i386-pc-mingw32 -%define arch %{_prefix}/%{target} -%define gccarch %{_prefix}/lib/gcc-lib/%{target} -%define gcclib %{_prefix}/lib/gcc-lib/%{target}/%{version} - -%define __cc %{target}-gcc -%define __cxx %{target}-g++ - -%ifarch alpha sparc sparc64 sparcv9 -%define optflags -O2 -%endif - -%define rpmcxxflags "%{rpmcflags}" - -%description -wxWidgets is a free C++ library for cross-platform GUI development. -With wxWidgets, you can create applications for different GUIs (GTK+, -Motif/LessTif, MS Windows, Mac) from the same source code. - -%description -l pl -wxWidgets to wolnodostępna biblioteka napisana w C++ umożliwiająca -rozwijanie wieloplatformowych programów GUI. Przy użyciu wxWidgets -można tworzyć aplikacje dla różnych GUI (GTK+, Motif/LessTif, MS -Windows, Mac) z tego samego kodu źródłowego. - -%package dll -Summary: %{realname} - DLL library for Windows -Summary(pl): %{realname} - biblioteka DLL dla Windows -Group: Applications/Emulators - -%description dll -%{realname} - DLL libraries for Windows. - -%description dll -l pl -%{realname} - biblioteki DLL dla Windows. - -%prep -%setup -q -n %{realname}-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 - -echo 'AC_DEFUN([AM_PATH_GTK],[:])' > fake-am_path_gtk.m4 - -# bakefile.m4 from 0.1.8 -tail -n +1518 aclocal.m4 | head -n 1397 > bakefile.m4 -# AC_BAKEFILE_PROG_* macros -tail -n +721 aclocal.m4 | head -n 142 >> bakefile.m4 - -%build -CC=%{target}-gcc ; export CC -CXX=%{target}-g++ ; export CXX -LD=%{target}-ld ; export LD -AR=%{target}-ar ; export AR -AS=%{target}-as ; export AS -CROSS_COMPILE=1 ; export CROSS_COMPILE -CPPFLAGS="-I%{arch}/include" ; export CPPFLAGS -RANLIB=%{target}-ranlib ; export RANLIB -LDSHARED="%{target}-gcc -shared" ; export LDSHARED -TARGET="%{target}" ; export TARGET - -cp -f /usr/share/automake/config.sub . -%{__aclocal} -I . -%{__autoconf} - -%configure \ - --with-msw \ - --with-opengl \ - --enable-official-build \ - --enable-std-iostreams \ - --enable-controls \ - --enable-tabdialog \ - --host=%{target} \ - --target=%{target} - -%{__make} - -%install -rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{arch}/{bin,include,lib},%{_datadir}/wine/windows/system} - -%{__make} install DESTDIR=$RPM_BUILD_ROOT - -sed -i -e 's@includedir="/usr/include"@includedir="%{arch}/include"@' \ - -e 's@libdir="/usr/lib"@libdir="%{arch}/lib"@' \ - $RPM_BUILD_ROOT%{_libdir}/wx/config/* - -%if 0%{!?debug:1} -%{target}-strip $RPM_BUILD_ROOT%{_libdir}/*.dll -%{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a -%endif - -cp -r $RPM_BUILD_ROOT%{_libdir}/*.a $RPM_BUILD_ROOT%{arch}/lib -cp -r $RPM_BUILD_ROOT%{_libdir}/*.dll $RPM_BUILD_ROOT%{_datadir}/wine/windows/system -cp -r $RPM_BUILD_ROOT%{_libdir}/wx $RPM_BUILD_ROOT%{arch}/lib/ -cp -r $RPM_BUILD_ROOT%{_includedir} $RPM_BUILD_ROOT%{arch} - -ln -s %{arch}/lib/wx/config/i386-mingw32-msw-ansi-release-2.6 $RPM_BUILD_ROOT%{_bindir} - -rm $RPM_BUILD_ROOT/%{_bindir}/wx-config - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/i386-mingw32-* -%{arch}/lib/*.a -%dir %{arch}/lib/wx -%dir %{arch}/lib/wx/config -%attr(755,root,root) %{arch}/lib/wx/config/* -%{arch}/lib/wx/include -%{arch}/include/* - -%files dll -%defattr(644,root,root,755) -%{_datadir}/wine/windows/system/* diff --git a/wxWidgets-eggtrayicon.patch b/wxWidgets-eggtrayicon.patch deleted file mode 100644 index 7e872b8..0000000 --- a/wxWidgets-eggtrayicon.patch +++ /dev/null @@ -1,77 +0,0 @@ ---- wxWidgets-2.5.3/src/gtk/eggtrayicon.h.org 2004-12-03 13:11:05.009865440 +0000 -+++ wxWidgets-2.5.3/src/gtk/eggtrayicon.h 2004-05-31 22:10:27.000000000 +0000 -@@ -0,0 +1,74 @@ -+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -+/* eggtrayicon.h -+ * Copyright (C) 2002 Anders Carlsson <andersca@gnu.org> -+ * -+ * This library is free software; you can redistribute it and/or -+ * modify it under the terms of the GNU Lesser General Public -+ * License as published by the Free Software Foundation; either -+ * version 2 of the License, or (at your option) any later version. -+ * -+ * This library is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ * Lesser General Public License for more details. -+ * -+ * You should have received a copy of the GNU Lesser General Public -+ * License along with this library; if not, write to the -+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, -+ * Boston, MA 02111-1307, USA. -+ */ -+ -+#ifndef __EGG_TRAY_ICON_H__ -+#define __EGG_TRAY_ICON_H__ -+ -+#include <gtk/gtkplug.h> -+#include <gdk/gdkx.h> -+ -+G_BEGIN_DECLS -+ -+#define EGG_TYPE_TRAY_ICON (egg_tray_icon_get_type ()) -+#define EGG_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TRAY_ICON, EggTrayIcon)) -+#define EGG_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_TRAY_ICON, EggTrayIconClass)) -+#define EGG_IS_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_TRAY_ICON)) -+#define EGG_IS_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TRAY_ICON)) -+#define EGG_TRAY_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TRAY_ICON, EggTrayIconClass)) -+ -+typedef struct _EggTrayIcon EggTrayIcon; -+typedef struct _EggTrayIconClass EggTrayIconClass; -+ -+struct _EggTrayIcon -+{ -+ GtkPlug parent_instance; -+ -+ guint stamp; -+ -+ Atom selection_atom; -+ Atom manager_atom; -+ Atom system_tray_opcode_atom; -+ Window manager_window; -+}; -+ -+struct _EggTrayIconClass -+{ -+ GtkPlugClass parent_class; -+}; -+ -+GType egg_tray_icon_get_type (void); -+ -+EggTrayIcon *egg_tray_icon_new_for_screen (GdkScreen *screen, -+ const gchar *name); -+ -+EggTrayIcon *egg_tray_icon_new (const gchar *name); -+ -+guint egg_tray_icon_send_message (EggTrayIcon *icon, -+ gint timeout, -+ const char *message, -+ gint len); -+void egg_tray_icon_cancel_message (EggTrayIcon *icon, -+ guint id); -+ -+ -+ -+G_END_DECLS -+ -+#endif /* __EGG_TRAY_ICON_H__ */ |