From 5d5f53d95dd975e1be50d1b1043f418cf9d730b9 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 2 Mar 2002 23:19:59 +0000 Subject: [PATCH] Remove. 2002-03-03 Tor Lillqvist * gtk-pixbuf.rc.in: Remove. * gdk_pixbuf.rc.in: Name like this instead (wrong name used by mistake by Hans). * makefile.msc: Corresponding changes. * Makefile.am: Use gdk_pixbuf.rc on Win32. Distribute it. --- gdk-pixbuf/ChangeLog | 11 +++++++++++ gdk-pixbuf/Makefile.am | 8 +++++++- gdk-pixbuf/{gtk-pixbuf.rc.in => gdk_pixbuf.rc.in} | 4 ++-- gdk-pixbuf/makefile.msc | 8 ++++---- 4 files changed, 24 insertions(+), 7 deletions(-) rename gdk-pixbuf/{gtk-pixbuf.rc.in => gdk_pixbuf.rc.in} (87%) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index cd5f8821b5..84cf318780 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,14 @@ +2002-03-03 Tor Lillqvist + + * gtk-pixbuf.rc.in: Remove. + + * gdk_pixbuf.rc.in: Name like this instead (wrong name used by + mistake by Hans). + + * makefile.msc: Corresponding changes. + + * Makefile.am: Use gdk_pixbuf.rc on Win32. Distribute it. + 2002-02-28 Matthias Clasen * pixops/pixops.c (tile_make_weights): Move the call to diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am index 0c79e995f6..0c11eeacf7 100644 --- a/gdk-pixbuf/Makefile.am +++ b/gdk-pixbuf/Makefile.am @@ -9,6 +9,11 @@ if OS_WIN32 gdk_pixbuf_def = gdk_pixbuf.def gdk_pixbuf_symbols = -export-symbols $(gdk_pixbuf_def) +gdk_pixbuf_win32res_lo = gdk_pixbuf-win32res.lo + +gdk_pixbuf-win32res.lo : gdk_pixbuf.rc + $(top_srcdir)/build/win32/lt-compile-resource gdk_pixbuf.rc gdk_pixbuf-win32res.lo + install-libtool-import-lib: $(INSTALL) .libs/libgdk_pixbuf-1.3.dll.a $(DESTDIR)$(libdir) uninstall-libtool-import-lib: @@ -262,7 +267,7 @@ libgdk_pixbuf_1_3_la_LDFLAGS = @STRIP_BEGIN@ \ $(gdk_pixbuf_symbols) \ @STRIP_END@ -libgdk_pixbuf_1_3_la_LIBADD = pixops/libpixops.la $(builtin_objs) $(GDK_PIXBUF_DEP_LIBS) +libgdk_pixbuf_1_3_la_LIBADD = pixops/libpixops.la $(builtin_objs) $(gdk_pixbuf_win32res_lo) $(GDK_PIXBUF_DEP_LIBS) libgdk_pixbuf_1_3_la_DEPENDENCIES = pixops/libpixops.la $(builtin_objs) $(gdk_pixbuf_def) gdk_pixbuf_headers = \ @@ -359,6 +364,7 @@ EXTRA_DIST = \ makefile.mingw.in \ makefile.msc \ gdk_pixbuf.def \ + gdk_pixbuf.rc \ gdk-pixbuf-marshal.c \ gdk-pixbuf-marshal.list \ pixbufloader_ico.def \ diff --git a/gdk-pixbuf/gtk-pixbuf.rc.in b/gdk-pixbuf/gdk_pixbuf.rc.in similarity index 87% rename from gdk-pixbuf/gtk-pixbuf.rc.in rename to gdk-pixbuf/gdk_pixbuf.rc.in index 040510fddc..c2efb9aa39 100644 --- a/gdk-pixbuf/gtk-pixbuf.rc.in +++ b/gdk-pixbuf/gdk_pixbuf.rc.in @@ -16,9 +16,9 @@ VS_VERSION_INFO VERSIONINFO VALUE "CompanyName", "The GTK developer community" VALUE "FileDescription", "GIMP Toolkit" VALUE "FileVersion", "@GTK_VERSION@.BUILDNUMBER" - VALUE "InternalName", "libgdk-pixbuf-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@" + VALUE "InternalName", "libgdk_pixbuf-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@" VALUE "LegalCopyright", "Copyright (C) 1999 The Free Software Foundation. Modified by the GTK+ Team and others 1999-2002." - VALUE "OriginalFilename", "libgdk-pixbuf-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll" + VALUE "OriginalFilename", "libgdk_pixbuf-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll" VALUE "ProductName", "GTK+" VALUE "ProductVersion", "@GTK_VERSION@" END diff --git a/gdk-pixbuf/makefile.msc b/gdk-pixbuf/makefile.msc index 0d9581d38a..bd935ca993 100644 --- a/gdk-pixbuf/makefile.msc +++ b/gdk-pixbuf/makefile.msc @@ -89,14 +89,14 @@ all : \ gdk-pixbuf-csource.exe \ test-gdk-pixbuf.exe -gtk-pixbuf.res : gtk-pixbuf.rc - rc -DBUILDNUMBER=0 -r -fo gtk-pixbuf.res gtk-pixbuf.rc +$(PACKAGE).res : $(PACKAGE).rc + rc -DBUILDNUMBER=0 -r -fo $(PACKAGE).res $(PACKAGE).rc $(PACKAGE)-$(PKG_VER)s.lib : $(OBJECTS) lib /out:$(PACKAGE)-$(PKG_VER)s.lib $(OBJECTS) pixops\pixops.lib -$(PACKAGE)-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def gtk-pixbuf.res - $(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib gtk-pixbuf.res $(LDFLAGS) /def:$(PACKAGE).def +$(PACKAGE)-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res + $(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(PACKAGE).res $(LDFLAGS) /def:$(PACKAGE).def make-inline-pixbuf.exe : make-inline-pixbuf.c $(CC) $(PKG_CFLAGS) -Femake-inline-pixbuf.exe make-inline-pixbuf.c $(PKG_LINK) $(PACKAGE)-$(PKG_VER).lib