]> git.pld-linux.org Git - packages/frontline.git/commitdiff
- new; shared patch to build shared library (for app, plugin and development)
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 18 Dec 2002 23:58:52 +0000 (23:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    frontline-shared.patch -> 1.1
    frontline.spec -> 1.1

frontline-shared.patch [new file with mode: 0644]
frontline.spec [new file with mode: 0644]

diff --git a/frontline-shared.patch b/frontline-shared.patch
new file mode 100644 (file)
index 0000000..0092f31
--- /dev/null
@@ -0,0 +1,113 @@
+diff -Nur frontline-0.5.4.orig/configure.in frontline-0.5.4/configure.in
+--- frontline-0.5.4.orig/configure.in  Tue Nov 12 06:28:53 2002
++++ frontline-0.5.4/configure.in       Thu Dec 19 00:40:21 2002
+@@ -13,7 +13,7 @@
+ AM_SANITY_CHECK
+ AC_PROG_INSTALL
+ AC_PROG_AWK
+-AC_PROG_RANLIB
++AC_PROG_LIBTOOL
+ # Checks for header files.
+ AC_HEADER_STDC
+@@ -66,7 +66,7 @@
+ dnl 
+ dnl popt
+ dnl
+-AC_CHECK_LIB(popt,poptPrintHelp,,AC_MSG_ERROR(*** Cannot find popt))
++AC_CHECK_LIB(popt,poptPrintHelp,[AC_DEFINE(HAVE_LIBPOPT)],AC_MSG_ERROR(*** Cannot find popt))
+ dnl
+ dnl Imlib
+@@ -80,4 +80,4 @@
+ frontline.spec
+ frontline/Makefile
+ gundo/Makefile
+-gimp/Makefile],[chmod a+x frontline-config])
+\ No newline at end of file
++gimp/Makefile],[chmod a+x frontline-config])
+diff -Nur frontline-0.5.4.orig/frontline/Makefile.am frontline-0.5.4/frontline/Makefile.am
+--- frontline-0.5.4.orig/frontline/Makefile.am Thu Oct 24 19:06:07 2002
++++ frontline-0.5.4/frontline/Makefile.am      Thu Dec 19 00:40:03 2002
+@@ -9,9 +9,9 @@
+       -DLOCALEDIR=\""$(datadir)/locale"\"             \
+         -DGNOME_ICONDIR=\""$(datadir)/pixmaps"\"
+-AM_CFLAGS=-g -Wall 
++AM_CFLAGS=-Wall 
+-lib_LIBRARIES=libfrontline.a
++lib_LTLIBRARIES=libfrontline.la
+ bin_PROGRAMS= frontline
+ frontlineincludedir=$(includedir)/frontline
+@@ -26,7 +26,7 @@
+       fl_fsel.h                               \
+       fl_ask.h
+-libfrontline_a_SOURCES=                               \
++libfrontline_la_SOURCES=                              \
+       fl_dialog.c                             \
+       fl_utils.c                              \
+       fl_opt.c                                \
+@@ -48,14 +48,12 @@
+ # Don't use popt in gnome. Instead use libpop directly
+ # because popt in gnome-1.4 doesn't support FLOAT args.
+-frontline_LDADD= $(LIBART2_LIBS)                              \
+-                 $(top_builddir)/frontline/libfrontline.a     \
++libfrontline_la_LIBADD= $(LIBART2_LIBS)                               \
+                $(INTLLIBS)                                    \
+-                 $(top_builddir)/gundo/libgundo.a             \
++                 $(top_builddir)/gundo/libgundo.la            \
+                  -lpopt                                               \
+                  $(GNOME_LIBDIR)                              \
+                  $(GNOMEUI_LIBS)                              \
+-                 $(AUTOTRACE_LIBS) 
+-# /home/jet/src/popt-1.6.3/.libs/libpopt.a \
+-#-lpopt \
+-
++                 $(AUTOTRACE_LIBS)
++                      
++frontline_LDADD= $(top_builddir)/frontline/libfrontline.la
+diff -Nur frontline-0.5.4.orig/gimp/Makefile.am frontline-0.5.4/gimp/Makefile.am
+--- frontline-0.5.4.orig/gimp/Makefile.am      Fri Oct 25 06:36:40 2002
++++ frontline-0.5.4/gimp/Makefile.am   Thu Dec 19 00:40:03 2002
+@@ -10,18 +10,12 @@
+ AM_CPPFLAGS = -DG_LOG_DOMAIN=\"trace-plugin\"         \
+             -DLOCALEDIR=\""$(datadir)/locale"\"
+-AM_CFLAGS   = -g -Wall
++AM_CFLAGS   = -Wall
+-libexecdir = $(GIMP_PLUGIN_DIR)/plug-ins
+-libexec_PROGRAMS = trace
++plugindir = $(GIMP_PLUGIN_DIR)/plug-ins
++plugin_PROGRAMS = trace
+ trace_SOURCES    = trace.c
+-trace_LDADD      = $(LIBART2_LIBS)\
+-      $(top_builddir)/frontline/libfrontline.a        \
+-      $(INTLLIBS)                                     \
+-      $(top_builddir)/gundo/libgundo.a                \
+-      -lpopt                                          \
+-      $(GNOME_LIBDIR)                                 \
+-      $(GNOMEUI_LIBS)                                 \
+-      $(GIMP_LIBS)                                    \
+-      $(AUTOTRACE_LIBS) 
++trace_LDADD      = \
++      $(top_builddir)/frontline/libfrontline.la       \
++      $(GIMP_LIBS)
+ endif
+diff -Nur frontline-0.5.4.orig/gundo/Makefile.am frontline-0.5.4/gundo/Makefile.am
+--- frontline-0.5.4.orig/gundo/Makefile.am     Fri Oct 11 00:47:03 2002
++++ frontline-0.5.4/gundo/Makefile.am  Thu Dec 19 00:40:03 2002
+@@ -1,6 +1,7 @@
+ EXTRA_DIST=CHANGES
+ INCLUDES = $(GNOME_INCLUDEDIR) -I$(top_srcidr)/gundo
+-lib_LIBRARIES = libgundo.a
++lib_LTLIBRARIES = libgundo.la
+ gundoincludedir=$(includedir)/gundo
+ gundoinclude_HEADERS=gundo.h gundo_ui.h
+-libgundo_a_SOURCES = gundo.c gundo_ui.c
++libgundo_la_SOURCES = gundo.c gundo_ui.c
++libgundo_la_LIBADD = -L/usr/X11R6/lib -lgtk
diff --git a/frontline.spec b/frontline.spec
new file mode 100644 (file)
index 0000000..2a3738f
--- /dev/null
@@ -0,0 +1,149 @@
+Summary:       GUI FRONT end for autotrace that extracts outLINE from images
+Summary(pl):   Graficzny interfejs do autotrace wyci±gaj±cego obrysy z obrazków
+Name:          frontline
+Version:       0.5.4
+Release:       1
+License:       GPL
+Group:         X11/Applications/Graphics
+Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/autotrace/%{name}-%{version}.tar.gz
+Patch0:                %{name}-shared.patch
+URL:           http://autotrace.sourceforge.net/frontline/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: autotrace-devel >= 0.31.1
+BuildRequires: gettext-devel
+BuildRequires: gimp-devel >= 1.2.1
+BuildRequires: gnome-libs-devel >= 1.4.0
+BuildRequires: imlib-devel >= 1.8.2
+BuildRequires: libart_lgpl >= 2.3.8
+BuildRequires: libtool
+BuildRequires: popt-devel
+Requires:      %{name}-libs = %{version}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+
+%description
+Frontline provides a GTK+/GNOME based GUI front end for autotrace
+(http://autotrace.sourceforge.net). This package contains the
+`fontline' command, which runs as a stand alone program. It will work
+well with Gnome desktop and nautilus.
+   
+%description -l pl
+Frontline udostêpnia oparty na GTK+/GNOME graficzny interfejs do
+autotrace (http://autotrace.sourceforge.net). Ten pakiet zawiera
+polecenie "frontline", dzia³aj±ce jako samodzielny program. Dzia³a
+dobrze z pulpitem GNOME i nautilusem.
+
+%package libs
+Summary:       Frontline shared libraries
+Summary(pl):   Biblioteki wspó³dzielone Frontline
+Group:         X11/Libraries
+
+%description libs
+This package contains Frontline shared libraries, used by all versions
+of Frontline GUI.
+
+%description libs -l pl
+Ten program zawiera biblioteki wspó³dzielone Frontline, u¿ywane przez
+wszystkie wersje interfejsu Frontline.
+
+%package devel
+Summary:       Frontline development files
+Summary(pl):   Pliki dla programistów u¿ywaj±cych Frontline
+Group:         X11/Development/Libraries
+Requires:      %{name}-libs = %{version}
+
+%description devel
+Frontline development files.
+
+%description devel -l pl
+Pliki dla programistów u¿ywaj±cych Frontline.
+
+%package static
+Summary:       Frontline static libraries
+Summary(pl):   Biblioteki statyczne Frontline
+Group:         X11/Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Frontline static libraries.
+
+%description static -l pl
+Biblioteki statyczne Frontline.
+
+%package -n gimp-plugin-frontline
+Summary:       GIMP Frontline plugin
+Summary(pl):   Wtyczka Frontline dla GIMPa
+Group:         X11/Libraries
+Requires:      %{name}-libs = %{version}
+
+%description -n gimp-plugin-frontline
+GIMP frontline plugin - you can launch frontline from the GIMP menu.
+
+%description -n gimp-plugin-frontline -l pl
+Wtyczka frontline dla GIMPa - pozwala na uruchomienie frontline z menu
+GIMPa.
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I %{_aclocaldir}/gnome
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Graphicsdir=%{_applnkdir}/Graphics \
+       m4datadir=%{_aclocaldir} \
+       pkgconfigdir=%{_pkgconfigdir}
+
+for f in CHANGES README TODO ; do
+       mv -f gundo/$f ${f}.gundo
+done
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/frontline
+%{_datadir}/mime-info/*
+%{_applnkdir}/Graphics/*.desktop
+
+%files libs -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS ChangeLog NEWS README TODO {CHANGES,README,TODO}.gundo
+%{_libdir}/lib*.so.*.*
+%{_pixmapsdir}/*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/frontline-config
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/frontline
+%{_includedir}/gundo
+%{_aclocaldir}/frontline.m4
+%{_pkgconfigdir}/frontline.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%files -n gimp-plugin-frontline
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gimp/*/plug-ins/trace
This page took 0.041496 seconds and 4 git commands to generate.